:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0c2a4a;background:#edf2f6;font-size:16px;font-synthesis:none;--ink:#0c2a4a;--blue:#356b8f;--line:#dce4eb;--muted:#586e80}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7ea5c4;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,3.1vw,3rem);line-height:1.13;letter-spacing:-.04em}h2{font-size:1.4rem;letter-spacing:-.025em}h3{font-size:1.05rem}p{line-height:1.6}strong{font-weight:600}.small{font-size:.875rem}.muted{color:var(--muted)}.eyebrow{display:block;font-size:.75rem;font-weight:700;letter-spacing:.14em;margin-bottom:1rem}.brand{display:block}.brand img{width:184px;height:64px;object-fit:contain;object-position:left center}.primary,.secondary,.button{padding:.8rem 1.15rem;border-radius:8px;border:1px solid transparent;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;min-height:44px}.primary{background:var(--ink);color:white}.primary:hover{background:#174365}.secondary{background:white;border-color:#c9d4db;color:var(--ink)}.secondary:hover{background:#f4f8fa}.full{width:100%}.text-button{background:none;border:0;color:var(--blue);font-size:.875rem;padding:.6rem 0;text-decoration:none}.text-button:hover{text-decoration:underline}label{display:block;font-size:.875rem;font-weight:600;margin-bottom:.5rem}input,textarea{width:100%;padding:.8rem .9rem;border:1px solid #c9d4db;border-radius:7px;color:var(--ink);background:white;min-height:46px}textarea{resize:vertical;line-height:1.5}input::placeholder{color:#7d8d99}form>.primary{margin-top:1.25rem}.message{padding:1rem;border-radius:8px;margin-bottom:1.25rem;font-size:.9rem;line-height:1.45}.error{background:#fff0ed;color:#983b2b;border:1px solid #efd0c9}.notice{background:#e7f3ee;color:#216347;border:1px solid #c8e2d5}.loading{padding:4rem;text-align:center;color:var(--muted)}.signin{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.signin-story{background:#0c2a4a;color:white;padding:3.5rem 4.5rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.signin-story:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff18;border-radius:50%;right:-280px;bottom:-290px;box-shadow:0 0 0 90px #ffffff04,0 0 0 180px #ffffff04;pointer-events:none}.signin-story .brand{background:white;border-radius:8px;padding:.45rem 1rem;width:max-content}.signin-story h1{font-size:clamp(2.2rem,3.8vw,3.7rem);margin:1.5rem 0;position:relative;z-index:1}.signin-story p{color:#c9d9e4;font-size:1.05rem}.signin-story .eyebrow,.story-footer{color:#aec7da}.story-footer{font-size:.875rem}.signin-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;background:#f8fafb;min-width:0}.signin-card{max-width:400px;width:100%;margin:auto}.signin-card h2{font-size:2rem;margin-bottom:.75rem}.signin-card form{margin:2rem 0 1rem}.signin-actions{display:flex;justify-content:space-between;gap:1rem;margin-bottom:2rem}.signin-main footer{font-size:.8rem;color:#718392;padding-top:3rem}#otp{font-size:1.8rem;letter-spacing:.45em}.shell{display:flex;min-height:100dvh}.sidebar{width:265px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:1.7rem 1.15rem 1rem;display:flex;flex-direction:column;z-index:3}.sidebar .brand{padding:0 .7rem 1.7rem}.sidebar-label{font-size:.68rem;letter-spacing:.1em;color:#7a8c9a;font-weight:600;padding:0 .9rem;margin:1.25rem 0 .85rem}.nav-item{width:100%;padding:.85rem .9rem;border:0;border-radius:8px;background:none;text-align:left;color:#516a7e;font-size:.9rem;display:flex;gap:.8rem;align-items:center;margin-bottom:.3rem}.nav-item span{font-size:1.25rem;width:24px;text-align:center}.nav-item:hover{background:#f1f5f8}.nav-item.active{background:#e9f0f6;color:#163d5b;font-weight:600}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:1.3rem;display:flex;align-items:center;gap:.65rem}.avatar{background:#e9f0f6;border-radius:50%;display:grid;place-items:center;width:36px;height:36px;font-size:.75rem;font-weight:600;flex-shrink:0}.account{overflow:hidden;flex:1}.account strong,.account span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account strong{font-size:.75rem;margin-bottom:.25rem}.account span{font-size:.7rem;color:var(--muted)}.logout{border:0;background:none;color:var(--muted);font-size:1.5rem;min-width:36px;min-height:44px}.main-wrap{margin-left:265px;width:calc(100% - 265px);display:flex;flex-direction:column}.topbar{height:94px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:1rem 2.5rem}.topbar .small{font-size:.75rem;display:block;margin-bottom:.25rem}select{appearance:none;background:linear-gradient(45deg,transparent 50%,#54738a 50%) calc(100% - 12px) 50%/5px 5px no-repeat,linear-gradient(135deg,#54738a 50%,transparent 50%) calc(100% - 7px) 50%/5px 5px no-repeat;border:0;padding:.25rem 1.8rem .25rem 0;color:var(--ink);font-weight:600;max-width:min(55vw,450px)}.portal-label{border:1px solid var(--line);padding:.45rem .75rem;border-radius:20px;font-size:.75rem;color:var(--muted)}.content{padding:2.5rem;max-width:1500px;width:100%;margin:0 auto}.welcome{border-radius:14px;background:#0c2a4a;color:white;padding:2.5rem 3rem;display:flex;justify-content:space-between;min-height:250px;position:relative;overflow:hidden}.welcome>div:first-child{position:relative;z-index:1;max-width:650px}.welcome .eyebrow{color:#aec7da}.welcome h1{font-size:clamp(1.9rem,2.7vw,2.6rem);margin-bottom:1rem}.welcome p{color:#d2dfe8;margin:0;max-width:580px;white-space:pre-line}.welcome-art{width:160px;min-width:100px;position:relative;opacity:.45;margin-left:2rem;align-self:center;height:130px}.welcome-art i{display:block;position:absolute;width:130px;height:130px;border:1px solid #8bb1cd;transform:rotate(30deg);border-radius:30px}.welcome-art i:nth-child(2){transform:rotate(60deg);top:25px;left:30px}.welcome-art i:nth-child(3){transform:rotate(90deg);top:50px;left:60px}.overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:1.5rem;margin-top:1.5rem}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:1.8rem}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.section-heading h2{margin:0}.section-heading .eyebrow{color:#7c8d9b;font-size:.65rem;margin-bottom:.6rem}.count{border:1px solid var(--line);border-radius:7px;min-width:30px;text-align:center;padding:.3rem;font-size:.8rem;color:var(--muted)}.empty{text-align:center;padding:2.8rem 1rem;color:#6e8394}.empty-mark{margin:0 auto 1rem;width:52px;height:52px;border-radius:12px;background:#edf3f7;color:#7294ae;font-size:1.9rem;display:grid;place-items:center}.empty h3{color:#3b566d;margin-bottom:.6rem}.empty p{font-size:.9rem;margin:0}.support{background:#f7fafc}.support .eyebrow{color:#698398;font-size:.65rem}.support h2{font-size:1.7rem;line-height:1.2}.support p{font-size:.9rem;color:var(--muted)}.support .button{font-size:.8rem;width:100%}.workspace-note{border-top:1px solid var(--line);padding-top:1.3rem;margin-top:1.7rem}.workspace-note>*{display:block}.workspace-note strong{font-size:.85rem;margin-top:.4rem}.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1.5rem}.product{border:1px solid var(--line);padding:1.25rem;border-radius:10px}.product p{font-size:.875rem}.product-icon{display:block;margin-bottom:1rem;font-size:1.6rem;color:var(--blue)}.page-title{margin:.5rem 0 2rem}.page-title h1{margin-bottom:.65rem}.page-title .eyebrow{color:var(--blue)}.client-form{display:grid;grid-template-columns:1fr 1fr auto;gap:1rem;align-items:end}.client-form>.primary{margin-top:0}.client-form+p{margin:1rem 0 0}.client-list{margin-top:1.5rem}.client-row{display:flex;align-items:center;gap:1rem;border-top:1px solid var(--line);padding:1.25rem 0}.client-row:last-child{padding-bottom:0}.client-initial{width:42px;height:42px;flex-shrink:0;border-radius:10px;background:#edf3f7;display:grid;place-items:center;font-weight:600}.client-name{flex:1;min-width:0}.client-name>*{display:block;overflow-wrap:anywhere}.client-name strong{margin-bottom:.3rem}.badge{background:#eaf4ef;color:#317251;border-radius:20px;font-size:.75rem;padding:.35rem .7rem}.badge.paused{background:#f3ede2;color:#806431}.client-row .secondary{font-size:.8rem}.editor{max-width:850px}.editor>label{margin-top:1.5rem}.editor>label:first-child{margin-top:0}.editor>.section-heading{margin-top:2rem}.product-editor{border:1px solid var(--line);border-radius:8px;padding:1rem;margin:1rem 0}.product-editor legend{font-size:.875rem;color:var(--muted)}.product-editor label{margin:.75rem 0}.product-editor input,.product-editor textarea{margin-top:.5rem}.editor-actions{display:flex;align-items:center;gap:1.5rem;margin-top:1.5rem}.main-footer{padding:1rem 2.5rem 1.5rem;color:#758897;font-size:.75rem;margin-top:auto;display:flex;justify-content:space-between}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.signin-story{padding:4rem 6rem}}@media(max-width:1100px){.sidebar{width:235px}.main-wrap{margin-left:235px;width:calc(100% - 235px)}.content{padding:1.5rem}.topbar{padding:1rem 1.5rem}.overview-grid{grid-template-columns:1fr}.support h2 br{display:none}.support{display:grid;grid-template-columns:1fr auto;gap:0 1.5rem}.support .eyebrow,.support h2,.support p{grid-column:1}.support .button{grid-column:2;grid-row:2;align-self:start}.support .workspace-note{grid-column:1/-1}.client-form{grid-template-columns:1fr 1fr}.client-form>.primary{grid-column:1/-1;justify-self:start}.client-row{flex-wrap:wrap}.client-name{min-width:160px}.welcome{padding:2rem}.welcome-art{display:none}.signin-story{padding:2.5rem}}@media(max-width:700px){.signin{grid-template-columns:1fr}.signin-story{padding:1.2rem 1.5rem;min-height:auto}.signin-story .brand{padding:.25rem .65rem}.signin-story .brand img{width:155px;height:48px}.signin-story>div,.story-footer{display:none}.signin-main{padding:2.5rem 1.5rem;min-height:calc(100dvh - 100px)}.shell{display:block}.sidebar{position:static;width:100%;padding:.8rem 1rem 0;display:grid;grid-template-columns:1fr auto;gap:.4rem;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0}.brand img{width:160px;height:55px}.sidebar-label{display:none}.sidebar nav{grid-column:1/-1;display:flex;overflow-x:auto;gap:.3rem}.nav-item{white-space:nowrap;width:auto;font-size:.8rem;padding:.65rem;margin:0}.nav-item span{display:none}.sidebar-bottom{grid-column:2;grid-row:1;margin:0;border:0;padding:0}.sidebar-bottom .avatar,.account{display:none}.main-wrap{width:100%;margin:0}.topbar{height:78px;padding:1rem}.portal-label{font-size:.65rem}.content{padding:1rem}.welcome{padding:1.6rem 1.4rem;min-height:240px}.welcome h1{font-size:1.9rem}.welcome p{font-size:.9rem}.overview-grid{gap:1rem;margin-top:1rem}.panel{padding:1.3rem}.support{display:block}.support .button{width:auto}.client-form{grid-template-columns:1fr}.client-row{gap:.75rem}.client-row .text-button{margin-left:auto}.client-initial{display:none}.client-name{flex-basis:65%}.editor-actions{flex-direction:column;align-items:stretch;gap:.7rem}.main-footer{padding:1rem;font-size:.65rem;gap:1rem}.main-footer span{display:none}select{font-size:.9rem}.page-title h1{font-size:2rem}}

