:root{--ink:#18212f;--muted:#667085;--line:#e6e9ef;--soft:#f5f7fb;--blue:#2857d7;--orange:#f27024;--dark:#121b2f;--shadow:0 18px 45px rgba(24,33,47,.12)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--ink);background:#fbfcff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}input,select,button{font:inherit}.toast{position:fixed;top:16px;left:50%;z-index:20;transform:translateX(-50%);padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow);font-weight:800}.site-header{display:flex;align-items:center;justify-content:space-between;padding:18px clamp(20px,5vw,72px);border-bottom:1px solid var(--line);background:#fff}.brand{display:inline-flex;align-items:center;gap:14px;font-size:22px}.brand strong{font-weight:900}.light-brand{color:#fff}.mark{position:relative;display:inline-block;width:72px;height:52px}.mark i{position:absolute;width:36px;height:46px;border:5px solid var(--blue);border-radius:10px;background:#f5f7fb}.mark i:nth-child(1){left:0;bottom:0}.mark i:nth-child(2){left:18px;bottom:10px;border-color:var(--orange)}.mark i:nth-child(3){right:0;top:0;border-color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:8px;cursor:pointer;font-weight:850}.btn.primary{color:#fff;background:var(--blue);box-shadow:0 10px 22px rgba(40,87,215,.22)}.btn.ghost{border-color:var(--line);background:#fff}.btn.light{color:#fff;border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.12)}.btn.big{min-height:50px;padding-inline:22px}.btn.small{min-height:34px;font-size:13px}.btn.danger{color:#fff;background:#c93636}.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:46px;align-items:center;min-height:calc(100vh - 82px);padding:clamp(48px,7vw,96px) clamp(20px,5vw,72px);color:#fff;background:linear-gradient(120deg,rgba(19,27,43,.97),rgba(29,60,137,.86)),#16213a}.eyebrow{margin:0 0 10px;color:var(--orange);font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.hero h1{max-width:780px;margin:0;font-size:clamp(42px,6vw,76px);line-height:.97}.hero p{max-width:690px;color:rgba(255,255,255,.82);font-size:19px;line-height:1.55}.hero-actions,.header-actions{display:flex;gap:10px;align-items:center}.hero-visual{position:relative;min-height:440px}.browser-card{position:absolute;inset:20px 60px 40px 0;padding:18px;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:rgba(255,255,255,.12);box-shadow:var(--shadow)}.dots{display:flex;gap:8px;margin-bottom:16px}.dots span{width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.5)}.fake-page{display:grid;gap:16px;height:330px;padding:22px;border-radius:8px;background:#fff}.fake-page b{display:grid;place-items:center;height:92px;border:2px dashed var(--orange);border-radius:8px;color:#8a3a11;background:#fff1e8}.fake-page span{height:58px;border-radius:7px;background:#e8edf6}.phone-card{position:absolute;right:0;top:88px;width:145px;height:290px;border:8px solid #0b1120;border-radius:28px;background:#fff;box-shadow:var(--shadow);padding:28px 12px}.phone-card b,.phone-card span{display:block;border-radius:7px;background:#e8edf6}.phone-card b{height:82px;background:#ffe1cf}.phone-card span{height:42px;margin-top:13px}.section{padding:72px clamp(20px,5vw,72px)}.section h2,.workspace h1,.auth-card h1,.login-box h1,.admin-head h1{margin:0;font-size:clamp(32px,4vw,48px);line-height:1.05}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.cards article,.panel,.terms{border:1px solid var(--line);border-radius:8px;background:#fff;padding:22px}.cards p,.terms p,.muted,.login-box p,.danger-zone p{color:var(--muted);line-height:1.55}.auth-page{min-height:100vh;display:grid;place-items:center;padding:32px;background:var(--soft)}.auth-card{display:grid;grid-template-columns:.85fr 1.15fr;width:min(980px,100%);min-height:620px;border-radius:8px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.auth-side{display:flex;flex-direction:column;justify-content:space-between;padding:34px;color:#fff;background:var(--dark)}.form{display:grid;align-content:center;gap:15px;padding:clamp(26px,5vw,52px)}.login-box{width:min(480px,100%);border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:800}input,select{width:100%;height:44px;border:1px solid #d4dae5;border-radius:8px;padding:0 12px;background:#fff}.check{grid-template-columns:auto 1fr;align-items:center}.check input{width:18px;height:18px}.terms-box{padding:14px;border:1px solid #f7d4bd;border-radius:8px;color:#6f3b1d;background:#fff8f3;line-height:1.45}.form-links{display:flex;justify-content:space-between;gap:12px}.app-shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:28px;padding:24px;color:#fff;background:var(--dark)}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:12px 14px;border-radius:8px;color:rgba(255,255,255,.78)}.sidebar nav a.active,.sidebar nav a:hover{color:#fff;background:rgba(255,255,255,.1)}.note{margin-top:auto;padding:14px;border-radius:8px;background:rgba(255,255,255,.08)}.note span{display:block;margin-top:4px;color:rgba(255,255,255,.68);font-size:13px}.workspace{padding:28px;background:#f8fafc}.workspace.narrow{max-width:900px}.topline,.admin-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.capture-editor{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid button,.form-grid h2{align-self:end}fieldset{display:flex;flex-wrap:wrap;gap:10px;border:1px solid var(--line);border-radius:8px;padding:12px}fieldset label{display:flex;align-items:center;gap:6px}fieldset input{width:16px;height:16px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.list{display:grid;gap:10px}.list article{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff}.list span{display:block;margin-top:4px;color:var(--muted);font-size:13px}.print-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.print-list a{display:grid;gap:7px}.thumb{position:relative;display:block;height:130px;border-radius:8px;background:linear-gradient(#18212f 0 25%,transparent 25%),linear-gradient(90deg,#ffe1cf 0 65%,#e9eef6 65%),#f3f6fb}.thumb i{position:absolute;right:10px;bottom:10px;padding:5px 7px;border-radius:5px;color:#fff;background:rgba(24,33,47,.58);font-size:11px;font-style:normal;font-weight:900}.danger-zone{margin-top:22px;padding:22px;border:1px solid #ffc6c6;border-radius:8px;background:#fff5f5}.admin-shell{min-height:100vh;padding:34px;background:#121b2f;color:#fff}.admin-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:20px}.admin-grid .panel{color:var(--ink)}table{width:100%;border-collapse:collapse;margin-top:14px;font-size:14px}th,td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left}th{color:var(--muted);font-size:12px;text-transform:uppercase}
@media(max-width:980px){.hero,.auth-card,.app-shell,.grid-two,.admin-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.sidebar{min-height:auto}.hero-visual{min-height:390px}}
@media(max-width:680px){.site-header,.topline,.admin-head{align-items:stretch;flex-direction:column}.hero h1{font-size:42px}.hero-actions,.header-actions{flex-direction:column;align-items:stretch}.cards,.form-grid,.print-list{grid-template-columns:1fr}.browser-card{inset:0 18px 30px 0}.phone-card{width:126px;height:260px}}

.fake-page{position:relative;overflow:hidden}
.scan-line{position:absolute;left:22px;right:22px;top:0;height:4px;border-radius:999px;background:var(--blue);box-shadow:0 0 24px rgba(40,87,215,.45);animation:scan-print 3s ease-in-out infinite}
@keyframes scan-print{0%,100%{transform:translateY(58px);opacity:.3}50%{transform:translateY(285px);opacity:1}}

.logout-link{margin-top:auto;padding:12px 14px;border-radius:8px;color:rgba(255,255,255,.78);background:rgba(255,255,255,.06);font-weight:800}
.logout-link:hover{color:#fff;background:rgba(255,255,255,.12)}
.sidebar .note{margin-top:0}
.sidebar-bottom{margin-top:auto;display:grid;gap:8px;padding:16px;border-radius:8px;background:rgba(255,255,255,.08)}
.sidebar-bottom strong{font-size:17px}
.sidebar-bottom span{color:rgba(255,255,255,.72)}
.sidebar-bottom a{color:#fff;font-weight:850}

.modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:24px;background:rgba(18,27,47,.58);backdrop-filter:blur(6px)}
.confirm-modal{width:min(520px,100%);padding:30px;border:1px solid rgba(255,255,255,.5);border-radius:12px;background:#fff;box-shadow:0 28px 80px rgba(18,27,47,.28);text-align:center}
.confirm-modal h2{margin:12px 0 8px;font-size:30px;line-height:1.05}
.confirm-modal p{margin:0 auto 18px;max-width:430px;color:var(--muted);line-height:1.55}
.confirm-modal small{display:block;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);line-height:1.45}
.confirm-modal small a{color:var(--blue);font-weight:900}
.modal-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--orange));font-size:26px;font-weight:900}

