.customer-sheet{--sh-ink:#1f2937;--sh-text:#374151;--sh-muted:#6b7280;--sh-faint:#9ca3af;--sh-line:#e5e7eb;--sh-line-soft:#eef1f5;--sh-band:#f8fafc;--sh-mono:ui-monospace,"Cascadia Mono","SF Mono",Menlo,Consolas,monospace;--sh-ok:#0f7a4e;--sh-ok-bg:#e7f6ee;--sh-warn:#b45309;--sh-warn-bg:#fff4df;--sh-bad:#b91c1c;--sh-bad-bg:#fdecec;--sh-info:#1d4ed8;--sh-info-bg:#e8effd;--sh-purple:#6d28d9;--sh-purple-bg:#f0e9ff;--sh-radius:14px;--sh-shadow:0 1px 2px #1118270a,0 6px 20px #1118270a;--motion:.18s cubic-bezier(.2,.7,.2,1);max-width:1440px;color:var(--sh-ink);gap:14px;margin:0 auto;display:grid}.customer-sheet *{box-sizing:border-box;min-width:0}.app-icon{vertical-align:-3px;flex:none;display:inline-block}.app-icon.spin{animation:.9s linear infinite sheet-spin}@keyframes sheet-spin{to{transform:rotate(360deg)}}.icon-badge{width:32px;height:32px;color:var(--sh-muted);background:#f3f4f6;border-radius:9px;flex:none;place-items:center;display:inline-grid}.icon-badge.size-lg{border-radius:11px;width:40px;height:40px}.icon-badge.tone-primary{color:#c81623;background:#fde8e9}.icon-badge.tone-success{background:var(--sh-ok-bg);color:var(--sh-ok)}.icon-badge.tone-warning{background:var(--sh-warn-bg);color:var(--sh-warn)}.icon-badge.tone-danger{background:var(--sh-bad-bg);color:var(--sh-bad)}.icon-badge.tone-info{background:var(--sh-info-bg);color:var(--sh-info)}.icon-badge.tone-purple{background:var(--sh-purple-bg);color:var(--sh-purple)}.icon-badge.tone-muted{color:var(--sh-faint);background:#f3f4f6}.icon-btn{width:28px;height:28px;color:var(--sh-muted);cursor:pointer;transition:background var(--motion),color var(--motion),transform var(--motion);background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;padding:0;display:inline-grid}.icon-btn:hover{color:var(--sh-ink);background:#f3f4f6}.icon-btn:active{transform:scale(.96)}.icon-btn[data-danger]:hover{background:var(--sh-bad-bg);color:var(--sh-bad)}.icon-btn:focus-visible,.customer-sheet button:focus-visible,.customer-sheet a:focus-visible{outline:2px solid var(--red);outline-offset:2px}.link-btn{color:var(--sh-info);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:12.5px;font-weight:600;display:inline-flex}.link-btn:hover{text-decoration:underline}.status-badge{height:24px;color:var(--sh-text);white-space:nowrap;transition:background var(--motion);background:#f3f4f6;border-radius:999px;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:600;line-height:1;display:inline-flex}.status-badge.size-sm{height:20px;padding:0 7px;font-size:11px}.status-badge.tone-success{background:var(--sh-ok-bg);color:var(--sh-ok)}.status-badge.tone-danger{background:var(--sh-bad-bg);color:var(--sh-bad)}.status-badge.tone-warning{background:var(--sh-warn-bg);color:var(--sh-warn)}.status-badge.tone-info{background:var(--sh-info-bg);color:var(--sh-info)}.status-badge.tone-purple{background:var(--sh-purple-bg);color:var(--sh-purple)}.status-badge.tone-muted{color:var(--sh-muted);background:#f3f4f6}.sheet-head{border:1px solid var(--sh-line);border-radius:var(--sh-radius);box-shadow:var(--sh-shadow);background:#fff;gap:10px;padding:16px 22px 18px;display:grid}.customer-sheet .customer-back{width:max-content;color:var(--sh-muted);cursor:pointer;transition:color var(--motion);background:0 0;border:0;align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:inline-flex;min-height:auto!important;padding:0!important}.customer-sheet .customer-back:hover{color:var(--sh-ink)}.sheet-head-main{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 24px;display:flex}.sheet-head-identity{flex:420px;gap:8px;min-width:0;display:grid}.customer-sheet-title{letter-spacing:-.01em;color:var(--sh-ink);overflow-wrap:anywhere;margin:0;font-size:22px;font-weight:800;line-height:1.2}.sheet-head-meta{color:var(--sh-muted);flex-wrap:wrap;align-items:center;gap:4px 0;font-size:13px;display:flex}.sheet-head-meta>span,.sheet-head-meta>code{color:var(--sh-muted);font-size:13px;font-weight:500}.sheet-head-meta>*+:not(.icon-btn):before{content:"";background:#d1d5db;width:1px;height:12px;margin:0 10px -2px;display:inline-block}.sheet-head-meta>.icon-btn{margin-left:6px}.customer-sheet-code{font-family:var(--sh-mono);color:var(--sh-ink)!important;font-weight:600!important}.customer-sheet-plan{color:var(--sh-ink)!important}.customer-sheet .customer-badges{flex-wrap:wrap;gap:6px;display:flex}.customer-sheet-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.since-chip{border:1px solid var(--sh-line);background:var(--sh-band);height:38px;color:var(--sh-text);white-space:nowrap;border-radius:9px;align-items:center;gap:6px;padding:0 12px;font-size:12.5px;font-weight:600;display:inline-flex}.customer-sheet-actions .primary{background:var(--red);color:#fff;min-height:38px;transition:transform var(--motion),box-shadow var(--motion),filter var(--motion);border-radius:9px;align-items:center;gap:6px;padding:0 16px;font-size:13.5px;font-weight:700;display:inline-flex;box-shadow:0 1px 2px #ef232940}.customer-sheet-actions .primary:hover{filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 4px 12px #ef232947}.customer-sheet-actions .primary:active{transform:scale(.98)}.customer-sheet-actions .customer-more-actions summary{min-height:38px;color:var(--sh-ink);cursor:pointer;white-space:nowrap;transition:background var(--motion);background:#fff;border:1px solid #d1d5db;border-radius:9px;align-items:center;gap:6px;padding:0 14px;font-size:13.5px;font-weight:600;list-style:none;display:inline-flex}.customer-sheet-actions .customer-more-actions summary::-webkit-details-marker{display:none}.customer-sheet-actions .customer-more-actions summary:hover{background:var(--sh-band)}.customer-sheet-actions .customer-more-actions>div{border:1px solid var(--sh-line);width:260px;animation:sheet-pop var(--motion);border-radius:10px;gap:0;padding:6px;box-shadow:0 12px 32px #11182724}.customer-sheet-actions .customer-more-actions>div button{width:100%;min-height:36px;color:var(--sh-ink);text-align:left;transition:background var(--motion);background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:500;display:flex}.customer-sheet-actions .customer-more-actions>div button:hover{background:var(--sh-band)}.customer-sheet-actions .customer-more-actions>div button.danger{color:var(--sh-bad)}.customer-sheet-actions .customer-more-actions>div hr{border:0;border-top:1px solid var(--sh-line-soft);margin:4px 0}@keyframes sheet-pop{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.sheet-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.stat-card{border:1px solid var(--sh-line);min-width:0;box-shadow:var(--sh-shadow);text-align:left;font:inherit;color:inherit;cursor:default;transition:transform var(--motion),box-shadow var(--motion),border-color var(--motion);background:#fff;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}button.stat-card{cursor:pointer}button.stat-card:hover{border-color:#d1d5db;transform:translateY(-2px);box-shadow:0 8px 24px #11182714}.stat-card.tone-success{background:linear-gradient(135deg,#fff,#f3fbf6)}.stat-card.tone-warning{background:linear-gradient(135deg,#fff,#fff8ec)}.stat-card.tone-danger{background:linear-gradient(135deg,#fff,#fff3f3)}.stat-card.tone-info{background:linear-gradient(135deg,#fff,#f1f5fe)}.stat-card.tone-purple{background:linear-gradient(135deg,#fff,#f6f1ff)}.stat-body{flex:1;gap:1px;min-width:0;display:grid}.stat-body small{letter-spacing:.04em;text-transform:uppercase;color:var(--sh-muted);font-size:11px;font-weight:600}.stat-body strong{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;line-height:1.25;overflow:hidden}.stat-card.tone-success strong{color:var(--sh-ok)}.stat-card.tone-warning strong{color:var(--sh-warn)}.stat-card.tone-danger strong{color:var(--sh-bad)}.stat-card.tone-info strong{color:var(--sh-info)}.stat-card.tone-purple strong{color:var(--sh-ink)}.stat-body span{color:var(--sh-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.customer-sheet .customer-sheet-tabs{border:1px solid var(--sh-line);box-shadow:var(--sh-shadow);scrollbar-width:none;background:#fff;border-radius:12px;gap:2px;margin:0;padding:0 8px;display:flex;overflow-x:auto}.customer-sheet .customer-sheet-tabs::-webkit-scrollbar{display:none}.customer-sheet .customer-sheet-tabs button{min-height:46px;color:var(--sh-muted);transition:color var(--motion),background var(--motion);background:0 0;border:0;border-radius:0;flex:none;align-items:center;gap:7px;padding:12px 14px;font-size:13.5px;font-weight:600;display:inline-flex;position:relative}.customer-sheet .customer-sheet-tabs button:after{content:"";background:var(--red);height:2px;transition:transform var(--motion);border-radius:2px 2px 0 0;position:absolute;bottom:0;left:10px;right:10px;transform:scaleX(0)}.customer-sheet .customer-sheet-tabs button:hover{color:var(--sh-ink);background:var(--sh-band)}.customer-sheet .customer-sheet-tabs button.active{color:var(--red)}.customer-sheet .customer-sheet-tabs button.active:after{transform:scaleX(1)}.sheet-body{gap:14px;padding:0;animation:.2s ease-out sheet-fade;display:grid}@keyframes sheet-fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.sheet-layout{grid-template-columns:minmax(0,1fr) minmax(280px,30%);align-items:start;gap:14px;display:grid}.sheet-main{gap:14px;min-width:0;display:grid}.sheet-aside{gap:14px;display:grid;position:sticky;top:104px}.aside-card{border:1px solid var(--sh-line);border-radius:var(--sh-radius);box-shadow:var(--sh-shadow);transition:transform var(--motion),box-shadow var(--motion);background:#fff;overflow:hidden}.aside-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #11182714}.aside-card>header,.aside-accordion>summary{border-bottom:1px solid var(--sh-line-soft);background:#fff;align-items:center;gap:10px;padding:12px 14px;display:flex}.aside-card h4{color:var(--sh-ink);flex:1;margin:0;font-size:14px;font-weight:700}.aside-rows{margin:0;padding:6px 14px;display:grid}.aside-rows>div{border-bottom:1px solid var(--sh-line-soft);justify-content:space-between;align-items:center;gap:12px;padding:7px 0;display:flex}.aside-rows>div:last-child{border-bottom:0}.aside-rows dt{color:var(--sh-muted);font-size:12.5px}.aside-rows dd{color:var(--sh-ink);text-align:right;overflow-wrap:anywhere;align-items:center;gap:2px;margin:0;font-size:13px;font-weight:600;display:inline-flex}.aside-rows dd.mono{font-family:var(--sh-mono);font-weight:500}.aside-rows .na{color:var(--sh-faint);font-weight:400}.aside-empty{color:var(--sh-faint);margin:0;padding:16px 14px;font-size:13px}.aside-card>footer{border-top:1px solid var(--sh-line-soft);padding:10px 14px}.aside-card>footer .link-btn{border:1px solid var(--sh-line);width:100%;min-height:32px;color:var(--sh-info);transition:background var(--motion);border-radius:8px;justify-content:center}.aside-card>footer .link-btn:hover{background:var(--sh-band);text-decoration:none}.aside-accordion>summary{cursor:pointer;border-bottom:0;list-style:none}.aside-accordion>summary::-webkit-details-marker{display:none}.aside-toggle{color:var(--sh-muted);align-items:center;gap:4px;font-size:12px;display:inline-flex}.aside-toggle .app-icon{transition:transform var(--motion)}.aside-accordion[open]>summary{border-bottom:1px solid var(--sh-line-soft)}.aside-accordion[open] .aside-toggle .app-icon{transform:rotate(180deg)}.aside-accordion>div{animation:.2s ease-out sheet-fade}.aside-groups{padding:6px 14px 12px}.customer-sheet-form{background:0 0;border:0;gap:14px;padding:0;display:grid}.sheet-section{border:1px solid var(--sh-line);border-radius:var(--sh-radius);box-shadow:var(--sh-shadow);background:#fff;overflow:hidden}.sheet-section>header{border-bottom:1px solid var(--sh-line-soft);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.sheet-section-title{align-items:center;gap:10px;min-width:0;display:flex}.sheet-section-title h3{color:var(--sh-ink);margin:0;font-size:14.5px;font-weight:700}.sheet-section-title p{color:var(--sh-muted);margin:1px 0 0;font-size:12px}.section-toggle .app-icon{transition:transform var(--motion)}.sheet-section.collapsed .section-toggle .app-icon{transform:rotate(-90deg)}.sheet-section-body{grid-template-rows:1fr;transition:grid-template-rows .22s;display:grid}.sheet-section-body>*{min-height:0;overflow:hidden}.sheet-section.collapsed .sheet-section-body{grid-template-rows:0fr}.sheet-section.collapsed>header{border-bottom-color:#0000}.sheet-section-compact .sheet-other-addresses{gap:0;padding:4px 16px 8px;display:grid}.sheet-section .secondary.small{min-height:32px;color:var(--sh-ink);box-shadow:none;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-size:12.5px;font-weight:600;display:inline-flex}.sheet-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px;padding:16px 16px 18px;display:grid}.sheet-field{align-content:start;gap:5px;display:grid}.sheet-field.span-2{grid-column:span 2}.sheet-field.span-3{grid-column:span 3}.sheet-field.span-4{grid-column:1/-1}.sheet-field[hidden]{display:none}.sheet-field label{color:var(--sh-text);justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;font-weight:600;display:flex}.dirty-tag{color:var(--sh-warn);align-items:center;gap:4px;font-size:11px;font-style:normal;font-weight:700;animation:.15s ease-out sheet-fade;display:inline-flex}.sheet-control{align-items:center;display:flex;position:relative}.sheet-control .field-icon{color:var(--sh-faint);pointer-events:none;position:absolute;right:10px}.sheet-control .icon-btn{position:absolute;right:6px}.sheet-field.has-icon input{padding-right:34px}.sheet-field input,.sheet-field select,.sheet-field textarea{width:100%;min-height:40px;color:var(--sh-ink);font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:9px 12px;font-size:13.5px;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}.sheet-field input[name=document],.sheet-field input[name=postalCode],.sheet-field input[name=primaryPhone],.sheet-field input[name=whatsapp],.sheet-field input[name=secondaryPhone],.sheet-field input[name=tertiaryPhone]{font-family:var(--sh-mono);letter-spacing:.02em;font-size:13px}.sheet-field input[name=postalCode]{padding-right:38px}.sheet-field textarea{resize:vertical;min-height:96px;font-weight:400;line-height:1.55}.sheet-field input:hover,.sheet-field select:hover,.sheet-field textarea:hover{border-color:#9ca3af}.sheet-field input:focus,.sheet-field select:focus,.sheet-field textarea:focus{border-color:var(--red);outline:none;box-shadow:0 0 0 3px #ef23291f}.sheet-field input::placeholder,.sheet-field textarea::placeholder{color:#b0b7c3;font-weight:400}.sheet-field input:disabled,.sheet-field select:disabled,.sheet-field textarea:disabled{background:var(--sh-band);border-color:var(--sh-line);color:var(--sh-text);opacity:1;cursor:default}.sheet-field.is-dirty input,.sheet-field.is-dirty select,.sheet-field.is-dirty textarea{background:#fffcf5;border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b1f}.sheet-field.invalid input,.sheet-field.invalid select,.sheet-field.invalid textarea{border-color:var(--sh-bad);box-shadow:0 0 0 3px #b91c1c1a}.sheet-field-error{color:var(--sh-bad);font-size:12px;font-style:normal;font-weight:500}.sheet-readonly-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;align-items:center;gap:8px;margin:0;padding:10px 14px;font-size:13px;font-weight:500;display:flex}.sheet-error{margin:0}.compact-record{border-bottom:1px solid var(--sh-line-soft);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.compact-record>div{gap:2px;display:grid}.compact-record span{color:var(--sh-muted);font-size:12.5px}.record-actions{gap:2px;display:flex}.unsaved-bar{z-index:6;background:linear-gradient(135deg,#fffbeb,#fff7e0);border:1px solid #fcd34d;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:10px 14px;animation:.22s cubic-bezier(.2,.7,.2,1) sheet-slide-up;display:flex;position:sticky;bottom:10px;box-shadow:0 10px 30px #1118271f}@keyframes sheet-slide-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.unsaved-bar-status{align-items:center;gap:10px;min-width:0;display:flex}.unsaved-bar-status strong{color:#92400e;font-size:14px;display:block}.unsaved-bar-status span{color:#a16207;font-size:12px}.unsaved-bar-chips{flex-wrap:wrap;flex:260px;gap:6px;display:flex}.dirty-chip{background:#fff;border:1px solid #fde68a;border-radius:9px;align-items:center;gap:8px;padding:5px 6px 5px 10px;font-size:12px;display:inline-flex}.dirty-chip>span{gap:1px;display:grid}.dirty-chip small{color:var(--sh-muted);font-size:11px}.dirty-chip b{color:var(--sh-warn);align-items:center;gap:3px;font-size:11px;font-weight:700;display:inline-flex}.dirty-chip button{width:22px;height:22px;color:var(--sh-faint);cursor:pointer;transition:background var(--motion),color var(--motion);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.dirty-chip button:hover{background:var(--sh-bad-bg);color:var(--sh-bad)}.dirty-chip.more{color:var(--sh-muted);padding:5px 10px;font-weight:600}.unsaved-bar-actions{gap:8px;margin-left:auto;display:flex}.unsaved-bar-actions button{min-height:38px;box-shadow:none;transition:transform var(--motion),filter var(--motion);border-radius:9px;align-items:center;gap:6px;padding:0 16px;font-size:13.5px;font-weight:700;display:inline-flex}.unsaved-bar-actions button:active{transform:scale(.98)}.unsaved-bar-actions .secondary{color:var(--sh-ink);background:#fff;border:1px solid #d1d5db}.unsaved-bar-actions .primary{background:var(--red);color:#fff}.unsaved-bar-actions .primary:disabled{color:#9ca3af;opacity:1;background:#e5e7eb}.sk{background:#eef1f5;border-radius:6px;position:relative;overflow:hidden}.sk:after{content:"";background:linear-gradient(90deg,#0000,#ffffffb3,#0000);animation:1.2s infinite sheet-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes sheet-shimmer{to{transform:translate(100%)}}.sk-line{height:12px;margin:6px 0}.sk-title{width:50%;height:24px;margin:8px 0}.sk-pill{border-radius:999px;width:80px;height:22px}.sk-badge{border-radius:10px;flex:none;width:36px;height:36px}.sk-input{height:40px}.w-20{width:20%}.w-30{width:30%}.w-40{width:40%}.w-70{width:70%}.sk-row{gap:8px;display:flex}.sk-grid{grid-template-columns:repeat(4,1fr);gap:14px;padding:16px;display:grid}.sk-grid.one{grid-template-columns:1fr;padding:12px 14px}.customer-skeleton .stat-card{gap:12px;display:flex}.customer-skeleton .stat-card>div:last-child{flex:1}.sheet-error-state{border:1px solid var(--sh-line);border-radius:var(--sh-radius);text-align:center;background:#fff;justify-items:center;gap:14px;padding:40px 20px;display:grid}.sheet-error-state p{color:var(--sh-muted);margin:4px 0 0;font-size:13px}.sheet-error-actions{gap:8px;display:flex}.sheet-error-actions button{border-radius:9px;align-items:center;gap:6px;min-height:38px;padding:0 16px;font-size:13.5px;font-weight:700;display:inline-flex}.sheet-error-actions .secondary{color:var(--sh-ink);background:#fff;border:1px solid #d1d5db}.sheet-error-actions .primary{background:var(--red);color:#fff}.customer-sheet .polished-panel{border:1px solid var(--sh-line);border-radius:var(--sh-radius);box-shadow:var(--sh-shadow);background:#fff;padding:0;overflow:hidden}.customer-sheet .polished-panel>header{border-bottom:1px solid var(--sh-line-soft);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;min-height:auto;padding:12px 18px;display:flex}.customer-sheet .polished-panel>header>div:first-child:not(.panel-title){gap:2px;display:grid}.customer-sheet .polished-panel>header h3{color:var(--sh-ink);margin:0;font-size:14.5px;font-weight:700}.customer-sheet .polished-panel>header p{color:var(--sh-muted);margin:0;font-size:12.5px}.customer-sheet .polished-panel>header button,.customer-sheet .polished-panel>header a.secondary{min-height:34px;color:var(--sh-ink);box-shadow:none;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:6px 12px;font-size:12.5px;font-weight:600}.customer-sheet .polished-panel>header .primary{background:var(--red);border-color:var(--red);color:#fff}.customer-sheet .polished-panel>:not(header){margin-inline:18px}.customer-sheet .polished-panel>.compact-record:last-child,.customer-sheet .polished-panel>.client-empty{margin-bottom:6px}.sheet-subgroup{gap:2px;padding:12px 0 4px;display:grid}.sheet-subgroup h4{letter-spacing:.05em;text-transform:uppercase;color:var(--sh-muted);margin:0 0 4px;font-size:11px;font-weight:700}.customer-sheet .customer-info-tiles{background:0 0;border:0;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;margin:0;display:grid}.customer-sheet .customer-info-tiles>div{border:0;border-bottom:1px solid var(--sh-line-soft);grid-template-columns:minmax(150px,.55fr) minmax(0,1fr);align-items:baseline;gap:12px;padding:9px 0;display:grid}.customer-sheet .customer-info-tiles small{text-transform:none;letter-spacing:0;color:var(--sh-muted);font-size:12.5px;font-weight:500}.customer-sheet .customer-info-tiles strong{text-align:left;color:var(--sh-ink);overflow-wrap:anywhere;font-size:13px;font-weight:600;line-height:1.4}.customer-sheet .customer-info-tiles strong.mono{font-family:var(--sh-mono);font-size:12.5px;font-weight:500}.customer-sheet .customer-info-tiles strong.empty-value{color:var(--sh-faint);font-size:0;font-weight:400}.customer-sheet .customer-info-tiles strong.empty-value:before{content:"Não informado";font-size:12.5px}.customer-sheet .sheet-status{border:1px solid var(--sh-line);border-radius:var(--sh-radius);color:var(--sh-ink);background:#fff;border-left:4px solid #9ca3af;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:14px 18px;display:flex}.customer-sheet .sheet-status.ok{border-left-color:var(--sh-ok)}.customer-sheet .sheet-status.bad{border-left-color:var(--sh-bad)}.customer-sheet .sheet-status span{text-transform:uppercase;letter-spacing:.04em;color:var(--sh-muted);font-size:12.5px;font-weight:600}.customer-sheet .sheet-status strong{font-size:15px;font-weight:700}.customer-sheet .sheet-status.ok strong{color:var(--sh-ok)}.customer-sheet .sheet-status.bad strong{color:var(--sh-bad)}.customer-sheet .sheet-status small{font-family:var(--sh-mono);color:var(--sh-faint);font-size:12px}.customer-sheet .service-actions{background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:8px;padding:14px 0 18px;display:flex}.customer-sheet .service-actions-spacer{flex:1}.customer-sheet .service-actions button,.customer-sheet .invoice-actions button,.customer-sheet .invoice-actions a,.customer-sheet .client-map-actions a,.customer-sheet .gpon-search button{min-height:34px;color:var(--sh-ink);box-shadow:none;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:6px 12px;font-size:12.5px;font-weight:600;text-decoration:none}.customer-sheet .service-actions button:hover,.customer-sheet .invoice-actions button:hover{background:var(--sh-band)}.customer-sheet .service-actions .danger,.customer-sheet .invoice-actions .danger{color:var(--sh-bad);background:#fff;border-color:#f3c5c5}.customer-sheet .service-actions .primary,.customer-sheet .invoice-actions .primary,.customer-sheet .gpon-search .primary{background:var(--red);border-color:var(--red);color:#fff}.customer-sheet .client-empty{text-align:left;color:var(--sh-faint);padding:18px 0;font-size:13px}.customer-sheet .compact-record strong{color:var(--sh-ink);font-size:13.5px;font-weight:600}.customer-sheet .compact-record b{height:22px;color:var(--sh-text);background:#f3f4f6;border-radius:6px;align-items:center;padding:0 8px;font-size:11.5px;font-weight:600;display:inline-flex}.customer-sheet .compact-record>div:last-child:not(:first-child){text-align:right;justify-items:end}.customer-sheet .customer-notes-list{gap:10px;padding:14px 0;display:grid}.customer-sheet .customer-notes-list article{border:1px solid var(--sh-line);background:var(--sh-band);border-radius:10px;gap:6px;padding:12px 14px;display:grid}.customer-sheet .customer-notes-list small{letter-spacing:.05em;color:var(--sh-muted);font-size:11px;font-weight:700}.customer-sheet .customer-notes-list p{white-space:pre-wrap;margin:0;font-size:13.5px;line-height:1.6}@media (prefers-reduced-motion:reduce){.customer-sheet *,.customer-sheet :after{transition:none!important;animation:none!important}}@media (max-width:1280px){.sheet-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-field.span-2,.sheet-field.span-3{grid-column:span 2}}@media (max-width:1100px){.sheet-layout{grid-template-columns:1fr}.sheet-aside{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.aside-accordion{grid-column:1/-1}.customer-sheet .customer-info-tiles{grid-template-columns:1fr}}@media (max-width:820px){.sheet-head{padding:14px 16px}.customer-sheet-title{font-size:19px}.customer-sheet-actions{width:100%}.customer-sheet-actions .primary{flex:1;justify-content:center}.customer-sheet-actions .customer-more-actions{flex:1}.customer-sheet-actions .customer-more-actions summary,.since-chip{justify-content:center;width:100%}.sheet-stats{scroll-snap-type:x proximity;gap:10px;padding-bottom:4px;display:flex;overflow-x:auto}.stat-card{scroll-snap-align:start;flex:0 0 220px}.sheet-aside{grid-template-columns:1fr}.sheet-grid{grid-template-columns:1fr;gap:12px;padding:14px}.sheet-field.span-2,.sheet-field.span-3{grid-column:auto}.unsaved-bar{padding:10px 12px;bottom:6px}.unsaved-bar-chips{display:none}.unsaved-bar-actions{width:100%;margin-left:0}.unsaved-bar-actions button{flex:1;justify-content:center;min-height:44px}.customer-sheet .compact-record{flex-direction:column;align-items:flex-start;gap:6px}.customer-sheet .compact-record>div:last-child:not(:first-child){text-align:left;justify-items:start}}:is(.customer-sheet,.billing-module) .sheet-table-wrap{margin:0 0 4px;overflow-x:auto}:is(.customer-sheet,.billing-module) .sheet-table{border-collapse:collapse;width:100%;min-width:0;font-size:13px}:is(.customer-sheet,.billing-module) .sheet-table th{border-bottom:1px solid var(--sh-line);background:var(--sh-band);text-align:left;letter-spacing:.05em;text-transform:uppercase;color:var(--sh-muted);white-space:nowrap;padding:10px 12px;font-size:11px;font-weight:700}:is(.customer-sheet,.billing-module) .sheet-table td{border-bottom:1px solid var(--sh-line-soft);color:var(--sh-text);vertical-align:middle;white-space:nowrap;padding:10px 12px}:is(.customer-sheet,.billing-module) .sheet-table tbody tr:hover{background:#fafbfc}:is(.customer-sheet,.billing-module) .sheet-table tr.overdue td:first-child{box-shadow:inset 3px 0 0 var(--sh-bad)}:is(.customer-sheet,.billing-module) .sheet-table td strong{color:var(--sh-ink);font-weight:600}:is(.customer-sheet,.billing-module) .sheet-table td.mono{font-family:var(--sh-mono)}:is(.customer-sheet,.billing-module) .sheet-table .num{text-align:right;font-variant-numeric:tabular-nums}:is(.customer-sheet,.billing-module) .sheet-table .muted{color:var(--sh-faint)}:is(.customer-sheet,.billing-module) .sheet-table th.col-actions,:is(.customer-sheet,.billing-module) .sheet-table td.col-actions{text-align:right;width:1%}.sheet-badge{height:22px;color:var(--sh-text);text-transform:capitalize;background:#f3f4f6;border-radius:6px;align-items:center;padding:0 8px;font-size:11.5px;font-weight:600;display:inline-flex}.sheet-badge.ok{background:var(--sh-ok-bg);color:var(--sh-ok)}.sheet-badge.warning{background:var(--sh-warn-bg);color:var(--sh-warn)}.sheet-badge.bad{background:var(--sh-bad-bg);color:var(--sh-bad)}.sheet-badge.info{background:var(--sh-info-bg);color:var(--sh-info)}.sheet-badge.neutral{color:#4b5563;background:#f3f4f6}.sheet-badge.mono{font-family:var(--sh-mono);text-transform:none}.sheet-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.sheet-icon-btn{height:30px;color:var(--sh-ink);cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;align-items:center;padding:0 10px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.sheet-icon-btn:hover{background:var(--sh-band)}.sheet-row-menu{position:relative}.sheet-row-menu summary{width:30px;height:30px;color:var(--sh-ink);cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;justify-content:center;align-items:center;font-size:16px;line-height:1;list-style:none;display:inline-flex}.sheet-row-menu summary::-webkit-details-marker{display:none}.sheet-row-menu summary:hover{background:var(--sh-band)}.sheet-row-menu>div{z-index:120;overscroll-behavior:contain;border:1px solid var(--sh-line);text-align:left;background:#fff;border-radius:8px;min-width:220px;max-height:min(60vh,420px);padding:6px;display:grid;position:fixed;overflow-y:auto;box-shadow:0 10px 30px #1118271f}.sheet-row-menu>div button,.sheet-row-menu>div a{width:100%;min-height:34px;color:var(--sh-ink);text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:500;text-decoration:none;display:flex}.sheet-row-menu>div button:hover,.sheet-row-menu>div a:hover{background:var(--sh-band)}.sheet-row-menu>div button:disabled{color:var(--sh-faint);cursor:not-allowed}.sheet-row-menu>div button.danger{color:var(--sh-bad)}.sheet-row-menu>div hr{border:0;border-top:1px solid var(--sh-line-soft);margin:4px 0}:is(.customer-sheet,.billing-module) .invoice-management-list{width:auto;margin:0;display:block}:is(.customer-sheet,.billing-module) .sheet-table-wrap{width:100%;max-width:100%}.customer-sheet .conn-extract .sheet-table td{white-space:normal}.customer-sheet .conn-extract .sheet-table td.mono,.customer-sheet .conn-extract .sheet-table td.num,.customer-sheet .conn-extract .sheet-table td.col-actions{white-space:nowrap}:is(.customer-sheet,.billing-module) .sheet-table th.col-actions,:is(.customer-sheet,.billing-module) .sheet-table td.col-actions{width:auto;min-width:max-content}.sheet-row-actions{white-space:nowrap}.sheet-row-actions>*{flex:none;min-width:max-content}.sheet-row-menu summary{min-width:30px}:is(.customer-sheet,.billing-module) .sheet-table td.cap{text-transform:capitalize}:is(.customer-sheet,.billing-module) .sheet-table td.col-actions,:is(.customer-sheet,.billing-module) .sheet-table th.col-actions{text-align:right}.sheet-row-actions{justify-content:flex-end;display:flex}:is(.customer-sheet,.billing-module) .sheet-icon-btn,:is(.customer-sheet,.billing-module) .sheet-row-menu summary{height:30px;min-height:30px;max-height:30px;font:inherit;box-shadow:none;padding:0 10px;font-size:12px;font-weight:600;line-height:1}:is(.customer-sheet,.billing-module) .sheet-row-menu summary{padding:0;font-size:16px}:is(.customer-sheet,.billing-module) .sheet-table th.col-actions,:is(.customer-sheet,.billing-module) .sheet-table td.col-actions{white-space:nowrap;width:1%}.billing-module{--sh-ink:#1f2937;--sh-text:#374151;--sh-muted:#6b7280;--sh-faint:#9ca3af;--sh-line:#e5e7eb;--sh-line-soft:#eef1f5;--sh-band:#f8fafc;--sh-mono:ui-monospace,"Cascadia Mono","SF Mono",Menlo,Consolas,monospace;--sh-ok:#0f7a4e;--sh-ok-bg:#e7f6ee;--sh-warn:#9a5b00;--sh-warn-bg:#fff4df;--sh-bad:#b91c1c;--sh-bad-bg:#fdecec;--sh-info:#1d4ed8;--sh-radius:10px;max-width:1400px;color:var(--sh-ink);gap:16px;margin:0 auto;display:grid}.billing-module *{box-sizing:border-box;min-width:0}.billing-module .section-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 20px;display:flex}.billing-module .section-header h2{margin:4px 0 6px;font-size:22px}.billing-module .section-header p{max-width:760px;color:var(--sh-muted);margin:0;font-size:13px}.billing-header-actions{flex-wrap:wrap;gap:8px;display:flex}.billing-header-actions .primary,.billing-form-actions .primary,.billing-filters .primary{background:var(--red);color:#fff;min-height:38px;box-shadow:none;border-radius:8px;width:auto;margin:0;padding:0 16px;font-size:13.5px;font-weight:700}.billing-header-actions .secondary,.billing-filters .secondary,.billing-inline-actions button,.billing-module .polished-panel>header .secondary{min-height:38px;color:var(--sh-ink);box-shadow:none;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 14px;font-size:13px;font-weight:600}.billing-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.billing-kpis>div{border:1px solid var(--sh-line);border-radius:var(--sh-radius);background:#fff;border-left:4px solid #9ca3af;gap:3px;padding:14px 16px;display:grid}.billing-kpis>div.ok{border-left-color:var(--sh-ok)}.billing-kpis>div.warning{border-left-color:#f59e0b}.billing-kpis>div.bad{border-left-color:var(--sh-bad)}.billing-kpis small{letter-spacing:.05em;text-transform:uppercase;color:var(--sh-muted);font-size:11px;font-weight:600}.billing-kpis strong{color:var(--sh-ink);font-size:20px;font-weight:700}.billing-kpis span{color:var(--sh-muted);font-size:12px}.billing-filters{border:1px solid var(--sh-line);border-radius:var(--sh-radius);background:#fff;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px 16px;display:flex}.billing-filters label{color:var(--sh-text);gap:5px;font-size:12.5px;font-weight:600;display:grid}.billing-filters label.grow{flex:260px}.billing-filters input,.billing-filters select{min-height:38px;font:inherit;border:1px solid #d1d5db;border-radius:7px;padding:8px 11px;font-size:13.5px}.billing-module .polished-panel{border:1px solid var(--sh-line);border-radius:var(--sh-radius);background:#fff;padding:0;overflow:hidden;box-shadow:0 1px 2px #1118270a}.billing-module .polished-panel>header{border-bottom:1px solid var(--sh-line);background:var(--sh-band);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px 20px;display:flex}.billing-module .polished-panel>header>div:first-child:not(.panel-title){gap:2px;display:grid}.billing-module .polished-panel>header h3{margin:0;font-size:14px;font-weight:700}.billing-module .polished-panel>header p{color:var(--sh-muted);margin:0;font-size:12.5px}.billing-module .polished-panel>:not(header){margin-inline:20px}.billing-module .client-empty{text-align:left;color:var(--sh-faint);padding:18px 0;font-size:13px}.billing-module .muted{color:var(--sh-faint)}.billing-module .mono{font-family:var(--sh-mono)}.billing-pagination{color:var(--sh-muted);justify-content:center;align-items:center;gap:14px;padding:12px 0;font-size:13px;display:flex}.billing-pagination button{background:#fff;border:1px solid #d1d5db;border-radius:7px;min-height:34px;padding:0 12px;font-size:12.5px;font-weight:600}.billing-settings{gap:16px;display:grid}.billing-form-grid{gap:14px 20px;padding:16px 20px 20px}.billing-form-grid label{color:var(--sh-text);gap:5px;font-size:12.5px;font-weight:600;display:grid}.billing-form-grid label small{color:var(--sh-faint);font-weight:400}.billing-form-grid input,.billing-form-grid select,.billing-form-grid textarea{min-height:38px;font:inherit;border:1px solid #d1d5db;border-radius:7px;padding:8px 11px;font-size:13.5px;font-weight:500}.billing-form-grid input[type=color]{width:64px;padding:2px}.billing-form-grid textarea{font-weight:400;line-height:1.5}.billing-form-grid .confirmation-check{grid-column:1/-1;align-items:center;gap:8px;display:flex}.billing-form-grid .confirmation-check input{width:16px;height:16px;min-height:auto}.billing-form-actions{justify-content:flex-end;display:flex}.billing-inline-actions{flex-wrap:wrap;gap:8px;display:flex}.billing-module .polished-panel>.billing-inline-actions{margin:0 0 6px}.cardos-billing{gap:16px;display:grid}.cardos-billing .polished-panel>header .billing-inline-actions{display:flex}.cardos-billing .polished-panel>header .billing-inline-actions button,.cardos-billing .polished-panel>header>button.secondary{min-height:34px;color:var(--sh-ink);box-shadow:none;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:6px 12px;font-size:12.5px;font-weight:600}.cardos-billing .polished-panel>header .billing-inline-actions .primary{background:var(--red);border-color:var(--red);color:#fff}.billing-check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;display:grid}.billing-check-list label{border:1px solid #e5e7eb;border-radius:7px;align-items:center;gap:8px;margin:0;padding:8px 10px;font-size:13px;display:flex}.billing-check-list label small{color:#6b7280;white-space:nowrap;margin-left:auto}.billing-package-items{border:1px solid #e5e7eb;border-radius:8px;grid-column:1/-1;padding:10px 12px}.billing-package-items legend{padding:0 4px;font-size:12.5px;font-weight:700}.contract-template-editor textarea{font-family:ui-monospace,Cascadia Mono,SF Mono,Menlo,Consolas,monospace;font-size:12.5px;line-height:1.5}.contract-placeholders{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.contract-placeholders>span{color:#6b7280;flex-basis:100%;font-size:12px}.contract-placeholders button{color:#1f2937;background:#f8fafc;border:1px solid #d1d5db;border-radius:6px;padding:4px 8px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11.5px}.contract-placeholders button:hover{background:#eef2f7}.contract-editor-actions{justify-content:flex-end;display:flex}.contract-editor-actions .secondary{color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:36px;padding:0 14px;font-size:13px;font-weight:600}.pix-modal{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:20px;display:grid}.pix-modal-qr{background:#fff;border:1px solid #e5e7eb;border-radius:10px;place-items:center;padding:10px;display:grid}.pix-modal-qr img{width:200px;height:200px;image-rendering:pixelated}.pix-modal-qr-empty{color:#9ca3af;place-items:center;width:200px;height:200px;font-size:13px;display:grid}.pix-modal-body{gap:12px;display:grid}.pix-modal-meta{flex-wrap:wrap;gap:16px 28px;display:flex}.pix-modal-meta div{gap:2px;display:grid}.pix-modal-meta span{letter-spacing:.05em;text-transform:uppercase;color:#6b7280;font-size:11px;font-weight:600}.pix-modal-meta strong{font-size:15px}.pix-modal-copy{color:#374151;gap:6px;font-size:12.5px;font-weight:600;display:grid}.pix-modal-copy textarea{word-break:break-all;resize:vertical;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:1.45}.pix-modal-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.pix-modal-actions .primary{border-radius:8px;width:auto;min-height:40px;margin:0;padding:0 18px}.pix-modal-hint{color:#6b7280;flex:240px;font-size:12px}@media (max-width:1100px){.billing-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.billing-kpis,.billing-check-list,.pix-modal{grid-template-columns:1fr}.pix-modal-qr{justify-self:center}.billing-form-grid{grid-template-columns:1fr}}:is(.customer-sheet,.billing-module) .sheet-table td{white-space:normal}:is(.customer-sheet,.billing-module) .sheet-table td.num,:is(.customer-sheet,.billing-module) .sheet-table td.col-actions,:is(.customer-sheet,.billing-module) .sheet-table td:first-child{white-space:nowrap}.dirty-tag[hidden],.unsaved-bar[hidden],.sheet-field-error[hidden]{display:none!important}.customer-sheet .compact-record>.record-actions{grid-auto-flow:column;gap:2px;display:flex}.customer-sheet .polished-panel>header .panel-title{align-items:center;gap:10px;min-width:0;display:flex}.customer-sheet .polished-panel>header .panel-title>div{gap:1px;display:grid}.customer-sheet .polished-panel>header h3{font-size:14.5px}.service-head-status{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.conn-raw{color:var(--sh-muted);font-size:12px}.customer-sheet .service-actions button{transition:background var(--motion),transform var(--motion);align-items:center;gap:6px;display:inline-flex}.customer-sheet .service-actions button:active{transform:scale(.98)}.sheet-list{padding:4px 0 10px;display:grid}.sheet-list-item{border-bottom:1px solid var(--sh-line-soft);align-items:center;gap:12px;padding:10px 0;display:flex}.sheet-list-item:last-child{border-bottom:0}.sheet-list-item>div{flex:1;gap:2px;min-width:0;display:grid}.sheet-list-item strong{font-size:13.5px}.sheet-list-item span{color:var(--sh-muted);font-size:12.5px}.sheet-timeline{padding:6px 0 12px;display:grid}.sheet-timeline-item{grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px 0;display:grid;position:relative}.sheet-timeline-item:before{content:"";background:var(--sh-line-soft);width:2px;position:absolute;top:0;bottom:0;left:6px}.sheet-timeline-item:first-child:before{top:14px}.sheet-timeline-item:last-child:before{height:14px;bottom:auto}.sheet-timeline-item i{z-index:1;background:var(--sh-info);width:14px;height:14px;box-shadow:0 0 0 1px var(--sh-line);border:3px solid #fff;border-radius:50%;margin-top:2px;position:relative}.sheet-timeline-item.tone-success i{background:var(--sh-ok)}.sheet-timeline-item.tone-danger i{background:var(--sh-bad)}.sheet-timeline-item.tone-warning i{background:#f59e0b}.sheet-timeline-item.tone-purple i{background:var(--sh-purple)}.sheet-timeline-item>div{gap:2px;min-width:0;display:grid}.sheet-timeline-item strong{font-size:13.5px}.sheet-timeline-item span{color:var(--sh-muted);overflow-wrap:anywhere;font-size:12.5px}.sheet-timeline-item time{color:var(--sh-faint);white-space:nowrap;font-size:12px}.customer-sheet .sheet-timeline-item small{color:var(--sh-muted);align-items:center;gap:5px;margin-top:3px;font-size:11.5px;font-weight:600;display:inline-flex}.customer-sheet .sheet-timeline-item small svg{width:13px;min-width:13px;height:13px}.customer-sheet .sheet-table td{white-space:normal}.customer-sheet .sheet-table td.mono,.customer-sheet .sheet-table td.num,.customer-sheet .sheet-table td.col-actions{white-space:nowrap}.customer-sheet .cpe-card .customer-overview-grid{display:block}.customer-sheet .customer-seal-list,.customer-sheet .customer-attachment-list{gap:8px;padding:8px 0 12px;display:grid}.customer-sheet .customer-seal-list article{border:1px solid var(--sh-line);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.customer-sheet .network-capability{color:var(--sh-muted);padding:12px 0;font-size:13px}.customer-sheet .gpon-search{align-items:end;gap:10px;padding:10px 0 14px;display:flex}.customer-sheet .gpon-search label{flex:1;gap:5px;font-size:12.5px;font-weight:600;display:grid}.customer-sheet .gpon-search input{min-height:38px;font:inherit;border:1px solid #d1d5db;border-radius:9px;padding:8px 12px}@media (max-width:820px){.sheet-timeline-item{grid-template-columns:18px 1fr}.sheet-timeline-item time{grid-column:2}}.customer-sheet .conn-extract{gap:14px;padding:16px 18px 18px;display:grid}.customer-sheet .conn-extract-loading{color:#6b7280;align-items:center;gap:10px;padding:18px 2px;font-size:13px;display:flex}.customer-sheet .spinner-dot{border:2px solid #e5e7eb;border-top-color:#dc2626;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite conn-spin}@keyframes conn-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.customer-sheet .spinner-dot{animation-duration:2s}}.customer-sheet .conn-extract-summary{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.customer-sheet .conn-extract-kpi{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.customer-sheet .conn-extract-kpi small{letter-spacing:.04em;text-transform:uppercase;color:#6b7280;font-size:11px;display:block}.customer-sheet .conn-extract-kpi strong{color:#111827;font-size:17px}.customer-sheet .conn-extract-kpi.tone-danger{background:#fef2f2;border-color:#fecaca}.customer-sheet .conn-extract-kpi.tone-success{background:#f0fdf4;border-color:#bbf7d0}.customer-sheet .conn-extract-filters{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:8px;display:flex}.customer-sheet .conn-extract-filters button{color:#374151;cursor:pointer;transition:background var(--motion,.18s) ease,border-color var(--motion,.18s) ease,color var(--motion,.18s) ease;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:600}.customer-sheet .conn-extract-filters button:hover{background:#f9fafb;border-color:#d1d5db}.customer-sheet .conn-extract-filters button.active{color:#fff;background:#111827;border-color:#111827}.customer-sheet .conn-extract-filters button b{font-weight:700}.customer-sheet .conn-extract-source{color:#6b7280;margin-left:auto;font-size:12px}.customer-sheet .conn-extract-table td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.customer-sheet .conn-extract-table tr.outcome-failed td:first-child{box-shadow:inset 3px 0 #dc2626}.customer-sheet .conn-extract-table tr.outcome-active td:first-child{box-shadow:inset 3px 0 #16a34a}.customer-sheet .conn-extract-empty,.customer-sheet .conn-extract-error{background:#f9fafb;border:1px dashed #e5e7eb;border-radius:12px;align-items:center;gap:12px;padding:22px 16px;display:flex}.customer-sheet .conn-extract-empty strong,.customer-sheet .conn-extract-error strong{color:#111827;font-size:14px;display:block}.customer-sheet .conn-extract-empty p,.customer-sheet .conn-extract-error p{color:#6b7280;margin:2px 0 0;font-size:13px}.customer-sheet .conn-extract-error{background:#fef2f2;border-style:solid;border-color:#fecaca}.customer-sheet .sheet-empty{background:#f9fafb;border:1px dashed #e5e7eb;border-radius:12px;align-items:center;gap:14px;margin:4px 0 8px;padding:22px 18px;display:flex}.customer-sheet .sheet-empty strong{color:#111827;font-size:14px;display:block}.customer-sheet .sheet-empty p{color:#6b7280;margin:3px 0 0;font-size:13px;line-height:1.5}.customer-sheet .sheet-empty.tone-danger{background:#fef2f2;border-style:solid;border-color:#fecaca}.customer-sheet .cpe-collection{gap:12px;padding:14px 18px 18px;display:grid}.customer-sheet .cpe-collection .sheet-empty,.customer-sheet .cpe-collection>.client-panel{margin:0}.customer-sheet .olt-tools{gap:14px;padding:16px 18px 18px;display:grid}.customer-sheet .olt-status{transition:background var(--motion,.18s) ease,border-color var(--motion,.18s) ease;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.customer-sheet .olt-status strong{color:#111827;font-size:14px;display:block}.customer-sheet .olt-status p{color:#6b7280;margin:2px 0 0;font-size:13px;line-height:1.5}.customer-sheet .olt-status.tone-success{background:#f0fdf4;border-color:#bbf7d0}.customer-sheet .olt-status.tone-warning{background:#fff7ed;border-color:#fed7aa}.customer-sheet .olt-status.tone-danger{background:#fef2f2;border-color:#fecaca}.customer-sheet .olt-status.tone-info{background:#eff6ff;border-color:#bfdbfe}.customer-sheet .olt-search{gap:6px;display:grid}.customer-sheet .olt-search>label{color:#374151;font-size:12px;font-weight:600}.customer-sheet .olt-search-row{gap:8px;display:flex}.customer-sheet .olt-search-row input{min-width:0;min-height:38px;font:inherit;text-transform:uppercase;transition:border-color var(--motion,.18s) ease,box-shadow var(--motion,.18s) ease;border:1px solid #d1d5db;border-radius:9px;flex:1;padding:8px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.customer-sheet .olt-search-row input:focus{border-color:#9ca3af;outline:none;box-shadow:0 0 0 3px #9ca3af2e}.customer-sheet .olt-search-row button{min-height:38px;color:var(--sh-ink);cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.customer-sheet .olt-search-row button:hover{background:#f9fafb}.customer-sheet .olt-search>small{color:#9ca3af;font-size:12px}.customer-sheet .olt-result:empty{display:none}.customer-sheet .olt-result{gap:10px;display:grid}.customer-sheet .olt-loading{color:#6b7280;align-items:center;gap:10px;padding:14px 2px;font-size:13px;display:flex}.customer-sheet .customer-seal-list{padding:12px 18px 18px}.customer-sheet .customer-seal-list article{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.customer-sheet .customer-seal-list article>div:first-child{align-items:center;gap:12px;min-width:0;display:flex}.customer-sheet .customer-seal-list small{letter-spacing:.06em;text-transform:uppercase;color:#9ca3af;font-size:11px;font-weight:700;display:block}.customer-sheet .customer-seal-list strong{letter-spacing:.04em;color:#111827;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;display:block}.customer-sheet .customer-seal-list span{color:#6b7280;font-size:12.5px}.customer-sheet .seal-actions{flex:none;align-items:center;gap:8px;display:flex}.customer-sheet .seal-actions button{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:6px;min-height:32px;padding:0 12px;font-size:12.5px;font-weight:600;display:inline-flex}.customer-sheet .seal-actions button:hover{background:#fef2f2}.customer-sheet .cpe-physical-link{background:linear-gradient(110deg,#f8fbff,#fff);border:1px solid #dde7f2;border-radius:12px;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:center;gap:10px;margin:0 18px 14px;padding:13px 14px;display:grid}.customer-sheet .cpe-physical-link>div{gap:2px;min-width:0;display:grid}.customer-sheet .cpe-physical-link small{letter-spacing:.07em;text-transform:uppercase;color:#64748b;font-size:10.5px;font-weight:800}.customer-sheet .cpe-physical-link strong{overflow-wrap:anywhere;color:#172036;font-size:14px}.customer-sheet .cpe-physical-link span{color:#64748b;font-size:12px}.customer-sheet .cpe-physical-link i{background:#a9bed3;height:1px;position:relative}.customer-sheet .cpe-physical-link i:after{content:"";border-top:1.5px solid #7892ad;border-right:1.5px solid #7892ad;width:7px;height:7px;position:absolute;top:50%;right:0;transform:translateY(-50%)rotate(45deg)}.customer-sheet .cpe-linked-seals{background:#fafbfc;border:1px solid #e5e7eb;border-radius:12px;margin:0 18px 16px;padding:12px 14px 2px}.customer-sheet .cpe-linked-seals-title{color:#475569;align-items:center;gap:7px;font-size:12px;display:flex}.customer-sheet .cpe-linked-seals .customer-seal-list{padding:8px 0 10px}.customer-sheet .customer-unassigned-seals{margin:0;padding:0 18px 18px}.customer-sheet .customer-unassigned-seals>header{background:#fff7ed;border:1px solid #fed7aa;border-bottom:0;border-radius:12px 12px 0 0;align-items:center;gap:10px;padding:14px;display:flex}.customer-sheet .customer-unassigned-seals h3{margin:0;font-size:14px}.customer-sheet .customer-unassigned-seals p{color:#9a6324;margin:2px 0 0;font-size:12px}.customer-sheet .customer-unassigned-seals .customer-seal-list{border:1px solid #fed7aa;border-top:0;border-radius:0 0 12px 12px;padding:0;overflow:hidden}.customer-sheet .customer-unassigned-seals .customer-seal-list article{border-width:1px 0 0;border-radius:0}.customer-sheet .customer-seals-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;align-items:center;gap:11px;margin:0 18px 18px;padding:14px;display:flex}.customer-sheet .customer-seals-empty strong,.customer-sheet .customer-seals-empty span{display:block}.customer-sheet .customer-seals-empty strong{color:#334155;font-size:13.5px}.customer-sheet .customer-seals-empty span{color:#64748b;margin-top:2px;font-size:12px}.seal-form-intro{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;align-items:center;gap:12px;margin-bottom:18px;padding:13px 14px;display:flex}.seal-form-intro strong{color:#1e3a5f;font-size:13px}.seal-form-intro p{color:#52708f;margin:3px 0 0;font-size:12px;line-height:1.45}@media (max-width:620px){.customer-sheet .cpe-physical-link{grid-template-columns:1fr;margin-inline:12px}.customer-sheet .cpe-physical-link i{background:#a9bed3;width:1px;height:20px;margin-left:8px}.customer-sheet .cpe-physical-link i:after{inset:auto auto 0 50%;transform:translate(-50%)rotate(135deg)}.customer-sheet .cpe-linked-seals{margin-inline:12px}.customer-sheet .customer-seal-list article{flex-direction:column;align-items:stretch}.customer-sheet .seal-actions{justify-content:space-between}.customer-sheet .customer-unassigned-seals{padding-inline:12px}}.customer-sheet .sheet-section-loading{color:#6b7280;align-items:center;gap:10px;padding:24px 18px;font-size:13px;display:flex}body.viewer-open{overflow:hidden}.customer-sheet .attachment-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;padding:16px 18px 18px;display:grid}.customer-sheet .attachment-card{transition:box-shadow var(--motion,.18s) ease,border-color var(--motion,.18s) ease;background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;margin:0;display:flex;overflow:hidden}.customer-sheet .attachment-card:hover{border-color:#d1d5db;box-shadow:0 6px 18px #11182714}.customer-sheet .attachment-thumb{cursor:zoom-in;aspect-ratio:4/3;background:#f3f4f6;border:0;width:100%;padding:0;display:block;overflow:hidden}.customer-sheet .attachment-thumb img{object-fit:cover;width:100%;height:100%;transition:transform var(--motion,.18s) ease;display:block}.customer-sheet .attachment-thumb:hover img{transform:scale(1.03)}.customer-sheet .attachment-card figcaption{gap:2px;min-width:0;padding:10px 12px 4px;display:grid}.customer-sheet .attachment-card figcaption strong{color:#111827;overflow-wrap:anywhere;font-size:13.5px}.customer-sheet .attachment-card figcaption span{color:#6b7280;font-size:11.5px}.customer-sheet .attachment-actions{flex-wrap:wrap;gap:6px;margin-top:auto;padding:8px 12px 12px;display:flex}.customer-sheet .sheet-list-item .attachment-actions{flex:none;margin:0;padding:0}.customer-sheet .sheet-icon-btn{color:#374151;cursor:pointer;min-height:30px;transition:background var(--motion,.18s) ease,border-color var(--motion,.18s) ease;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:5px;padding:0 10px;font-size:12px;font-weight:600;text-decoration:none;display:inline-flex}.customer-sheet .sheet-icon-btn:hover{background:#f9fafb;border-color:#9ca3af}.customer-sheet .sheet-icon-btn.danger{color:#b91c1c;border-color:#fecaca}.customer-sheet .sheet-icon-btn.danger:hover{background:#fef2f2}.attachment-viewer{z-index:3000;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.attachment-viewer-backdrop{z-index:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172ad1;position:absolute;inset:0}.attachment-viewer-frame{z-index:1;background:#fff;border-radius:16px;flex-direction:column;gap:0;width:min(1100px,100%);max-height:92vh;margin:0;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #00000059}.attachment-viewer-frame>header{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.attachment-viewer-frame>header strong{color:#111827;font-size:14px;display:block}.attachment-viewer-frame>header span{color:#6b7280;font-size:12px;display:block}.attachment-viewer-tools{flex:none;gap:8px;display:flex}.attachment-viewer-tools .sheet-icon-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;align-items:center;gap:5px;min-height:32px;padding:0 12px;font-size:12.5px;font-weight:600;text-decoration:none;display:inline-flex}.attachment-viewer-stage{background:#0f172a;flex:1;place-items:center;min-height:0;display:grid;position:relative}.attachment-viewer-stage img{object-fit:contain;max-width:100%;max-height:72vh;display:block}.attachment-viewer-nav{color:#111827;cursor:pointer;background:#ffffffe6;border:0;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.attachment-viewer-nav.prev{left:14px}.attachment-viewer-nav.next{right:14px}.attachment-viewer-frame figcaption{color:#6b7280;background:#fff;border-top:1px solid #e5e7eb;padding:10px 18px;font-size:12.5px}.customer-sheet .note-list{gap:10px;padding:14px 18px 18px;display:grid}.customer-sheet .note-list.is-muted{opacity:.85}.note-card{background:#fff;border:1px solid #e5e7eb;border-left:3px solid #d1d5db;border-radius:12px;align-items:flex-start;gap:12px;padding:14px;display:flex}.note-card.tone-warning{background:#fffbeb;border-left-color:#f59e0b}.note-card.tone-danger{background:#fef2f2;border-left-color:#dc2626}.note-card.is-pinned{box-shadow:0 2px 10px #11182712}.note-card.is-expired{opacity:.6}.note-body{flex:1;min-width:0}.note-tags{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.note-body p{color:#111827;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.55}.note-body footer{color:#6b7280;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:11.5px;display:flex}.note-actions{flex:none;gap:6px;display:flex}.note-switches{gap:10px;display:grid!important}.note-switch{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:auto 1fr;align-items:start;gap:4px 10px;padding:10px 12px;display:grid}.note-switch input[type=checkbox]{width:16px;min-width:0;height:16px;min-height:0;accent-color:var(--red,#dc2626);grid-row:1/3;margin:3px 0 0}.note-switch b{color:#111827;font-size:13px}.note-switch small{color:#6b7280;grid-column:2;font-size:12px;font-weight:400;line-height:1.45}.required-notes{z-index:3100;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.required-notes-backdrop{z-index:0;background:#0f172ab3;position:absolute;inset:0}.required-notes-card{z-index:1;background:#fff;border-radius:16px;flex-direction:column;width:min(720px,100%);max-height:88vh;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #00000052}.required-notes-card>header{background:#fef2f2;border-bottom:1px solid #e5e7eb;align-items:center;gap:14px;padding:18px 20px;display:flex}.required-notes-card>header small{letter-spacing:.1em;color:#b91c1c;font-size:10.5px;font-weight:800}.required-notes-card>header h2{color:#111827;margin:2px 0 0;font-size:18px}.required-notes-card>header p{color:#6b7280;margin:2px 0 0;font-size:13px}.required-notes-body{gap:10px;padding:16px 20px;display:grid;overflow:auto}.required-notes-footer{background:#f9fafb;border-top:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.required-notes-footer label{color:#374151;align-items:center;gap:8px;font-size:13.5px;font-weight:600;display:flex}.required-notes-footer input[type=checkbox]{width:17px;min-width:0;height:17px;min-height:0;accent-color:var(--red,#dc2626);flex:none;margin:0}.required-notes-footer button{background:var(--red,#dc2626);color:#fff;cursor:pointer;border:0;border-radius:10px;min-height:40px;padding:0 18px;font-size:14px;font-weight:700}.required-notes-footer button:disabled{cursor:not-allowed;background:#d1d5db}.customer-sheet .history-shell,.customer-sheet .portal-history{display:grid}.customer-sheet .history-tabs{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:6px;padding:12px 18px 0;display:flex}.customer-sheet .history-tabs button{color:#6b7280;cursor:pointer;transition:color var(--motion,.18s) ease,border-color var(--motion,.18s) ease;background:0 0;border:1px solid #0000;border-bottom-width:2px;align-items:center;gap:7px;padding:8px 12px 9px;font-size:13px;font-weight:600;display:inline-flex}.customer-sheet .history-tabs button:hover{color:#111827}.customer-sheet .history-tabs button.active{color:#111827;border-bottom-color:var(--red,#dc2626)}.customer-sheet .history-tabs button b{color:#4b5563;background:#f3f4f6;border-radius:999px;padding:1px 7px;font-size:11px;font-weight:800}.customer-sheet .history-tabs button.active b{color:#374151;background:#eef1f5}.customer-sheet .history-body{min-height:120px;padding:6px 18px 4px}.customer-sheet .history-footer{color:#6b7280;border-top:1px solid #f3f4f6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px 16px;font-size:12.5px;display:flex}.customer-sheet .history-pager{align-items:center;gap:8px;display:flex}.customer-sheet .history-pager label{color:#6b7280;align-items:center;gap:6px;font-size:12.5px;display:flex}.customer-sheet .history-pager select{min-height:30px;font:inherit;border:1px solid #d1d5db;border-radius:8px;padding:2px 8px;font-size:12.5px}.customer-sheet .history-pager button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.customer-sheet .history-pager button:disabled{opacity:.45;cursor:not-allowed}.customer-sheet .history-page{color:#374151;font-weight:600}.customer-sheet .portal-access{gap:14px;padding:16px 18px 18px;display:grid}.customer-sheet .portal-state{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.customer-sheet .portal-state strong{color:#111827;font-size:15px;display:block}.customer-sheet .portal-state p{color:#6b7280;margin:2px 0 0;font-size:13px}.customer-sheet .portal-state.tone-success{background:#f0fdf4;border-color:#bbf7d0}.customer-sheet .portal-state.tone-danger{background:#fef2f2;border-color:#fecaca}.customer-sheet .portal-channels{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;display:grid}.customer-sheet .portal-channel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:10px;padding:11px 13px;display:flex}.customer-sheet .portal-channel>div{flex:1;min-width:0}.customer-sheet .portal-channel strong{color:#111827;font-size:13.5px;display:block}.customer-sheet .portal-channel span{color:#6b7280;overflow-wrap:anywhere;font-size:12px;display:block}.customer-sheet .portal-channel.is-off{opacity:.75;background:#f9fafb}.customer-sheet .portal-hint{color:#6b7280;align-items:center;gap:7px;margin:0;font-size:12.5px;display:flex}.customer-sheet .portal-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.customer-sheet .customer-sheet-tabs{flex-wrap:wrap;row-gap:0;overflow-x:visible}.customer-sheet .customer-sheet-tabs button{padding:12px}@media (max-width:820px){.customer-sheet .customer-sheet-tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 0 calc(100% - 24px),#0000 100%);mask-image:linear-gradient(90deg,#000 0 calc(100% - 24px),#0000 100%)}}.customer-sheet .customer-sheet-tabs{flex-wrap:nowrap;align-items:stretch;padding-right:6px;overflow:visible}.customer-sheet .customer-sheet-tabs>button{white-space:nowrap;min-width:0}.customer-tab-more{margin-left:auto;display:flex;position:relative}.customer-tab-more>summary{min-height:46px;color:var(--sh-muted);white-space:nowrap;cursor:pointer;align-items:center;gap:6px;padding:0 13px;font-size:13.5px;font-weight:600;list-style:none;display:inline-flex}.customer-tab-more>summary::-webkit-details-marker{display:none}.customer-tab-more.active>summary{color:var(--red)}.customer-tab-more>div{z-index:30;border:1px solid var(--sh-line);background:#fff;border-radius:10px;width:220px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 14px 34px #11182729}.customer-sheet .customer-tab-more>div button{white-space:nowrap;border-radius:7px;justify-content:flex-start;width:100%;min-height:38px;padding:8px 10px}.customer-sheet .customer-tab-more>div button:after{display:none}.customer-sheet .customer-tab-more>div button.active{background:#fff1f2}@media (max-width:820px){.customer-sheet .customer-sheet-tabs{overflow:auto visible;-webkit-mask-image:none;mask-image:none}.customer-tab-more{background:#fff;flex:none;position:sticky;right:0;box-shadow:-10px 0 12px #fff}.customer-tab-more>div{width:auto;max-height:60vh;position:fixed;inset:auto 12px 12px;overflow:auto}}.customer-sheet .history-pager button svg,.customer-sheet .sheet-icon-btn svg,.attachment-viewer-tools .sheet-icon-btn svg,.customer-sheet .note-actions button svg{flex:none;width:16px;min-width:16px;height:16px;min-height:16px}.customer-sheet .history-pager button{justify-content:center;align-items:center;display:inline-flex}.customer-sheet .portal-actions{flex-wrap:nowrap}.customer-sheet .conn-extract-table td.mono.is-mismatch{color:#b45309;font-weight:700}.cpe-card .cpe-missing{color:var(--sh-muted,#6b7280);margin:10px 0 0;font-size:12px;line-height:1.45}.cnet-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:14px;display:grid}.cnet-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;gap:12px;padding:16px 18px;display:grid;box-shadow:0 1px 2px #1118270a,0 6px 20px #1118270a}.cnet-card>header{align-items:center;gap:10px;display:flex}.cnet-card>header>div{flex:1;min-width:0}.cnet-card h4{color:#1f2937;margin:0;font-size:14.5px;font-weight:700}.cnet-card header p{color:#6b7280;margin:2px 0 0;font-size:12.5px}.cnet-box{grid-row:span 2}.cnet-status{color:#374151;white-space:nowrap;background:#f3f5f8;border-radius:99px;padding:3px 9px;font-size:11.5px;font-weight:700}.cnet-status.is-online{color:#0f7a4e;background:#e7f6ee}.cnet-status.is-offline{color:#b91c1c;background:#fdecec}.cnet-port{background:#f3f0ff;border-radius:12px;align-items:baseline;gap:8px;padding:10px 14px;display:flex}.cnet-port span{color:#6d28d9;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.cnet-port strong{color:#4c1d95;font-size:30px;font-weight:800;line-height:1}.cnet-port small{color:#6d28d9;font-size:13px;font-weight:600}.cnet-occupancy{color:#374151;gap:5px;font-size:12.5px;display:grid}.cnet-facts{gap:0;margin:0;display:grid}.cnet-facts div{border-top:1px solid #eef1f5;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:7px 0;display:grid}.cnet-facts dt{color:#6b7280;font-size:12.5px;font-weight:600}.cnet-facts dd{color:#1f2937;overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:500}.cnet-big{color:#1f2937;font-size:17px;font-weight:700}.cnet-empty{color:#6b7280;margin:0;font-size:13px}.cnet-actions{flex-wrap:wrap;gap:8px;display:flex}.cnet-cpe-edit{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.cnet-cpe-edit label{color:#374151;gap:4px;font-size:12.5px;font-weight:600;display:grid}.cnet-signal{grid-column:1/-1}.cnet-foot{color:#9ca3af;grid-column:1/-1;margin:0;font-size:11.5px}.link-button{color:#1d4ed8;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:6px;padding:0;font-size:12.5px;font-weight:600;display:inline-flex}.mono{font-family:var(--sh-mono,ui-monospace,SFMono-Regular,Menlo,monospace)}@media (max-width:900px){.cnet-grid{grid-template-columns:1fr}.cnet-box{grid-row:auto}.cnet-facts div{grid-template-columns:120px minmax(0,1fr)}}.customer-equipment-actions{flex-wrap:wrap;gap:8px;display:flex}.customer-stock-equipment{gap:8px;margin-top:14px;display:grid}.customer-stock-equipment h4,.stock-search-results h4{color:#374151;margin:0;font-size:13px}.customer-stock-equipment article{background:#fffbf2;border:1px dashed #f5d9a8;border-radius:12px;gap:10px;padding:12px;display:flex}.customer-stock-equipment article div{gap:2px;display:grid}.customer-stock-equipment small{color:#6b7280;font-size:12px}.customer-previous-cpes{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;margin-top:14px}.customer-previous-cpes summary{color:#6b7280;cursor:pointer;padding:11px 14px;font-size:13px;font-weight:600}.customer-previous-cpes .cpe-collection{opacity:.85;padding:0 12px 12px}.danger-link{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #f3c5c5;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:0 10px;font-size:12.5px;font-weight:600;display:inline-flex}.danger-link:hover{background:#fdecec}.stock-search{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:12px 0;display:grid}.stock-search-results{gap:8px;max-height:50vh;display:grid;overflow:auto}.stock-search-results article{border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.stock-search-results article div{gap:2px;min-width:0;display:grid}.stock-search-results small{color:#6b7280;font-size:12px}.gpon-confirm{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0;display:grid}.gpon-confirm div{border:1px solid #e5e7eb;border-radius:9px;padding:8px 10px}.gpon-confirm dt{color:#6b7280;font-size:11.5px;font-weight:600}.gpon-confirm dd{color:#1f2937;margin:2px 0 0;font-size:13px;font-weight:600}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.row-actions .compact{white-space:nowrap;min-height:32px;padding:0 10px;font-size:12.5px}.attendance-detail{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.attendance-detail div{border:1px solid #e5e7eb;border-radius:9px;padding:8px 10px}.attendance-detail .full{grid-column:1/-1}.attendance-detail dt{color:#6b7280;font-size:11.5px;font-weight:600}.attendance-detail dd{color:#1f2937;margin:2px 0 0;font-size:13px}.attendance-detail .pre{white-space:pre-wrap}.attendance-order{color:#1d4ed8;background:#e8effd;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;font-size:13px;display:flex}.attendance-order>div{gap:6px;display:flex}.customer-equipment-body{gap:12px;padding:14px 16px 16px;display:grid}.customer-sheet .customer-equipment-body{gap:14px;padding:16px 18px 18px}.customer-sheet .customer-equipment-body .cpe-collection{gap:14px;padding:0}.customer-sheet .customer-equipment-body .cpe-card{width:100%;margin:0}.customer-sheet .customer-equipment-body .cpe-card-actions{gap:8px;margin:0 18px;padding:12px 0 14px}.customer-sheet .customer-equipment-body .customer-seals-empty,.customer-sheet .customer-equipment-body .customer-unassigned-seals{box-sizing:border-box;width:100%;margin:0}.customer-sheet .customer-equipment-body .customer-stock-equipment{margin:0}.service-cancel-bar{justify-content:flex-end;margin:0 0 12px;display:flex}.service-cancel-toggle{color:#374151;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:10px;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex;position:relative}.service-cancel-toggle small{color:#6b7280;font-weight:500}.service-cancel-toggle input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.service-cancel-track{background:#d1d5db;border-radius:999px;flex:none;width:34px;height:20px;transition:background .18s;position:relative}.service-cancel-track:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .18s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #11182733}.service-cancel-toggle input:checked+.service-cancel-track{background:var(--red,#ef2329)}.service-cancel-toggle input:checked+.service-cancel-track:after{transform:translate(14px)}.service-cancel-toggle input:focus-visible+.service-cancel-track{outline-offset:2px;outline:2px solid #1d4ed8}.customer-sheet .customer-info-tiles>.conn-pill-tile{grid-column:1/-1;grid-template-columns:max(150px,17.74% - 11.3536px) minmax(0,1fr);align-items:center}.conn-pill-row{align-items:center;gap:8px;min-width:0;display:flex}.conn-pill{color:#fff;min-width:0;max-width:100%;min-height:0;font:600 11px/1.3 var(--sh-font,inherit);letter-spacing:.02em;text-align:left;cursor:pointer;border:0;border-radius:5px;align-items:center;gap:6px;padding:3px 10px;transition:filter .15s,box-shadow .15s;display:inline-flex}.conn-pill span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conn-pill.is-online{background:#16a34a}.conn-pill.is-offline{background:#dc2626}.conn-pill:hover{filter:brightness(.93);box-shadow:0 2px 8px #11182726}.conn-pill:focus-visible,.conn-pill-disconnect:focus-visible{outline-offset:2px;outline:2px solid #1d4ed8}.conn-pill-disconnect{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #f3c5c5;border-radius:6px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;min-height:0;padding:0;transition:background .15s;display:inline-flex}.conn-pill-disconnect:hover{background:#fdecec}.conn-pill-disconnect svg{flex:none;width:14px;min-width:14px;height:14px;min-height:14px}@media (max-width:1100px){.customer-sheet .customer-info-tiles>.conn-pill-tile{grid-template-columns:max(150px,35.48% - 4.2576px) minmax(0,1fr)}}@media (max-width:700px){.conn-pill span{white-space:normal}}.service-head-status{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.service-more-menu>div{min-width:250px}.service-requests{gap:8px;margin:0 0 14px;display:grid}.service-request{background:#f9fafb;border:1px solid #e5e7eb;border-left-width:3px;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.service-request.tone-info{border-left-color:#1d4ed8}.service-request.tone-warning{border-left-color:#b45309}.service-request.tone-danger{border-left-color:#b91c1c}.service-request strong{color:#1f2937;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;display:flex}.service-request small{color:#6b7280;margin-top:2px;font-size:12px;display:block}.service-request-actions{gap:6px;display:flex}@media (max-width:600px){.service-request{grid-template-columns:auto minmax(0,1fr)}.service-request-actions{grid-column:1/-1}}.session-modal{gap:14px;display:grid}.session-hero{border:1px solid;border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex}.session-hero.is-online{background:#e7f6ee;border-color:#bfe5d0}.session-hero.is-offline{background:#fdecec;border-color:#f3c5c5}.session-hero>div{flex:1;min-width:0}.session-hero strong{color:#1f2937;font-size:16px;display:block}.session-hero small{color:#374151;font-size:12.5px}.session-group{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;display:grid}.session-group h4{color:#1f2937;margin:4px 0 8px;font-size:13.5px;font-weight:700}.service-extract-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.service-extract-toolbar p{color:#6b7280;margin:0;font-size:13px}#modal.service-extract-dialog{width:min(1180px,100vw - 28px)!important}.owner-search-results{gap:6px;display:grid}.owner-search-results button{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:2px;padding:8px 10px;display:grid}.owner-search-results button:hover{background:#fff7f7;border-color:#ef2329}.owner-search-results small{color:#6b7280;font-size:12px}.record-removal-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.record-removal-actions:empty{display:none}.record-removal-actions.in-modal{border-top:1px solid #edf0f5;justify-content:flex-end;margin-top:16px;padding-top:14px}.record-removal-button{white-space:nowrap;align-items:center;gap:6px;width:auto;min-height:36px;padding:0 12px;font-size:13px;display:inline-flex}.record-removal-button svg{flex:none;width:16px;min-width:16px;height:16px}.record-removal-button.danger{color:#b91c1c;background:#fff;border:1px solid #f3c5c5}.record-removal-button.danger:hover{background:#fdecec}.form-guidance.is-danger{color:#8a1c1c;background:#fff5f5;border-color:#f3c5c5}.service-choice{border:1px solid #e5e7eb;border-radius:10px;gap:7px;margin:0;padding:10px 12px;display:grid}.service-choice legend{color:#374151;padding:0 4px;font-size:12.5px;font-weight:600}.service-choice label,.inline-check{color:#374151;align-items:center;gap:8px;font-size:13px;font-weight:500;display:flex}.origin-contract-list{gap:8px;display:grid}.origin-contract-row{background:#fff;border:1px solid #e5e7eb;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:11px 12px;display:grid}.origin-contract-row>div:first-child{gap:2px;min-width:0;display:grid}.origin-contract-row strong{color:#1f2937;font-size:13px}.origin-contract-row small{color:#6b7280;font-size:11.5px}.origin-contract-actions{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}.origin-contract-actions a,.origin-contract-actions button{align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:12px;display:inline-flex}.equipment-suggestion{gap:12px;display:grid}.equipment-suggestion .form-guidance{margin:0}.equipment-suggestion-facts{background:#e5e7eb;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.equipment-suggestion-facts>div{background:#fff;gap:3px;min-width:0;padding:10px 12px;display:grid}.equipment-suggestion-facts dt{color:#6b7280;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:600}.equipment-suggestion-facts dd{color:#1f2937;overflow-wrap:anywhere;gap:3px;margin:0;font-size:13px;display:grid}.equipment-suggestion-facts dd small{color:#6b7280;font-size:11.5px}.equipment-suggestion .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.equipment-suggestion-actions{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:640px){.equipment-suggestion-facts{grid-template-columns:1fr}}.customer-sheet .conn-pill,.customer-sheet button.conn-pill{letter-spacing:.02em;height:auto;min-height:0;box-shadow:none;border-radius:999px;flex:0 auto;width:auto;padding:4px 12px;font-size:11.5px;font-weight:600;line-height:1.35}.customer-sheet .conn-pill svg{flex:none;width:13px;height:13px}.customer-sheet .conn-pill-disconnect,.customer-sheet button.conn-pill-disconnect{border-radius:999px;width:26px;height:26px;min-height:0;padding:0}
.chat-center{--cc-ink:#172036;--cc-muted:#667085;--cc-faint:#98a2b3;--cc-line:#dfe5ee;--cc-soft:#f5f7fa;--cc-red:#d80813;--cc-red-dark:#a50b14;color:var(--cc-ink);gap:14px;padding:4px 0 24px;font-size:13px;display:grid}.chat-center button{font:inherit;cursor:pointer}.chat-center button:disabled{opacity:.55;cursor:not-allowed}.chat-center svg{flex:none}.chat-center-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.chat-center-head small{color:var(--cc-red-dark);letter-spacing:.09em;font-size:11px;font-weight:800;display:block}.chat-center-head h1{margin:4px 0;font-size:24px;line-height:1.2}.chat-center-head p{color:var(--cc-muted);max-width:70ch;margin:0;font-size:13px}.chat-center-status{flex-wrap:wrap;gap:6px;display:flex}.chat-stat{border:1px solid var(--cc-line);color:var(--cc-muted);background:#fff;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:inline-flex}.chat-stat b{color:var(--cc-ink);font-weight:700}.chat-stat.tone-warning{color:#93590a;background:#fffaeb;border-color:#f5dfae}.chat-stat.tone-warning b{color:#93590a}.chat-stat.tone-success{color:#087849;background:#effaf4;border-color:#bfe8d2}.chat-stat.tone-success b{color:#087849}.chat-center-views{border-bottom:1px solid var(--cc-line);gap:2px;display:flex;overflow-x:auto}.chat-center-views button{color:var(--cc-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;margin-bottom:-1px;padding:9px 14px;font-size:13px;font-weight:600;transition:color .15s,border-color .15s;display:inline-flex}.chat-center-views button:hover{color:var(--cc-ink)}.chat-center-views button.active{color:var(--cc-red-dark);border-bottom-color:var(--cc-red)}.chat-error{color:var(--cc-red-dark);background:#fff0f1;border:1px solid #f6c9cc;border-radius:8px;margin:0;padding:10px 12px}:is(.chat-center,.chat-queue-alert) button.compact{white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:6px;width:auto;min-height:32px;padding:0 11px;font-size:12.5px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}:is(.chat-center,.chat-queue-alert) button.primary{border:1px solid var(--cc-red);background:var(--cc-red);color:#fff}:is(.chat-center,.chat-queue-alert) button.primary:hover:not(:disabled){background:var(--cc-red-dark)}:is(.chat-center,.chat-queue-alert) button.secondary{border:1px solid var(--cc-line);color:#344054;background:#fff}:is(.chat-center,.chat-queue-alert) button.secondary:hover:not(:disabled),:is(.chat-center,.chat-queue-alert) button.secondary.active{background:var(--cc-soft);border-color:#c5cedb}:is(.chat-center,.chat-queue-alert) button.danger{color:#b91c1c;background:#fff;border:1px solid #f3c5c5}:is(.chat-center,.chat-queue-alert) button.danger:hover:not(:disabled){background:#fdecec}.chat-tag{white-space:nowrap;color:var(--cc-muted);background:#eef1f5;border-radius:5px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.chat-tag.tone-success{color:#087849;background:#e1f7eb}.chat-tag.tone-warning{color:#93590a;background:#fff3d6}.chat-tag.tone-info{color:#1d4ed8;background:#e8f0fe}.chat-tag.tone-purple{color:#6b3fc4;background:#f1eafd}.chat-protocol{color:var(--cc-muted);align-items:center;gap:4px;font:500 11.5px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;display:inline-flex}.chat-unread{background:var(--cc-red);color:#fff;text-align:center;border-radius:999px;min-width:18px;margin-left:auto;padding:1px 6px;font-size:10.5px;font-weight:700}.chat-presence{background:#c3cad5;border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.chat-presence.on{background:#16a34a;box-shadow:0 0 0 3px #16a34a22}.chat-inbox{border:1px solid var(--cc-line);background:#fff;border-radius:10px;grid-template-columns:minmax(280px,340px) minmax(0,1fr);height:clamp(520px,100dvh - 250px,900px);display:grid;overflow:hidden}.chat-queue{border-right:1px solid var(--cc-line);grid-template-rows:auto auto minmax(0,1fr);min-width:0;min-height:0;display:grid}.chat-scopes{border-bottom:1px solid var(--cc-line);grid-template-columns:repeat(4,1fr);display:grid}.chat-scopes button{color:var(--cc-muted);text-align:center;background:0 0;border:0;border-bottom:2px solid #0000;gap:1px;padding:10px 4px;display:grid}.chat-scopes button+button{border-left:1px solid var(--cc-line)}.chat-scopes strong{color:var(--cc-ink);font-size:17px;line-height:1.1}.chat-scopes span{font-size:11px}.chat-scopes button:hover{background:var(--cc-soft)}.chat-scopes button.active{border-bottom-color:var(--cc-red);background:#fff5f5}.chat-scopes button.active strong,.chat-scopes button.active span{color:var(--cc-red-dark)}.chat-queue-filters{border-bottom:1px solid var(--cc-line);gap:8px;padding:10px;display:grid}.chat-search{border:1px solid var(--cc-line);background:#fff;border-radius:7px;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:flex}.chat-search:focus-within{border-color:#c5cedb;box-shadow:0 0 0 3px #1d4ed814}.chat-center .chat-search input{min-width:0;min-height:0;font:inherit;box-shadow:none;background:0 0;border:0;outline:0;flex:1;padding:0}.chat-center .chat-queue-filters select{border:1px solid var(--cc-line);width:100%;min-height:34px;font:inherit;color:#344054;background-color:#fff;border-radius:7px;padding:0 26px 0 10px}.chat-threads{min-height:0;margin:0;padding:0;list-style:none;overflow:hidden auto}.chat-threads li,.chat-threads button>*{min-width:0}.chat-threads li+li{border-top:1px solid #edf0f5}.chat-threads button{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-left:3px solid #0000;gap:5px;padding:11px 12px;display:grid}.chat-threads button:hover{background:var(--cc-soft)}.chat-threads button.active{border-left-color:var(--cc-red);background:#fff5f5}.chat-thread-top{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.chat-thread-top strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.chat-thread-top small{color:var(--cc-faint);flex:none;font-size:11px}.chat-threads p{text-overflow:ellipsis;white-space:nowrap;color:var(--cc-muted);margin:0;font-size:12.5px;overflow:hidden}.chat-threads button.unread .chat-thread-top strong{font-weight:700}.chat-threads button.unread p{color:var(--cc-ink);font-weight:600}.chat-thread-tags{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.chat-empty{color:var(--cc-muted);text-align:center;justify-items:center;gap:6px;padding:32px 16px;display:grid}.chat-empty p{margin:0}.chat-conversation{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.chat-placeholder{text-align:center;color:var(--cc-muted);background:var(--cc-soft);grid-row:1/-1;place-content:center;justify-items:center;gap:8px;padding:30px;display:grid}.chat-placeholder h3{color:var(--cc-ink);margin:4px 0 0;font-size:16px}.chat-placeholder p{max-width:44ch;margin:0}.chat-thread-head{border-bottom:1px solid var(--cc-line);flex-wrap:wrap;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.chat-back{border:1px solid var(--cc-line);color:#344054;background:#fff;border-radius:7px;place-items:center;width:32px;height:32px;padding:0;display:none}.chat-identity{flex:1;gap:5px;min-width:220px;display:grid}.chat-identity h3{margin:0;font-size:16px;line-height:1.25}.chat-customer-link{color:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:700}.chat-customer-link:hover{color:var(--cc-red-dark);text-decoration:underline}.chat-meta{color:var(--cc-muted);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12px;display:flex}.chat-meta>span{align-items:center;gap:4px;display:inline-flex}.chat-agent{flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.chat-agent strong{font-weight:600}.chat-agent small{color:var(--cc-muted);font-size:12px}.chat-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.chat-body{grid-template-columns:minmax(0,1fr) 270px;min-height:0;display:grid}.chat-log{background:var(--cc-soft);flex-direction:column;gap:8px;min-height:0;padding:16px;display:flex;overflow-y:auto}.chat-log-empty{color:var(--cc-muted);margin:auto}.chat-day{justify-content:center;margin:6px 0;display:flex}.chat-day span{color:var(--cc-muted);background:#e6eaf0;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600}.chat-system{max-width:90%;color:var(--cc-muted);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin:2px auto;font-size:11.5px;display:flex}.chat-system small{color:var(--cc-faint)}.chat-bubble{border:1px solid var(--cc-line);background:#fff;border-radius:10px;gap:4px;max-width:min(76%,560px);padding:8px 11px;display:grid}.chat-bubble.from-customer{border-top-left-radius:3px;align-self:flex-start}.chat-bubble.from-agent{background:#fff1f2;border-color:#f3cfd1;border-top-right-radius:3px;align-self:flex-end}.chat-bubble.is-note{background:#fffaeb;border:1px dashed #e6c46a}.chat-bubble strong{color:var(--cc-red-dark);align-items:center;gap:4px;font-size:11.5px;font-weight:600;display:inline-flex}.chat-bubble.is-note strong{color:#93590a}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.45}.chat-bubble>small{color:var(--cc-faint);justify-self:end;font-size:10.5px}.chat-audio{width:min(260px,100%);height:36px}.chat-image img{object-fit:cover;border-radius:7px;max-width:min(280px,100%);max-height:240px;display:block}.chat-file{border:1px solid var(--cc-line);color:#344054;background:#fff;border-radius:7px;align-items:center;gap:7px;padding:7px 10px;font-weight:600;text-decoration:none;display:inline-flex}.chat-file span{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:220px;overflow:hidden}.chat-file small{color:var(--cc-faint);font-weight:400}.chat-side{border-left:1px solid var(--cc-line);background:#fff;min-height:0;padding:12px;overflow-y:auto}.chat-side h4{align-items:center;gap:6px;margin:0 0 10px;font-size:12.5px;font-weight:700;display:flex}.chat-side h5{letter-spacing:.05em;text-transform:uppercase;color:var(--cc-muted);margin:14px 0 6px;font-size:11px;font-weight:700}.chat-side ul,.chat-side ol{margin:0;padding:0;list-style:none}.chat-timeline ol{border-left:2px solid #e6eaf0;gap:0;margin-left:4px;display:grid}.chat-timeline li{gap:1px;padding:0 0 12px 14px;display:grid;position:relative}.chat-timeline li:before{content:"";background:#fff;border:2px solid #b8c1ce;border-radius:50%;width:8px;height:8px;position:absolute;top:4px;left:-5px}.chat-timeline strong{font-size:12.5px;font-weight:600}.chat-timeline span{color:#344054;font-size:12px}.chat-timeline em{color:var(--cc-muted);overflow-wrap:anywhere;font-size:12px;font-style:normal}.chat-timeline small{color:var(--cc-faint);font-size:11px}.chat-side-empty{color:var(--cc-muted);padding:4px 0;font-size:12px}.chat-timeline li.chat-side-empty:before{display:none}.chat-transfer label{color:var(--cc-muted);gap:4px;font-size:12px;display:grid}.chat-center .chat-transfer input{border:1px solid var(--cc-line);min-height:34px;font:inherit;border-radius:7px;padding:0 10px}.chat-transfer li{border-bottom:1px solid #edf0f5;align-items:center;gap:8px;padding:7px 0;display:flex}.chat-transfer li>div{flex:1;min-width:0;display:grid}.chat-transfer li strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;overflow:hidden}.chat-transfer li small{color:var(--cc-muted);font-size:11px}.chat-composer{border-top:1px solid var(--cc-line);background:#fff;gap:7px;padding:10px 12px;display:grid;position:relative}.chat-composer.is-note{background:#fffaeb}.chat-composer-tools{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.chat-composer-tools>button{border:1px solid var(--cc-line);color:#344054;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:4px;min-width:32px;height:32px;padding:0 8px;font-size:12px;display:inline-flex}.chat-composer-tools>button:hover:not(:disabled){background:var(--cc-soft)}.chat-composer-tools>button.recording{color:#b91c1c;background:#fdecec;border-color:#f3c5c5;font-weight:600}.chat-composer-tools svg{width:16px;min-width:16px;height:16px}.chat-note-toggle{color:var(--cc-muted);cursor:pointer;align-items:center;gap:6px;margin-left:6px;font-size:12px;display:inline-flex}.chat-center .chat-note-toggle input,.chat-center .chat-check input{width:15px;height:15px;min-height:0;accent-color:var(--cc-red);margin:0}.chat-composer-row{align-items:stretch;gap:8px;display:flex}.chat-center .chat-composer textarea{border:1px solid var(--cc-line);min-width:0;min-height:52px;max-height:160px;font:inherit;resize:vertical;background:#fff;border-radius:8px;flex:1;padding:8px 10px;line-height:1.4}.chat-center .chat-composer textarea:focus{border-color:#c5cedb;outline:0;box-shadow:0 0 0 3px #1d4ed814}.chat-center .chat-composer textarea:disabled{background:var(--cc-soft)}.chat-send{background:var(--cc-red);color:#fff;border:0;border-radius:8px;flex:none;place-items:center;width:46px;display:grid}.chat-send:hover:not(:disabled){background:var(--cc-red-dark)}.chat-hint{color:var(--cc-faint);font-size:11px}.chat-quick-picker{z-index:5;border:1px solid var(--cc-line);background:#fff;border-radius:9px;max-height:240px;display:grid;position:absolute;bottom:calc(100% - 4px);left:12px;right:12px;overflow-y:auto;box-shadow:0 10px 28px #17203624}.chat-quick-picker[hidden]{display:none}.chat-quick-picker button{text-align:left;color:inherit;background:0 0;border:0;border-bottom:1px solid #edf0f5;align-items:baseline;gap:10px;padding:9px 12px;display:flex}.chat-quick-picker button:hover,.chat-quick-picker button:first-child{background:var(--cc-soft)}.chat-quick-picker strong{color:var(--cc-red-dark);font:600 12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.chat-quick-picker span{flex:1;min-width:0}.chat-quick-picker small{color:var(--cc-faint);font-size:11px}.chat-quick-picker p{color:var(--cc-muted);margin:0;padding:12px}.chat-config{gap:14px;display:grid}.chat-config>header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.chat-config h3{margin:0 0 3px;font-size:16px}.chat-config>header p{color:var(--cc-muted);max-width:80ch;margin:0}.chat-form{border:1px solid var(--cc-line);background:#fff;border-radius:10px;gap:12px;padding:16px;display:grid}.chat-form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:end;gap:12px;display:grid}.chat-form label{color:#344054;gap:4px;font-size:12px;font-weight:600;display:grid}.chat-center .chat-form input:not([type=checkbox]),.chat-center .chat-form select,.chat-center .chat-form textarea,.chat-center .chat-audit-filters select,.chat-center .chat-audit-filters input{border:1px solid var(--cc-line);min-height:36px;font:inherit;background-color:#fff;border-radius:7px;width:100%;padding:6px 10px;font-weight:400}.chat-center .chat-form textarea{resize:vertical;line-height:1.4}.chat-form label.chat-check,.chat-check{cursor:pointer;align-items:center;gap:7px;font-weight:500;display:inline-flex}.chat-form fieldset{border:1px solid var(--cc-line);border-radius:8px;margin:0;padding:12px}.chat-form legend{color:#344054;padding:0 6px;font-size:12px;font-weight:700}.chat-schedule{gap:6px;display:grid}.chat-schedule>div{grid-template-columns:70px 120px 120px;align-items:center;gap:8px;display:grid}.chat-schedule p,.chat-members p{color:var(--cc-muted);margin:4px 0 0;font-size:12px}.chat-members{flex-wrap:wrap;gap:8px 18px;display:flex}.chat-form-actions{justify-content:flex-end;gap:8px;display:flex}.chat-cards{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px;display:grid}.chat-cards article{border:1px solid var(--cc-line);background:#fff;border-radius:10px;align-content:start;gap:8px;padding:14px;display:grid}.chat-cards article.inactive{opacity:.6}.chat-cards article>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-cards h4{margin:0;font-size:14px}.chat-cards p{color:var(--cc-muted);margin:0;line-height:1.45}.chat-reply-body{white-space:pre-wrap;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-cards dl{grid-template-columns:1fr 1fr;gap:6px 12px;margin:0;display:grid}.chat-cards dl .wide{grid-column:1/-1}.chat-cards dt{color:var(--cc-faint);font-size:11px}.chat-cards dd{margin:0;font-size:12.5px;font-weight:600}.chat-cards footer{border-top:1px solid #edf0f5;gap:6px;padding-top:10px;display:flex}.chat-cards>.chat-empty{border:1px dashed var(--cc-line);background:#fff;border-radius:10px;grid-column:1/-1}.chat-audit-filters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.chat-audit-filters select{min-width:210px;width:auto!important}.chat-audit-filters label{color:var(--cc-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.chat-audit-filters label input{width:auto!important}.chat-audit-filters>span{color:var(--cc-muted);margin-left:auto;font-size:12px}.chat-audit-wrap{border:1px solid var(--cc-line);background:#fff;border-radius:10px;overflow-x:auto}.chat-audit-table{border-collapse:collapse;width:100%;font-size:12.5px}.chat-audit-table th{border-bottom:1px solid var(--cc-line);background:var(--cc-soft);color:var(--cc-muted);letter-spacing:.04em;text-transform:uppercase;text-align:left;white-space:nowrap;padding:9px 12px;font-size:11px;font-weight:700}.chat-audit-table td{vertical-align:top;border-bottom:1px solid #edf0f5;padding:8px 12px}.chat-audit-table tr:last-child td{border-bottom:0}.chat-audit-table td:first-child{white-space:nowrap}.chat-audit-table .mono{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.chat-center button:focus-visible,.chat-center a:focus-visible{outline-offset:2px;outline:2px solid #1d4ed8}@media (max-width:1200px){.chat-body{grid-template-columns:minmax(0,1fr) 230px}}@media (max-width:980px){.chat-inbox{grid-template-columns:1fr;height:clamp(520px,100dvh - 210px,900px)}.chat-inbox.has-selection .chat-queue,.chat-inbox:not(.has-selection) .chat-conversation{display:none}.chat-queue{border-right:0}.chat-back{display:grid}.chat-body{grid-template-columns:1fr}.chat-side{display:none}.chat-inbox .chat-body:has(.chat-transfer){grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.chat-inbox .chat-body:has(.chat-transfer) .chat-side{border-left:0;border-top:1px solid var(--cc-line);display:block}.chat-bubble{max-width:88%}.chat-schedule>div{grid-template-columns:60px 1fr 1fr}}@media (prefers-reduced-motion:reduce){.chat-center *{transition:none!important}}.chat-queue-alert{--cc-line:#dfe5ee;--cc-soft:#f5f7fa;--cc-red:#d80813;--cc-red-dark:#a50b14;color:#172036;background:#fff;border:0;border-radius:12px;width:min(520px,100vw - 32px);padding:0;font-size:13px;overflow:hidden;box-shadow:0 24px 60px #17203647}.chat-queue-alert::backdrop{background:#17203673}.chat-queue-alert[open]{animation:.22s ease-out chat-alert-in}@keyframes chat-alert-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:none}}.chat-queue-alert header{background:#fffaeb;border-bottom:1px solid #f5dfae;align-items:center;gap:12px;padding:16px 18px;display:flex}.chat-queue-alert header small{color:#93590a;letter-spacing:.09em;font-size:11px;font-weight:800;display:block}.chat-queue-alert h2{margin:2px 0 0;font-size:17px;line-height:1.25}.chat-queue-alert ul{max-height:min(46vh,340px);margin:0;padding:6px 18px;list-style:none;overflow-y:auto}.chat-queue-alert li{align-items:center;gap:11px;padding:10px 0;display:flex}.chat-queue-alert li+li{border-top:1px solid #edf0f5}.chat-queue-alert li>b{color:#93590a;text-align:center;background:#fff3d6;border-radius:7px;flex:none;min-width:34px;padding:4px 0;font-size:12.5px}.chat-queue-alert li>div{flex:1;gap:1px;min-width:0;display:grid}.chat-queue-alert li strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.chat-queue-alert li small{color:#667085;font-size:12px}.chat-queue-alert>p{color:#667085;margin:0;padding:0 18px 8px;font-size:12px}.chat-queue-alert-error{color:#a50b14!important}.chat-queue-alert footer{background:#f5f7fa;border-top:1px solid #dfe5ee;justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}.chat-queue-alert button{font:inherit;cursor:pointer}.chat-queue-alert button:focus-visible{outline-offset:2px;outline:2px solid #1d4ed8}@media (prefers-reduced-motion:reduce){.chat-queue-alert[open]{animation:none}}
