:root{--ink:#142331;--muted:#657585;--line:#dbe4ea;--paper:#fff;--wash:#f3f7f9;--navy:#0d3150;--navy2:#164968;--blue:#4e8caf;--sky:#dbeef8;--green:#13795b;--green-bg:#ddf5ec;--amber:#a55b09;--amber-bg:#fff0d6;--danger:#b42318;--shadow:0 18px 50px rgba(16,47,72,.11);--radius:18px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--wash)}
.upgrade-mark{font-size:0!important;background:#fff url('/assets/imageconsent-mark.svg?v=check') center/contain no-repeat!important}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--wash)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(78,140,175,.28);outline-offset:2px}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:white;padding:30px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;margin-bottom:39px}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--blue);display:grid;place-items:center;font-weight:800}.brand-name{font-size:19px;font-weight:760;letter-spacing:-.02em}.brand-name small{display:block;font-size:11px;color:#a8c4d6;font-weight:600;letter-spacing:.07em;text-transform:uppercase}.nav{display:grid;gap:7px}.nav button{width:100%;border:0;background:transparent;color:#b8cbd8;border-radius:12px;padding:13px 14px;text-align:left;display:flex;gap:11px;align-items:center;font-weight:650}.nav button:hover,.nav button.active{background:rgba(255,255,255,.1);color:#fff}.nav-icon{font-size:19px;width:22px;text-align:center}.profile-mini{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding-top:20px;display:flex;gap:12px;align-items:center}.profile-logo{width:44px;height:44px;border-radius:12px;background:white;object-fit:contain;padding:5px}.profile-mini strong{display:block;font-size:14px}.profile-mini button{border:0;background:transparent;color:#aac2d1;padding:3px 0;font-size:13px}.main{padding:32px clamp(24px,4vw,64px) 70px;max-width:1440px;width:100%;margin:auto}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--blue);text-transform:uppercase}.topbar h1{font-size:clamp(28px,3vw,42px);line-height:1.05;letter-spacing:-.04em;margin:7px 0 4px}.subtitle{color:var(--muted);font-size:15px}.primary,.secondary,.ghost,.danger-btn{border-radius:12px;border:0;padding:13px 18px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px}.primary{background:var(--navy);color:#fff;box-shadow:0 8px 20px rgba(13,49,80,.15)}.primary:hover{background:var(--navy2)}.secondary{background:var(--sky);color:var(--navy)}.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}.danger-btn{background:#fff0ef;color:var(--danger)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.metric{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 8px 25px rgba(16,47,72,.045)}.metric-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px;font-weight:650}.metric b{display:block;font-size:33px;margin-top:11px;letter-spacing:-.04em}.metric small{color:var(--muted)}.dot{width:9px;height:9px;border-radius:50%;background:var(--green)}.dot.amber{background:#e29326}.dot.blue{background:var(--blue)}.grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:20px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 25px rgba(16,47,72,.045);overflow:hidden}.panel-head{padding:20px 22px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:18px;margin:0;letter-spacing:-.02em}.panel-body{padding:0 22px 22px}.search{width:100%;border:1px solid var(--line);border-radius:11px;background:#f8fafb;padding:11px 13px;color:var(--ink)}.record-list{display:grid;margin-top:12px}.record{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 4px;border-top:1px solid #edf1f4;align-items:center}.record:first-child{border-top:0}.record button{border:0;background:transparent;padding:0;text-align:left}.record strong{font-size:15px}.meta{color:var(--muted);font-size:13px;margin-top:5px}.badge{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap}.badge.done{color:var(--green);background:var(--green-bg)}.badge.pending{color:var(--amber);background:var(--amber-bg)}.quick{display:grid;gap:12px}.quick button{border:1px solid var(--line);background:#f8fafb;border-radius:14px;padding:15px;text-align:left;display:flex;gap:12px;align-items:center;color:var(--ink)}.quick button:hover{border-color:#9fc0d3;background:#f3f9fc}.quick-icon{width:38px;height:38px;border-radius:11px;background:var(--sky);display:grid;place-items:center;font-size:18px}.quick strong{font-size:14px}.quick span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.legal-note{margin-top:16px;background:#edf5f9;border-radius:14px;padding:15px;color:#456274;font-size:13px;line-height:1.5}.mobile-nav{display:none}.flow-wrap{max-width:800px;margin:0 auto}.flow-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.flow-top button{border:0;background:transparent;color:var(--muted);font-weight:700}.steps{display:flex;gap:6px;align-items:center}.step-dot{width:27px;height:6px;background:#d8e2e8;border-radius:4px}.step-dot.active{background:var(--blue)}.flow-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(22px,4vw,38px);box-shadow:var(--shadow)}.flow-card h2{margin:5px 0 7px;font-size:clamp(24px,3vw,32px);letter-spacing:-.035em}.flow-card>p{color:var(--muted);line-height:1.55;margin:0 0 24px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:14px;font-weight:750}.field input,.field select,.field textarea{width:100%;min-height:49px;border:1px solid #cfdbe2;border-radius:11px;background:white;padding:12px 13px;color:var(--ink)}.field textarea{min-height:90px;resize:vertical}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.choice{border:2px solid var(--line);background:#fff;border-radius:15px;padding:18px;text-align:left;display:flex;gap:13px;align-items:flex-start}.choice.selected{border-color:var(--blue);background:#f4fafe}.choice .radio{width:21px;height:21px;border:2px solid #aabac4;border-radius:50%;flex:0 0 auto;margin-top:1px}.choice.selected .radio{border:6px solid var(--blue)}.choice strong{display:block}.choice small{display:block;color:var(--muted);margin-top:5px;line-height:1.35}.uses{display:grid;gap:10px}.use-row{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:13px;padding:14px}.use-row input{width:20px;height:20px;accent-color:var(--navy);margin-top:1px;flex:0 0 auto}.use-row label{font-size:14px;font-weight:700}.use-row small{display:block;color:var(--muted);font-weight:400;margin-top:4px;line-height:1.4}.flow-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px}.flow-actions .primary{margin-left:auto}.consent{max-height:370px;overflow:auto;border:1px solid var(--line);background:#f8fafb;border-radius:14px;padding:20px;font-size:14px;line-height:1.65}.consent h3{font-size:17px;margin:0 0 10px}.consent p{margin:0 0 12px}.consent ul{padding-left:20px}.confirm{display:flex;gap:11px;margin-top:17px;align-items:flex-start}.confirm input{width:20px;height:20px;accent-color:var(--navy);margin-top:1px}.confirm label{font-size:14px;line-height:1.45}.signature-box{border:2px dashed #b9cbd6;border-radius:16px;background:#fbfdfe;overflow:hidden;position:relative}.signature-box canvas{display:block;width:100%;height:230px;touch-action:none}.signature-hint{position:absolute;inset:0;display:grid;place-items:center;color:#9bacb7;pointer-events:none;font-weight:650}.signature-tools{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.signature-tools small{color:var(--muted)}.signature-tools button{border:0;background:transparent;color:var(--blue);font-weight:750}.success{text-align:center;padding:8px 0}.success-icon{width:74px;height:74px;border-radius:50%;background:var(--green-bg);color:var(--green);display:grid;place-items:center;font-size:35px;margin:0 auto 18px}.success h2{font-size:30px}.success .ref{display:inline-block;background:#f1f5f7;border-radius:10px;padding:9px 13px;font:700 13px ui-monospace,SFMono-Regular,Menlo,monospace;margin:8px 0 22px}.success-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-backdrop{position:fixed;inset:0;background:rgba(6,26,42,.58);z-index:50;display:grid;place-items:center;padding:20px}.modal{width:min(700px,100%);max-height:92vh;overflow:auto;background:white;border-radius:22px;box-shadow:0 25px 80px rgba(0,0,0,.24)}.modal-head{position:sticky;top:0;background:white;z-index:2;padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h2{margin:0;font-size:20px}.close{width:38px;height:38px;border-radius:50%;border:0;background:#edf2f5;font-size:20px}.modal-body{padding:22px}.doc{color:#17232c}.doc-header{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:2px solid var(--ink);padding-bottom:17px;margin-bottom:22px}.doc-logo{max-width:170px;max-height:64px;object-fit:contain}.doc h1{font-size:23px;line-height:1.2}.doc p,.doc li{font-size:14px;line-height:1.6}.doc-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.doc-data{background:#f4f7f8;border-radius:10px;padding:12px}.doc-data small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.doc-data b{display:block;margin-top:4px;font-size:14px}.doc-sign{border-top:1px solid var(--line);margin-top:25px;padding-top:18px}.doc-sign img{max-width:220px;max-height:90px}.modal-actions{display:flex;gap:10px;margin-top:20px}.profile-preview{background:var(--navy);border-radius:15px;padding:18px;display:flex;align-items:center;gap:14px;color:white;margin-bottom:20px}.profile-preview img{width:80px;height:56px;object-fit:contain;background:white;border-radius:9px;padding:5px}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#112f45;color:white;border-radius:11px;padding:12px 16px;opacity:0;pointer-events:none;transition:.25s;z-index:90;font-size:14px;font-weight:650}.toast.show{opacity:1;transform:translate(-50%,0)}.empty{text-align:center;padding:28px 10px;color:var(--muted)}.future-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}.future{border:1px solid var(--line);border-radius:13px;padding:15px}.future.ready{border-color:#9ed7c3;background:#f0faf6}.future b{font-size:14px}.future p{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.4}.sign-mode{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#eef3f6;border-radius:14px;padding:5px;margin-bottom:18px}.sign-mode button{border:0;background:transparent;color:var(--muted);border-radius:10px;min-height:48px;font-weight:750}.sign-mode button.active{background:white;color:var(--navy);box-shadow:0 3px 12px rgba(13,49,80,.1)}.qr-intro{text-align:center;border:1px solid var(--line);background:#f7fafc;border-radius:17px;padding:28px}.qr-intro h3,.qr-live h3{margin:7px 0;font-size:20px}.qr-intro p,.qr-live p{color:var(--muted);line-height:1.5;margin:6px auto 18px;max-width:480px}.qr-intro small,.qr-live small{display:block;color:var(--muted);margin-top:11px}.qr-symbol{width:62px;height:62px;border-radius:17px;background:var(--navy);color:white;display:grid;place-items:center;font-size:32px;margin:auto}.wide{width:100%}.success-icon.small{width:56px;height:56px;font-size:26px}.qr-live{display:grid;grid-template-columns:260px 1fr;gap:26px;align-items:center;border:1px solid var(--line);border-radius:17px;padding:20px}.qr-code{background:white;border-radius:12px;padding:10px;display:grid;place-items:center;min-height:240px}.qr-code img{width:100%;height:auto;display:block;image-rendering:pixelated}.live-status{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-size:13px;font-weight:800}.live-status i{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 6px var(--green-bg);animation:pulse 1.8s infinite}.copy-link{min-height:42px}.remote-shell{min-height:100svh;background:linear-gradient(180deg,var(--navy) 0 170px,var(--wash) 170px);padding:24px 16px 40px}.remote-card{width:min(620px,100%);margin:auto;background:white;border-radius:24px;padding:24px;box-shadow:var(--shadow)}.remote-brand{display:flex;align-items:center;gap:13px;padding-bottom:22px}.remote-brand img{width:86px;height:52px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:10px;padding:5px}.remote-brand small,.remote-brand strong{display:block}.remote-brand small{color:var(--muted);font-size:12px;margin-bottom:3px}.remote-brand strong{font-size:15px}.remote-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 0 25px}.remote-progress span{height:5px;border-radius:4px;background:var(--blue)}.remote-card h1{font-size:32px;letter-spacing:-.04em;margin:6px 0}.remote-lead{color:var(--muted);margin:0 0 20px}.remote-consent{max-height:300px}.remote-confirm{border:1px solid var(--line);border-radius:13px;padding:14px;margin:16px 0 20px}.signature-label{display:block;font-size:14px;font-weight:750;margin-bottom:8px}.remote-submit{width:100%;min-height:56px;margin-top:20px}.managed-by{text-align:center;color:#8999a4;font-size:12px;margin-top:22px}.remote-loading,.remote-result{text-align:center;padding-top:70px;padding-bottom:70px;margin-top:8vh}.loader{width:42px;height:42px;border:4px solid var(--sky);border-top-color:var(--navy);border-radius:50%;animation:spin .9s linear infinite;margin:auto}.result-icon{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:var(--green-bg);color:var(--green);font-size:34px;font-weight:800;margin:auto}.result-icon.error{background:#fff0ef;color:var(--danger)}.remote-result h1,.remote-loading h1{font-size:28px;margin:18px 0 7px}.remote-result p,.remote-loading p{color:var(--muted);line-height:1.5}.remote-result small{color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 10px rgba(221,245,236,0)}}
@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.main{padding:24px 20px 95px}.grid{grid-template-columns:1fr}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);z-index:20;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:700;display:grid;gap:3px;place-items:center}.mobile-nav button.active{color:var(--navy)}.mobile-nav span{font-size:20px}.topbar{align-items:center}.topbar .primary{width:48px;height:48px;padding:0;font-size:0}.topbar .primary span{font-size:24px}.cards{grid-template-columns:repeat(3,1fr)}.metric{padding:15px}.metric b{font-size:27px}}
@media(max-width:600px){body{font-size:16px}.main{padding:calc(14px + env(safe-area-inset-top)) 12px 96px}.topbar{margin:0 3px 17px}.topbar h1{font-size:27px}.topbar .subtitle{display:none}.cards{gap:7px;margin-bottom:13px}.metric{border-radius:13px;padding:12px 10px}.metric-label{font-size:11px}.metric b{font-size:24px;margin-top:7px}.metric small{display:none}.grid{gap:12px}.panel{border-radius:16px}.panel-head,.panel-body{padding-left:15px;padding-right:15px}.panel-head{padding-top:17px}.fields,.choice-grid,.success-actions,.doc-grid,.future-grid,.qr-live{grid-template-columns:1fr}.field input,.field select,.field textarea,.search{font-size:16px;min-height:54px}.choice{min-height:84px;padding:15px}.use-row{padding:15px 13px}.use-row input,.confirm input{width:22px;height:22px}.flow-wrap{margin:0}.flow-top{padding:0 3px;margin-bottom:13px}.flow-top small{font-size:12px}.flow-card{border-radius:18px;padding:21px 16px;box-shadow:0 8px 28px rgba(16,47,72,.08)}.flow-card h2{font-size:25px}.flow-card>p{font-size:15px;margin-bottom:20px}.step-dot{width:18px;height:5px}.consent{padding:16px;max-height:43svh;font-size:14px}.sign-mode{grid-template-columns:1fr;margin-bottom:14px}.sign-mode button{min-height:50px}.qr-intro{padding:23px 16px}.qr-live{padding:16px;gap:15px}.qr-code{width:min(260px,100%);min-height:0;margin:auto}.flow-actions{position:sticky;bottom:75px;background:white;margin:22px -16px -21px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:4}.flow-actions button{flex:1;min-height:54px}.record{padding:14px 2px}.modal-backdrop{padding:0;align-items:end}.modal{border-radius:22px 22px 0 0;max-height:94svh}.doc-header{align-items:flex-start;flex-direction:column}.modal-actions{position:sticky;bottom:0;background:white;padding:12px 0}.modal-actions button{flex:1}.remote-shell{padding:0;background:white}.remote-card{border-radius:0;box-shadow:none;padding:calc(18px + env(safe-area-inset-top)) 16px calc(30px + env(safe-area-inset-bottom));min-height:100svh}.remote-brand{padding-bottom:17px}.remote-card h1{font-size:29px}.remote-consent{max-height:38svh}.remote-submit{position:sticky;bottom:10px;z-index:3;box-shadow:0 9px 28px rgba(13,49,80,.28)}.remote-loading,.remote-result{display:flex;flex-direction:column;justify-content:center;margin:0;padding-left:26px;padding-right:26px}.toast{bottom:calc(88px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 28px);text-align:center}}
@media print{body{background:white}.app-shell,.modal-head,.modal-actions,.mobile-nav,.toast{display:none!important}.modal-backdrop{position:static;display:block;background:white;padding:0}.modal{box-shadow:none;max-height:none;width:100%;overflow:visible}.modal-body{padding:0}.doc{display:block}.profile-editor{display:none}.technical-note summary{display:none}.technical-note p{display:block!important;margin:0}}
.language-switcher{display:flex;gap:4px;margin:18px 0;padding:4px;border-radius:12px;background:rgba(255,255,255,.09)}.language-switcher button{flex:1;min-width:38px;border:0;border-radius:9px;background:transparent;color:#b8cbd8;padding:8px 9px;font-size:12px;font-weight:800}.language-switcher button.active{background:white;color:var(--navy);box-shadow:0 3px 10px rgba(0,0,0,.14)}.language-switcher.compact{margin:0;background:#e8eff3}.language-switcher.compact button{color:var(--muted)}.language-switcher.compact button.active{color:var(--navy)}.topbar-actions{display:flex;align-items:center;gap:10px}.remote-language{display:flex;justify-content:flex-end;margin:0 0 10px}.remote-language .language-switcher{margin:0;background:#eef3f6}.remote-language .language-switcher button{color:var(--muted)}.remote-language .language-switcher button.active{color:var(--navy)}
@media(min-width:901px){.topbar .language-switcher.compact{display:none}}
@media(max-width:900px){.sidebar>.language-switcher{display:none}.topbar-actions{gap:8px}.topbar .language-switcher.compact button{min-width:34px;padding:8px 7px}}
@media(max-width:420px){.topbar-actions{align-items:flex-start;flex-direction:column-reverse}.topbar .language-switcher.compact{align-self:flex-end}.topbar .primary{align-self:flex-end}}

/* Home: clearer first action and visible professional identity. */
.home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.55fr);gap:24px;align-items:stretch;margin-bottom:22px;padding:clamp(24px,4vw,42px);overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#102d3f 0%,#17485d 64%,#b96f3d 155%);color:#fff;box-shadow:0 22px 55px rgba(16,45,63,.18)}
.home-hero:after{content:"";position:absolute;width:340px;height:340px;right:-150px;bottom:-230px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025);pointer-events:none}
.home-hero-copy{position:relative;z-index:1;align-self:center;max-width:690px}.home-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:13px;color:#b9e4ea;font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.home-kicker:before{content:"";width:22px;height:2px;background:#e5a66d}.home-hero h2{max-width:650px;margin:0;font-size:clamp(30px,4vw,48px);line-height:1.02;letter-spacing:-.045em}.home-hero-copy>p{max-width:610px;margin:16px 0 22px;color:#d9e7eb;font-size:16px;line-height:1.6}
.home-hero-actions{display:flex;align-items:center;gap:13px}.home-hero .hero-primary{background:#fff;color:#102d3f;box-shadow:none}.home-hero .hero-primary:hover{background:#f8eee5}.hero-link{min-height:48px;padding:10px 12px;border:0;background:transparent;color:#fff;font-weight:750}.hero-link span{margin-left:5px}.trust-row{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;color:#cbdde3;font-size:12px;font-weight:700}
.professional-card{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px;border:1px solid rgba(255,255,255,.19);border-radius:16px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px)}.professional-label{color:#b9e4ea;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.professional-logo-wrap{width:100%;height:112px;display:grid;place-items:center;margin:13px 0 14px;padding:12px;border-radius:10px;background:#fff}.professional-logo-wrap img{display:block;width:100%;height:100%;object-fit:contain}.professional-card strong{font-size:16px}.professional-card small{margin-top:6px;color:#d9e7eb;font-size:12px;line-height:1.45}.professional-card button{margin-top:14px;padding:0;border:0;background:transparent;color:#fff;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.home-hero+.cards{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.dot.red{background:#c4483d}
@media(max-width:900px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(230px,.48fr);padding:28px}.professional-logo-wrap{height:96px}.home-hero+.cards{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){.home-hero{grid-template-columns:1fr;gap:20px;margin-bottom:13px;padding:24px 18px;border-radius:17px}.home-hero h2{font-size:33px}.home-hero-copy>p{font-size:15px;margin:13px 0 19px}.home-hero-actions{align-items:stretch;flex-direction:column}.home-hero-actions button{width:100%}.trust-row{display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;margin-top:18px}.professional-card{padding:14px}.professional-logo-wrap{height:94px;margin:10px 0}.professional-card small{display:none}.professional-card button{margin-top:9px}.home-hero+.cards{grid-template-columns:repeat(2,1fr)}}

/* Product-led home identity: the app brand stays separate from each customer's profile. */
.home-hero{grid-template-columns:minmax(0,1.6fr) minmax(230px,.4fr);gap:28px;padding:clamp(22px,3vw,34px)}
.home-hero-copy>p{margin:13px 0 18px}.trust-row{margin-top:17px}
.app-identity-card{position:relative;z-index:1;display:grid;align-content:center;justify-items:start;padding:18px;border-left:1px solid rgba(255,255,255,.22)}
.app-identity-card img{width:124px;height:124px;margin-bottom:16px;filter:drop-shadow(0 12px 25px rgba(0,0,0,.22))}
.app-identity-card span,.app-identity-card strong,.app-identity-card small{display:block}.app-identity-card span{color:#b9e4ea;font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.app-identity-card strong{margin-top:5px;font-size:18px;line-height:1.22}.app-identity-card small{margin-top:7px;color:#d9e7eb;font-size:12px;line-height:1.45}
@media(max-width:900px){.home-hero{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.app-identity-card{padding:14px}.app-identity-card img{width:100px;height:100px}}
@media(max-width:600px){.home-hero{grid-template-columns:1fr;gap:16px;padding:22px 18px}.app-identity-card{grid-template-columns:76px 1fr;gap:14px;align-items:center;padding:16px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.2)}.app-identity-card img{width:76px;height:76px;margin:0}.app-identity-card strong{font-size:16px}.app-identity-card small{display:none}}

/* Projects are actionable and remain reachable on mobile. */
.project-list{margin-top:0}.project-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:17px 4px;border:0;border-top:1px solid #edf1f4;background:transparent;color:var(--ink);text-align:left}.project-row:first-child{border-top:0}.project-row:hover{color:var(--blue)}.project-row strong,.project-row .meta{display:block}.project-action{display:flex;align-items:center;gap:7px;color:var(--blue);font-size:13px;font-weight:800}.empty-projects{padding:30px 10px;text-align:center}.empty-projects p{margin:7px 0 17px;color:var(--muted)}
@media(max-width:900px){.mobile-nav{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){.project-row{padding:16px 2px}.project-action{font-size:12px}}

/* ImageConsent identity: warmer editorial surfaces and a more distinctive rhythm. */
:root{--ink:#172630;--muted:#6d7472;--line:#dcd5cb;--paper:#fffdf9;--wash:#f4f0e9;--navy:#102d3f;--navy2:#173f55;--blue:#b96f3d;--sky:#f3dfce;--green:#24715b;--green-bg:#e0f0e8;--amber:#9a5a18;--amber-bg:#f8ead5;--shadow:0 18px 42px rgba(34,45,48,.09);--radius:10px}
body{background:radial-gradient(circle at 88% 2%,rgba(229,166,109,.16),transparent 28rem),var(--wash)}
.sidebar{background:linear-gradient(165deg,#102d3f 0%,#0b2231 72%,#18394a 100%);border-right:1px solid rgba(229,166,109,.18)}
.brand{margin-bottom:34px;gap:13px}.brand-mark{width:54px;height:54px;flex:0 0 54px;border-radius:15px;background:transparent;box-shadow:0 0 0 1px rgba(100,235,247,.2),0 12px 32px rgba(29,203,229,.22)}.brand-name{letter-spacing:-.035em}.brand-name small{color:#a8dce5;letter-spacing:.11em}
.nav button{border-radius:7px;border-left:2px solid transparent}.nav button:hover,.nav button.active{background:rgba(255,250,242,.08);border-left-color:#e5a66d}
.primary,.secondary,.ghost,.danger-btn{border-radius:8px}.primary{background:var(--navy);box-shadow:0 7px 18px rgba(16,45,63,.16)}.secondary{background:#f2dfcf}.ghost{background:rgba(255,255,255,.55)}
.metric{border-radius:7px;border-top:3px solid #d8c4b1;box-shadow:0 5px 16px rgba(32,47,52,.035)}.metric:nth-child(1){border-top-color:#4f9178}.metric:nth-child(2){border-top-color:#d19855}.metric:nth-child(3){border-top-color:#b7685e}.metric:nth-child(4){border-top-color:#668ea5}
.panel{border-radius:10px;box-shadow:0 8px 22px rgba(32,47,52,.045)}.panel-head{border-bottom:1px solid rgba(220,213,203,.75);margin-bottom:12px}.quick{gap:0}.quick button{border:0;border-bottom:1px solid #e8e1d8;border-radius:0;background:transparent;padding:16px 4px}.quick button:last-child{border-bottom:0}.quick button:hover{background:#fbf4ec;border-color:#e8d0ba}.quick-icon{border-radius:7px;background:#f2dfcf;color:#8b512b}
.legal-note{border-radius:7px;border-left:3px solid #d29058;background:#faf0e5}.flow-card{border-radius:12px;border-top:4px solid #d18b55;box-shadow:0 16px 38px rgba(32,47,52,.07)}
.field input,.field select,.field textarea,.search{border-radius:7px;background:#fffefa}.choice,.use-row{border-radius:8px}.choice.selected{border-color:#b96f3d;background:#fff8f1}.choice.selected .radio{border-color:#b96f3d}.consent{border-radius:8px;background:#fcfaf6}.signature-box{border-radius:9px;background:#fffefa}.sign-mode,.sign-mode button{border-radius:8px}.qr-intro,.qr-live,.qr-code{border-radius:9px}
.modal{border-radius:13px}.modal-head{border-radius:13px 13px 0 0}.close{border-radius:8px}.doc-data{border-radius:6px;background:#f7f3ed}.profile-preview{border-radius:9px}.privacy-option{border-radius:8px;background:#fbf8f3}.privacy-option-icon{border-radius:7px;background:#f2dfcf;color:#81502f}.account-avatar{border-radius:9px}.account-grid>div{border-radius:7px;background:#fbf8f3}
.language-switcher,.language-switcher.compact{border-radius:8px}.language-switcher button{border-radius:6px}.mobile-nav{background:#fffdf9}
@media(max-width:600px){.panel,.metric{border-radius:8px}.flow-card{border-radius:10px}.modal{border-radius:14px 14px 0 0}.modal-head{border-radius:14px 14px 0 0}.remote-card{background:#fffdf9}.remote-shell{background:#fffdf9}}

.value-message{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin:-8px 0 24px;padding:20px 22px;border:1px solid #d8c4b1;border-left:4px solid #b96f3d;border-radius:10px;background:linear-gradient(115deg,#fffaf4 0%,#fffdf9 62%,#f2e4d8 100%);box-shadow:0 10px 28px rgba(32,47,52,.06)}.value-message-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:9px;background:var(--navy);color:#fff;font-size:25px;box-shadow:0 8px 18px rgba(16,45,63,.16)}.value-message-copy h2{margin:0 0 5px;font-size:20px;letter-spacing:-.025em}.value-message-copy p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.value-message-copy strong{display:block;margin-top:7px;font-size:13px;color:var(--navy)}.value-message-dismiss{min-height:42px;padding:8px 14px;border:1px solid #d8c4b1;border-radius:7px;background:rgba(255,255,255,.72);color:var(--ink);font-weight:750}.value-message-dismiss:hover{background:#fff}
@media(max-width:600px){.value-message{grid-template-columns:auto 1fr;gap:12px;margin:0 0 13px;padding:16px 14px}.value-message-mark{width:42px;height:42px;font-size:22px}.value-message-copy h2{font-size:18px}.value-message-copy p{font-size:14px}.value-message-copy strong{font-size:13px}.value-message-dismiss{grid-column:1/-1;width:100%}}

.plan-card{display:grid;grid-template-columns:minmax(210px,auto) minmax(150px,1fr) auto;align-items:center;gap:18px;margin:-10px 0 24px;padding:13px 16px;border:1px solid var(--line);border-radius:9px;background:rgba(255,253,249,.82)}.plan-card-copy{display:grid;gap:2px}.plan-card-copy span{color:var(--blue);font-size:12px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.plan-card-copy strong{font-size:14px}.plan-card-copy small{color:var(--muted);font-size:12px}.plan-progress{height:7px;overflow:hidden;border-radius:99px;background:#e7dfd5}.plan-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b96f3d,#d5a06f)}.plan-card>button{min-height:40px;padding:8px 13px;border:0;border-radius:7px;background:#f2dfcf;color:var(--navy);font-size:13px;font-weight:800}.upgrade-modal{width:min(620px,100%)}.upgrade-hero{text-align:center;padding:8px 14px 18px}.upgrade-mark{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 12px;border-radius:14px;background:var(--navy);color:#fff;font-size:20px;font-weight:850;letter-spacing:-.05em;box-shadow:0 10px 24px rgba(16,45,63,.19)}.upgrade-hero>span{display:inline-block;color:var(--blue);font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.upgrade-hero h2{margin:6px 0 8px;font-size:clamp(26px,5vw,34px);letter-spacing:-.04em}.upgrade-hero p{max-width:500px;margin:0 auto;color:var(--muted);line-height:1.55}.upgrade-benefits{display:grid;gap:10px;margin:5px 0 18px;padding:0;list-style:none}.upgrade-benefits li{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fbf8f3;font-weight:700}.upgrade-benefits i{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--green-bg);color:var(--green);font-style:normal}.upgrade-price{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px;border-radius:9px;background:var(--navy);color:white}.upgrade-price strong{display:block;font-size:30px;letter-spacing:-.04em}.upgrade-price span{display:block;color:#b8cbd8;font-size:12px}.upgrade-price button{min-height:46px;padding:10px 16px;border:0;border-radius:7px;background:#fff;color:var(--navy);font-weight:800}.upgrade-testing{text-align:center;color:var(--muted);font-size:12px;line-height:1.5}.upgrade-modal .modal-actions{justify-content:center}
@media(max-width:700px){.plan-card{grid-template-columns:1fr auto;gap:10px;margin:0 0 13px}.plan-progress{grid-column:1/-1;grid-row:2}.plan-card-copy small{display:none}}@media(max-width:480px){.plan-card{grid-template-columns:1fr}.plan-card>button{width:100%}.plan-progress{grid-row:auto}.upgrade-price{align-items:stretch;flex-direction:column;text-align:center}.upgrade-price button{width:100%}}
.integrity-proof{display:grid;gap:7px;margin-top:18px;padding:13px;border:1px solid #c8d9e2;border-radius:8px;background:#f6fafc}.integrity-proof code{overflow-wrap:anywhere;color:var(--navy);font-size:11px;line-height:1.45}.integrity-proof small{color:var(--muted);line-height:1.45}
.doc .legal-note{margin-top:18px;padding:0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:var(--muted);font-size:11px}.technical-note{padding-top:10px}.technical-note summary{width:max-content;color:#71818a;font-size:11px;font-weight:750;cursor:pointer}.technical-note p{margin:8px 0 0;font-size:11px!important;line-height:1.45!important;color:#71818a}
.copy-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:12px 0 20px;padding:12px 13px;border:1px solid #c8d9e2;border-radius:8px;background:#f6fafc;text-align:left}.copy-status>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e6eef2;color:var(--navy);font-weight:850}.copy-status strong,.copy-status small{display:block}.copy-status strong{font-size:14px}.copy-status small{margin-top:2px;color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}.copy-status.sent{border-color:#a9d7c5;background:#f0faf6}.copy-status.sent>span{background:var(--green-bg);color:var(--green)}.copy-status.failed{border-color:#edc3bd;background:#fff7f5}.copy-status.failed>span{background:#fbe3df;color:var(--danger)}.copy-status button{min-height:38px;padding:8px 11px;border:0;border-radius:7px;background:var(--navy);color:#fff;font-size:12px;font-weight:800}.copy-status button:disabled{opacity:.55}
.brand-mark{width:58px;height:58px;flex-basis:58px;border-radius:16px;background:transparent}.brand-name{font-size:21px}.mobile-brand{display:none}
@media(max-width:900px){.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.mobile-brand{grid-column:1/-1;display:flex;align-items:center;gap:11px;padding-bottom:13px;margin-bottom:2px;border-bottom:1px solid var(--line)}.mobile-brand img{width:54px;height:54px;flex:0 0 auto}.mobile-brand strong,.mobile-brand small{display:block}.mobile-brand strong{font-size:19px;letter-spacing:-.02em}.mobile-brand small{margin-top:1px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.topbar-copy{min-width:0}.topbar-actions{justify-self:end}}
@media(max-width:420px){.topbar-actions{align-items:center;flex-direction:row}.topbar .language-switcher.compact{align-self:auto}.topbar .primary{align-self:auto}}
.signature-summary{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.signature-summary h3{margin:0 0 10px;font-size:15px;color:var(--navy)}.signature-summary>div{display:flex;align-items:center;justify-content:center;min-height:96px;padding:10px;border-radius:8px;background:#f7f3ed}.signature-summary img{display:block;max-width:100%;width:auto;max-height:120px;object-fit:contain}
.upgrade-price s{display:block;color:#b8cbd8;font-size:18px;font-weight:750}.upgrade-price-copy{min-width:230px}.regular-price-label{color:#fff!important;font-size:12px!important;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.launch-price-row{display:flex;align-items:center;gap:8px}.launch-price-row i,.plan-card-price>i{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f3c090;color:#70401f;font-size:18px;font-style:normal;font-weight:900;animation:pricePointer 1.15s ease-in-out infinite}.upgrade-price-copy b{display:block;margin-top:5px;color:#f7c99f;font-size:12px}.plan-card-price{display:flex;align-items:end;gap:9px}.plan-card-price s{display:grid;color:#8a7564;font-size:13px;line-height:1.05}.plan-card-price s small{color:#8b512b;font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.plan-card-price>i{width:21px;height:21px;font-size:15px}@keyframes pricePointer{0%,100%{transform:translateX(-3px)}50%{transform:translateX(3px)}}@media(prefers-reduced-motion:reduce){.launch-price-row i,.plan-card-price>i{animation:none}}

/* Permanent licence: visible as a core product benefit without interrupting work. */
.home-license-badge{width:max-content;max-width:100%;display:flex;align-items:center;gap:9px;margin:0 0 15px;padding:8px 11px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:rgba(255,255,255,.11);color:#fff;cursor:pointer;box-shadow:none}.home-license-badge>span{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#e5a66d;color:#102d3f;font-size:20px;font-weight:900}.home-license-badge strong{font-size:13px}.home-license-badge small{padding-left:9px;border-left:1px solid rgba(255,255,255,.28);color:#f5c59b;font-size:13px;font-weight:900}.home-license-badge:hover{background:rgba(255,255,255,.17)}
.plan-card{grid-template-columns:minmax(240px,.9fr) minmax(230px,1.1fr) auto;gap:20px;padding:15px 17px;border-color:#d6b28f;background:linear-gradient(110deg,#fff6ed,#fffdf9 55%,#f1e4d8)}.plan-card-offer{display:grid;grid-template-columns:auto 1fr;align-items:end;column-gap:10px;padding-right:18px;border-right:1px solid #dfc8b2}.plan-card-offer span{grid-column:1/-1;color:#8b512b;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.plan-card-offer strong{font-size:25px;line-height:1;color:var(--navy)}.plan-card-offer small{color:var(--muted);font-size:12px}.plan-card-copy .plan-progress{margin-top:5px}.plan-card>button{min-height:42px;padding:8px 14px;background:var(--navy);color:#fff}
@media(max-width:700px){.plan-card{grid-template-columns:1fr auto;gap:12px}.plan-card-offer{grid-column:1/-1;padding:0 0 12px;border-right:0;border-bottom:1px solid #dfc8b2}.plan-card-copy .plan-progress{grid-column:auto;grid-row:auto}}
@media(max-width:480px){.home-license-badge{display:grid;grid-template-columns:auto 1fr}.home-license-badge small{grid-column:2;padding-left:0;border-left:0}.plan-card{grid-template-columns:1fr}.plan-card>button{width:100%}}

/* Keep touch gestures inside the signature surface and make authorization limits explicit. */
.signature-box,.signature-box canvas{touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none}
.scope-summary{margin:18px 0;text-align:left;border:1px solid var(--line);border-radius:10px;padding:16px;background:#f8fafb}.scope-summary h3{margin:0 0 12px;font-size:17px}.scope-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scope-summary-item{padding:10px 12px;border-radius:7px;background:#fff;border:1px solid #e3e9ed}.scope-summary-item small{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em}.scope-summary-item strong{display:block;margin-top:4px;font-size:14px;line-height:1.35}.scope-summary-note{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}
@media(max-width:520px){.scope-summary-grid{grid-template-columns:1fr}}

/* The purchase promise must remain readable with the explicit image-rights wording. */
.upgrade-hero h2{max-width:560px;margin:6px auto 8px;font-size:clamp(24px,5vw,34px);line-height:1.08;text-wrap:balance;overflow-wrap:anywhere}

/* Complete launch-price disclosure in the home hero. */
.home-license-badge{display:grid;grid-template-columns:auto minmax(150px,1fr) auto;text-align:left}
.home-license-badge>.home-license-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#e5a66d;color:#102d3f;font-size:20px;font-weight:900}
.home-license-badge>.home-license-copy{width:auto;height:auto;display:grid;place-items:initial;gap:1px;border-radius:0;background:transparent;color:#fff;font-size:inherit;font-weight:inherit}
.home-license-copy>strong{font-size:13px}.home-license-copy>em{color:#cfe0e6;font-size:10px;font-style:normal;font-weight:700}
.home-license-badge>.home-license-prices{width:auto;height:auto;display:flex;place-items:initial;align-items:center;gap:7px;padding-left:9px;border-left:1px solid rgba(255,255,255,.28);border-radius:0;background:transparent;color:#fff;font-size:inherit;font-weight:inherit}
.home-license-badge .home-license-prices>small{display:grid;grid-column:auto;padding:0;border:0;color:#cfe0e6;font-size:10px;line-height:1.05}.home-license-prices>small b{font-size:8px;letter-spacing:.04em;text-transform:uppercase}.home-license-prices>small s{font-size:12px}
.home-license-prices>i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#f3c090;color:#70401f;font-style:normal;font-weight:900;animation:pricePointer 1.15s ease-in-out infinite}.home-license-prices>strong{color:#f5c59b;font-size:15px;white-space:nowrap}
@media(max-width:480px){.home-license-badge{width:100%;grid-template-columns:auto 1fr}.home-license-badge>.home-license-prices{grid-column:2;padding:6px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18)}}
@media(prefers-reduced-motion:reduce){.home-license-prices>i{animation:none}}

/* Larger boxed price comparison requested for the home promotion. */
.home-license-badge{grid-template-columns:auto minmax(190px,1fr) auto;padding:10px;gap:10px;background:rgba(255,255,255,.09)}
.home-license-badge>.home-license-icon{width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:9px;font-size:27px}
.home-license-badge>.home-license-copy{padding:3px 5px}.home-license-copy>strong{font-size:14px}.home-license-copy>em{margin-top:3px;font-size:11px;line-height:1.25}
.home-license-badge>.home-license-prices{gap:8px;padding:0;border:0}
.home-license-badge .home-license-prices>small,.home-license-prices>strong{min-height:54px;display:grid;align-content:center;padding:7px 10px;border:1px solid rgba(255,255,255,.24);border-radius:8px;background:rgba(7,29,42,.28)}
.home-license-badge .home-license-prices>small{color:#d8e5e9;line-height:1.1}.home-license-prices>small b{font-size:9px}.home-license-prices>small s{margin-top:3px;font-size:18px;font-weight:800}
.home-license-prices>i{flex:0 0 25px;width:25px;height:25px;font-size:18px}
.home-license-prices>strong{color:#102d3f;background:#f3c090;border-color:#f3c090;font-size:24px;line-height:1;box-shadow:0 5px 14px rgba(0,0,0,.14)}
@media(max-width:600px){.home-license-badge{grid-template-columns:auto 1fr;padding:11px}.home-license-badge>.home-license-prices{grid-column:1/-1;display:grid;grid-template-columns:1fr auto 1fr;padding-top:9px;border-top:1px solid rgba(255,255,255,.18)}.home-license-badge .home-license-prices>small,.home-license-prices>strong{min-height:58px;text-align:center}.home-license-prices>strong{font-size:25px}}