.capture-editor{padding:0;overflow:hidden}
.capture-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fff}
.field,.weekday-field,.form-actions{padding:18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.field.wide{grid-column:span 2}
.label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#344054;font-size:13px;font-weight:900}
.label-row label{display:block;margin:0;color:inherit;font-size:inherit}
.help{display:inline-grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border:1px solid #cbd5e1;border-radius:50%;color:#52617a;background:#f8fafc;font-size:13px;font-weight:900;cursor:help}
.segmented{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.segmented.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.segmented label{display:block}
.segmented input{position:absolute;opacity:0;pointer-events:none}
.segmented span{display:grid;place-items:center;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:13px;font-weight:900}
.segmented input:checked + span{border-color:var(--blue);color:#fff;background:var(--blue);box-shadow:0 10px 22px rgba(40,87,215,.18)}
.range-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;min-height:44px}
.range-row input{height:auto;padding:0;border:0}
.range-row output{min-width:78px;padding:7px 9px;border-radius:8px;background:#eef3ff;color:var(--blue);font-size:12px;font-weight:900;text-align:center}
.weekday-field{grid-column:span 3;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.weekday-field legend{width:100%;color:#344054;font-size:13px;font-weight:900}
.weekday-field label{display:flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.weekday-field input{width:16px;height:16px}
.form-actions{display:grid;align-items:end}
.field[hidden]{display:none}
.field-hint{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.field-warning{margin:8px 0 0;padding:9px 10px;border:1px solid #fed7aa;border-radius:8px;color:#8a3a11;background:#fff7ed;font-size:13px;font-weight:800;line-height:1.35}
.custom-code-notice{padding:14px;border:1px solid #c7d7ff!important;border-radius:8px;background:#f3f7ff}
.custom-code-notice p{margin:0;color:#344054;line-height:1.55;font-weight:750}
.custom-code-field textarea{min-height:170px;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:14px;line-height:1.5}
.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.empty-state{padding:28px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;text-align:center}
.empty-state p{color:var(--muted)}
.topline.compact{align-items:center;margin-bottom:14px}
.capture-cards article{align-items:flex-start}
.capture-info{min-width:0}
.capture-meta,.capture-url{display:block}
.capture-url{overflow-wrap:anywhere;word-break:break-word}
.print-card{appearance:none;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit}
.thumb-img{display:block;width:100%;height:160px;border:0;border-radius:8px;background-color:#f3f6fb;background-size:cover;background-position:top center;box-shadow:inset 0 0 0 1px var(--line)}
.print-list-wide{grid-template-columns:repeat(3,minmax(0,1fr))}
.selectable{position:relative;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.selectable>input{position:absolute;top:18px;left:18px;z-index:2;width:20px;height:20px}
.filter-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
.print-modal{width:min(1040px,94vw);max-height:92vh;padding:22px;border:0;border-radius:12px;box-shadow:0 28px 80px rgba(18,27,47,.35)}
.print-modal::backdrop,.confirm-delete-dialog::backdrop{background:rgba(18,27,47,.62);backdrop-filter:blur(5px)}
.print-modal img{display:block;margin:36px auto 18px;border-radius:8px;background:#f8fafc;box-shadow:0 0 0 1px var(--line)}
.print-modal img.desktop-preview{max-width:100%;max-height:62vh}
.print-modal img.mobile-preview{max-width:min(420px,100%);max-height:66vh}
.print-modal-variants{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.print-variant-list{display:grid;gap:10px;margin-top:10px}
.print-variant-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}
.print-variant-row strong,.print-variant-row small{display:block}
.print-variant-row small{margin-top:3px;color:var(--muted);font-weight:800}
.print-variant-row form{margin:0}
.modal-close{position:absolute;top:14px;right:14px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px 10px;font-weight:850}
.confirm-delete-dialog{width:min(460px,92vw);padding:24px;border:0;border-radius:12px;box-shadow:0 28px 80px rgba(18,27,47,.35)}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.field-modal{display:grid;gap:8px;margin-top:16px}
.field-modal span{color:#344054;font-size:13px;font-weight:900}
.field-modal input{width:100%}
.preview-dialog-info{display:grid;gap:4px;min-width:0;margin-right:auto;text-align:left}
.preview-cache-meta{font-size:12px;line-height:1.35}
.preview-refresh{justify-self:start;padding:0;border:0;color:var(--blue);background:transparent;cursor:pointer;font-size:12px;font-weight:900}
.preview-refresh:hover{text-decoration:underline}
.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);flex-wrap:wrap}
.pagination span{color:var(--muted);font-size:13px;font-weight:850}
.pagination .disabled{opacity:.45;pointer-events:none}
.page-numbers{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.page-number,.page-ellipsis{display:inline-grid;place-items:center;min-width:38px;height:38px;border-radius:8px;font-size:13px;font-weight:900}
.page-number{border:1px solid var(--line);background:#fff;color:var(--ink)}
.page-number.current{border-color:var(--blue);background:var(--blue);color:#fff;box-shadow:0 10px 22px rgba(40,87,215,.18)}
.page-ellipsis{color:var(--muted)}
.page-jump{display:flex;align-items:end;gap:8px;margin-left:4px;padding-left:14px;border-left:1px solid var(--line)}
.page-jump label{gap:4px;min-width:112px;color:var(--muted);font-size:12px}
.page-jump input{width:82px;height:36px}
.page-total{width:100%;text-align:center}
.click-picker{width:min(980px,96vw);max-height:94vh;padding:20px;border:0;border-radius:12px;box-shadow:0 28px 80px rgba(18,27,47,.35)}
.click-picker::backdrop{background:rgba(18,27,47,.62);backdrop-filter:blur(5px)}
.click-picker-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:14px}
.click-picker-head h2{margin:0;font-size:26px}
.click-picker-head p{margin:6px 0 0;color:var(--muted)}
.click-preview-stage{position:relative;display:block;min-height:360px;max-height:68vh;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#f5f7fb;text-align:center}
.click-preview-stage img{display:block;width:min(100%,900px);height:auto;margin:0 auto;border-radius:6px;background:#fff;box-shadow:0 0 0 1px var(--line);cursor:crosshair}
.click-loading{padding:28px;color:var(--muted);font-weight:800;text-align:center}
.click-marker{position:absolute;z-index:2;width:24px;height:24px;margin:-12px 0 0 -12px;border:3px solid #fff;border-radius:50%;background:var(--orange);box-shadow:0 0 0 3px var(--blue),0 10px 22px rgba(24,33,47,.28);pointer-events:none}
.legal-page{min-height:100vh;padding:40px;background:#f5f7fb}
.legal-card{max-width:920px;margin:0 auto;padding:34px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}
.legal-card h1{font-size:44px;margin:28px 0 18px}
.legal-card p{color:var(--muted);font-size:17px;line-height:1.7}
.terms-check a{color:var(--blue);font-weight:900}
.hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important}
.security-block{gap:18px;text-align:left}
.security-block-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;color:#8a3a11;background:#fff1e8;border:1px solid #f7d4bd;font-size:28px;font-weight:900}
.security-block h1{font-size:clamp(30px,4vw,42px)}
.security-block p{margin:0;color:var(--muted);line-height:1.55}
.security-block-note{padding:14px;border:1px solid #c7d7ff;border-radius:8px;color:#344054;background:#f3f7ff;line-height:1.45;font-weight:750}
.security-block-actions{display:flex;gap:10px;flex-wrap:wrap}
.security-block-actions .btn{flex:1 1 180px}

@media(max-width:1120px){.capture-form{grid-template-columns:repeat(2,minmax(0,1fr))}.weekday-field{grid-column:span 2}.field.wide{grid-column:span 2}}
@media(max-width:980px){.print-list-wide,.filter-bar{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.capture-form{grid-template-columns:1fr}.field,.field.wide,.weekday-field,.form-actions{grid-column:span 1}.segmented{grid-template-columns:1fr 1fr}.print-list-wide,.filter-bar{grid-template-columns:1fr}.print-variant-row{align-items:stretch;flex-direction:column}.print-variant-row .row-actions{align-items:stretch}.print-variant-row .row-actions>*{flex:1}}
@media(max-width:680px){.pagination{align-items:stretch}.pagination>.btn{flex:1}.page-numbers{order:-1;width:100%}.page-jump{width:100%;margin-left:0;padding-left:0;border-left:0;justify-content:center}.page-total{order:3}}

.wide-field{grid-column:1/-1}
.error-preview{max-width:520px;white-space:pre-wrap;font-size:12px;color:#475467}
.workspace::after{content:"A ferramenta PrintdePortais.com.br é desenvolvida pela ServerDo.in - Dúvidas entre em contato pelo e-mail suporte@serverdo.in";display:block;margin-top:34px;padding:18px 0;color:#667085;border-top:1px solid var(--line);font-size:13px;text-align:center}
input::placeholder{color:#9aa4b2}
.process-section{background:#fff}
.process-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(340px,1.05fr);gap:28px;align-items:center}
.journalist-visual{position:relative;min-height:430px;border:1px solid var(--line);border-radius:8px;background:#f8fafc;overflow:hidden}
.journalist{position:absolute;left:42px;bottom:42px;width:118px;height:180px}
.journalist::before{content:"";position:absolute;top:0;left:35px;width:54px;height:54px;border-radius:50%;background:#f6c9a8}
.journalist::after{content:"";position:absolute;top:62px;left:18px;width:92px;height:110px;border-radius:14px 14px 8px 8px;background:#2857d7}
.workflow-card{position:absolute;right:34px;top:34px;width:min(430px,58%);padding:18px;border-radius:8px;background:#fff;box-shadow:var(--shadow)}
.workflow-card ol{margin:0;padding-left:22px;color:var(--muted);line-height:1.65}
.workflow-card strong{color:var(--ink)}
.automation-line{position:absolute;left:150px;right:90px;bottom:140px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--orange),var(--blue));animation:scan-print 3s ease-in-out infinite}
.serverdoin-section{background:#f5f7fb}
.serverdoin-section .section-inner{max-width:980px}
.serverdoin-section p{color:var(--muted);font-size:18px;line-height:1.7}

.action-btn{gap:8px;min-width:118px;white-space:nowrap}
.btn-symbol{display:none;font-size:18px;line-height:1}
.btn.primary .btn-symbol,.btn.danger .btn-symbol{color:#fff}
.btn.ghost{color:var(--ink)}
.btn.ghost .btn-symbol{color:var(--ink)}
.list .btn.primary,.list .btn.primary span,.list .btn.danger,.list .btn.danger span{color:#fff}
.list .btn.ghost,.list .btn.ghost span{color:var(--ink)}
.fixed-danger{width:168px}
.select-check{position:absolute;top:18px;left:18px;z-index:2;display:block}
.select-check input{width:22px;height:22px}

.process-heading{max-width:880px;margin:0 auto 28px;text-align:center}
.process-heading h2{margin:0;font-size:clamp(32px,4vw,52px);line-height:1.05}
.process-heading p{color:var(--muted);font-size:18px;line-height:1.6}
.process-steps{display:grid;gap:12px;max-width:1280px;margin:0 auto}
.process-steps article{display:grid;grid-template-columns:360px minmax(0,1fr);gap:28px;align-items:center;min-height:214px;padding:22px 28px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(90deg,#fff,#fbfcff);overflow:hidden}
.step-copy{display:grid;grid-template-columns:56px 1fr;gap:0 18px;align-items:start}
.step-copy span{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;background:var(--blue);box-shadow:0 12px 22px rgba(40,87,215,.25);font-size:22px;font-weight:900}
.step-copy h3{margin:0;color:var(--ink);font-size:25px;line-height:1.18}
.step-copy p{grid-column:2;margin:12px 0 0;color:#667085;line-height:1.55}
.step-art{position:relative;display:grid;grid-template-columns:minmax(280px,520px) minmax(170px,1fr);gap:24px;align-items:center;min-height:170px}
.mini-window,.notify-card,.calendar-card{border:1px solid #dce4f2;border-radius:8px;background:#fff;box-shadow:0 14px 36px rgba(24,33,47,.08)}
.mini-window{position:relative;padding:42px 18px 18px;min-height:148px;overflow:hidden}
.mini-window::before{content:"";position:absolute;inset:0 0 auto;height:30px;background:linear-gradient(180deg,#eef4ff,#fff)}
.mini-window>i{position:absolute;top:11px;width:8px;height:8px;border-radius:50%;background:#2f61dd}
.mini-window>i:nth-child(1){left:16px}.mini-window>i:nth-child(2){left:32px;opacity:.75}.mini-window>i:nth-child(3){left:48px;opacity:.45}
.mini-window label,.mini-window small{display:block;color:#475467;font-size:13px;font-weight:800}
.mini-window b{display:block;margin-top:8px;padding:11px 12px;border:1px solid #d8e0ed;border-radius:7px;color:#344054;background:#fff;font-size:14px;font-weight:700}
.mini-window div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
.mini-window em{height:38px;border:1px solid #dce4f2;border-radius:7px;background:#f8fafc}
.mini-window em.active{border-color:var(--blue);background:#eef4ff;box-shadow:inset 0 0 0 2px var(--blue)}
.mini-phone{height:190px;max-width:140px;border:6px solid #1d2939;border-radius:24px;padding:28px 12px 14px;background:#fff}
.mini-phone mark{display:block;height:34px;margin-bottom:10px;border-radius:7px;background:#e9eef8}
.mini-phone mark:first-child{height:70px;background:#dfe7f7}
.week-row{grid-template-columns:repeat(7,1fr)!important}
.calendar-card{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:18px}
.calendar-card span{color:#344054;font-size:11px;font-weight:900;text-align:center}
.success strong{display:block;margin:4px 0;color:#18212f}.success strong::before{content:"";display:inline-block;width:24px;height:24px;margin-right:10px;border-radius:50%;vertical-align:middle;background:#39b66c}
.success p{height:12px;margin:10px 0 0;border-radius:999px;background:#e9eef8}
.notify-card{padding:20px;max-width:320px}.notify-card b{display:block;width:54px;height:54px;margin-bottom:12px;border-radius:12px;background:#eef4ff}.notify-card strong{display:block}.notify-card small{display:block;margin-top:6px;color:#667085}
.report-lines{grid-template-columns:1fr!important}.report-lines em{height:28px}

.asset-field{display:grid;gap:8px;color:#344054;font-size:13px;font-weight:800}
.asset-field img{max-width:100%;height:82px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f8fafc;padding:8px}
.asset-field img.app-icon-preview{width:82px;background:#fff}
.asset-field small{color:var(--muted);font-weight:700;line-height:1.35}
.success-text{color:#16794c;font-weight:850;line-height:1.45}.danger-text{color:#b42318;font-weight:850;line-height:1.45}
textarea{font:inherit;width:100%;min-height:130px;padding:12px;border:1px solid #d4dae5;border-radius:8px;background:#fff;resize:vertical}
input[type='file']{height:auto;padding:10px 12px;line-height:1.4}
.banner-reference-preview{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:14px;align-items:center;margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}
.banner-reference-preview strong,.banner-reference-preview span{display:block}
.banner-reference-preview span{margin-top:4px;color:var(--muted);font-size:13px;line-height:1.4}
.banner-reference-preview img{width:100%;max-height:120px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px}
@media(max-width:680px){.banner-reference-preview{grid-template-columns:1fr}.banner-reference-preview img{max-height:180px}}
.site-version-footer{padding:14px 24px;border-top:1px solid var(--line);color:var(--muted);background:#fff;font-size:13px;font-weight:800;text-align:center}
.admin-actions{display:flex;gap:10px;align-items:center}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 18px;padding:8px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.06)}
.admin-tabs button{min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:8px;color:rgba(255,255,255,.76);background:transparent;font-weight:900;cursor:pointer}
.admin-tabs button.active{color:#121b2f;background:#fff;box-shadow:0 12px 24px rgba(0,0,0,.16)}
.admin-tab-panel{display:none}
.admin-tab-panel.active{display:block}
.admin-users-panel,.admin-cluster-panel{grid-column:1/-1}
.admin-filter-bar{display:grid;grid-template-columns:1.4fr 160px 160px 160px auto;gap:12px;align-items:end;margin:0 0 14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}
.admin-filter-actions,.admin-row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.status-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:900}
.status-pill.active{color:#067647;background:#dcfae6}
.status-pill.blocked{color:#b42318;background:#fee4e2}
.link-button{display:inline;padding:0;border:0;color:var(--blue);background:transparent;cursor:pointer;font:inherit;font-weight:850}
.danger-link{color:#b42318}
.cluster-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 8px}
.cluster-actions form{display:inline-flex}
.admin-cluster-panel h3{margin:22px 0 0}
.admin-grid table{display:block;max-width:100%;overflow:auto}
.capture-cards article{display:flex;align-items:center;overflow:hidden}
.capture-info{min-width:0;flex:1 1 auto}
.capture-cards .row-actions{display:grid;grid-template-columns:repeat(2,168px);gap:8px;flex:0 0 auto;justify-content:flex-end}
.capture-cards .action-btn{width:168px;min-width:168px}
.copy-url{cursor:pointer}
.capture-url.copy-url,.print-url.copy-url{display:block;width:100%;max-width:100%;padding:0;border:0;background:transparent;color:var(--muted);font:inherit;line-height:1.25;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.capture-url.copy-url{max-width:min(42ch,100%);font-size:13px;font-weight:750}
.print-url.copy-url{max-width:min(42ch,100%);font-size:13px;font-weight:750}
.capture-url.copy-url:hover,.capture-url.copy-url:focus,.print-url.copy-url:hover,.print-url.copy-url:focus{color:var(--blue);outline:none;text-decoration:underline}
.capture-url.copy-url.copied,.print-url.copy-url.copied{color:var(--blue);font-weight:900;text-decoration:none}
.capture-url.copy-url.copy-failed,.print-url.copy-url.copy-failed{color:#b42318;font-weight:900;text-decoration:none}

@media(max-width:760px){
  .workspace{padding:18px 14px}
  .list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px}
  .capture-cards article b{font-size:18px;line-height:1.2}
  .capture-cards article span{overflow-wrap:anywhere}
  .capture-cards article{display:grid}
  .capture-url.copy-url{max-width:100%}
  .row-actions{display:grid;grid-template-columns:repeat(3,44px);gap:8px;justify-content:end}
  .capture-cards .row-actions{grid-template-columns:repeat(2,44px);gap:8px}
  .capture-cards .action-btn{width:44px;min-width:44px}
  .action-btn{min-width:44px;width:44px;height:44px;min-height:44px;padding:0;border-radius:8px}
  .btn-symbol{display:block}
  .btn-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .fixed-danger{width:44px}
  .print-list .selectable{padding:12px}
  .print-list .selectable small{overflow-wrap:anywhere}
  .print-list .selectable form{margin-top:10px}
  .filter-bar .btn,.topline.compact .btn{width:100%}
  .admin-shell{padding:28px 14px}
  .admin-head{align-items:flex-start}
  .admin-actions,.admin-actions .btn{width:100%}
  .admin-tabs{display:grid;grid-template-columns:1fr 1fr}
  .admin-tabs button{width:100%;padding:0 10px}
  .admin-grid .panel{padding:18px}
  .cluster-actions,.cluster-actions form,.cluster-actions .btn{width:100%}
  .admin-users-panel .topline{gap:12px}
  .admin-users-panel .topline .btn{width:100%;color:#fff;background:var(--blue)}
  .admin-filter-bar{grid-template-columns:1fr}
  .admin-filter-actions,.admin-filter-actions .btn,.admin-row-actions{width:100%}
  .click-picker{padding:14px}
  .click-picker-head{display:block;padding-right:44px}
  .click-picker-head h2{font-size:22px}
  .click-preview-stage{justify-content:start;min-height:300px}
}

@media(max-width:920px){
  .process-steps article{grid-template-columns:1fr;gap:18px;padding:22px}
  .step-art{grid-template-columns:1fr}
  .mini-phone,.calendar-card,.notify-card{display:none}
}

@media(max-width:560px){
  .process-section{padding:48px 16px}
  .process-heading{text-align:left}
  .process-steps article{min-height:0;padding:18px}
  .step-copy{grid-template-columns:42px 1fr;gap:0 12px}
  .step-copy span{width:34px;height:34px;font-size:17px}
  .step-copy h3{font-size:21px}
  .step-copy p{font-size:15px}
  .mini-window{min-height:132px;padding:40px 12px 14px}
  .mini-window b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

.capture-editor-v2{padding:0;overflow:hidden}
.capture-form-v2{display:block;background:#fff}
.capture-form-v2 .form-section{padding:28px 30px;border-bottom:1px solid var(--line)}
.capture-form-v2 .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}
.capture-form-v2 .section-head h2{margin:0;font-size:28px;line-height:1.12}
.capture-form-v2 .section-head p{max-width:860px;margin:8px 0 0;color:var(--muted);font-size:15px;line-height:1.55}
.section-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.capture-form-v2 .field{grid-column:span 6;padding:0;border:0}
.capture-form-v2 .field.wide{grid-column:span 6}
.capture-form-v2 .field.full{grid-column:1/-1}
.capture-form-v2 .weekday-field{grid-column:1/-1;padding:14px;border:1px solid var(--line);border-radius:8px}
.schedule-condition-field{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fbfcff}
.schedule-condition-field .label-row{margin-bottom:0}
.compact-segmented{max-width:320px}
.capture-form-v2 input,.capture-form-v2 select,.capture-form-v2 textarea{min-height:48px;font-size:16px}
.capture-mode-options span{min-height:52px;font-size:15px}
.position-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.strategy-card{display:grid;gap:12px;align-content:start;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fbfcff}
.strategy-card.strategy-choice{cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.strategy-card.strategy-choice.selected{border-color:var(--blue);background:#fff;box-shadow:0 0 0 3px rgba(47,89,216,.12)}
.strategy-card strong{font-size:18px}
.strategy-card p{margin:0;color:var(--muted);line-height:1.45}
.strategy-card textarea{min-height:112px}
.strategy-radio{display:flex;align-items:flex-start;gap:9px;color:var(--ink);font-size:18px;font-weight:850;line-height:1.25}
.strategy-radio input{width:18px;height:18px;min-height:18px;margin:2px 0 0;flex:0 0 auto}
.banner-reference-preview.compact{grid-template-columns:1fr;gap:10px}
.banner-reference-preview.compact img{max-height:112px}
.remove-banner-check{display:flex;align-items:center;gap:8px;margin-top:4px;color:#b42318;font-size:14px;font-weight:850}
.remove-banner-check input{width:18px;height:18px;min-height:18px}
.click-sequence-panel{display:grid;gap:16px}
.click-steps{display:grid;gap:12px}
.click-step-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.click-step-details{display:grid;gap:6px;min-width:0}
.click-step-details strong{font-size:17px;line-height:1.25}
.click-step-details span{color:var(--muted);font-size:14px;font-weight:750;line-height:1.4}
.click-step-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.click-step-actions .btn{min-width:112px}
.btn.danger-outline{color:#c53434;border-color:#f0c7c7;background:#fff}
.btn.danger-outline:hover{background:#fff5f5}
.form-actions-v2{display:flex;justify-content:flex-end;padding:22px 30px;background:#fff}
.scroll-picker{width:min(1040px,96vw);max-height:94vh;padding:20px;border:0;border-radius:12px;box-shadow:0 28px 80px rgba(18,27,47,.35)}
.scroll-picker::backdrop{background:rgba(18,27,47,.62);backdrop-filter:blur(5px)}
.scroll-preview-stage{position:relative;display:block;min-height:360px;max-height:60vh;overflow:auto;border:1px solid var(--line);border-radius:8px;background:#f5f7fb;text-align:center}
.scroll-preview-stage img{display:block;width:min(100%,900px);height:auto;margin:0 auto;background:#fff;box-shadow:0 0 0 1px var(--line)}
.scroll-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.scroll-options .btn{justify-content:flex-start;text-align:left;white-space:normal;min-height:48px}
.click-fields-inline{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;align-items:end;margin-top:14px}
.click-fields-inline label{display:block;color:#344054;font-size:13px;font-weight:900}
.delivery-form{display:grid;gap:24px}
.delivery-section{display:grid;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.delivery-section:last-of-type{border-bottom:0}
.delivery-section h2{margin:0;font-size:28px}
.capture-pick-list{display:grid;gap:8px;max-height:320px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}
.capture-pick-item{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}
.capture-pick-item input{width:18px;height:18px}
.capture-pick-item strong,.capture-pick-item small{display:block}
.capture-pick-item small{margin-top:3px;color:var(--muted);font-weight:700}
.include-pdf,.delivery-active{margin-top:4px}
.delivery-weekdays{display:flex;gap:8px;flex-wrap:wrap}
.delivery-monthdays{max-width:520px}
.form-actions-row{display:flex;justify-content:flex-end;gap:10px}
.delivery-test{margin-top:20px}
.delivery-list article{align-items:flex-start}
.delivery-actions{justify-content:flex-end}
.delivery-form .form-grid>label{min-width:0}
.email-tags{display:flex;align-items:center;align-content:flex-start;gap:8px;flex-wrap:wrap;min-height:48px;width:100%;min-width:0;max-width:100%;padding:7px 10px;border:1px solid #d4dae5;border-radius:8px;background:#fff;line-height:1.2;cursor:text;overflow:hidden}
.email-tags:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(40,87,215,.12)}
.email-tags.invalid{border-color:#f04438;background:#fffafa;box-shadow:0 0 0 3px rgba(217,45,32,.08)}
.email-tags-list{display:flex;align-items:center;gap:6px;flex:0 1 auto;flex-wrap:wrap;min-width:0;max-width:100%}
.email-tags input{flex:999 1 180px;width:auto;min-width:145px;max-width:100%;height:32px;min-height:32px;padding:0;border:0;border-radius:0;background:transparent;outline:0;color:var(--ink);font-size:15px;line-height:32px}
.email-tags input::placeholder{color:#98a2b3;opacity:1}
.email-chip{display:inline-flex;align-items:center;gap:6px;max-width:min(100%,360px);height:32px;min-height:32px;padding:0 10px;border:1px solid #c7d7ff;border-radius:999px;color:#173a96;background:#eef4ff;font-size:14px;font-weight:850;line-height:1}
.email-chip.invalid{border-color:#fecaca;color:#b42318;background:#fff1f1}
.email-chip span{display:inline-block;min-width:0;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-chip button{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;padding:0;border:0;border-radius:50%;color:inherit;background:transparent;cursor:pointer;font-size:0;line-height:0}
.email-chip button::before,.email-chip button::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:3px;border-radius:999px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.email-chip button::after{transform:translate(-50%,-50%) rotate(-45deg)}
.email-chip button:hover{background:rgba(24,33,47,.08)}
.email-tags-error{display:block;min-height:18px;color:#b42318;font-size:12px;font-weight:850}
@media(max-width:1180px){.position-options{grid-template-columns:1fr 1fr}}
@media(max-width:760px){
  .capture-form-v2 .form-section{padding:22px 16px}
  .capture-form-v2 .section-head{display:block}
  .section-grid,.position-options,.scroll-options,.click-fields-inline{grid-template-columns:1fr}
  .capture-form-v2 .field,.capture-form-v2 .field.wide,.capture-form-v2 .field.full{grid-column:1/-1}
  .capture-form-v2 .segmented.two{grid-template-columns:1fr}
  .form-actions-v2{padding:18px 16px}.form-actions-v2 .btn{width:100%}
  .click-step-item{display:grid;gap:12px}
  .click-step-actions{display:grid;grid-template-columns:1fr 1fr}
  .click-step-actions .btn{width:100%;min-width:0}
  .form-actions-row,.delivery-actions{align-items:stretch;flex-direction:column}
  .delivery-actions .btn,.delivery-actions form{width:100%}
}
.help-dialog{width:min(900px,94vw);max-height:92vh;padding:0;border:0;border-radius:18px;color:var(--ink);background:#fff;box-shadow:0 30px 90px rgba(18,27,47,.35)}
.help-dialog::backdrop{background:rgba(18,27,47,.62);backdrop-filter:blur(5px)}
.help-dialog-inner{padding:28px;display:grid;gap:18px}
.help-dialog h2{margin:0;font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:0}
.help-dialog p{margin:0;color:var(--muted);font-size:18px;line-height:1.55;font-weight:700}
.help-dialog .eyebrow{margin-bottom:8px;color:var(--orange);font-size:13px;letter-spacing:.18em;text-transform:uppercase;font-weight:950}
.help-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.help-video{position:relative;overflow:hidden;aspect-ratio:16/9;border:1px solid var(--line);border-radius:12px;background:#101828}
.help-video iframe{display:block;width:100%;height:100%;border:0}
.help-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.help-actions .btn{height:54px;justify-content:center;text-align:center}
.help-faq{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.help-faq article{padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.help-faq h3{margin:0 0 8px;font-size:17px;line-height:1.25}
.help-faq p{font-size:14px;line-height:1.5}
.help-support{padding-top:4px;border-top:1px solid var(--line);font-size:15px!important}
.help-support a{color:var(--blue);font-weight:900;text-decoration:none}
.floating-help{position:fixed;right:22px;bottom:22px;z-index:1200;display:grid;place-items:center}
.floating-help-main{display:grid;place-items:center;width:58px;height:58px;border:0;border-radius:50%;color:#fff;background:var(--blue);box-shadow:0 16px 38px rgba(40,87,215,.32);font-size:30px;font-weight:950;cursor:pointer}
.floating-help-main:hover{filter:brightness(.96)}
.floating-help-close{position:absolute;right:-5px;top:-7px;z-index:1;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;color:#fff;background:#c23b36;font-size:0;line-height:0;cursor:pointer;box-shadow:0 8px 22px rgba(18,27,47,.22)}
.floating-help-close::before,.floating-help-close::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:4px;border-radius:999px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.floating-help-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.floating-help.is-hidden{display:none}
.btn.compact{min-height:44px;padding:0 18px}
@media(max-width:760px){
  .help-dialog{width:94vw;border-radius:14px}
  .help-dialog-inner{padding:20px;gap:14px}
  .help-dialog-head{display:grid}
  .help-dialog-head .btn{width:100%}
  .help-actions,.help-faq{grid-template-columns:1fr}
  .help-actions .btn{height:auto;min-height:52px;white-space:normal}
  .help-dialog p{font-size:16px}
  .floating-help{right:16px;bottom:16px}
  .floating-help-main{width:54px;height:54px;font-size:28px}
}
