.sbhci-card-app{--navy:#10123f;--navy2:#26258d;--blue:#347bc4;--cyan:#24c8f4;--cyan2:#12b7e5;--line:#d7e0ed;--soft:#f6f9fd;display:grid;grid-template-columns:minmax(310px,410px) minmax(420px,620px);gap:28px;max-width:1100px;margin:24px auto;padding:28px;background:#fff;border:1px solid #e1e7ef;border-radius:28px;box-sizing:border-box;font-family:Arial,sans-serif;box-shadow:0 16px 45px rgba(20,43,80,.07)}
.sbhci-card-app *{box-sizing:border-box}.sbhci-card-controls{min-width:0}
.sbhci-card-heading{position:relative;overflow:hidden;background:#10123f url('../images/ctochip-lines-bg.png') center center/cover no-repeat;color:#fff;border-radius:24px;padding:25px 24px 24px;margin-bottom:26px;box-shadow:0 10px 24px rgba(16,18,63,.16)}
.sbhci-card-heading:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,11,48,.22),rgba(38,37,141,.04));pointer-events:none}
.sbhci-card-badge{position:relative;z-index:1;display:inline-block;padding:8px 13px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.12);border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.1px}
.sbhci-card-heading h2{position:relative;z-index:1;font-size:30px;line-height:1.08;margin:14px 0 7px;color:#fff;font-weight:500;letter-spacing:-.5px}.sbhci-card-heading p{position:relative;z-index:1;margin:0;opacity:.95;font-size:14px}
.sbhci-label{display:block;font-size:12px;font-weight:800;margin:20px 0 9px;color:#0d1728;letter-spacing:.25px}
.sbhci-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sbhci-file-picker{width:100%;min-height:58px;border:1px solid #cbd8e8;border-radius:16px;padding:8px 10px;background:#fff;display:flex;align-items:center;gap:12px;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}
.sbhci-file-picker:focus-within{border-color:#24c8f4;box-shadow:0 0 0 3px rgba(36,200,244,.14)}
.sbhci-file-button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border-radius:10px;background:#edf4fb;color:#142b50;font-size:16px;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease}.sbhci-file-button:hover{background:#e2eef9}.sbhci-file-button:active{transform:translateY(1px)}
.sbhci-file-status{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#69778d;font-size:15px}
.sbhci-name{width:100%;min-height:58px;border:1px solid #cbd8e8;border-radius:16px;padding:14px 16px;background:#fff;font-size:16px;color:#17243a;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.sbhci-name:focus{border-color:#24c8f4;box-shadow:0 0 0 3px rgba(36,200,244,.14)}.sbhci-name::placeholder{color:#8995a7}
.sbhci-button-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:16px}.sbhci-button-grid button,.sbhci-download{min-height:56px;border-radius:15px;font-weight:700;font-size:14px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}.sbhci-button-grid button{background:#fbfdff;border:1.5px solid #25c4f0;color:#10213a;box-shadow:0 3px 8px rgba(20,43,80,.025)}.sbhci-button-grid button:hover{background:#eefaff;border-color:#12b7e5;box-shadow:0 6px 14px rgba(18,183,229,.10);transform:translateY(-1px)}.sbhci-button-grid button:active,.sbhci-download:active{transform:translateY(1px)}.sbhci-button-grid button:focus-visible,.sbhci-download:focus-visible{outline:3px solid rgba(36,200,244,.28);outline-offset:2px}
.sbhci-download{position:relative;width:100%;margin-top:16px;border:1px solid #19c1eb;color:#fff;background:linear-gradient(100deg,#347bc4 0%,#245b96 45%,#142b50 100%);box-shadow:0 8px 18px rgba(20,43,80,.15);letter-spacing:.1px}.sbhci-download:hover{box-shadow:0 10px 22px rgba(20,43,80,.22);transform:translateY(-1px)}.sbhci-download:before{content:"↓";display:inline-block;margin-right:8px;font-size:17px;line-height:1;vertical-align:-1px}
.sbhci-instagram-tip{margin-top:13px;padding:13px 15px;border:1px solid #d8e4f1;border-radius:14px;background:#f7faff;color:#40506a;font-size:13px;line-height:1.48;display:flex;align-items:flex-start;gap:11px}.sbhci-instagram-icon{flex:0 0 26px;width:26px;height:26px;margin-top:1px;display:block}.sbhci-instagram-icon svg{display:block;width:100%;height:100%}.sbhci-instagram-copy{min-width:0;flex:1}.sbhci-instagram-tip strong{color:#142b50}.sbhci-help{font-size:13.5px;line-height:1.55;color:#647187;margin:17px 0 0;padding-top:15px;border-top:1px solid #edf1f6}
.sbhci-card-preview-wrap{display:flex;align-items:flex-start;justify-content:center;background:linear-gradient(145deg,#626b7c,#505866);border-radius:28px;padding:22px;min-width:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.sbhci-card-preview{width:100%;max-width:540px;aspect-ratio:4/5;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.22)}.sbhci-card-preview canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.sbhci-card-preview canvas:active{cursor:grabbing}
@media(max-width:850px){.sbhci-card-app{display:block;margin:12px auto;padding:18px;border-radius:22px;max-width:520px;box-shadow:0 10px 30px rgba(20,43,80,.06)}.sbhci-card-preview-wrap{margin-top:22px;padding:14px;border-radius:22px}.sbhci-card-heading{margin-bottom:23px}.sbhci-card-heading h2{font-size:27px}}
@media(max-width:480px){.sbhci-card-app{padding:12px;border:0;margin:0 auto;border-radius:0;box-shadow:none}.sbhci-card-heading{padding:20px;border-radius:20px;background-position:center center}.sbhci-card-heading h2{font-size:26px}.sbhci-name{min-height:56px;padding-left:16px!important;padding-right:16px!important;text-indent:0!important}.sbhci-file-picker{min-height:56px;gap:9px;padding:7px 8px}.sbhci-file-button{font-size:14px;padding:0 12px;min-height:40px}.sbhci-file-status{font-size:13px}.sbhci-button-grid{grid-template-columns:repeat(2,1fr);gap:10px}.sbhci-button-grid button,.sbhci-download{min-height:54px}.sbhci-instagram-tip{padding:12px 13px;gap:10px}.sbhci-instagram-icon{flex-basis:24px;width:24px;height:24px}.sbhci-card-preview-wrap{padding:10px;border-radius:20px}.sbhci-card-preview{border-radius:15px}}
/* v0.4.2 — alinhamento consistente do campo de nome */
.sbhci-card-app .sbhci-name{box-sizing:border-box!important;padding-left:16px!important;padding-right:16px!important;text-indent:0!important;line-height:1.35!important}
.sbhci-card-app .sbhci-name::placeholder{padding:0!important;text-indent:0!important}

.sbhci-caption-box{margin-top:14px;padding:16px;border:1px solid #d8e4f1;border-radius:14px;background:#fff}.sbhci-caption-title{font-weight:800;color:#142b50;font-size:14px;margin-bottom:10px}.sbhci-caption-text{padding:13px 14px;border:1px solid #e3e9f1;border-radius:10px;background:#f8fafc;color:#40506a;font-size:13px;line-height:1.45}.sbhci-copy-caption{width:100%;margin-top:10px;min-height:44px;border:1px solid #173e74;border-radius:10px;background:#fff;color:#173e74;font-weight:800;cursor:pointer}.sbhci-copy-caption:hover{background:#f2f6fb}.sbhci-copy-status{display:block;min-height:18px;margin-top:7px;text-align:center;color:#177245;font-size:12.5px;font-weight:700}
@media(max-width:480px){.sbhci-caption-box{padding:13px}.sbhci-caption-text{font-size:12.5px;padding:12px}.sbhci-copy-caption{min-height:48px}}

/* v0.4.4 — preview junto aos controles no celular */
@media(max-width:600px){
  .sbhci-card-controls .sbhci-card-preview-wrap.sbhci-mobile-inline{
    width:100%;
    margin:16px 0 0;
    padding:10px;
    border-radius:20px;
  }
  .sbhci-card-controls .sbhci-card-preview-wrap.sbhci-mobile-inline .sbhci-card-preview{
    width:100%;
    max-width:360px;
    margin:0 auto;
    border-radius:15px;
  }
  .sbhci-card-controls .sbhci-card-preview-wrap.sbhci-mobile-inline + .sbhci-download{
    margin-top:12px;
  }
}
