/* Jauns Websites: shared navy, paper, typography and restrained rust accent. */
:root{--ink:#091827;--ink-soft:#11263a;--muted:#576677;--paper:#f7f8fa;--card:#fff;--line:rgba(9,24,39,.12);--accent:#b54129;--danger:#a52f28;--radius:14px;font-family:Geist,Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.55;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--accent)}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 22px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff;cursor:pointer;text-decoration:none;min-height:46px;font-weight:600;font-size:.88rem;transition:background .15s}button:hover,.button:hover{background:#20364a;color:#fff}button.secondary,.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}button.secondary:hover,.button.secondary:hover{border-color:var(--ink);background:#edf1f5}button.danger{background:var(--danger);border-color:var(--danger)}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:3px solid #b54129;outline-offset:4px}input,textarea,select{width:100%;border:1px solid #bac3ce;border-radius:8px;padding:12px;background:white;color:var(--ink);min-height:46px}input[type=checkbox],input[type=radio]{width:18px;min-height:18px;vertical-align:middle;accent-color:var(--ink)}select[multiple]{min-height:130px}textarea{min-height:130px}label{font-weight:600;font-size:.9rem}form p{margin:1rem 0}form p label{display:block;margin-bottom:7px}form .helptext{display:block;color:var(--muted);font-size:.82rem;margin:5px 0}form ul.errorlist,.errorlist{color:var(--danger);padding-left:20px}h1,h2,h3{line-height:1.14;font-weight:650;letter-spacing:-.04em}h1{font-size:clamp(2rem,3.2vw,3.1rem);margin:10px 0 16px}h2{font-size:1.35rem;margin:0 0 18px}h3{font-size:1.08rem}p{margin:.6rem 0 1rem}.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 18px 24px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:44px;overflow-y:auto}.brand{display:block;text-decoration:none}.brand img{display:block;max-width:100%;height:auto}.sidebar .brand{padding:0 12px}.brand small{display:block;margin-top:12px;letter-spacing:.16em;text-transform:uppercase;font-size:.62rem;color:var(--muted);font-weight:600}.sidebar nav{display:grid;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:11px;padding:13px 12px;border-radius:7px;text-decoration:none;color:#526172;font-size:.86rem;font-weight:500}.sidebar nav a:hover{background:var(--paper);color:var(--ink)}.sidebar nav a[aria-current=page]{background:var(--ink);color:#fff}.nav-icon{width:22px;height:22px;display:inline-flex;justify-content:center;align-items:center;font-size:20px;font-weight:400;flex-shrink:0}.nav-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted);margin:24px 12px 5px}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:22px 6px 0;display:flex;gap:11px;font-size:.76rem}.sidebar-foot strong{display:block;margin-bottom:6px;font-weight:600}.sidebar-foot a{display:block;color:var(--muted);text-decoration:none;margin-top:4px}.avatar{width:34px;height:34px;border-radius:50%;background:#edf1f5;display:grid;place-items:center;font-weight:700;flex-shrink:0}.main{min-width:0}.topbar{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:22px 42px;border-bottom:1px solid var(--line);background:#fff;min-height:92px}.organization-link{text-decoration:none;font-size:.9rem;font-weight:600}.organization-link .eyebrow{display:block;font-size:.6rem;margin-bottom:3px}.topbar-actions{display:flex;gap:24px;flex-wrap:wrap;align-items:center;font-size:.8rem}.topbar-actions a{text-decoration:none;color:var(--muted)}.logout-link{padding-left:24px;border-left:1px solid var(--line)}.content{max-width:1480px;margin:auto;padding:40px 42px 28px;min-height:calc(100vh - 92px);display:flex;flex-direction:column}.content>*,.dashboard-main>*,.grid-2>*{min-width:0}.eyebrow{font-size:.67rem;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.welcome{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:4px 0 34px;margin-bottom:30px;border-bottom:1px solid var(--line)}.welcome h1{margin:12px 0}.welcome p{color:var(--muted);margin:0}.welcome .button{flex-shrink:0}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted)}.page-head.compact{margin-bottom:18px}.page-head.compact h2{margin:0}.page-head>a,.split>a{font-size:.8rem;font-weight:550;text-decoration:none}.card,article.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:24px;min-width:0}.grid,.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px}.grid .card{margin:0}.grid-2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:24px}.dashboard-main{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px}.project-section{margin-bottom:28px}.project-card{background:var(--ink);color:#fff;border-radius:var(--radius);padding:30px;margin-bottom:18px;position:relative;overflow:hidden}.project-card:after{content:'';position:absolute;right:-25px;top:50px;width:160px;height:160px;border:1px solid #ffffff12;transform:rotate(30deg);pointer-events:none}.project-card .eyebrow,.project-card p{color:#b8c4d0}.project-card .pill{background:#ffffff16;color:#e3eaf0;border:1px solid #ffffff24}.project-card h2{font-size:1.9rem;max-width:85%;margin:27px 0 14px}.project-card h2 a{text-decoration:none}.project-card h2 a:hover{color:#fff}.project-card p{max-width:580px;font-size:.9rem;line-height:1.7}.project-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #ffffff26;margin-top:25px;padding-top:22px;position:relative;z-index:1}.project-card-bottom>span{font-size:.72rem;color:#b8c4d0}.project-card-bottom strong{display:block;color:white;font-weight:500;margin-top:4px}.project-card .button{font-size:.78rem;min-height:40px;padding:10px 17px;white-space:nowrap}.contact-card{padding:28px;background:#edf1f5;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:24px}.contact-avatar{display:grid;place-items:center;width:58px;height:58px;background:#fff;border:1px solid var(--line);border-radius:50%;font-size:18px;letter-spacing:-1px;font-weight:600;margin:26px 0 16px}.contact-card h2{font-size:1.5rem;margin-bottom:10px}.contact-card p{color:var(--muted);font-size:.85rem}.contact-card .button{width:100%;margin:10px 0 15px;font-size:.8rem}.contact-email{display:block;text-align:center;font-size:.76rem;color:var(--muted)}.action-row{display:flex;align-items:center;gap:14px}.action-row>div{flex:1;min-width:0}.action-row a{display:block;text-decoration:none;font-size:.86rem}.action-row small{display:block;margin-top:4px;font-size:.73rem}.step-marker{flex-shrink:0;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;font-size:.65rem;color:var(--muted)}.accent-marker{background:#fff0eb;color:var(--accent);border-color:#edcdc3}.stat{font-size:2rem;font-weight:650;letter-spacing:-.05em}.muted,small{color:var(--muted)}.hero{padding:30px;border-radius:var(--radius);background:#edf1f5;border:1px solid var(--line);margin-bottom:26px}.pill,.badge{display:inline-flex;padding:5px 10px;border-radius:99px;background:#edf1f5;color:#47596b;font-size:.69rem;font-weight:550;white-space:nowrap}.pill.good{background:#e9f6ee;color:#286244}.pill.warning{background:#fff0eb;color:#9f3c27}.actions,.inline-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.actions{margin:18px 0}.inline-form input{width:auto;flex:1}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:.86rem}th{text-align:left;font-size:.67rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-weight:600}th,td{padding:17px 12px;border-bottom:1px solid var(--line);vertical-align:top}td:first-child,th:first-child{padding-left:0}td{overflow-wrap:anywhere}.empty,.empty-state{padding:36px 24px;color:var(--muted);text-align:center;background:#fff}.empty-state h3{color:var(--ink);font-size:1.5rem}.calm-empty{color:var(--muted);padding:25px 0!important;font-size:.88rem}.calm-empty strong{color:var(--ink);font-weight:550}.calm-empty p{margin:7px 0 0}.notice,.messages li{padding:16px 20px;margin:12px 0 24px;border:1px solid #cfd9e3;border-radius:8px;background:#edf1f5;font-size:.9rem}.messages{list-style:none;padding:0}.messages .error{background:#fff0eb;border-color:#e4b2ad}.messages .warning{background:#fff6e6}.form-card{max-width:740px;width:100%}.details{display:grid;grid-template-columns:160px 1fr;gap:14px 20px}.details dt{color:var(--muted);font-size:.85rem}.details dd{margin:0;overflow-wrap:anywhere}.prose{white-space:pre-wrap;overflow-wrap:anywhere}.list{list-style:none;padding:0;margin:0}.list>li{padding:18px 0;border-bottom:1px solid var(--line)}.list>li:last-child{border-bottom:0}.split{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.split h2{margin-bottom:10px}.block{display:block}.section-nav{display:flex;gap:25px;border-bottom:1px solid var(--line);margin:-12px 0 32px;overflow-x:auto;white-space:nowrap}.section-nav a{font-size:.82rem;text-decoration:none;color:var(--muted);padding:12px 0 16px;border-bottom:2px solid transparent}.section-nav a[aria-current=page]{border-color:var(--accent);color:var(--ink);font-weight:600}.breadcrumb{display:flex;gap:18px;flex-wrap:wrap;font-size:.8rem;margin:-10px 0 25px}.breadcrumb span{color:var(--muted)}.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-intro{padding:60px clamp(30px,6vw,110px);background:#edf1f5;display:flex;flex-direction:column;justify-content:space-between;gap:70px;border-right:1px solid var(--line);background-image:linear-gradient(#09182704 1px,transparent 1px),linear-gradient(90deg,#09182704 1px,transparent 1px);background-size:64px 64px}.auth-intro h2{font-size:clamp(2.5rem,4vw,4.3rem);line-height:1.08;margin:20px 0 24px}.auth-intro h2:after{content:'';display:block;width:64px;height:3px;background:var(--accent);margin-top:28px}.auth-intro p{color:var(--muted);max-width:440px;line-height:1.8}.auth-intro a:not(.brand){font-size:.85rem}.auth-signature{color:var(--muted);font-size:.75rem}.auth-panel{display:flex;align-items:center;justify-content:center;padding:50px;background:#fff}.auth-panel>.card{max-width:440px;width:100%;border:0;padding:0;margin:0}.auth-panel h1{font-size:2.3rem}.auth-panel p{color:var(--muted);font-size:.9rem}.auth-panel button{width:100%}.auth-panel form{margin:30px 0 16px}.auth-panel .footer{margin-top:50px;display:block}.auth-panel .footer>span{display:none}.auth-panel .footer div{display:flex;gap:20px}.skip-link{position:absolute;top:-80px;left:12px;z-index:50;background:white;padding:12px}.skip-link:focus{top:12px}.mobile-toggle{display:none}.footer{margin-top:auto;padding-top:48px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.7rem;color:var(--muted)}.footer a{margin-right:15px;text-decoration:none}.progress{height:6px;background:#edf1f5;border-radius:10px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--ink)}.security-links{display:grid;gap:12px}.security-links a{display:block;padding:15px;border:1px solid var(--line);border-radius:8px;text-decoration:none}dialog{border:1px solid var(--line);border-radius:15px;max-width:650px}pre{white-space:pre-wrap;overflow-wrap:anywhere}.searchbar{display:flex;gap:10px;max-width:850px;margin-bottom:25px}.searchbar input{flex:1}.error-page{padding:12vh 5vw}.calendar-row,.list-row{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sidebar nav[hidden]{display:none}.sidebar nav a.mobile-only{display:none}.card,.list-row,.calendar-row{overflow-wrap:anywhere;min-width:0}summary{cursor:pointer;font-weight:600;padding:10px 0}hr{border:0;border-top:1px solid var(--line);margin:24px 0}
@media(min-width:1500px){.content{padding-top:50px}.dashboard-main{grid-template-columns:minmax(0,1fr) 330px;gap:32px}}
@media(max-width:1200px){.layout{grid-template-columns:220px minmax(0,1fr)}.content{padding:30px 26px}.topbar{padding:20px 26px}.sidebar{padding-left:12px;padding-right:12px}.dashboard-main{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.project-card{padding:24px}.project-card h2{font-size:1.6rem}.project-card-bottom{align-items:flex-start;flex-direction:column}.card,.contact-card{padding:23px}.welcome{align-items:flex-start}.welcome .button{margin-top:16px}.action-row>.pill{display:none}}
@media(max-width:980px){.dashboard-main,.grid-2{grid-template-columns:1fr}.dashboard-main>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.welcome{flex-direction:column;gap:10px}.welcome .button{margin:0}.project-card-bottom{flex-direction:row;align-items:center}.topbar-actions{gap:14px}.logout-link{padding-left:14px}.auth-panel{padding:35px}.auth-intro{padding:40px 30px}}
@media(max-width:720px){.layout{display:block}.sidebar{position:static;height:auto;padding:20px;gap:18px;display:grid;grid-template-columns:1fr auto}.sidebar .brand{padding:0}.brand img{width:155px}.brand small{margin-top:7px;font-size:.55rem}.sidebar nav{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:5px}.sidebar nav a{padding:11px;font-size:.79rem}.nav-label{grid-column:1/-1;margin:10px}.sidebar-foot{display:none}.mobile-toggle{display:inline-flex;align-self:center;padding:9px 16px;min-height:40px}.sidebar nav a.mobile-only{display:flex}.topbar{padding:16px 20px;align-items:flex-start;flex-direction:column;gap:13px;min-height:0}.topbar-actions{font-size:.75rem;gap:20px}.logout-link{border:0;padding:0}.content{padding:28px 20px}.welcome{padding-bottom:26px;margin-bottom:26px}.welcome p{font-size:.86rem}.welcome h1{font-size:2rem}.page-head{align-items:flex-start;flex-direction:column;gap:12px}.page-head.compact{flex-direction:row;align-items:center}h2{font-size:1.2rem}.card,.contact-card{padding:22px}.project-card{padding:23px}.project-card h2{font-size:1.65rem;max-width:100%}.project-card-bottom{align-items:flex-start;flex-direction:column}.dashboard-main>aside{display:block}.details{grid-template-columns:1fr;gap:3px}.details dd{margin-bottom:12px}.split{flex-wrap:wrap}.calendar-row{flex-wrap:wrap}.auth-shell{display:block}.auth-intro{padding:25px;gap:25px;border:0;border-bottom:1px solid var(--line)}.auth-intro>div,.auth-signature{display:none}.auth-intro img{width:190px}.auth-panel{padding:38px 25px}.auth-panel h1{font-size:2rem}.auth-panel .footer{margin-top:30px}.section-nav{gap:23px;margin-top:-5px}.footer{padding-top:30px;gap:12px}.action-row{gap:10px}.step-marker{width:30px;height:30px}.searchbar{flex-wrap:wrap}.inline-form input{min-width:120px}.grid{gap:18px}.hero{padding:23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.finance-invoices{margin-top:28px}.filter-form{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:end}.filter-form p{margin:0}.filter-form .helptext{display:none}@media(max-width:980px){.filter-form{grid-template-columns:1fr 1fr}}@media(max-width:720px){.filter-form{grid-template-columns:1fr}}

form p:has(>input[type=checkbox]){display:flex;align-items:center;gap:10px}form p:has(>input[type=checkbox]) label{margin:0}form p>input[type=checkbox]{order:-1;flex-shrink:0}
/* Clear presentation choices and a calm customer start page. */
[hidden]{display:none!important}
.topbar{position:sticky;top:0;z-index:20;background:#fff;gap:20px}
.topbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:22px;flex-wrap:wrap}
.topbar-actions{flex-wrap:wrap}
.organization-link{flex-shrink:0;max-width:220px}.organization-name{display:block;overflow-wrap:anywhere}.organization-link:hover{text-decoration:underline}
.view-switch{display:flex;align-items:center;gap:12px;margin:0;white-space:nowrap}.view-switch-options{display:flex;align-items:center;gap:3px;background:var(--paper);padding:4px;border:1px solid var(--line);border-radius:999px}
.view-switch-label{font-size:.72rem;color:var(--muted);font-weight:600;padding:0}
.view-switch button{min-height:36px;padding:7px 12px;border:0;background:transparent;color:var(--muted);font-size:.78rem;gap:0}
.view-switch button[aria-pressed=true]{background:var(--ink);color:white}.view-switch button:hover{background:#e4eaf0;color:var(--ink)}
.contact-avatar.contact-portrait{display:block;width:96px;height:96px;object-fit:cover;object-position:center 34%;border:3px solid #fff;border-radius:50%;margin:24px 0 18px}
.simple-welcome{margin-bottom:28px;padding-bottom:22px}.simple-dashboard{align-items:start}
.simple-next{border-top:3px solid var(--accent)}.simple-next>.eyebrow{display:block;margin-bottom:12px}.simple-next h2{font-size:1.55rem;max-width:26ch}.simple-next .muted{max-width:53ch}
.simple-websites .split{align-items:baseline}.simple-websites .split h2{margin:0}.website-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 0;border-top:1px solid var(--line);margin-top:20px}.website-row:last-child{padding-bottom:0}.website-row h3{margin:10px 0;overflow-wrap:anywhere}.website-row h3 a{text-decoration:none}.website-row p{font-size:.85rem;margin:0;color:var(--muted)}
.quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px;margin-bottom:24px}.quick-action{display:flex;flex-direction:column;gap:8px;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;text-decoration:none}.quick-action:hover{border-color:var(--accent)}.quick-action>span{font-size:.87rem;color:var(--muted)}.quiet-help{text-align:center;font-size:.85rem}
.explained-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin:20px 0 4px}.explained-links a{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-top:1px solid var(--line);text-decoration:none}.explained-links a span{color:var(--muted);font-size:.84rem}
.section-help{margin:-15px 0 28px;color:var(--muted);font-size:.85rem}.section-help summary,.simple-section-context summary{cursor:pointer}.simple-section-context{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:24px;font-size:.85rem;flex-wrap:wrap}.simple-section-context>details{flex:1;text-align:right}.simple-section-context .explained-links{text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.project-more summary,.card>summary{cursor:pointer;font-weight:600}.card>summary{list-style-position:inside}.card:has(>summary){margin-bottom:24px}
.onboarding{border:1px solid var(--line);border-radius:22px;max-width:760px;width:calc(100% - 36px);max-height:calc(100dvh - 40px);padding:32px;color:var(--ink);background:var(--paper);overscroll-behavior:contain;box-shadow:0 24px 100px #09182738;position:fixed;inset:0;margin:auto;overflow-y:auto;z-index:50}
.onboarding::backdrop{background:rgba(9,24,39,.58);backdrop-filter:blur(4px)}.onboarding-header{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.onboarding-header img{max-width:35%;height:auto}.text-button{border:0;background:transparent;color:var(--muted);padding:8px 0;min-height:40px;font-size:.78rem;border-radius:4px}.text-button:hover{background:transparent;color:var(--ink);text-decoration:underline}
.guide-chapter>h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:10px 0 16px;outline:none}.guide-intro{color:var(--muted);max-width:64ch}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.guide-grid article{border-top:1px solid var(--line);padding:14px 0 0}.guide-grid h3{margin:0 0 8px;font-size:1rem;letter-spacing:-.02em}.guide-grid p{font-size:.88rem;color:var(--muted);margin:0 0 18px}.view-choices{border:0;padding:0;margin:24px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.view-choices legend{font-size:.85rem;margin-bottom:12px}.view-choices label{border:1px solid var(--line);border-radius:12px;padding:20px;background:white;display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-weight:400}.view-choices label:has(:checked){border:2px solid var(--ink);padding:19px;background:#edf1f5}.view-choices input{flex:0 0 18px;margin-top:3px}.view-choices label>span{display:flex;flex-direction:column;gap:9px}.view-choices strong{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.view-choices strong small{font-size:.6rem;text-transform:uppercase;letter-spacing:.04em;background:#fff;padding:2px 5px;border-radius:4px}.view-choices label>span>span{font-size:.85rem;color:var(--muted)}.onboarding .muted{font-size:.8rem}.tour-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:16px}.tour-controls #tour-back{margin-right:auto}.guide-reading{max-width:900px}.guide-reading .guide-chapter>h2{font-size:1.7rem}
@media(max-width:1200px){.topbar-tools{gap:10px}.topbar{padding-top:13px;padding-bottom:13px}.topbar-actions{font-size:.72rem}}
@media(max-width:980px){.organization-link{max-width:150px}.topbar{align-items:flex-start}.topbar-tools{align-items:flex-end;flex-direction:column}.simple-dashboard>aside{display:block}.simple-dashboard .contact-card{max-width:none}.simple-dashboard .contact-portrait{float:left;margin:0 20px 12px 0;width:82px;height:82px}.simple-dashboard .contact-card>.eyebrow{display:block;margin-bottom:18px}.simple-dashboard .contact-card .button{clear:both}.simple-dashboard .contact-email{margin-top:12px}}
@media(max-width:720px){.topbar{gap:10px;padding:12px 20px}.organization-link{max-width:100%;font-size:.78rem}.organization-link .eyebrow{display:none}.topbar-tools{width:100%;align-items:stretch;gap:10px}.view-switch{align-self:flex-start}.view-switch button{min-height:38px;padding:8px 14px}.topbar-actions{justify-content:space-between;gap:10px}.simple-welcome{margin-bottom:22px}.simple-next h2{font-size:1.4rem}.website-row{flex-wrap:wrap}.onboarding{padding:20px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.view-choices,.guide-grid{grid-template-columns:1fr}.view-choices{margin:16px 0;gap:10px}.view-choices label{padding:14px}.view-choices label:has(:checked){padding:13px}.onboarding-header{gap:10px;padding-bottom:14px;margin-bottom:16px}.onboarding .guide-chapter>h2{font-size:1.5rem}.guide-intro{font-size:.9rem}.guide-grid p{font-size:.85rem}.tour-controls button{padding:10px 15px}.simple-section-context{align-items:flex-start}.simple-section-context>details{flex-basis:100%;text-align:left}}
body:has(dialog:modal){overflow:hidden}.file-tools{position:relative}.file-tools summary{cursor:pointer;font-size:.85rem}.file-tools[open] .security-links{padding:15px;background:white;border:1px solid var(--line);border-radius:10px;min-width:170px}.view-simple .table-wrap th,.view-simple .table-wrap td{white-space:normal;overflow-wrap:anywhere}.view-simple .table-wrap table{min-width:0}
@media(max-width:720px){.tour-controls{position:sticky;bottom:-20px;background:var(--paper);padding-bottom:20px;margin-bottom:-20px}.view-simple .table-wrap{overflow-x:auto}.view-simple .table-wrap td,.view-simple .table-wrap th{padding:12px 8px}}
.contact-portrait{overflow:hidden}.contact-portrait img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.65);transform-origin:50% 30%}.actions:empty{display:none}.section-hint{color:var(--muted);font-size:.9rem;max-width:65ch;margin:0 0 24px}
.messenger-content{padding-top:28px}.messenger{height:min(850px,calc(100dvh - 165px));min-height:500px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#f0f2f3;box-shadow:0 8px 30px #09182706}
.chat-header{display:flex;align-items:center;gap:14px;padding:18px 22px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}.messenger svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.chat-back{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;border-radius:50%;text-decoration:none}.chat-back:hover{background:var(--paper)}.chat-contact-photo{width:44px;height:44px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#e6ebef}.chat-contact-photo img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.65);transform-origin:50% 30%}.chat-heading{min-width:0;flex:1}.chat-contact-name{font-size:.74rem;color:var(--muted)}.chat-heading h1{font-size:1.1rem;letter-spacing:-.025em;margin:3px 0;line-height:1.35;overflow-wrap:anywhere}.chat-heading>a{font-size:.72rem;color:var(--muted);text-underline-offset:3px}.chat-status{flex-shrink:0}
.chat-history{flex:1;min-height:100px;overflow-y:auto;overscroll-behavior:contain;padding:16px 28px 26px;scrollbar-width:thin}.chat-day{text-align:center;margin:10px 0 22px;font-size:.7rem;color:var(--muted)}.chat-day time{display:inline-block;background:#fff9;border:1px solid #09182708;border-radius:20px;padding:5px 13px}.chat-message{width:fit-content;max-width:78%;margin-bottom:14px}.chat-message-own{margin-left:auto}.chat-bubble{background:#fff;border:1px solid #0918270e;border-radius:16px 16px 16px 4px;padding:12px 16px 8px;box-shadow:0 2px 3px #09182703;overflow-wrap:anywhere}.chat-message-own .chat-bubble{background:var(--ink);color:white;border-color:var(--ink);border-radius:16px 16px 4px 16px}.chat-author{font-size:.7rem;font-weight:600;margin-bottom:5px;color:var(--muted)}.chat-message-own .chat-author{color:#c2d0dc}.chat-text{font-size:.93rem;line-height:1.6;white-space:normal}.chat-time{display:block;text-align:right;font-size:.65rem;color:var(--muted);margin-top:5px}.chat-message-own .chat-time{color:#c2d0dc}.chat-attachment{display:flex;gap:10px;align-items:center;background:#09182706;border:1px solid #09182714;border-radius:9px;padding:10px 12px;margin-top:12px;text-decoration:none;font-size:.8rem;color:inherit}.chat-attachment small{display:block;font-size:.7rem;margin-top:3px}.chat-message-own .chat-attachment{background:#ffffff12;border-color:#ffffff26}.chat-message-internal .chat-bubble{background:#fff6dc;color:var(--ink);border-color:#dfc987}.chat-message-internal .chat-author,.chat-message-internal .chat-time{color:#77551a}.chat-note-label{display:block;font-size:.67rem;margin:3px 0}.chat-mentions{display:block;margin-top:10px;font-size:.7rem}.chat-empty{text-align:center;padding:60px 12px;color:var(--muted)}.chat-empty h2{font-size:1.2rem;color:var(--ink)}
.chat-composer{padding:16px 22px 12px;background:#fff;border-top:1px solid var(--line);flex-shrink:0;max-height:60%;overflow-y:auto}.chat-input-row{display:flex;align-items:flex-end;gap:12px}.chat-input-row textarea{resize:none;min-height:48px;height:48px;max-height:140px;margin:0;border-radius:14px;padding:12px 15px;line-height:1.45;background:var(--paper);font-size:.9rem;flex:1;min-width:0}.chat-send{display:flex;align-items:center;justify-content:center;gap:9px;height:48px;min-width:48px;padding:12px 19px;border-radius:14px;flex-shrink:0}.chat-send:disabled{opacity:.55;cursor:wait}.chat-composer-tools{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-top:9px}.chat-options{font-size:.75rem;flex:1;min-width:0}.chat-options summary{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:32px;color:var(--muted);width:fit-content}.chat-options summary::after{content:'+';margin-left:4px}.chat-options[open] summary::after{content:'−'}.chat-options summary::-webkit-details-marker{display:none}.chat-options svg{width:16px;height:16px}.chat-option-fields{padding:8px 0 12px}.chat-option-fields p{margin:10px 0}.chat-option-fields label{font-size:.8rem}.chat-option-fields select{font-size:.8rem;max-width:100%}.chat-internal-choice{display:flex;align-items:center;gap:8px}.chat-internal-choice input{width:auto}.chat-internal-choice label{margin:0}.chat-keyboard-hint{font-size:.65rem;color:var(--muted)}.chat-send-status{font-size:.75rem;color:var(--muted);margin:4px 0 0}.chat-send-status:empty,.chat-errors:empty{display:none}.chat-errors{color:#8c281e;font-size:.85rem;margin-bottom:12px}.chat-errors ul{padding-left:20px}.chat-readonly{font-size:.85rem;color:var(--muted);margin:0 0 8px}.chat-details{margin:18px 0 24px;font-size:.82rem}.chat-details>summary{color:var(--muted);cursor:pointer;padding:8px 0}.chat-details>.card{margin-top:12px}
@media(max-width:980px){.chat-keyboard-hint{display:none}.chat-message{max-width:88%}.chat-header{padding:15px;gap:10px}.chat-history{padding:12px 18px 22px}}
@media(pointer:coarse){.chat-keyboard-hint{display:none}}
@media(max-width:720px){.messenger-content{padding:16px 12px}.messenger{height:calc(100dvh - 270px);min-height:440px;border-radius:15px}.chat-header{padding:12px 10px;gap:8px}.chat-contact-photo{width:36px;height:36px}.chat-heading h1{font-size:.95rem}.chat-contact-name{font-size:.65rem}.chat-status{font-size:.6rem;padding:4px 7px}.chat-back{min-width:30px}.chat-history{padding:10px 12px 20px}.chat-message{max-width:90%}.chat-bubble{padding:10px 12px 7px}.chat-text{font-size:.9rem}.chat-composer{padding:12px 10px 8px}.chat-send{padding:12px}.chat-send>span{display:none}.chat-input-row{gap:8px}.chat-input-row textarea{font-size:16px}.chat-options{font-size:.72rem}.chat-details{margin-left:8px;margin-right:8px}}

.ticket-filters{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;align-items:end;gap:12px;margin-bottom:24px}.ticket-filter-field{display:grid;gap:7px;min-width:0}.ticket-filter-field label{font-size:.78rem;color:var(--muted);font-weight:500}.ticket-filters input,.ticket-filters select{min-width:0;width:100%}.ticket-filters button{white-space:nowrap}
@media(max-width:720px){.ticket-filters{grid-template-columns:minmax(0,1fr) auto}.ticket-filter-search{grid-column:1/-1}}

/* Private chat and distinct ticket comments. */
[data-conversation] .chat-text{white-space:pre-wrap;overflow-wrap:anywhere}
[data-conversation] .chat-history{min-height:240px}
.chat-load-older{display:block;margin:0 auto 24px}.chat-new{align-self:center;margin:4px}
.ticket-comment{padding:22px 0;border-bottom:1px solid var(--line,#e2e6ec);overflow-wrap:anywhere}.ticket-comment:last-child{border:0}
.ticket-comment header{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.ticket-comment time{font-size:12px;color:#667085}.ticket-comment-internal{background:#fff8e9;padding:18px;border-radius:8px}