.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--ink)}.brand img{width:48px;height:48px;object-fit:contain;flex-shrink:0}.brand>span{font-size:1rem;font-weight:650;max-width:120px;line-height:1.25}.signin-story .brand{padding:.55rem .8rem}.sidebar .brand{padding:0 .1rem 1.7rem}@media(max-width:700px){.signin-story .brand img,.sidebar .brand img{width:42px;height:42px}.sidebar .brand{padding:0}.brand>span{font-size:.9rem}}
.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1.5rem}.resource-card{display:flex;gap:1.3rem;align-items:flex-start}.resource-card h2{margin-bottom:.6rem}.resource-card p{font-size:1rem}.resource-card .eyebrow{color:var(--blue);font-size:.75rem}.resource-mark{width:88px;height:88px;flex:0 0 88px;border:1px solid var(--line);background:#f4f7fa;border-radius:10px;display:grid;place-items:center;font-size:2.5rem;color:var(--blue);overflow:hidden}.resource-mark img{width:100%;height:100%;object-fit:contain}.demo-mark{background:#e9f0f6}.inline-count{margin-left:.6rem;border-radius:4px;background:#e9f0f6;padding:0 .4rem}.brand-hero{display:grid;grid-template-columns:180px 1fr;gap:2rem;align-items:center}.brand-hero h2{font-size:1.8rem}.brand-logo-preview{background:#f8fafb;border:1px solid var(--line);border-radius:8px;padding:.6rem;aspect-ratio:1;display:grid;place-items:center}.brand-logo-preview img{width:100%;max-height:180px;object-fit:contain}.brand-tagline{font-size:1.1rem}.traits{display:flex;gap:.5rem;flex-wrap:wrap}.traits span{padding:.4rem .75rem;border-radius:20px;background:#edf2f6;font-size:.875rem}.brand-access{padding:.8rem 0;margin-bottom:0}.brand-section{margin-top:1.3rem}.swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:1rem}.swatch{min-width:0}.swatch-colour{height:88px;border-radius:7px;border:1px solid #00000015;margin-bottom:.8rem}.swatch strong,.swatch span{display:block;font-size:.875rem;line-height:1.6}.swatch strong{text-transform:capitalize}.swatch span{font-family:ui-monospace,monospace;color:var(--muted)}.type-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.type-samples article{padding:1.4rem;border-radius:9px;background:#f4f7fa}.type-samples .eyebrow{font-size:.75rem;color:var(--muted)}.type-specimen{font-family:Georgia,serif;font-size:1.8rem;line-height:1.3;margin:1.8rem 0 .5rem}.type-body{font-family:inherit;font-size:1.2rem}.brand-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem}.brand-photos img{width:100%;height:240px;object-fit:contain;background:#f8fafb;border-radius:8px}.demo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,500px));gap:1.5rem}.demo-card{overflow:hidden;padding:0}.demo-cover{background:#e9f0f6;border-bottom:1px solid var(--line);margin:0;min-height:210px}.demo-browser-dots{display:flex;gap:5px;padding:12px 16px;border-bottom:1px solid #dce4eb}.demo-browser-dots i{width:6px;height:6px;background:#8da6b8;border-radius:50%}.demo-cover-content{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:.65rem;padding:1.5rem;color:var(--ink);font-weight:600}.demo-cover-content img{width:78px;height:78px;object-fit:contain;border-radius:6px}.demo-cover-content .small{font-weight:400;color:var(--muted)}.demo-details{padding:1.6rem}.demo-details .eyebrow{color:var(--blue)}.demo-caption{margin:1rem 0 0}.retry{margin-top:1.2rem}@media(max-width:1200px){.resource-grid{grid-template-columns:1fr}.resource-card{align-items:center}}@media(max-width:700px){.resource-grid{gap:1rem;margin-top:1rem}.resource-card{gap:1rem;align-items:flex-start}.resource-mark{width:58px;height:58px;flex-basis:58px}.brand-hero{grid-template-columns:1fr;gap:1rem}.brand-logo-preview{width:130px}.brand-hero h2{font-size:1.5rem}.swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.swatch-colour{height:70px}.type-samples{grid-template-columns:1fr}.demo-grid{grid-template-columns:1fr}.brand-photos{grid-template-columns:1fr}.resource-card p{font-size:.95rem}}

@font-face{font-family:Fraunces;src:url(/fonts/fraunces.woff2) format("woff2");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:Outfit;src:url(/fonts/outfit.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap}
.gallery-shortcut{grid-column:1/-1}.upload-panel{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:2.5rem;align-items:start}.upload-copy>.eyebrow{color:var(--blue)}.upload-copy h2{font-size:1.7rem}.upload-copy select{display:block;width:100%;max-width:460px;border:1px solid #c9d4db;border-radius:8px;min-height:48px;padding:.7rem 2rem .7rem .9rem;background-color:#fff}.upload-command{margin:1rem 0;padding:.8rem 1rem;background:#edf2f6;border-left:3px solid var(--blue);border-radius:0 8px 8px 0}.upload-command span,.upload-command code{display:block}.upload-command code{font-size:1.1rem;font-weight:600;margin-top:.35rem;overflow-wrap:anywhere}.upload-steps{padding-left:1.4rem;line-height:1.6;margin:1.3rem 0}.upload-steps li{padding-left:.4rem;margin-bottom:.7rem}.upload-note{border-top:1px solid var(--line);padding-top:1rem}.upload-copy>p:last-child{margin-bottom:0}.upload-qr{padding:1rem;border:1px solid var(--line);background:#f7fafc;border-radius:12px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:.6rem}.qr-brand{display:flex;align-items:center;gap:.6rem;font-size:.875rem}.qr-brand img{width:32px;height:32px;border-radius:4px}.whatsapp-qr{width:256px;max-width:100%;height:auto;aspect-ratio:1;background:#fff;border-radius:5px}.qr-caption{font-size:.9rem;font-weight:600}.upload-qr .button{margin-top:.6rem;gap:.6rem}.upload-qr p{margin:0;font-size:.8rem}.gallery-library{margin-top:1.5rem}.gallery-filters{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.4rem 0}.gallery-filter{border:1px solid var(--line);background:white;color:var(--muted);border-radius:24px;padding:.65rem .9rem;font-size:.875rem;min-height:44px}.gallery-filter.active{background:var(--ink);color:white;border-color:var(--ink)}.gallery-filter span{opacity:.7;margin-left:.35rem}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:1.2rem}.gallery-card{min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.gallery-image{width:100%;aspect-ratio:4/3;background:#f1f5f8;border:0;position:relative;display:grid;place-items:center;overflow:hidden;padding:0;color:var(--muted)}.gallery-image img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.image-expand{position:absolute;right:.6rem;bottom:.6rem;border-radius:50%;background:white;color:var(--ink);width:28px;height:28px;display:grid;place-items:center;box-shadow:0 2px 10px #0c2a4a1a}.gallery-image:hover .image-expand{background:var(--ink);color:white}.gallery-caption{display:flex;flex-direction:column;gap:.4rem;padding:1rem}.gallery-caption strong{font-size:.95rem}.image-unavailable{display:none;font-size:.875rem;padding:1rem}.failed img,.failed .image-expand{display:none}.failed .image-unavailable{display:block}.no-preview{padding:1rem;text-align:center;font-size:.875rem}#gallery-preview{border:1px solid var(--line);border-radius:12px;padding:1.2rem;max-width:min(900px,calc(100vw - 2rem));width:100%;color:var(--ink);max-height:90dvh}#gallery-preview::backdrop{background:#071a2ecc}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.preview-toolbar h2{margin:0;font-size:1.2rem}#gallery-preview>img{display:block;width:100%;max-height:65dvh;object-fit:contain;background:#f1f5f8}#gallery-preview>p{margin:1rem 0 0}@media(max-width:1000px){.upload-panel{grid-template-columns:1fr;gap:1.5rem}.upload-qr{max-width:320px;justify-self:center;width:100%}.upload-copy select{max-width:none}}@media(max-width:700px){.gallery-shortcut{grid-column:auto}.upload-copy h2{font-size:1.4rem}.gallery-library .section-heading{align-items:flex-start;flex-direction:column}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.gallery-caption{padding:.75rem}.gallery-caption .small{font-size:.75rem}.gallery-filter{font-size:.8rem}.upload-panel{padding:1.3rem}.gallery-library{margin-top:1rem}.upload-qr{max-width:290px}.upload-command code{font-size:1rem}}
.doc-page-header{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin:.5rem 0 2rem}.doc-page-header h1{margin-bottom:.7rem}.doc-page-header p{margin-bottom:0}.doc-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.doc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.4rem}.doc-stats article{padding:1.5rem;background:white;border:1px solid var(--line);border-radius:10px}.doc-stats span,.doc-stats strong,.doc-stats small{display:block}.doc-stats span{font-size:.875rem;color:var(--muted)}.doc-stats strong{font-size:clamp(1.5rem,2.5vw,2.2rem);letter-spacing:-.03em;margin:.6rem 0}.doc-stats small{font-size:.875rem;color:var(--muted)}.doc-profile-strip,.doc-status-bar{display:flex;justify-content:space-between;gap:1.5rem;align-items:center;background:#e7eef3;padding:1.25rem 1.5rem;border-radius:10px;margin-bottom:1.5rem}.doc-profile-strip p,.doc-status-bar p{font-size:.875rem;color:var(--muted);margin:.4rem 0 0;max-width:650px}.doc-profile-strip button{flex-shrink:0}.doc-library .section-heading{margin-bottom:1.5rem}.doc-filters{display:flex;gap:1rem;align-items:end;margin-bottom:1.5rem;flex-wrap:wrap}.doc-filters label{margin:0;min-width:140px}.doc-filters select{display:block;width:100%;border:1px solid #c9d4db;border-radius:7px;padding:.75rem 2rem .75rem .8rem;min-height:46px;font-weight:400;margin-top:.5rem}.doc-search{flex:1}.doc-search input{margin-top:.5rem}.doc-table-wrap{overflow:auto}.doc-table{width:100%;border-collapse:collapse;text-align:left}.doc-table th{color:var(--muted);font-weight:500;font-size:.875rem;padding:1rem .75rem;border-bottom:1px solid var(--line);white-space:nowrap}.doc-table td{padding:1.2rem .75rem;border-bottom:1px solid var(--line);font-size:.95rem}.doc-table td:first-child,.doc-table th:first-child{padding-left:0}.doc-table small{display:block;color:var(--muted);margin-top:.4rem;font-size:.875rem;max-width:300px;overflow-wrap:anywhere}.doc-table .amount{text-align:right;white-space:nowrap}.doc-status{display:inline-flex;font-size:.875rem;font-weight:500;white-space:nowrap;border-radius:20px;padding:.35rem .65rem;background:#eaf0f5;color:#3a5d77;letter-spacing:0;vertical-align:middle;line-height:1.3}.status-accepted,.status-paid{background:#e7f3eb;color:#256445}.status-declined,.status-void{background:#f4e9e5;color:#884d3c}.status-issued{background:#f8efd8;color:#7c5a1f}.doc-empty .primary{margin-top:1.4rem}.doc-pagination{display:flex;align-items:center;justify-content:flex-end;gap:1rem;padding-top:1.5rem;font-size:.875rem}.doc-form>.panel{margin-bottom:1.25rem}.doc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:1.2rem 0}.doc-field{margin:0;min-width:0}.doc-field>span{display:block;margin-bottom:.6rem}.doc-line{display:grid;grid-template-columns:minmax(180px,1fr) 120px 145px auto;align-items:center;gap:1rem;border:1px solid var(--line);border-radius:8px;padding:1rem;margin:1rem 0}.doc-line legend{font-size:.875rem;color:var(--muted);padding:0 .4rem}.doc-line textarea{min-height:80px;resize:vertical}.doc-total-row{display:flex;justify-content:space-between;gap:2rem;align-items:start;margin-top:1.5rem}.doc-total-row>.doc-field{max-width:300px}.doc-totals{margin-left:auto;width:min(320px,100%);padding:1rem 0}.doc-totals>div{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 0}.doc-grand-total{margin-top:.5rem;border-top:1px solid var(--line);font-size:1.25rem}.doc-business summary,.doc-history summary{font-weight:600;cursor:pointer;min-height:28px}.doc-business p{margin:1rem 0}.doc-save-bar{position:sticky;bottom:1rem;background:white;border:1px solid var(--line);border-radius:10px;padding:1rem 1.4rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;box-shadow:0 8px 32px #17364b14;z-index:1}.doc-history{margin-top:1.5rem}.doc-history ol{margin:1rem 0 0;padding-left:1.4rem;line-height:1.7;font-size:.875rem}.doc-history li{padding:.4rem}.doc-history li strong{text-transform:capitalize}.doc-history li span{margin-left:.5rem}.doc-dates{display:flex;gap:2rem;flex-wrap:wrap;padding:1.5rem 0;border-top:1px solid var(--line)}.doc-dates span{font-size:.875rem;color:var(--muted)}.doc-dates strong{display:block;color:var(--ink);margin-top:.4rem}.doc-readonly h3{margin-top:1.5rem}.preserve-lines{white-space:pre-line;overflow-wrap:anywhere}.doc-status-bar{align-items:flex-start;flex-direction:column}.doc-pdf[hidden]{display:none}@media(max-width:1100px){.doc-page-header{align-items:flex-start;flex-direction:column}.doc-line{grid-template-columns:1fr 1fr}.doc-line>.doc-field:first-of-type{grid-column:1/-1}.doc-line .text-button{justify-self:start}.doc-profile-strip{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.doc-stats{grid-template-columns:1fr;gap:.6rem}.doc-stats article{display:grid;grid-template-columns:1fr auto;align-items:center;padding:1rem}.doc-stats strong{grid-column:2;grid-row:1/3;font-size:1.5rem;margin:0}.doc-stats small{margin-top:.3rem}.doc-form-grid{grid-template-columns:1fr}.doc-page-header{gap:1rem}.doc-page-header h1 .doc-status{display:table;margin-top:.6rem}.doc-filters{gap:.7rem}.doc-filters label{flex:1;min-width:120px}.doc-filters .doc-search{flex-basis:100%}.doc-total-row{flex-direction:column;gap:.5rem}.doc-total-row>.doc-field{max-width:none;width:100%}.doc-actions{gap:.5rem}.doc-actions button,.doc-actions a{font-size:.875rem}.doc-line{padding:.8rem;gap:.8rem}.doc-line input{padding:.65rem}.doc-save-bar{bottom:.5rem;padding:.8rem}.doc-profile-strip,.doc-status-bar{padding:1rem}.doc-readonly{padding:1.1rem}}
@media(max-width:700px){.doc-library .doc-table,.doc-library .doc-table tbody{display:block}.doc-library .doc-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.doc-library .doc-table tr{display:grid;grid-template-columns:1fr auto;gap:.7rem 1rem;padding:1.2rem 0;border-bottom:1px solid var(--line)}.doc-library .doc-table td{border:0;padding:0}.doc-library .doc-table td:first-child{grid-column:1;grid-row:1}.doc-library .doc-table td:nth-child(2){grid-column:1/-1;grid-row:2}.doc-library .doc-table td:nth-child(3){grid-column:1;grid-row:3}.doc-library .doc-table td:nth-child(4){grid-column:1/-1;grid-row:4;color:var(--muted);font-size:.875rem}.doc-library .doc-table td:nth-child(4):before{content:'Due / expires: '}.doc-library .doc-table td:nth-child(5){grid-column:2;grid-row:3;font-weight:600;align-self:center}.doc-library .doc-table td:last-child{grid-column:2;grid-row:1;align-self:center}.doc-library .doc-table-wrap{overflow:visible}}

.sidebar nav{flex:1;min-height:0;overflow:auto}
.nav-section{margin:1.15rem .9rem .35rem;font-size:.68rem;font-weight:600;letter-spacing:.1em;color:#7a8c9a}
.nav-group{display:flex;flex-direction:column}
a.nav-item{text-decoration:none}
.coming-soon{display:inline-flex;align-items:center;margin:0 0 1.5rem;padding:.35rem .75rem;border-radius:999px;background:#e9f0f6;color:#163d5b;font-size:.8rem;font-weight:650}
@media(max-width:700px){
  .sidebar nav{display:block;max-height:42dvh;overflow:auto}
  .nav-item{width:100%;white-space:normal;font-size:.9rem;padding:.75rem .9rem}
  .nav-section{display:block}
  .nav-item span.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);display:block}
}
