/* CAG PRO® Care — local, responsive interface. */
:root{--crm-client-release:"3.3.15"}
:root{--ink:#142f38;--ink-soft:#526974;--muted:#70828b;--brand:#13796d;--brand-deep:#0d5c53;--mint:#dff4eb;--mint-bright:#aee4c9;--gold:#d9bd7f;--line:#e4ebe8;--wash:#f3f6f4;--paper:#fff;--danger:#bd4146;--danger-wash:#fff0f0;--warning:#976719;--warning-wash:#fff6e6;--nav:#112e36;--shadow:0 20px 70px #173f3521;--radius:18px;--font:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}
*{box-sizing:border-box}html{height:100%;text-size-adjust:100%}body{margin:0;color:var(--ink);font:14px/1.5 var(--font);background:var(--wash);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button,a{touch-action:manipulation}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #32b49b;outline-offset:3px}button{color:inherit}input,select,textarea{width:100%;color:var(--ink);border:1px solid #d9e3df;border-radius:10px;padding:11px 12px;background:#fff;min-height:44px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #16857512}input::placeholder,textarea::placeholder{color:#8b9b9f}textarea{resize:vertical;min-height:96px}input[type=checkbox],input[type=radio]{width:17px;min-height:17px;height:17px;accent-color:var(--brand);padding:0;margin:0;flex:none}input[type=file]{font-size:13px}select{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{letter-spacing:-.025em}h1{font-size:26px;line-height:1.25}h2{font-size:22px;line-height:1.3}h3{font-size:16px}svg.icon,[data-icon] svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.muted{color:var(--muted)}.small{font-size:12px}.quiet{color:var(--ink-soft)}.strong{font-weight:650}.nowrap{white-space:nowrap}.text-right{text-align:right}.grow{flex:1;min-width:0}.hidden,[hidden]{display:none!important}.skip-link{position:fixed;left:12px;top:12px;transform:translateY(-170%);z-index:1000;padding:12px 18px;background:#fff;box-shadow:var(--shadow);border-radius:8px}.skip-link:focus{transform:translateY(0)}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:700;display:flex;align-items:center;gap:10px}.eyebrow.dark{color:#70847e}.small-dash{width:22px;height:2px;background:var(--mint-bright);display:inline-block}.button{min-height:42px;display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:10px 16px;font-weight:650;font-size:13px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none;white-space:nowrap;transition:background .15s,transform .15s,border-color .15s}.button:hover{background:#f5f8f6;text-decoration:none;border-color:#bdccc5}.button:active{transform:translateY(1px)}.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}.button.primary:hover{background:var(--brand-deep);border-color:var(--brand-deep)}.button.secondary{background:#edf5f1;color:var(--brand);border-color:#d9e9df}.button.danger{color:var(--danger);border-color:#f2d7d9;background:#fff}.button.danger:hover{background:var(--danger-wash)}.button.small{min-height:33px;padding:6px 10px;font-size:12px}.button.full{width:100%}.button.ghost{background:transparent;border-color:transparent}.text-button{color:var(--brand);background:none;border:0;padding:4px;font-weight:600;font-size:13px;display:inline-flex;align-items:center;gap:5px}.text-button:hover{text-decoration:underline}.icon-button{width:36px;height:36px;min-width:36px;border-radius:9px;border:1px solid transparent;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-soft)}.icon-button:hover{background:#edf3ef;color:var(--brand)}.icon-button.active{background:var(--mint);color:var(--brand)}.icon-button.danger:hover{background:var(--danger-wash);color:var(--danger)}.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:600}.field small{font-size:11px;color:var(--muted);font-weight:400;line-height:1.6}.input-shell{position:relative;display:flex;align-items:center;border:1px solid #d8e2dc;border-radius:11px;background:#fff;overflow:hidden}.input-shell> [data-icon]{margin-left:15px;color:#8aa196}.input-shell input{border:0;box-shadow:none;border-radius:0;padding-left:12px;min-height:50px;background:transparent}.input-shell:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #16857512}.input-shell input:focus{box-shadow:none}.password-toggle{padding:0 13px;display:flex;align-items:center;align-self:stretch;border:0;background:transparent;color:#81958d}.password-toggle:hover{color:var(--brand)}.notice{padding:12px 14px;border-radius:10px;display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;margin-bottom:18px;border:1px solid var(--line);background:var(--wash)}.notice [data-icon]{margin-top:1px}.notice.error{background:var(--danger-wash);color:#a3333d;border-color:#f2d5d8}.notice.warning{background:var(--warning-wash);color:#856020;border-color:#f2e4c4}.notice.success{background:#e9f7ef;border-color:#cfe9d9;color:#237552}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid>.full-span{grid-column:1/-1}.form-stack{display:flex;flex-direction:column;gap:17px}.form-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.form-actions .left{margin-right:auto}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer;font-weight:500}.checkbox-label small{display:block;color:var(--muted);font-size:11px}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-radius:11px;background:var(--wash)}.form-section-title{font-size:12px;font-weight:700;color:var(--ink-soft);margin:5px 0 -4px}.helper-copy{font-size:12px;color:var(--muted);line-height:1.7}.inline-fields{display:flex;gap:10px;align-items:center}.inline-fields>*{min-width:0}.field-error{font-size:12px;color:var(--danger);margin:0 0 12px}.validation-summary:empty{display:none}.row-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.divider{height:1px;background:var(--line);margin:20px 0}
/* Shared sign-in. */
.auth-page{background:#f7f8f4}.auth-layout{display:grid;grid-template-columns:1.02fr 1fr;min-height:100dvh}.auth-story{background:radial-gradient(ellipse at 18% 102%,#1f685950 0,transparent 52%),radial-gradient(ellipse at 85% 10%,#32827230 0,transparent 40%),#112f36;color:#fff;padding:44px clamp(32px,5vw,88px) 31px;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:800px}.story-grid{position:absolute;inset:0;background-image:linear-gradient(#9bd1bd06 1px,transparent 1px),linear-gradient(90deg,#9bd1bd06 1px,transparent 1px);background-size:64px 64px;pointer-events:none;mask-image:linear-gradient(120deg,transparent 15%,#000)}.story-brand{display:flex;align-items:center;gap:12px;z-index:1}.brand-image{width:62px;height:62px;background:#fff;border-radius:14px;padding:5px;display:flex;align-items:center;justify-content:center}.brand-image img{max-width:100%;max-height:100%;object-fit:contain}.story-brand strong{font-size:21px;font-weight:750;letter-spacing:.015em}.story-brand sup{font-size:10px;top:-.55em;position:relative}.brand-care{font-weight:350;color:#b8d2c9;margin-left:5px;letter-spacing:.1em}.story-brand small{display:block;color:#8ba9a1;letter-spacing:.22em;font-size:9px;margin-top:2px}.story-content{position:relative;z-index:1;max-width:575px;margin:auto 0;padding:53px 0 23px}.story-content>.eyebrow{color:#a4cbb9;margin-bottom:23px}.story-content h1{font-size:clamp(36px,3.75vw,62px);font-weight:620;letter-spacing:-.045em;line-height:1.13;margin-bottom:25px}.story-content h1>span{color:#b9e7ca}.story-content>p{font-size:15px;line-height:1.8;color:#a6beb7;max-width:410px;margin-bottom:0}.support-illustration{position:relative;padding:34px 0 31px;margin-top:16px;max-width:415px}.illustration-card{position:relative;background:linear-gradient(120deg,#ffffff13,#ffffff06);border:1px solid #cae6da26;backdrop-filter:blur(8px);border-radius:19px;padding:21px;box-shadow:0 24px 50px #05171c22;transform:rotate(-1deg)}.illustration-card-top{display:flex;gap:11px;align-items:center;border-bottom:1px solid #d6ece00e;padding-bottom:16px}.illustration-emblem{width:39px;height:39px;border-radius:11px;background:#c2f0d318;color:#b9e7ca;display:flex;align-items:center;justify-content:center}.illustration-emblem svg{fill:none;stroke:currentColor;stroke-width:1.4;width:24px;height:24px}.illustration-card-top strong{font-size:12px;display:block;font-weight:600}.illustration-card-top>div>span{display:block;font-size:10px;color:#a6beb7;margin-top:3px}.illustration-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#b9e7ca}.illustration-bubble{background:#ffffff0b;border:1px solid #ffffff09;padding:12px 14px;border-radius:3px 12px 12px;font-size:12px;margin-top:16px;max-width:90%;color:#e1eae5}.illustration-bubble>span{display:block;font-size:10px;color:#98b6aa;margin-top:5px}.illustration-response{display:flex;align-items:center;gap:10px;margin-top:15px;padding:13px;background:#b5e6c7ed;color:#173c32;border-radius:12px 3px 12px 12px;width:93%;margin-left:auto}.check-ring{width:25px;height:25px;display:flex;align-items:center;justify-content:center;border:1px solid #28534244;border-radius:50%;font-weight:700}.illustration-response strong{font-weight:650;font-size:11px;display:block}.illustration-response div>span{font-size:9px;display:block;color:#406452;margin-top:3px}.illustration-tag{position:absolute;right:-24px;bottom:14px;font-size:10px;background:#e8d6a9;color:#334039;padding:9px 14px;border-radius:99px;box-shadow:0 8px 30px #10231e24;transform:rotate(2deg)}.illustration-tag>span{font-size:14px;margin-right:6px}.illustration-orbit{border:1px solid #9ed4b816;position:absolute;width:390px;height:390px;border-radius:50%;left:38px;top:-18px;pointer-events:none}.orbit-two{width:465px;height:465px;top:-55px;left:0}.story-footer{display:flex;align-items:center;gap:15px;font-size:9px;letter-spacing:.18em;color:#89a89d;position:relative;z-index:1;margin-top:20px}.story-footer i{height:3px;width:3px;border-radius:50%;background:#52776a}.auth-entry{display:flex;flex-direction:column;padding:35px clamp(30px,4.5vw,80px) 27px;min-width:0;background:radial-gradient(ellipse at 90% 0,#e7eee73b,transparent 55%),#fafbf8}.auth-topline{display:flex;align-items:center;justify-content:space-between;gap:15px}.auth-topline>span{color:#91a198;font-size:9px;font-weight:700;letter-spacing:.13em}.auth-hotline{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650;color:#456858}.auth-hotline svg{width:15px;height:15px}.auth-form-wrap{width:100%;max-width:389px;margin:auto;padding:57px 0}.entry-mark{width:49px;height:49px;display:flex;align-items:center;justify-content:center;border:1px solid #dfebe1;border-radius:14px;color:#2e7c60;background:#edf5ed;margin-bottom:27px}.entry-mark svg{width:25px;height:25px;stroke-width:1.5}.auth-form-wrap .eyebrow{font-size:9px;margin-bottom:12px}.auth-form-wrap h2{font-size:42px;letter-spacing:-.05em;font-weight:630;line-height:1.2;margin-bottom:15px}.auth-description{font-size:13px;line-height:1.85;color:#7a8d81;margin-bottom:19px}.auth-audiences{display:flex;align-items:center;gap:0;color:#687f71;font-size:10px;margin-bottom:32px}.auth-audiences>span+span:before{content:"";display:inline-block;width:3px;height:3px;border-radius:50%;background:#b5c7bb;margin:0 11px 2px}.auth-form{display:flex;flex-direction:column;gap:20px}.auth-form .field{font-size:11px;gap:8px;letter-spacing:.01em}.auth-form .field input{font-size:12px}.auth-help-row{display:flex;justify-content:space-between;margin-top:-5px;color:#96a59b;font-size:9px}.auth-help-row>span{display:flex;gap:5px;align-items:center}.auth-help-row svg{width:11px;height:11px}.auth-submit{min-height:51px;justify-content:space-between;font-size:12px;padding:14px 19px;border-radius:11px;box-shadow:0 7px 15px #11796715}.auth-submit svg{width:18px;height:18px}.auth-contact{font-size:10px;color:#94a197;line-height:1.9;margin:24px 0 0}.auth-contact a{color:#55775d;font-weight:600;display:inline-flex;align-items:center;gap:6px}.entry-footer{border-top:1px solid #e5ebe3;padding-top:17px;display:flex;align-items:center;gap:14px}.entry-footer img{object-fit:contain;max-width:58px;height:auto;mix-blend-mode:multiply}.entry-footer strong{font-size:8px;font-weight:650;letter-spacing:.045em;display:block;color:#7c8e7e}.entry-footer span{display:block;font-size:9px;color:#a4afa4;margin-top:4px}.password-page{background:radial-gradient(ellipse at 50% 5%,#d7eee048,transparent 70%),#f3f6f3}.password-layout{max-width:492px;padding:40px 18px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;justify-content:center}.password-brand{display:flex;gap:13px;align-items:center;justify-content:center;margin-bottom:25px}.password-brand img{object-fit:contain;width:52px;height:52px}.password-brand strong{font-size:17px;font-weight:700}.password-brand sup{font-size:9px}.password-card{background:#fff;border:1px solid var(--line);padding:34px;border-radius:24px;box-shadow:0 20px 50px #193b2529}.password-card h1{font-size:29px;margin:10px 0 13px}.password-card .entry-mark{margin-bottom:20px}.password-card>.muted{font-size:13px;line-height:1.7;margin-bottom:25px}.auth-back{text-align:center;margin-top:19px}.password-footer{text-align:center;letter-spacing:.16em;font-size:9px;color:#9ba99c;margin:25px 0 0}.error-card .button{width:100%;margin:10px 0 16px}.error-card>a.text-button{display:flex;justify-content:center;font-size:12px}
/* Main application shell. */
.workspace-page{height:100dvh;overflow:hidden;background:var(--wash)}.app-shell{height:100dvh;display:flex;min-height:0}.main-nav{width:86px;min-width:86px;background:var(--nav);color:#d4e3dc;display:flex;flex-direction:column;padding:18px 8px 14px;z-index:20;border-right:1px solid #183f44}.nav-brand{width:53px;height:53px;margin:0 auto 27px;background:#fff;border-radius:14px;display:flex;padding:4px}.nav-brand img{width:100%;height:100%;object-fit:contain}.main-nav nav{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#9bb6ad;display:flex;align-items:center;justify-content:center;flex-direction:column;width:100%;min-height:62px;gap:7px;border-radius:12px;text-decoration:none;font-size:9px;font-weight:550;position:relative;padding:10px 2px}.nav-item:hover{color:#dcefe2;background:#ffffff08;text-decoration:none}.nav-item.active{color:#d1efdc;background:#91d5b51b}.nav-item.active:before{content:"";width:3px;height:21px;border-radius:0 4px 4px 0;background:#a5dbc2;position:absolute;left:-8px}.nav-item svg{width:21px;height:21px;stroke-width:1.6}.nav-bottom{margin-top:auto;display:flex;flex-direction:column;gap:4px}.nav-user-avatar{display:flex;align-items:center;justify-content:center;font-size:10px;width:25px;height:25px;background:#b3c9b9;color:#204d3f;border-radius:9px;font-weight:700}.nav-bottom form{margin:0}.app-body{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}.workspace-header{height:84px;min-height:84px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:16px}.workspace-heading .eyebrow{font-size:8px;letter-spacing:.15em;margin-bottom:6px}.workspace-heading h1{font-size:21px;margin:0;font-weight:650}.workspace-header-actions{display:flex;align-items:center;gap:14px}.header-user{text-align:right;line-height:1.4}.header-user>span{font-weight:650;font-size:12px;display:block}.header-user>small{font-size:10px;color:var(--muted)}.avatar{width:38px;height:38px;min-width:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#e1eee5;color:#316b50;font-size:12px;font-weight:750;border:1px solid #d8e8dc;flex:none}.avatar.large{width:49px;height:49px;min-width:49px;border-radius:15px;font-size:15px}.avatar.staff{background:#e5ecee;color:#436673;border-color:#dce5e9}.avatar.customer{background:#e1ede4;color:#487154}.connection-status{display:flex;align-items:center;gap:6px;color:#7b9082;font-size:10px;margin-right:13px}.connection-status i{height:6px;width:6px;border-radius:50%;background:#65a483}.connection-status.offline{color:#a7752b}.connection-status.offline i{background:#cf9e4d}.main-content{flex:1;min-height:0;min-width:0;overflow:auto;outline:none}.initial-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:65vh;text-align:center;color:var(--muted);padding:20px}.initial-loading h2{font-size:17px;margin:19px 0 7px;color:var(--ink)}.initial-loading p{font-size:12px}.loader{display:inline-block;width:26px;height:26px;border:2px solid #d2e7da;border-right-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite;flex:none}.loader.small{width:16px;height:16px;border-width:2px}.loader.light{border-color:#ffffff40;border-right-color:#fff}@keyframes spin{to{transform:rotate(360deg)}}.app-notice{font-size:12px;padding:10px 24px;background:var(--warning-wash);border-bottom:1px solid #ebd6a9;color:#8e6b2b}.app-notice .text-button{font-size:12px}.page-content{padding:26px 28px 40px;max-width:1800px;margin:0 auto}.page-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.page-toolbar h2{font-size:23px;margin-bottom:5px}.page-toolbar p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.toolbar-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.surface{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.surface-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line)}.surface-header h3{margin:0;font-size:14px}.surface-body{padding:20px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);padding:45px 24px;min-height:200px}.empty-icon{width:62px;height:62px;border-radius:20px;background:#eaf1ec;color:#81a18e;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.empty-icon svg{width:29px;height:29px;stroke-width:1.3}.empty-state h3{font-size:17px;color:#466053;margin:0 0 8px}.empty-state p{font-size:12px;max-width:340px;line-height:1.75;margin:0 0 18px}.empty-state .button{font-size:12px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:10px;line-height:1.4;border-radius:6px;font-weight:650;white-space:nowrap;background:#edf2ef;color:#6d8375}.badge.green{color:#2f7753;background:#e3f1e6}.badge.orange{color:#9c742c;background:#fff2d9}.badge.red{color:#b64a50;background:#fbe8e9}.badge.blue{color:#467895;background:#e9f2f9}.badge.purple{color:#816595;background:#f0eaf6}.badge.gray{background:#eff2f2;color:#7b8a8e}.badge.license{font-size:9px;letter-spacing:.02em;padding:4px 7px;border:1px solid #dce9df;background:#f0f6f1}.badge.license.plus{background:#e8f3f8;color:#467791;border-color:#d7e7ef}.badge.license.prime{background:#fcf4df;color:#8e753e;border-color:#eee0b6}.badge.license.signature{background:#edeaf4;color:#695888;border-color:#ded5eb}.badge.license.free{background:#f0f1f0;color:#7b867e;border-color:#e6e9e5}.count-pill{background:#e8efe9;border-radius:99px;font-size:10px;padding:2px 6px;font-weight:700;color:#66826d;min-width:20px;text-align:center}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto;padding:0 4px}.tab{border:0;background:transparent;padding:13px 15px;color:var(--muted);font-weight:600;font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}.tab.active{color:var(--brand);border-bottom-color:var(--brand)}.tab:hover{color:var(--brand);background:#f4f7f4}.filter-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.filter-row .search-field{min-width:190px;flex:1;max-width:370px}.filter-row select{width:auto;min-width:140px;max-width:220px;min-height:39px;padding:8px 30px 8px 11px;font-size:12px}.search-field{position:relative}.search-field> [data-icon]{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#95a49a;pointer-events:none}.search-field svg{width:17px;height:17px}.search-field input{padding:9px 12px 9px 37px;min-height:39px;font-size:12px;background:#f7f9f7;border-color:#e6ece6}.search-field input:focus{background:#fff}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.data-table th{text-align:left;color:#7c8b82;font-size:10px;letter-spacing:.025em;font-weight:650;padding:13px 17px;background:#f8faf7;border-bottom:1px solid var(--line)}.data-table td{padding:14px 17px;border-bottom:1px solid #edf1ec;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafcf9}.table-primary{font-weight:650;color:var(--ink);display:block;max-width:380px;overflow:hidden;text-overflow:ellipsis}.table-secondary{font-size:10px;color:var(--muted);margin-top:3px;display:block}.table-avatar{display:flex;gap:10px;align-items:center}.table-avatar .avatar{width:33px;height:33px;min-width:33px;font-size:10px;border-radius:10px}.table-link{font-weight:650;color:var(--ink);border:0;background:none;text-align:left;padding:0;max-width:380px;white-space:normal}.table-link:hover{color:var(--brand);text-decoration:underline}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:21px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.metric-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:13px}.metric-label svg{width:17px;height:17px;color:#8b9f91}.metric-value{font-size:29px;font-weight:680;letter-spacing:-.035em;line-height:1.2}.metric-hint{font-size:10px;color:#8b9b8e;margin-top:7px}.metric-card.alert .metric-value{color:#b57430}.report-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:19px;margin:20px 0}.stat-row{display:flex;align-items:center;gap:13px;margin-bottom:16px;font-size:12px}.stat-row:last-child{margin-bottom:0}.stat-row>label{min-width:130px;color:var(--ink-soft)}.stat-track{height:7px;flex:1;border-radius:99px;background:#edf2ed;overflow:hidden}.stat-track>i{display:block;height:100%;background:#7ea58f;border-radius:99px}.stat-row>strong{font-size:12px;min-width:35px;text-align:right}.report-caption{font-size:11px;color:var(--muted);line-height:1.7}.report-date{width:146px;min-height:39px;font-size:12px}.status-list{display:flex;flex-wrap:wrap;gap:8px}.account-status{font-size:10px;display:flex;align-items:center;gap:5px}.account-status:before{content:"";height:5px;width:5px;background:#98b2a0;border-radius:50%}
/* Chat-first room layout. */
.rooms-layout{display:grid;grid-template-columns:300px minmax(300px,1fr) 310px;height:100%;min-height:0;overflow:hidden}.room-list-panel{display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fcfdfb;min-height:0}.room-list-heading{padding:21px 18px 16px}.room-list-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.room-list-title h2{margin:0;font-size:15px}.room-list-heading .search-field{margin-bottom:13px}.room-filter-tabs{display:flex;gap:5px;overflow:auto;scrollbar-width:none}.room-filter{font-size:10px;border:0;border-radius:6px;background:transparent;color:#849589;padding:6px 8px;white-space:nowrap}.room-filter.active{color:#3e7856;background:#e8f1e8;font-weight:650}.room-list{overflow:auto;flex:1;padding:0 8px 12px;scrollbar-width:thin;scrollbar-color:#d9e3d7 transparent}.room-list-foot{padding:12px 15px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:6px;color:#9baa9c;font-size:9px}.room-list-foot .text-button{font-size:10px}.room-item{border:1px solid transparent;background:transparent;border-radius:11px;padding:13px 10px;display:flex;gap:10px;width:100%;text-align:left;position:relative;margin-bottom:3px;transition:background .15s}.room-item:hover{background:#f1f5ee}.room-item.active{background:#eaf2e9;border-color:#dbe8d9}.room-item .avatar{width:37px;height:37px;min-width:37px;border-radius:12px;font-size:11px}.room-item.active .avatar{background:#d5e6d6;border-color:#cbdfcd}.room-item-main{min-width:0;flex:1}.room-item-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:4px}.room-item-name{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2f4e3e}.room-item-time{font-size:9px;color:#91a18f;white-space:nowrap}.room-item-preview{font-size:10px;color:#91a08f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:210px;line-height:1.7;min-height:17px}.room-item-bottom{display:flex;align-items:center;gap:6px;margin-top:7px;min-height:17px}.room-item-bottom .badge{font-size:8px;padding:2px 5px}.room-unread{background:#367b56;border-radius:99px;font-size:9px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;margin-left:auto;padding:0 5px}.room-attention{width:6px;height:6px;border-radius:50%;background:#c79543;margin-left:auto}.room-tickets-count{font-size:8px;color:#8ca084;margin-left:auto}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;background:#f6f8f3}.conversation-header{display:flex;align-items:center;gap:11px;padding:17px 23px;border-bottom:1px solid var(--line);background:#fff;min-height:83px}.conversation-title{flex:1;min-width:0}.conversation-title h2{font-size:15px;margin:0 0 4px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-subtitle{display:flex;gap:7px;align-items:center;color:#8e9d90;font-size:10px;flex-wrap:wrap}.conversation-header .avatar{width:41px;height:41px;min-width:41px}.mobile-back{display:none}.room-detail-toggle{display:none}.conversation-toolbar{display:flex;align-items:center;gap:8px;padding:9px 22px;border-bottom:1px solid #e5ece1;background:#fcfdf9;min-height:41px;font-size:10px;color:#8ca080}.conversation-toolbar .badge{font-size:9px}.conversation-toolbar .text-button{font-size:10px;margin-left:auto}.conversation-toolbar .search-field{flex:1}.conversation-toolbar input{height:31px;min-height:31px}.messages{flex:1;overflow:auto;min-height:0;padding:23px;scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#dbe5d5 transparent;position:relative}.conversation.empty .empty-state{flex:1;background:radial-gradient(ellipse at center,#e6eee24a,transparent 65%);min-height:0}.conversation.empty .empty-icon{width:83px;height:83px;border-radius:27px;background:#e4ede0}.conversation.empty .empty-icon svg{width:38px;height:38px}.conversation.empty .empty-state h3{font-size:22px;font-weight:550;color:#68825e}.conversation.empty .empty-state p{color:#96a18c;max-width:345px;line-height:1.8}.chat-welcome{border:1px dashed #d9e5d2;background:#f8fbf4;border-radius:12px;padding:15px 18px;text-align:center;color:#8d9b80;font-size:11px;max-width:400px;margin:9px auto 25px;line-height:1.7}.chat-date{display:flex;align-items:center;justify-content:center;gap:12px;font-size:9px;color:#9aa58f;margin:19px 0}.chat-date:before,.chat-date:after{content:"";height:1px;width:35px;background:#e3e9dc}.message{display:flex;gap:8px;align-items:flex-end;margin:15px 0;position:relative;max-width:88%;width:max-content}.message.mine{margin-left:auto;flex-direction:row-reverse}.message>.avatar{width:28px;height:28px;min-width:28px;border-radius:9px;font-size:9px;margin-bottom:17px}.message-content{min-width:0;max-width:100%}.message-meta{font-size:9px;color:#7f927d;display:flex;gap:6px;align-items:center;margin:0 2px 5px;flex-wrap:wrap}.message.mine .message-meta{justify-content:flex-end}.message-meta strong{font-size:10px;font-weight:600;color:#668262}.message-meta .badge{font-size:8px;padding:1px 4px}.message-bubble{background:#fff;border:1px solid #e4eadd;border-radius:12px 12px 12px 3px;padding:10px 13px;color:#3e5342;font-size:12px;line-height:1.7;box-shadow:0 1px 2px #40512903;overflow-wrap:anywhere;white-space:pre-wrap;min-width:75px}.message.mine .message-bubble{background:#e3efdc;border-color:#d9e8d1;border-radius:12px 12px 3px 12px;color:#34543b}.message.internal .message-bubble{background:#fff5df;border-color:#eddfba;color:#795d28}.message.internal .message-meta strong{color:#9e8044}.message.selected .message-bubble{box-shadow:0 0 0 2px #66a381}.message-footer{display:flex;gap:7px;align-items:center;font-size:8px;color:#9fac99;margin:5px 2px 0}.message.mine .message-footer{justify-content:flex-end}.message-footer button{font-size:8px;color:#839a7d;border:0;padding:0;background:none}.message-footer button:hover{text-decoration:underline;color:var(--brand)}.message-actions{display:flex;align-items:center;gap:1px;opacity:0;transition:opacity .1s}.message:hover .message-actions,.message:focus-within .message-actions{opacity:1}.message-actions .icon-button{height:24px;width:24px;min-width:24px}.message-actions svg{height:13px;width:13px}.message-system{text-align:center;color:#8a9b80;font-size:10px;line-height:1.7;margin:19px auto;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere}.quoted-message{font-size:10px;white-space:pre-wrap;background:#153a1610;border-left:2px solid #8dab7e;margin:0 0 8px;padding:6px 9px;color:#78916b;max-height:95px;overflow:hidden}.message-ticket-link{display:inline-flex;gap:4px;align-items:center;font-size:8px;line-height:1.5;border:0;background:transparent;color:#738867;margin-top:5px;padding:0;text-align:left}.message-ticket-link:hover{text-decoration:underline}.message-ticket-link svg{width:11px;height:11px}.message-attachment{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #dde7d7;background:#ffffff7a;border-radius:8px;margin-top:7px;color:#63745a;max-width:280px;white-space:normal;font-size:10px}.message-attachment svg{width:22px;height:22px;color:#769b6d}.message-attachment strong{font-size:10px;display:block;word-break:break-word}.message-attachment small{display:block;font-size:8px;color:#93a187;margin-top:2px}.message-photo{display:block;margin-top:8px;max-width:300px;border-radius:9px;overflow:hidden;background:#ffffffaa;border:1px solid #dae5d2}.message-photo img{display:block;max-width:100%;width:100%;max-height:260px;object-fit:contain}.older-messages{display:flex;justify-content:center;margin:0 0 12px}.older-messages .button{background:#ffffffa1;color:#759367;font-size:10px;min-height:30px;border-color:#e1e8da}.composer{padding:14px 21px 15px;background:#fff;border-top:1px solid var(--line);position:relative}.composer-top{display:flex;align-items:center;gap:10px;font-size:9px;color:#8c9f85;margin-bottom:9px}.composer-mode{display:inline-flex;gap:0;background:#f1f5ed;border-radius:6px;padding:2px}.composer-mode button{background:transparent;border:0;color:#8b9c82;font-size:9px;padding:5px 9px;border-radius:4px;display:inline-flex;gap:5px;align-items:center}.composer-mode button.active{background:#fff;box-shadow:0 1px 4px #24491412;color:#587e48}.composer-mode button.active.internal{background:#fff4db;color:#98742e}.composer-mode svg{width:11px;height:11px}.composer-ticket{font-size:10px;min-height:28px;padding:4px 20px 4px 7px;border-radius:6px;max-width:220px;border:1px solid #e1e9d9;background:#fcfdfb;margin-left:auto}.compose-box{border:1px solid #dfe7d8;border-radius:11px;background:#fcfdfa;padding:10px 11px 7px}.compose-box:focus-within{border-color:#91b884;box-shadow:0 0 0 2px #bbd4a914}.compose-box textarea{display:block;border:0;box-shadow:none;background:transparent;padding:1px 0 6px;min-height:48px;max-height:130px;resize:none;font-size:12px;line-height:1.7;border-radius:0}.compose-box textarea:focus{box-shadow:none}.compose-box textarea::placeholder{color:#a4b096}.compose-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}.compose-tools>.left{display:flex;align-items:center;gap:3px;color:#8ba17c}.compose-tools .icon-button{width:29px;height:29px;min-width:29px;color:#8ca27e}.compose-tools .icon-button svg{width:17px;height:17px}.send-button{border:0;width:35px;height:33px;background:#327b58;color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center}.send-button:hover{background:#246448}.send-button svg{width:17px;height:17px;stroke-width:1.7}.composer-hint{font-size:8px;color:#a7b19d;margin-top:8px;display:flex;justify-content:space-between;gap:8px}.composer-reply{display:flex;align-items:center;gap:8px;border-left:2px solid #6d9d5c;background:#f2f7eb;padding:8px 10px;border-radius:5px;margin-bottom:9px;font-size:10px;color:#7e956b}.composer-reply strong{display:block;font-size:9px;color:#4f7744}.composer-reply p{margin:2px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:400px}.composer-files{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}.composer-file{display:flex;gap:5px;align-items:center;border:1px solid #dfe9d7;border-radius:7px;padding:5px 6px;background:#f6faef;font-size:9px;max-width:200px;color:#7f906f}.composer-file>span{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-file button{border:0;background:none;display:flex;padding:1px;color:#8fa080}.composer-file svg{width:12px;height:12px}.room-detail{background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#dfe8d8 transparent}.detail-profile{padding:24px 20px 20px;border-bottom:1px solid var(--line);text-align:center}.detail-profile .avatar{margin:0 auto 11px;width:52px;height:52px;border-radius:17px;font-size:16px}.detail-profile h3{font-size:14px;margin-bottom:7px;font-weight:650}.detail-profile .badge{font-size:9px}.license-caption{font-size:8px;letter-spacing:.07em;color:#9daa94;margin:11px 0 5px}.detail-profile p{font-size:10px;color:#8b9c82;line-height:1.7;margin:10px 0 0}.detail-section{padding:18px 18px;border-bottom:1px solid #edf0e9}.detail-section-header{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:13px}.detail-section-header h3{font-size:11px;font-weight:650;margin:0;display:flex;align-items:center;gap:7px}.detail-section-header .text-button{font-size:9px}.detail-section-header .count-pill{font-size:9px;min-width:16px;padding:1px 4px}.detail-pair{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin-bottom:10px}.detail-pair:last-child{margin-bottom:0}.detail-pair>span{color:#97a48d;white-space:nowrap}.detail-pair>strong{color:#6c825c;font-weight:550;text-align:right;overflow-wrap:anywhere}.detail-pair>strong [data-icon]{margin-right:3px}.detail-empty{font-size:10px;color:#a1ad94;line-height:1.7;margin:0}.member-row{display:flex;align-items:center;gap:8px;margin-bottom:11px}.member-row:last-child{margin-bottom:0}.member-row .avatar{width:30px;height:30px;min-width:30px;border-radius:10px;font-size:9px}.member-row .grow strong{font-size:10px;display:block;font-weight:600;color:#648054}.member-row .grow small{font-size:9px;color:#a0ac93;display:block;margin-top:1px}.member-row .icon-button{width:25px;height:25px;min-width:25px}.member-row .icon-button svg{width:13px;height:13px}.ticket-card{width:100%;display:block;text-align:left;padding:11px 12px;border:1px solid #e6eadd;border-radius:9px;background:#fcfdf9;margin-bottom:8px;color:#657b56;transition:border-color .15s}.ticket-card:hover{border-color:#acc69a;background:#f6f9f0}.ticket-card-top{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#93a182;margin-bottom:6px;gap:6px}.ticket-card-top .badge{font-size:8px;padding:2px 5px}.ticket-card>strong{font-size:11px;line-height:1.5;display:block;margin-bottom:7px;font-weight:600}.ticket-card-foot{display:flex;align-items:center;gap:6px;justify-content:space-between;font-size:9px;color:#8da07e}.ticket-card:last-child{margin-bottom:0}.followup-mini{border-left:2px solid #d8c99c;padding:3px 0 3px 9px;margin:10px 0;font-size:10px;color:#7c865f}.followup-mini strong{font-size:10px;font-weight:600;display:block}.followup-mini span{display:block;font-size:9px;color:#a4aa90;margin-top:3px}.detail-close{display:none}.room-readonly{padding:18px;color:#8b967c;text-align:center;font-size:11px;background:#f7faf2;border-top:1px solid #e4eadb}.conversation-search-results{padding:11px 23px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);background:#fff}.conversation-search-results .text-button{font-size:11px;margin-left:10px}.new-message-prompt{position:absolute;bottom:175px;left:50%;transform:translateX(-50%);box-shadow:0 4px 15px #37573424;z-index:2;font-size:10px;min-height:32px}.message-urgent-label{font-size:8px;color:#b88c36;margin-left:4px}
/* Dialogs and operational views. */
.crm-dialog{border:1px solid #d8e3d5;border-radius:20px;padding:0;max-width:min(650px,calc(100vw - 30px));width:650px;max-height:calc(100dvh - 48px);background:#fff;color:var(--ink);box-shadow:0 25px 100px #122b3454;overflow:hidden}.crm-dialog::backdrop{background:#122d3766;backdrop-filter:blur(3px)}.crm-dialog.wide{width:960px;max-width:min(960px,calc(100vw - 30px))}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 18px;gap:15px;border-bottom:1px solid var(--line)}.dialog-header .eyebrow{font-size:8px;margin-bottom:6px}.dialog-header h2{font-size:21px;margin:0}.dialog-body{padding:22px 25px 25px;overflow:auto;max-height:calc(100dvh - 154px)}.dialog-intro{color:var(--muted);font-size:12px;line-height:1.75;margin-bottom:20px}.ticket-dialog-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:25px}.ticket-title{font-size:20px;margin:10px 0 13px;line-height:1.5}.ticket-description{white-space:pre-wrap;font-size:12px;line-height:1.85;color:#657464;background:#f7f9f3;border:1px solid #e9eee0;padding:14px;border-radius:11px;overflow-wrap:anywhere}.ticket-properties{background:#f7f9f4;border:1px solid #e4ebde;border-radius:11px;padding:15px;margin:17px 0}.ticket-properties>.detail-pair{font-size:11px;margin-bottom:12px}.ticket-properties>.detail-pair:last-child{margin:0}.ticket-button-stack{display:flex;flex-direction:column;gap:8px}.ticket-button-stack .button{width:100%;justify-content:flex-start;font-size:11px}.ticket-button-stack .button svg{width:16px;height:16px}.ticket-timeline{margin-top:25px}.ticket-timeline h3{font-size:12px;color:#79896b;margin-bottom:16px}.timeline-event{padding:0 0 19px 21px;position:relative;border-left:1px solid #e1e9d7;margin-left:5px;font-size:11px}.timeline-event:before{content:"";position:absolute;left:-4px;top:4px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#91b078;box-shadow:0 0 0 1px #dce7d2}.timeline-event:last-child{padding-bottom:0;border-left-color:transparent}.timeline-event strong{display:block;font-size:11px;color:#6c8258;font-weight:600}.timeline-event time{display:block;font-size:9px;color:#a4af97;margin-top:3px}.timeline-event p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;color:#879473;font-size:11px;line-height:1.75}.ticket-result{background:#ebf5e4;border:1px solid #d4e7c7;border-radius:11px;padding:15px;margin:18px 0}.ticket-result h3{color:#56823f;font-size:12px;margin:0 0 8px}.ticket-result p{font-size:12px;white-space:pre-wrap;line-height:1.7;color:#648150;margin:0}.ticket-confirm-actions{display:flex;gap:8px;margin:13px 0 0;flex-wrap:wrap}.ticket-confirm-actions .button{flex:1;font-size:11px}.contributor-row{display:grid;grid-template-columns:1fr 90px 28px;gap:8px;align-items:end;margin-bottom:9px}.contributor-row select,.contributor-row input{font-size:12px;min-height:39px}.contributor-row .icon-button{margin-bottom:1px}.activation-result{background:#f0f7ea;border:1px solid #d4e5c6;border-radius:13px;padding:18px}.activation-result h3{font-size:15px;color:#537642;margin-bottom:10px}.activation-result p{font-size:12px;color:#738a60;line-height:1.75}.activation-url{font-size:11px;overflow-wrap:anywhere;background:#fff;border:1px solid #e0e9d8;border-radius:8px;padding:12px;color:#6a8554;margin:12px 0}.activation-result .button{font-size:11px}.member-table{display:flex;flex-direction:column;gap:13px}.member-table .member-row{padding:12px;border:1px solid var(--line);border-radius:11px;margin:0}.member-table .member-row .avatar{width:36px;height:36px;min-width:36px}.member-table .member-row strong{font-size:12px}.member-table .member-row small{font-size:10px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.guide-card{padding:21px;display:flex;flex-direction:column;min-height:200px}.guide-card .guide-icon{width:34px;height:34px;background:#edf4e7;border-radius:11px;display:flex;align-items:center;justify-content:center;color:#7fa469;margin-bottom:16px}.guide-card h3{font-size:15px;line-height:1.5;margin:7px 0 10px}.guide-card p{font-size:11px;color:#85947a;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.guide-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:11px}.guide-card-bottom .text-button{font-size:11px}.guide-content{white-space:pre-wrap;line-height:1.9;font-size:13px;overflow-wrap:anywhere}.guide-category{font-size:9px;color:#95a386;letter-spacing:.04em}.admin-layout{display:flex;flex-direction:column;gap:18px}.admin-tabs{background:#fff;border:1px solid var(--line);border-radius:12px;padding:3px 8px}.admin-tabs .tab{padding:12px 15px}.policy-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.policy-nav{display:flex;flex-direction:column;gap:7px}.policy-nav button{text-align:left;border:1px solid var(--line);background:#fff;border-radius:11px;padding:14px;color:var(--muted)}.policy-nav button.active{background:#ebf3e6;border-color:#cdddbe;color:#61824a}.policy-nav strong{font-size:12px;display:block}.policy-nav small{font-size:10px;display:block;margin-top:5px;color:#99a38d}.policy-editor{padding:23px}.policy-editor>h3{font-size:18px;margin-bottom:8px}.policy-editor>.helper-copy{margin-bottom:24px}.schedule-table{width:100%;border-collapse:collapse;font-size:11px}.schedule-table th{text-align:left;font-size:10px;font-weight:600;color:#91a080;padding:6px 5px 10px}.schedule-table td{padding:6px 5px;vertical-align:middle}.schedule-table td:first-child{white-space:nowrap;font-size:11px;color:#6a8058}.schedule-table select,.schedule-table input{font-size:11px;min-height:36px;padding:8px}.schedule-table .schedule-status{width:139px}.schedule-table small{font-size:9px;color:var(--muted)}.holiday-row{display:grid;grid-template-columns:135px 140px 1fr 28px;gap:7px;margin-bottom:8px;align-items:center}.holiday-row input,.holiday-row select{font-size:11px;min-height:36px;padding:8px}.policy-subsection{margin:25px 0 15px;font-size:13px;font-weight:650}.audit-line{display:flex;gap:13px;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.audit-line:last-child{border:0}.audit-line time{font-size:10px;color:var(--muted);min-width:120px}.audit-line strong{font-weight:650}.audit-line p{margin:4px 0 0;color:var(--muted);font-size:11px}.preformatted-safe{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:var(--muted);font-family:var(--font)}.toast-stack{position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;flex-direction:column;gap:8px;max-width:360px;pointer-events:none}.toast{background:#1e4635;color:#fff;border:1px solid #2c5a45;border-radius:12px;padding:13px 16px;box-shadow:0 8px 25px #132c2333;font-size:12px;display:flex;align-items:center;gap:10px;pointer-events:auto;animation:toast-in .2s ease-out}.toast.error{background:#994b43;border-color:#b7645b}.toast.warning{background:#8d733e;border-color:#ac925b}.toast svg{width:18px;height:18px}.toast>button{background:none;border:0;color:inherit;margin-left:7px;padding:0;display:flex;opacity:.7}.toast>button svg{width:14px;height:14px}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.noscript-notice{position:fixed;bottom:0;left:0;right:0;padding:20px;background:var(--warning-wash);color:var(--warning);z-index:1000;text-align:center}.info-pairs{display:grid;grid-template-columns:1fr 1fr;gap:13px}.info-pairs>div{padding:13px;background:#f6f8f2;border:1px solid #e5eade;border-radius:10px;min-width:0}.info-pairs small{color:var(--muted);font-size:10px;display:block;margin-bottom:4px}.info-pairs strong{font-size:12px;word-break:break-word}.source-quote{white-space:pre-wrap;overflow-wrap:anywhere;border-left:3px solid #90b679;background:#f0f7e9;padding:12px 14px;font-size:12px;color:#6e8b5a;border-radius:5px;max-height:150px;overflow:auto;margin-bottom:19px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.compact-list{display:flex;flex-direction:column;gap:10px}.compact-list-item{border:1px solid var(--line);padding:13px;border-radius:11px}.compact-list-item h4{font-size:12px;margin:0 0 7px}.compact-list-item p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.rating-row{display:flex;gap:8px}.rating-option{display:flex;align-items:center;gap:4px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:12px;cursor:pointer}.rating-option:has(input:checked){background:#fff4dd;border-color:#e4c98c;color:#9a752d}.mobile-only{display:none}.report-notice{padding:14px 17px;border:1px solid #e6e7d1;background:#faf9ee;border-radius:11px;color:#8d885b;font-size:11px;line-height:1.7;margin-bottom:20px}.status-total{font-size:11px;color:var(--muted)}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.pager-buttons{display:flex;gap:6px}.filter-chip{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:5px 9px;border-radius:99px;color:#789465;background:#eef4e9}.inline-note{background:#f7f9f2;border:1px solid #e6eddd;border-radius:9px;padding:11px;font-size:11px;color:#8c997c;line-height:1.7}
@media(min-width:1650px){.rooms-layout{grid-template-columns:340px minmax(400px,1fr) 345px}.room-list-heading{padding:24px 22px 18px}.room-item{padding:16px 13px}.room-item-name{font-size:13px}.room-item-preview{font-size:11px;max-width:248px}.room-item-bottom .badge{font-size:9px}.conversation-header{padding:20px 28px}.messages{padding:28px 38px}.message{max-width:78%}.message-bubble{font-size:13px;padding:12px 15px}.message-meta strong{font-size:11px}.detail-section{padding:21px 23px}.detail-section-header h3{font-size:12px}.detail-pair{font-size:11px}.detail-profile{padding:27px 23px}.detail-profile h3{font-size:16px}.ticket-card>strong{font-size:12px}.member-row .grow strong{font-size:11px}.composer{padding:16px 28px 18px}.compose-box textarea{min-height:59px;font-size:13px}.guide-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.auth-story{padding-left:max(70px,7vw)}.story-content{max-width:640px}.story-content h1{font-size:64px}.story-content>p{font-size:17px;max-width:440px}.support-illustration{max-width:445px;margin-top:26px}.auth-form-wrap{max-width:420px}.auth-form-wrap h2{font-size:46px}.auth-description{font-size:14px}.auth-form .field{font-size:12px}.auth-form .field input{font-size:13px;min-height:54px}.auth-submit{min-height:55px;font-size:13px}}
@media(max-width:1230px){.rooms-layout{grid-template-columns:280px minmax(0,1fr)}.room-detail{display:none;position:absolute;right:0;top:84px;bottom:0;width:320px;z-index:15;box-shadow:-12px 0 40px #26412818}.rooms-layout.show-details .room-detail{display:flex}.detail-close{display:flex;position:absolute;top:9px;right:9px}.room-detail-toggle{display:inline-flex}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-story{padding-left:38px;padding-right:38px}.story-content h1{font-size:44px}.auth-entry{padding-left:38px;padding-right:38px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-story{min-height:760px}.story-content{padding:45px 0 20px}.support-illustration{max-width:360px}.illustration-tag{right:-15px}.settings-grid{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr 1fr}}
@media(max-width:960px){.auth-story{padding:32px 29px 25px}.auth-entry{padding:30px}.story-content h1{font-size:38px}.story-content>p{font-size:13px}.story-brand strong{font-size:17px}.brand-image{width:53px;height:53px}.support-illustration{padding-top:25px}.illustration-card{padding:15px}.illustration-tag{font-size:9px;right:-10px}.auth-form-wrap{padding:50px 0}.auth-form-wrap h2{font-size:37px}.auth-topline>span{font-size:8px}.auth-hotline{font-size:10px}.auth-description{font-size:12px}.entry-footer strong{font-size:7px}.main-nav{width:74px;min-width:74px;padding:16px 6px 12px}.nav-brand{width:46px;height:46px;margin-bottom:23px;border-radius:12px}.nav-item{font-size:8px;min-height:58px}.nav-item svg{width:19px;height:19px}.nav-item.active:before{left:-6px}.workspace-header{height:74px;min-height:74px;padding:0 21px}.room-detail{top:74px}.workspace-heading h1{font-size:19px}.rooms-layout{grid-template-columns:255px minmax(0,1fr)}.room-list-heading{padding:18px 13px 13px}.room-item{padding:12px 8px;gap:8px}.room-item .avatar{width:32px;height:32px;min-width:32px;font-size:10px;border-radius:10px}.room-item-name{font-size:11px}.room-item-preview{max-width:173px}.room-item-time{font-size:8px}.room-filter{padding:6px;font-size:9px}.conversation-header{padding:15px;min-height:76px}.conversation-title h2{font-size:13px}.conversation-header .avatar{width:35px;height:35px;min-width:35px;border-radius:11px;font-size:11px}.conversation-subtitle{font-size:9px;gap:4px}.conversation-toolbar{padding:9px 15px}.messages{padding:17px}.message{max-width:95%}.message-actions{opacity:1}.composer{padding:12px 15px}.connection-status{margin-right:2px}.connection-status>span{display:none}.header-user{max-width:160px}.header-user>span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-content{padding:21px 20px 30px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:1fr}.page-toolbar h2{font-size:21px}.page-toolbar .toolbar-actions{justify-content:flex-end}.policy-grid{grid-template-columns:180px minmax(0,1fr);gap:14px}.policy-editor{padding:18px}.schedule-table .schedule-status{width:117px}.holiday-row{grid-template-columns:130px 1fr 30px}.holiday-row .holiday-windows{grid-column:1/3;grid-row:2}.holiday-row .icon-button{grid-column:3;grid-row:1}.guide-grid{gap:13px}.ticket-dialog-grid{grid-template-columns:minmax(0,1fr) 200px;gap:19px}}
@media(max-width:720px){.auth-layout{grid-template-columns:1fr;min-height:100dvh}.auth-story{min-height:0;padding:23px 24px 28px}.story-brand{gap:9px}.brand-image{width:43px;height:43px;border-radius:11px}.story-brand strong{font-size:16px}.story-brand small{font-size:7px}.story-content{padding:30px 0 0;max-width:none;margin:0}.story-content>.eyebrow{font-size:8px;margin-bottom:15px}.story-content h1{font-size:35px;line-height:1.15;margin-bottom:13px}.story-content>p{font-size:12px;line-height:1.8;max-width:320px;margin-bottom:0}.support-illustration,.story-footer{display:none}.auth-entry{padding:21px 25px 21px;min-height:600px}.auth-topline{display:none}.auth-form-wrap{max-width:400px;padding:10px 0 37px}.entry-mark{width:38px;height:38px;border-radius:11px;margin-bottom:17px}.entry-mark svg{height:20px;width:20px}.auth-form-wrap>.entry-mark{display:none}.auth-form-wrap>.eyebrow{font-size:8px;margin:4px 0 8px}.auth-form-wrap h2{font-size:31px;margin-bottom:11px}.auth-description{font-size:12px;margin-bottom:12px}.auth-audiences{margin-bottom:23px;font-size:9px}.auth-form .field{font-size:11px}.auth-form .field input{font-size:13px;min-height:49px}.auth-form{gap:17px}.auth-help-row{margin-top:0;font-size:9px}.auth-submit{font-size:13px;min-height:49px}.auth-contact{font-size:10px;margin-top:20px}.entry-footer{max-width:400px;width:100%;margin:0 auto;gap:11px}.entry-footer strong{font-size:7px}.entry-footer span{font-size:8px}.entry-footer img{width:49px}.password-layout{padding:25px 15px}.password-card{padding:26px 23px;border-radius:19px}.password-card h1{font-size:27px}.password-card>.muted{font-size:12px}.password-brand{margin-bottom:22px}.workspace-page{height:100dvh}.app-shell{display:block;height:100dvh;padding-bottom:67px}.main-nav{width:100%;height:67px;min-height:67px;min-width:0;position:fixed;bottom:0;left:0;right:0;flex-direction:row;padding:4px 6px max(4px,env(safe-area-inset-bottom));border:0;background:#fff;color:var(--ink);box-shadow:0 -1px 0 var(--line);gap:2px}.nav-brand{display:none}.main-nav nav{flex-direction:row;flex:1;min-width:0;overflow:auto;scrollbar-width:none;gap:0}.nav-item{min-height:54px;min-width:58px;font-size:8px;border-radius:9px;padding:7px 7px;gap:5px;color:#8ca080;flex:1}.nav-item svg{width:20px;height:20px}.nav-item.active{background:#edf5e8;color:#50863c}.nav-item:hover{color:#527d44;background:#f4f8ef}.nav-item.active:before{display:none}.nav-bottom{margin:0;display:flex;flex-direction:row;flex:none;min-width:58px;gap:0}.nav-bottom form{display:none}.nav-bottom .nav-item{min-width:54px}.nav-user-avatar{width:23px;height:23px;font-size:9px;border-radius:8px;background:#d6e9cb}.app-body{height:100%;min-height:0}.workspace-header{height:67px;min-height:67px;padding:0 17px}.workspace-heading h1{font-size:18px}.workspace-heading .eyebrow{font-size:7px;letter-spacing:.14em;margin-bottom:4px}.workspace-header-actions{gap:8px}.header-user{display:none}.header-avatar{width:33px;height:33px;min-width:33px;font-size:10px;border-radius:11px}.connection-status{margin:0 3px 0 0}.app-notice{padding:8px 14px;font-size:10px}.rooms-layout{display:block;height:100%;position:relative}.room-list-panel{height:100%;border-right:0}.room-list-heading{padding:17px 17px 12px}.room-list-title{margin-bottom:12px}.room-list-title h2{font-size:15px}.room-filter{font-size:11px;padding:7px 12px}.room-filter-tabs{gap:5px}.room-list{padding:0 10px 12px}.room-item{padding:15px 9px;border-radius:12px;gap:12px;margin-bottom:2px}.room-item .avatar{width:43px;height:43px;min-width:43px;font-size:13px;border-radius:14px}.room-item-name{font-size:13px}.room-item-time{font-size:10px}.room-item-preview{font-size:11px;max-width:none;line-height:1.7}.room-item-bottom{margin-top:7px}.room-item-bottom .badge{font-size:9px;padding:3px 6px}.room-tickets-count{font-size:9px}.room-unread{height:19px;min-width:19px;font-size:10px}.room-list-foot{padding:12px 17px;font-size:10px}.room-list-foot .text-button{font-size:11px}.rooms-layout>.conversation{display:none}.rooms-layout.room-open>.room-list-panel{display:none}.rooms-layout.room-open>.conversation{display:flex;height:100%;min-height:0}.conversation-header{padding:12px 12px 12px 7px;gap:8px;min-height:70px}.conversation-title h2{font-size:13px;margin-bottom:4px}.conversation-subtitle{font-size:9px}.conversation-header .avatar{width:33px;height:33px;min-width:33px;border-radius:11px;font-size:10px}.mobile-back{display:flex;width:28px;height:33px;min-width:28px}.mobile-back svg{width:20px;height:20px}.room-detail-toggle{display:flex;width:31px;height:31px;min-width:31px}.conversation-toolbar{padding:7px 13px;min-height:36px;font-size:9px;gap:6px}.conversation-toolbar .badge{font-size:8px}.conversation-toolbar .text-button{font-size:9px}.messages{padding:15px 12px 18px}.message{max-width:96%;margin:14px 0;gap:6px}.message>.avatar{width:24px;height:24px;min-width:24px;font-size:8px;border-radius:8px}.message-bubble{font-size:12px;padding:9px 11px;line-height:1.75}.message-meta{font-size:8px;gap:5px;margin-bottom:4px}.message-meta strong{font-size:9px}.message-actions{opacity:1}.message-actions .icon-button{width:23px;height:23px;min-width:23px}.message-footer{font-size:8px;gap:5px}.message-photo{max-width:240px}.message-system{font-size:9px;max-width:91%}.chat-date{font-size:8px;margin:16px 0}.chat-welcome{font-size:10px;padding:13px 15px;max-width:290px}.composer{padding:10px 12px 8px}.composer-top{margin-bottom:7px;gap:6px}.composer-mode button{padding:5px 7px;font-size:8px}.composer-ticket{max-width:155px;font-size:9px;padding:4px 15px 4px 6px;min-height:25px}.compose-box{padding:9px 9px 6px;border-radius:10px}.compose-box textarea{font-size:13px;min-height:36px;max-height:95px;padding-bottom:4px}.compose-tools .icon-button{height:27px;width:27px;min-width:27px}.send-button{width:33px;height:30px}.composer-hint{font-size:7px;margin-top:5px}.composer-hint .keyboard-hint{display:none}.composer-reply{font-size:9px;padding:7px 8px}.composer-reply p{max-width:230px}.room-detail{top:0;bottom:0;right:0;width:100%;z-index:16;box-shadow:none}.rooms-layout.show-details .conversation{display:none}.detail-close{position:fixed;top:77px;right:12px;background:#f4f7ee;z-index:2}.detail-profile{padding:26px 22px 21px}.detail-profile h3{font-size:16px}.detail-profile .avatar{width:59px;height:59px;font-size:18px}.detail-profile p{font-size:12px}.detail-profile .badge{font-size:10px}.license-caption{font-size:9px}.detail-section{padding:21px 22px}.detail-section-header h3{font-size:13px}.detail-section-header .text-button{font-size:11px}.detail-pair{font-size:12px;margin-bottom:13px}.member-row{gap:11px;margin-bottom:15px}.member-row .avatar{width:36px;height:36px;min-width:36px;font-size:11px}.member-row .grow strong{font-size:12px}.member-row .grow small{font-size:10px}.ticket-card{padding:13px}.ticket-card>strong{font-size:12px}.ticket-card-top{font-size:9px}.ticket-card-foot{font-size:10px}.ticket-card-top .badge{font-size:9px}.followup-mini strong{font-size:12px}.followup-mini span{font-size:10px}.detail-empty{font-size:11px}.conversation-search-results{font-size:10px;padding:10px 13px}.page-content{padding:20px 15px 28px}.page-toolbar{flex-direction:column;gap:14px;margin-bottom:19px}.page-toolbar h2{font-size:22px}.page-toolbar p{font-size:11px}.toolbar-actions{width:100%;gap:7px}.page-toolbar .toolbar-actions{justify-content:flex-start}.toolbar-actions .button{font-size:11px;min-height:37px;padding:8px 12px}.filter-row{gap:7px}.filter-row .search-field{max-width:none;flex-basis:100%}.filter-row select{flex:1;max-width:none;font-size:11px}.surface{border-radius:12px}.surface-header{padding:15px}.surface-header h3{font-size:13px}.surface-body{padding:16px}.data-table{font-size:11px}.data-table th{font-size:9px;padding:11px 13px}.data-table td{padding:12px 13px}.table-primary,.table-link{max-width:225px}.table-secondary{font-size:9px}.metric-grid{gap:10px;margin-bottom:17px}.metric-card{padding:15px;border-radius:12px}.metric-label{font-size:10px;margin-bottom:12px}.metric-label svg{width:15px;height:15px}.metric-value{font-size:26px}.metric-hint{font-size:9px}.report-date{font-size:11px;width:135px;min-height:36px}.report-grid{gap:15px;margin:16px 0}.report-notice{font-size:10px;margin-bottom:17px;padding:12px}.stat-row{font-size:11px;gap:9px}.stat-row>label{min-width:105px}.stat-row>strong{font-size:11px}.stat-track{height:6px}.guide-grid{grid-template-columns:1fr;gap:12px}.guide-card{padding:19px;min-height:175px}.guide-card .guide-icon{margin-bottom:12px}.guide-card h3{font-size:15px}.guide-card p{font-size:12px}.admin-tabs .tab{font-size:11px;padding:12px}.policy-grid{grid-template-columns:1fr;gap:13px}.policy-nav{flex-direction:row;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.policy-nav button{min-width:128px;padding:11px}.policy-nav strong{font-size:11px}.policy-nav small{font-size:9px}.policy-editor{padding:16px}.policy-editor>h3{font-size:17px}.schedule-table .schedule-status{width:116px}.schedule-table th{font-size:9px}.schedule-table td{padding:5px 3px}.schedule-table td:first-child{font-size:10px}.schedule-table input,.schedule-table select{padding:7px 5px;font-size:10px;min-height:35px}.holiday-row{grid-template-columns:130px 1fr 25px}.policy-subsection{font-size:12px}.info-pairs{gap:10px}.info-pairs>div{padding:11px}.info-pairs small{font-size:9px}.info-pairs strong{font-size:11px}.settings-grid{gap:14px}.crm-dialog,.crm-dialog.wide{max-width:calc(100vw - 20px);width:calc(100vw - 20px);max-height:calc(100dvh - 30px);border-radius:16px}.dialog-header{padding:19px 19px 15px}.dialog-header h2{font-size:19px}.dialog-header .eyebrow{font-size:7px}.dialog-body{padding:18px 19px 20px;max-height:calc(100dvh - 119px)}.dialog-intro{font-size:11px}.form-grid{grid-template-columns:1fr;gap:14px}.form-grid>.full-span{grid-column:auto}.field{font-size:12px}.field input,.field select,.field textarea{font-size:13px}.field small{font-size:10px}.form-actions{margin-top:20px;gap:7px;flex-wrap:wrap}.form-actions .button{font-size:11px;padding:9px 13px;min-height:39px}.checkbox-grid{grid-template-columns:1fr;gap:11px}.checkbox-label{font-size:12px}.ticket-dialog-grid{grid-template-columns:1fr;gap:17px}.ticket-dialog-aside{border-top:1px solid var(--line);padding-top:3px}.ticket-title{font-size:18px}.ticket-description{font-size:12px}.ticket-button-stack{display:grid;grid-template-columns:1fr 1fr}.ticket-button-stack .button{font-size:10px;min-height:37px}.ticket-properties{margin:14px 0}.ticket-timeline{margin-top:20px}.ticket-confirm-actions .button{font-size:11px}.member-table .member-row{padding:10px;gap:9px}.member-table .member-row strong{font-size:11px}.member-table .row-actions .button{font-size:9px;padding:6px 8px}.contributor-row{grid-template-columns:minmax(0,1fr) 65px 28px;gap:6px}.contributor-row input,.contributor-row select{font-size:11px}.audit-line{flex-direction:column;gap:5px;font-size:11px}.audit-line time{font-size:9px}.toast-stack{left:14px;right:14px;bottom:82px;max-width:none}.toast{font-size:11px;padding:12px 14px}.mobile-only{display:block}.desktop-only{display:none!important}.rating-row{gap:5px}.rating-option{padding:8px;font-size:11px}.member-table .member-row{flex-wrap:wrap}.member-table .row-actions{width:100%;padding-left:44px}.initial-loading{min-height:60vh}.status-total{font-size:10px}.pagination-bar{padding:12px 13px;font-size:10px}.pager-buttons .button{font-size:10px}.new-message-prompt{bottom:148px}.room-open .message-photo img{max-height:215px}}
@media(max-width:370px){.auth-story{padding:21px}.story-content h1{font-size:32px}.auth-entry{padding:21px}.workspace-header{padding:0 13px}.nav-item{min-width:53px;font-size:7px;padding-left:4px;padding-right:4px}.nav-bottom,.nav-bottom .nav-item{min-width:48px}.conversation-title h2{font-size:12px}.conversation-header{gap:6px}.conversation-subtitle{font-size:8px}.composer-ticket{max-width:122px}.metric-card{padding:13px}.metric-label{font-size:9px}.metric-value{font-size:24px}.dialog-header{padding:17px}.dialog-body{padding:16px}.schedule-table .schedule-status{width:102px}.schedule-table select{font-size:9px}.schedule-table input{font-size:9px}.form-actions .button{flex:1}.rating-option{padding:7px;font-size:10px}}
.stat-progress{height:7px;flex:1;min-width:40px;border:0;border-radius:99px;background:#edf2ed;appearance:none;overflow:hidden}.stat-progress::-webkit-progress-bar{background:#edf2ed;border-radius:99px}.stat-progress::-webkit-progress-value{background:#7ea58f;border-radius:99px}.stat-progress::-moz-progress-bar{background:#7ea58f;border-radius:99px}.ticket-confirm-hint{margin-top:10px}.clipboard-fallback{position:fixed;top:0;left:0;width:1px;height:1px;opacity:.01}.auth-form .field input:disabled{background:#f0f3ed}.room-detail .member-row>span>svg{height:14px;width:14px;color:#8da17e}
.score-breakdown{margin-top:8px;font-size:10px;white-space:normal;max-width:320px;min-width:210px}.score-breakdown summary{color:var(--brand);cursor:pointer;font-weight:600}.score-breakdown>div{padding:8px 0;border-bottom:1px solid var(--line)}.score-breakdown strong{display:block;font-size:10px}.score-breakdown span{display:block;font-size:9px;color:var(--muted);margin-top:3px;line-height:1.7}
.search-field>.icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#95a49a;pointer-events:none;width:17px;height:17px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Admin customer selection and first-account action, 3.3.15. */
.customer-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:16px 18px;border:1px solid #b9d6cc;border-radius:12px;background:#eff8f4}
.customer-bulk-bar>div:first-child{display:grid;gap:5px;min-width:0}
.customer-bulk-bar .helper-copy{margin:0;font-size:12px}
.customer-bulk-bar .toolbar-actions{flex-shrink:0}
.customer-directory-table .customer-pick{width:44px;text-align:center;padding-left:14px;padding-right:10px}
.customer-pick input{width:19px;height:19px;accent-color:#176c54;cursor:pointer;vertical-align:middle}
.customer-pick input:disabled{cursor:default}
.customer-directory-table tr.customer-selected>td{background:#eff8f4}
.customer-directory-table .customer-identity-cell{min-width:185px}
.customer-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cag-billing-badge{display:inline-flex;align-items:center;gap:5px;background:#e8f2ff;color:#14558a;border:1px solid #bcd6ed;white-space:nowrap;font-weight:700;vertical-align:middle}
.cag-billing-badge .icon{width:14px;height:14px;flex:none}
.customer-service-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start}
.room-item-bottom{flex-wrap:wrap;row-gap:5px}.detail-profile>.cag-billing-badge{margin-left:5px}
.customer-manager{display:flex;align-items:flex-start;gap:6px}.customer-manager .icon{width:17px;height:17px;flex:none;color:#20776b}
.customer-address{max-width:270px;white-space:normal;overflow-wrap:anywhere}
.customers-page .filter-row{flex-wrap:wrap}.customers-page .filter-row select{max-width:100%;min-width:160px}
.customers-page .filter-row .search-field{flex:1 1 300px;min-width:180px}
.billing-profile-heading{display:flex;gap:14px;align-items:center;margin:4px 0 20px}.billing-profile-heading>div{min-width:0}.billing-profile-heading h3{margin:0 0 7px;overflow-wrap:anywhere}.billing-profile-heading p{margin:7px 0 0;color:#64796f}
.billing-customer-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:0 0 20px}.billing-customer-facts>div{padding:10px 0;border-bottom:1px solid #e5ede9;min-width:0}.billing-customer-facts dt{font-size:12px;color:#64796f;margin-bottom:4px}.billing-customer-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.billing-editor{border:1px solid #c5dad3;background:#f5faf8;padding:18px;border-radius:12px}.billing-editor h3{display:flex;align-items:center;gap:8px;margin-top:0}.billing-editor .field{margin-top:14px}.billing-note{white-space:pre-wrap;overflow-wrap:anywhere}.billing-updated{margin-bottom:0}
@media(max-width:600px){.billing-customer-facts{grid-template-columns:1fr}.billing-editor{padding:14px}.customer-row-actions .button{flex:1 1 130px;justify-content:center}.customers-page .filter-row select{flex:1 1 150px;min-width:0}.customers-page .filter-row .search-field{min-width:0}}
.customer-first-account{box-shadow:0 3px 8px #176c5426;font-weight:700;white-space:normal;text-align:left;min-height:38px}
.customer-share-summary{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:12px;background:#eff8f4;margin-bottom:14px}
.customer-share-summary>span{display:grid;place-items:center;width:40px;height:40px;background:#d6ede2;border-radius:10px;color:#176c54}
.customer-share-summary strong{font-size:17px}.customer-share-summary p{margin:4px 0 0;font-size:13px}
.customer-share-preview{list-style:none;margin:0 0 16px;padding:0;max-height:300px;overflow:auto;border:1px solid #e0e8e4;border-radius:10px}
.customer-share-preview li{display:grid;gap:4px;padding:11px 14px;border-bottom:1px solid #e0e8e4;overflow-wrap:anywhere}
.customer-share-preview li:last-child{border-bottom:0}.customer-share-preview span{font-size:12px;color:#5b6b66}
@media(min-width:721px) and (max-width:1100px){
 .workspace-page:has(.customers-page) .workspace-header{flex-wrap:wrap;height:auto;min-height:74px;padding-top:12px;padding-bottom:12px;gap:10px}
 .workspace-page:has(.customers-page) .workspace-header-actions{flex:1 1 100%;justify-content:flex-end}
}
@media(max-width:1100px){
 .workspace-header .app-notice{max-height:32px;overflow:hidden}
 .customer-bulk-bar{align-items:stretch;flex-direction:column;padding:14px;gap:12px}
 .customer-bulk-bar .toolbar-actions{justify-content:space-between;flex-wrap:wrap}
 .customer-bulk-bar .button{white-space:normal}
 .customers-page .filter-row{flex-wrap:wrap}.customers-page .filter-row>*{min-width:0;max-width:100%}
 .customer-directory-table,.customer-directory-table tbody{display:block;min-width:0;width:100%}
 .customer-directory-table thead{display:block}.customer-directory-table thead tr{display:block;border:0;padding:0}
 .customer-directory-table thead th{display:none}.customer-directory-table thead th.customer-pick{display:flex;width:100%;gap:9px;align-items:center;padding:12px 16px}
 .customer-directory-table thead th.customer-pick:after{content:'Chọn tất cả trong bộ lọc';font-size:12px;font-weight:600}
 .customer-directory-table tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:16px;border-bottom:1px solid #e0e8e4}
 .customer-directory-table tbody td{display:block;border:0;padding:8px 6px;min-width:0;overflow-wrap:anywhere}
 .customer-directory-table tbody .customer-pick{position:absolute;right:10px;top:12px;padding:8px;width:auto}
 .customer-directory-table tbody .customer-identity-cell{grid-column:1/-1;padding-right:36px;min-width:0}
 .customer-directory-table tbody td[data-label]:before{display:block;content:attr(data-label);font-size:10px;font-weight:600;color:#6a7c75;margin-bottom:5px;text-transform:uppercase}
 .customer-directory-table tbody .customer-actions{grid-column:1/-1;padding-top:12px}
 .customer-directory-table .customer-first-account{flex:1;justify-content:center;text-align:center}
 .customer-directory-table tbody tr.customer-selected{background:#eff8f4}
 .customers-page .pagination-bar{flex-wrap:wrap;gap:8px}
}

/* Admin release evidence, kept separate from customer-facing screens. */
.release-status{min-width:0}.release-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 28px;background:#eaf6ef;border:1px solid #cce3d8;border-radius:16px}.release-hero h2{font-size:34px;margin:9px 0}.release-hero p{margin:0;color:var(--ink-soft)}.release-hero-actions{display:flex;flex-direction:column;align-items:flex-end;gap:13px}.release-checked{font-size:12px;color:var(--muted);margin:12px 0 20px}.release-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.release-card{padding:20px;min-width:0}.release-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}.release-card-heading h3{margin:0;font-size:15px}.release-card-value{display:block;font-size:22px;letter-spacing:-.02em;margin-bottom:12px;overflow-wrap:anywhere}.release-card p{font-size:13px;line-height:1.7;color:var(--ink-soft);margin:10px 0 0}.release-counts{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.release-counts span{padding:5px 9px;border-radius:6px;color:#876124;background:#fff4df;font-size:12px}.release-facts{margin:0;display:grid;gap:10px}.release-facts>div{display:flex;justify-content:space-between;gap:14px;font-size:12px}.release-facts dt{color:var(--muted)}.release-facts dd{margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere}.release-browser .button{margin-top:14px}.release-issues{margin-top:18px;overflow:hidden}.release-issues ul{list-style:none;margin:0;padding:0 20px}.release-issues li{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.release-issues li:last-child{border:0}.release-issues code{overflow-wrap:anywhere;min-width:0;color:var(--ink-soft)}.release-issues li>span{flex-shrink:0;color:#916329}.release-issues>.helper-copy{padding:0 20px}.release-scope{display:flex;gap:10px;align-items:flex-start;padding:20px 2px;color:var(--muted);font-size:12px;line-height:1.8}.release-scope p{margin:0}.release-scope [data-icon]{margin-top:3px}.page-content:has(.release-status)>.page-toolbar{flex-wrap:wrap}.page-content:has(.release-status)>.page-toolbar .toolbar-actions{flex-wrap:wrap}
@media(max-width:820px){.release-grid{grid-template-columns:1fr}.release-hero{padding:20px;align-items:flex-start;flex-direction:column}.release-hero h2{font-size:29px}.release-hero-actions{flex-direction:row;align-items:center;justify-content:space-between;width:100%}.release-card{padding:17px}.release-issues li{flex-direction:column;gap:6px}}
@media(min-width:721px) and (max-width:1100px){.workspace-page:has(.release-status) .workspace-header{flex-wrap:wrap;height:auto;min-height:74px;padding-top:12px;padding-bottom:12px;gap:10px}.workspace-page:has(.release-status) .workspace-header-actions{flex:1 1 100%;justify-content:flex-end}}
