:root{--navy:#14233b;--ink:#1d2d45;--muted:#8190a4;--line:#e7ecf2;--canvas:#f5f7fb;--blue:#286bd3;--green:#218b68;--amber:#c6802e;--red:#bd5652}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--navy);color:#dce5f2;padding:20px 14px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 19px;color:#fff;border-bottom:1px solid #30405a}.brand img{width:39px;height:39px;object-fit:cover;object-position:14% center;background:white;border-radius:9px}.brand div{display:flex;flex-direction:column}.brand b{font-size:16px;letter-spacing:.09em}.brand small{color:#99aac0;font-size:9px;letter-spacing:.09em;margin-top:2px}.section-label{font-size:9px;letter-spacing:.13em;color:#8293aa;font-weight:700;margin:23px 10px 8px}.nav{display:grid;gap:3px}.nav a{height:38px;display:flex;gap:11px;align-items:center;border-radius:7px;padding:0 10px;color:#abb9cb;font-size:11px}.nav a i{font-style:normal;width:18px;text-align:center;font-size:15px}.nav a.active,.nav a:hover{background:#223651;color:#fff}.nav a.active{box-shadow:inset 2px 0 #71a9f7}.side-foot{margin-top:auto;border-top:1px solid #30405a;padding-top:12px}.identity{display:flex;align-items:center;gap:9px;padding:8px 3px;color:#fff}.user-circle{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#dceaff;color:#3869ab;font-size:10px;font-weight:700;flex:0 0 auto}.identity div{min-width:0;flex:1}.identity b{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity small{color:#9eafc4;font-size:9px}.identity a{font-size:10px;color:#9dc1f2}.main{margin-left:246px;min-height:100vh}.topbar{height:62px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.crumb{font-size:11px;color:#8997aa}.crumb b{color:#40516a;font-weight:600}.top-right{display:flex;align-items:center;gap:12px}.online{font-size:9px;color:#71839a;background:#f2f5f8;border-radius:20px;padding:6px 9px}.online:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#46aa7f;margin-right:6px}.main-content{max-width:1450px;margin:auto;padding:26px 34px 50px}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.eyebrow{font-size:9px;letter-spacing:.13em;color:#8a98aa;font-weight:700;margin-bottom:5px}.heading h1{font-size:25px;letter-spacing:-.03em;margin:0;color:#1a2b43;font-weight:650}.heading p{font-size:11px;color:#8592a4;margin:5px 0 0}.button{height:35px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;border:1px solid #dfe5ed;background:#fff;color:#53647c;font-size:10px;font-weight:600;cursor:pointer}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.button.primary:hover{background:#1d58b5}.button.danger{color:var(--red)}.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:17px;margin-bottom:14px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.metric{background:#fff;border:1px solid var(--line);border-radius:8px;padding:15px}.metric span{font-size:10px;color:#8491a3}.metric strong{display:block;font-size:25px;margin:6px 0 2px;color:#21334a}.metric small{font-size:9px;color:#9aa5b3}.card-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:13px}.card-title h2{font-size:12px;margin:0;color:#263951}.card-title p{font-size:9px;color:#95a0af;margin:4px 0 0}.notice{border:1px solid #d9e8fb;background:#edf5ff;border-radius:7px;padding:10px 12px;color:#536f92;font-size:10px;margin-bottom:18px}.notice b{color:#315d98}.toolbar{display:flex;gap:8px;align-items:center;margin:16px 0 12px}.search{height:35px;background:white;border:1px solid #dfe5ed;border-radius:6px;display:flex;align-items:center;gap:7px;padding:0 10px;flex:1;max-width:390px;color:#8d9aae}.search input{border:0;outline:0;width:100%;font-size:10px}.filter{height:35px;border:1px solid #dfe5ed;border-radius:6px;background:white;color:#586a82;padding:0 10px;font-size:10px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{background:#fafbfd;color:#98a3b3;letter-spacing:.06em;font-size:8px;font-weight:700;text-align:left;padding:10px 11px;border-block:1px solid #edf0f4}td{padding:11px;border-bottom:1px solid #f0f2f6;color:#52637a;font-size:9px}tbody tr:last-child td{border-bottom:0}.bold{font-weight:650;color:#3b4d64}.sub{display:block;color:#98a4b2;font-size:8px;margin-top:2px}.tag{font-size:8px;padding:4px 7px;border-radius:20px;background:#edf4ff;color:#3977c8}.tag.high{background:#fff2e4;color:#c47b23}.tag.low{background:#eff7f3;color:#318365}.status{font-size:8px;display:inline-flex;align-items:center;gap:5px}.status:before{content:"";width:5px;height:5px;background:#e5a34a;border-radius:50%}.status.in_progress:before{background:#528ce4}.status.closed:before,.status.active:before{background:#31a275}.empty{padding:28px;text-align:center;color:#92a0b2;font-size:11px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.field label{display:block;font-size:9px;color:#5e7087;font-weight:600;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;height:35px;border:1px solid #dfe5ed;border-radius:6px;padding:0 9px;color:#384b63;font-size:10px;background:white}.field textarea{height:75px;padding:9px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:#79a9e9;box-shadow:0 0 0 3px #e8f1ff}.field.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.inline-form{display:flex;align-items:center;gap:6px}.inline-form select{height:28px;border:1px solid #dfe5ed;border-radius:5px;font-size:8px;color:#56677d}.alert{border-radius:6px;padding:9px 11px;font-size:10px;margin:0 0 14px}.alert.error{background:#fff0ef;color:#a44d4a;border:1px solid #f5d7d4}.alert.success{background:#eef8f3;color:#347b61;border:1px solid #d7eee2}.company-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.company-card{background:white;border:1px solid var(--line);border-radius:8px;padding:15px}.company-head{display:flex;align-items:center;gap:9px}.company-mark{width:32px;height:32px;border-radius:7px;background:#edf4ff;color:#3975c8;display:grid;place-items:center;font-weight:700;font-size:9px}.company-head b{font-size:10px;color:#394b62}.company-head small{display:block;color:#99a4b2;font-size:8px}.company-stats{display:flex;gap:20px;border-top:1px solid #eff1f5;margin-top:12px;padding-top:10px;color:#95a1b0;font-size:8px}.company-stats b{display:block;color:#54677f;font-size:11px}.permission-select{display:flex;gap:6px}.permission-select label{font-size:8px;color:#7d8b9f}.permission-select select{display:block;margin-top:4px;height:29px;border:1px solid #dfe5ed;border-radius:5px;font-size:8px}.mobile-toggle{display:none}.report-box{max-width:900px}.report-actions{display:flex;gap:8px;margin:12px 0}.muted{color:#8b98aa;font-size:10px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 15% 15%,#e6effc,transparent 37%),#f4f7fb}.auth-card{width:min(100%,390px);background:#fff;border:1px solid #e8edf3;border-radius:13px;padding:28px;box-shadow:0 20px 70px #20365416}.auth-brand{display:flex;gap:10px;align-items:center;margin-bottom:30px}.auth-brand img{width:40px;height:40px;object-fit:cover;object-position:14% center;background:#fff;border:1px solid #eef1f5;border-radius:9px}.auth-brand span{display:flex;flex-direction:column}.auth-brand b{font-size:16px;letter-spacing:.08em}.auth-brand small{font-size:8px;color:#8c99ab;letter-spacing:.11em}.auth-card h1{font-size:24px;margin:0;color:#1d2d45}.auth-card .muted{margin:5px 0 19px}.auth-card label{display:block;font-size:9px;color:#566981;font-weight:600;margin:12px 0}.auth-card input{display:block;width:100%;height:39px;margin-top:5px;padding:0 10px;border:1px solid #dfe5ed;border-radius:6px;font-size:11px}.wide{width:100%;margin-top:8px}.auth-foot{font-size:8px;color:#9aa5b3;text-align:center;margin:18px 0 0}.auth-card .alert{margin-top:12px}@media print{.sidebar,.topbar,.toolbar,.form-actions,.notice,.report-actions{display:none!important}.main{margin:0}.main-content{padding:0}.card,.metric{break-inside:avoid;border-color:#ddd}.page{display:block!important}body{background:#fff}}@media(max-width:1050px){.sidebar{width:220px}.main{margin-left:220px}.main-content{padding:22px}.metrics{grid-template-columns:repeat(2,1fr)}.company-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s;width:246px;box-shadow:15px 0 40px #182b4520}.sidebar.open{transform:translateX(0)}.main{margin:0}.topbar{padding:0 15px}.main-content{padding:17px 13px}.mobile-toggle{display:inline-flex}.heading h1{font-size:21px}.company-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.search{max-width:none;flex-basis:100%}.filter{flex:1;min-width:130px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.top-right .online{display:none}.metrics{gap:8px}.metric{padding:12px}.metric strong{font-size:22px}}
.comment-list{display:grid;gap:10px}.comment{border:1px solid #edf0f4;border-radius:7px;padding:12px}.comment-head{display:flex;justify-content:space-between;gap:10px;color:#50627b;font-size:9px}.comment-head span{color:#98a4b2;font-size:8px}.comment p{margin:8px 0 0;color:#52637a;font-size:10px;white-space:pre-wrap}.auth-brand img{object-fit:cover}
.field input[type=checkbox]{width:auto;height:auto;display:inline-block;margin:0 5px 0 0}.permission-select{display:inline-flex;flex-direction:column;gap:3px}.permission-select select{min-width:73px}
/* Inventario: lectura primero, formulario en modal */
body{font-size:15px}.nav a{font-size:13px}.section-label{font-size:10px}.crumb{font-size:12px}.heading h1{font-size:28px}.heading p,.muted{font-size:12px}.button{font-size:12px}.field label{font-size:11px}.field input,.field select,.field textarea,.filter,.search input{font-size:12px}.toolbar{margin:16px 0}.inventory-statuses{display:flex;gap:7px;align-items:center;overflow-x:auto;margin:17px 0 12px;padding-bottom:2px}.status-tab{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;padding:8px 11px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:7px;color:#64758b;font-size:11px}.status-tab b{font-size:10px;color:#384b64;background:#f0f3f7;padding:2px 6px;border-radius:10px}.status-tab.selected{border-color:#9bbff1;background:#eef5ff;color:#2c68bc}.status-tab.selected b{background:#dceaff;color:#2c68bc}.inventory-table-card{padding:0;overflow:hidden}.asset-title{display:block;color:#33475f;font-weight:650;font-size:12px}.table-wrap td{font-size:11px}.table-wrap th{font-size:9px}.table-footer{padding:10px 13px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.asset-state{display:inline-flex;padding:5px 8px;border-radius:20px;font-size:10px;font-weight:650;white-space:nowrap}.state-assigned{background:#edf4ff;color:#3976c7}.state-available{background:#eaf7ef;color:#21835e}.state-repair{background:#fff2e4;color:#bd7527}.state-waiting{background:#f3efff;color:#745ab8}.state-retired{background:#f0f1f3;color:#778395}.row-actions{display:flex;align-items:center;gap:5px}.row-actions form{margin:0}.small-button{height:29px;padding:0 8px;font-size:10px}.modal-backdrop{position:fixed;inset:0;background:rgba(13,25,42,.56);display:none;align-items:center;justify-content:center;padding:18px;z-index:50;backdrop-filter:blur(3px)}.modal-backdrop.visible{display:flex}.asset-modal{width:min(880px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 24px 90px #0d1e3640}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #eef1f5;padding-bottom:13px;margin-bottom:16px}.modal-head h2{margin:0;color:#20334b;font-size:21px}.modal-head p{margin:4px 0 0;color:#8290a4;font-size:11px}.modal-close{height:32px;width:32px;border:0;border-radius:8px;background:#f1f4f8;color:#65758b;font-size:22px}.asset-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-form-grid .full{grid-column:1/-1}.type-fields{border:1px solid #e9eef5;border-radius:8px;background:#fafcff;padding:13px}.type-fields-title{font-size:11px;font-weight:700;color:#48627e;margin-bottom:10px}.check-field{display:flex;align-items:center;gap:7px;font-size:11px;color:#566981}.check-field input{width:auto;height:auto}.accessory-row{display:flex;gap:20px;flex-wrap:wrap}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf0f4;margin-top:17px;padding-top:14px}.theme-toggle{width:34px;height:34px;padding:0;font-size:15px}.theme-dark{--canvas:#111a29;--ink:#e4ebf5;--muted:#9aa9bc;--line:#2a394e;--blue:#5b96f0;background:#111a29;color:#e4ebf5}.theme-dark .main{color:#e4ebf5}.theme-dark .topbar,.theme-dark .card,.theme-dark .metric,.theme-dark .company-card,.theme-dark .asset-modal,.theme-dark .auth-card{background:#192638;border-color:#2a394e;color:#e4ebf5}.theme-dark .topbar{border-color:#2a394e}.theme-dark .crumb,.theme-dark .heading h1,.theme-dark .card-title h2,.theme-dark .metric strong,.theme-dark .asset-title,.theme-dark .company-head b,.theme-dark .bold,.theme-dark .modal-head h2{color:#e4ebf5}.theme-dark .heading p,.theme-dark .muted,.theme-dark .card-title p,.theme-dark .metric span,.theme-dark .metric small{color:#9aa9bc}.theme-dark th{background:#1d2c40;color:#a7b5c7;border-color:#2a394e}.theme-dark td{color:#c4cfdd;border-color:#26364b}.theme-dark .filter,.theme-dark .search,.theme-dark .field input,.theme-dark .field select,.theme-dark .field textarea,.theme-dark .asset-form-grid input,.theme-dark select,.theme-dark input{background:#172438;color:#e4ebf5;border-color:#34465e}.theme-dark .search input{background:transparent}.theme-dark .status-tab{background:#192638;border-color:#33445b;color:#c2cede}.theme-dark .status-tab b{background:#27384e;color:#dce5f2}.theme-dark .status-tab.selected{background:#1c3659;border-color:#4777b8;color:#e7f0ff}.theme-dark .type-fields{background:#172438;border-color:#33445b}.theme-dark .type-fields-title,.theme-dark .check-field{color:#c3cfdf}.theme-dark .notice{background:#1b304b;border-color:#314e74;color:#b7cce8}.theme-dark .notice b{color:#e2edfc}.theme-dark .button:not(.primary){background:#22334a;border-color:#3a4d66;color:#d8e2ef}.theme-dark .modal-close{background:#26384f;color:#d5dfec}.theme-dark .company-stats{border-color:#2a394e;color:#9aa9bc}.theme-dark .company-stats b{color:#dce5f2}
@media(max-width:700px){body{font-size:14px}.heading h1{font-size:24px}.asset-form-grid{grid-template-columns:1fr}.asset-form-grid .full{grid-column:auto}.inventory-heading{align-items:center}.inventory-heading .button{white-space:nowrap}.asset-modal{padding:16px;max-height:94vh}.row-actions{flex-direction:column;align-items:stretch}.status-tab{font-size:10px;padding:7px 9px}}
.modal-open{overflow:hidden}.theme-toggle{flex:0 0 34px}
.report-filters{padding:16px;margin:0 0 16px}.report-filter-grid{display:grid;grid-template-columns:1.4fr 1fr .8fr 1.4fr auto;gap:11px;align-items:end}.report-filter-actions{display:flex;gap:7px;padding-bottom:1px;white-space:nowrap}.report-print-area{background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:21px}.report-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin:2px 2px 17px}.report-title-row h2{font-size:23px;margin:0;color:#1a2d47}.report-title-row p{margin:5px 0 0;color:#7f8da1;font-size:12px}.report-generated{font-size:10px;color:#8290a4}.report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:13px}.report-metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px}.report-metric span{display:block;color:#718199;font-size:11px}.report-metric strong{display:block;font-size:29px;letter-spacing:-.04em;margin:8px 0 4px;color:#273c57}.report-metric small{font-size:10px;color:#95a1b1}.report-metric.tone-blue{background:linear-gradient(145deg,#fff,#f0f6ff)}.report-metric.tone-blue strong{color:#3674c7}.report-metric.tone-amber{background:linear-gradient(145deg,#fff,#fff8ef)}.report-metric.tone-amber strong{color:#c18131}.report-metric.tone-green{background:linear-gradient(145deg,#fff,#eff9f4)}.report-metric.tone-green strong{color:#28835f}.report-panels,.report-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.report-chart-card{margin:0;min-height:236px}.bar-list{display:grid;gap:13px;margin-top:10px}.bar-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#52647d;margin-bottom:5px}.bar-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-label b{color:#344a65}.bar-track{height:7px;border-radius:8px;background:#edf1f6;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#3378d2,#72a7ef)}.company-track i{background:linear-gradient(90deg,#26a17a,#79c9a4)}.report-bottom-grid{margin-top:13px}.report-bottom-grid .card{margin:0}.priority-stats{display:flex;gap:18px;flex-wrap:wrap}.priority-stats span{display:flex;align-items:center;gap:6px;font-size:11px;color:#64758b}.priority-stats b{color:#344963;margin-left:2px}.priority-dot{height:8px;width:8px;border-radius:50%;display:inline-block}.high-dot{background:#df705f}.medium-dot{background:#e2a343}.low-dot{background:#4f98dc}.resolution-number{font-size:30px;font-weight:700;color:#2c69bd;margin:3px 0}.report-footer{border-top:1px solid var(--line);margin-top:16px;padding-top:10px;text-align:right;color:#8794a6;font-size:9px}.export-button{white-space:nowrap}
.theme-dark .report-print-area{background:#131f30;border-color:#2a394e}.theme-dark .report-metric{background:#192638;border-color:#2a394e}.theme-dark .report-title-row h2,.theme-dark .report-metric strong,.theme-dark .bar-label b{color:#e4ebf5}.theme-dark .report-metric span,.theme-dark .report-metric small,.theme-dark .report-title-row p,.theme-dark .report-generated{color:#9aa9bc}.theme-dark .report-metric.tone-blue,.theme-dark .report-metric.tone-amber,.theme-dark .report-metric.tone-green{background:#192638}.theme-dark .bar-track{background:#293a50}.theme-dark .priority-stats span{color:#bbc8d8}
@media(max-width:900px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-actions{grid-column:1/-1}.report-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.report-panels,.report-bottom-grid{grid-template-columns:1fr}.report-title-row{align-items:flex-start;gap:10px;flex-direction:column}.report-metrics{gap:8px}.report-metric{padding:12px}.report-metric strong{font-size:24px}.report-filter-grid{grid-template-columns:1fr}.report-filter-actions{grid-column:auto}.report-heading{align-items:center}.export-button{font-size:10px;padding:0 8px}}
@media print{body *{visibility:hidden!important}#reportPrintArea,#reportPrintArea *{visibility:visible!important}#reportPrintArea{position:absolute;left:0;top:0;width:100%;padding:0;border:0;background:#fff!important;color:#1d2d45!important}.report-metrics{grid-template-columns:repeat(4,1fr)}.report-panels,.report-bottom-grid{grid-template-columns:repeat(2,1fr)}.report-metric,.report-chart-card,.report-bottom-grid .card{break-inside:avoid;box-shadow:none!important;background:#fff!important;color:#1d2d45!important}.report-title-row h2,.report-metric strong,.bar-label b{color:#1d2d45!important}.report-metric span,.report-metric small,.report-title-row p,.report-generated,.bar-label,.priority-stats span{color:#52637a!important}.bar-track{background:#edf1f6!important}.report-footer{color:#718199!important}}
.report-panels.resolution-report{display:none}.report-panels.cases-report+.report-bottom-grid{display:none}.report-bottom-grid.resolution-report>.card:first-child{display:none}.resolution-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.resolution-pair>div{border:1px solid var(--line);border-radius:8px;background:#f9fbfd;padding:12px}.resolution-pair span,.resolution-pair small{display:block;font-size:10px;color:#8492a4}.resolution-pair strong{display:block;color:#2d6abb;font-size:22px;margin:5px 0}.theme-dark .resolution-pair>div{background:#172438;border-color:#33445b}.theme-dark .resolution-pair span,.theme-dark .resolution-pair small{color:#9aa9bc}
.inventory-toolbar{flex-wrap:wrap}.inventory-toolbar .search{min-width:230px}
.ticket-modal{width:min(760px,100%)}
.ticket-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ticket-meta-grid>div{background:#f8fafd;border:1px solid #edf1f5;border-radius:7px;padding:10px}.ticket-meta-grid span{display:block;color:#8190a4;font-size:10px;margin-bottom:4px}.ticket-meta-grid b{color:#344a63;font-size:12px}.ticket-description{border-top:1px solid var(--line);margin-top:16px;padding-top:13px}.ticket-description h3{font-size:12px;margin:0 0 5px}.ticket-description p{white-space:pre-wrap;line-height:1.7;color:#53657c;font-size:12px}.ticket-service-form .field textarea{min-height:115px}.ticket-list-card{padding:0;overflow:hidden}.report-cases{margin-top:14px}.report-cases table{white-space:normal;min-width:900px}.report-cases th,.report-cases td{vertical-align:top}.report-cases td{line-height:1.5}.report-cases .solution-cell{min-width:260px;max-width:460px;white-space:normal;overflow-wrap:anywhere}.report-cases .sub{white-space:normal}.theme-dark .ticket-meta-grid>div{background:#172438;border-color:#33445b}.theme-dark .ticket-meta-grid b,.theme-dark .ticket-description h3{color:#dce5f2}.theme-dark .ticket-description p{color:#c3cfdf}
@media(max-width:700px){.ticket-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.report-cases table{font-size:8px;min-width:0}.report-cases .solution-cell{min-width:150px;max-width:none}.report-cases tr{break-inside:avoid}.ticket-meta-grid{grid-template-columns:repeat(3,1fr)}}
.company-logo{width:42px;height:42px;object-fit:contain;border:1px solid #e8edf3;background:#fff;border-radius:9px;padding:3px}.company-edit{margin-top:13px;border-top:1px solid var(--line);padding-top:10px}.company-edit summary,.portal-edit summary{cursor:pointer;color:#3975c8;font-size:11px;font-weight:650}.company-edit-form,.company-logo-form,.company-toggle-form{display:grid;gap:8px;margin-top:10px}.company-logo-form{padding:10px;background:#f8fafd;border:1px solid #edf0f5;border-radius:7px}.company-logo-form label,.portal-edit label{font-size:10px;color:#5e7087}.company-logo-form input,.portal-edit input,.portal-edit select,.portal-reset input{display:block;height:32px;width:100%;margin:4px 0 8px;border:1px solid #dfe5ed;border-radius:6px;padding:0 8px;font-size:11px;background:#fff;color:#384b63}.company-edit details{overflow:hidden}.company-card .status{margin-top:5px}.portal-edit form{min-width:200px;padding:10px;background:#f8fafd;border:1px solid #edf0f5;border-radius:7px;margin-top:8px}.portal-edit label{display:block}.portal-reset{min-width:250px;flex-wrap:wrap}.auth-advice{padding:9px 10px;border-radius:7px;background:#f0f6ff;color:#607692;font-size:10px;line-height:1.5}.theme-dark .company-logo{background:#fff}.theme-dark .company-logo-form,.theme-dark .portal-edit form{background:#172438;border-color:#33455c}.theme-dark .company-logo-form label,.theme-dark .portal-edit label{color:#bfccdc}.theme-dark .auth-advice{background:#1b304b;color:#c1d2e8}
.asset-view-modal{width:min(760px,100%)}.asset-view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.asset-view-field{min-width:0;padding:10px 11px;border:1px solid #e9eef5;border-radius:8px;background:#fafcff}.asset-view-field span{display:block;margin-bottom:4px;color:#8997a9;font-size:10px}.asset-view-field b{display:block;overflow-wrap:anywhere;color:#344b66;font-size:12px;font-weight:600}.auth-client-entry{margin-top:18px;padding-top:14px;border-top:1px solid #edf0f4;text-align:center}.auth-client-entry>b{font-size:12px}.auth-client-entry p{margin:3px 0 10px;color:#8795a8;font-size:10px}.auth-register-link{display:inline-block;margin-top:10px;color:#2e6fc7;font-size:11px;font-weight:650}.portal-auth-card{width:min(100%,480px)}.portal-register-inline{margin-top:17px;padding-top:13px;border-top:1px solid #edf0f4}.portal-register-inline summary{cursor:pointer;color:#526982;font-size:11px}.portal-register-inline summary b{color:#2c6dc5}.portal-register-inline>p{margin:9px 0}.portal-register-inline form{padding-top:3px}.portal-register-inline form label{margin:10px 0}.portal-register-inline .button{margin:0 0 2px}.internal-edit summary{cursor:pointer;color:#3975c8;font-size:10px;font-weight:650}.internal-edit form{min-width:190px;margin-top:7px;padding:9px;background:#f8fafd;border:1px solid #edf0f5;border-radius:7px}.internal-edit label{display:block;margin:4px 0;color:#63748b;font-size:9px}.internal-edit input,.internal-reset input{display:block;width:100%;height:31px;margin:4px 0 8px;border:1px solid #dfe5ed;border-radius:6px;padding:0 8px;font-size:10px;background:#fff;color:#384b63}.internal-reset{min-width:260px;flex-wrap:wrap}.reset-user-submit{margin-top:5px}.portal-user-search{margin-top:8px}.theme-dark .asset-view-field{background:#172438;border-color:#33455c}.theme-dark .asset-view-field b{color:#dce5f2}.theme-dark .asset-view-field span{color:#9aa9bc}.theme-dark .auth-client-entry,.theme-dark .portal-register-inline{border-color:#2a394e}.theme-dark .internal-edit form{background:#172438;border-color:#33455c}.theme-dark .internal-edit label{color:#bfccdc}@media(max-width:760px){.asset-view-grid{grid-template-columns:1fr}.internal-reset{min-width:210px}}
.company-user-mark{width:34px;height:34px;flex:0 0 34px;object-fit:contain;background:#fff;border:1px solid #e7edf4;border-radius:50%;padding:3px}.internal-edit input{display:block}

.company-edit-trigger{margin-top:12px}.company-edit-dialog{width:min(620px,100%)}.company-modal{z-index:70}.company-modal .company-edit-form{grid-template-columns:1fr 1fr}.company-modal .company-edit-form .button{grid-column:1/-1}.company-modal .company-toggle-form,.company-modal .company-delete-form{padding-top:10px;border-top:1px solid var(--line)}.company-modal .company-delete-form small{font-size:10px;color:var(--muted)}.ticket-live-notice{position:sticky;top:8px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 6px 20px #182b4518}.ticket-live-notice[hidden]{display:none}.copy-toast{position:fixed;right:24px;bottom:24px;z-index:100;padding:12px 16px;border-radius:10px;background:#173a2d;color:#fff;box-shadow:0 12px 35px #0d1e3640;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.copy-toast.visible{opacity:1;transform:translateY(0)}.copy-confirmed{background:#218b68!important;color:white!important}.image-preview-modal{z-index:90;background:rgba(7,14,25,.78)}.image-preview-dialog{width:min(1100px,96vw);height:min(88vh,850px);display:flex;flex-direction:column;background:#111a29;border:1px solid #34445b;border-radius:14px;overflow:hidden;box-shadow:0 24px 90px #0008}.image-preview-dialog>header{height:54px;flex:0 0 54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;color:#eef4fb;border-bottom:1px solid #304157}.image-preview-controls{display:flex;gap:7px}.image-preview-controls button{min-width:34px;height:32px;border:1px solid #43566f;border-radius:7px;background:#1c2c41;color:#eef4fb;cursor:pointer}.image-preview-controls button[data-image-close]{font-size:21px}.image-preview-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:16px}.image-preview-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;transition:transform .1s ease;cursor:zoom-in}.theme-dark .company-modal .company-logo-form{background:#172438}.theme-dark .company-modal .company-edit-form input{background:#172438;color:#e4ebf5;border-color:#34465e}@media(max-width:650px){.company-modal .company-edit-form{grid-template-columns:1fr}.company-modal .company-edit-form .button{grid-column:auto}.ticket-live-notice{align-items:flex-start;flex-direction:column}.image-preview-dialog{width:100vw;height:88vh;border-radius:0}.image-preview-controls{gap:4px}.image-preview-controls button{min-width:30px}}

.notification-button{position:relative;width:36px;height:34px;padding:0;font-size:17px}.notification-button.has-notification{color:#286bd3;border-color:#8db4ed}.notification-button span{position:absolute;right:-5px;top:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#d9574c;color:white;font-size:10px;line-height:16px}.notification-button span[hidden]{display:none}.ticket-notice-toast{position:fixed;right:76px;top:72px;z-index:80;width:min(420px,calc(100vw - 30px));display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 16px 42px #14233b30}.ticket-notice-toast[hidden]{display:none}.ticket-notice-toast>div{display:grid;gap:4px;min-width:0;flex:1}.ticket-notice-toast b{font-size:12px;color:#20334b}.ticket-notice-toast span{font-size:11px;color:#667991;overflow-wrap:anywhere}.ticket-notice-toast .modal-close{flex:0 0 30px}.theme-dark .ticket-notice-toast{background:#192638;border-color:#34465e}.theme-dark .ticket-notice-toast b{color:#e4ebf5}.theme-dark .ticket-notice-toast span{color:#acbbcc}@media(max-width:600px){.ticket-notice-toast{right:10px;top:68px;gap:7px;padding:10px}.ticket-notice-toast .small-button{padding:0 7px;font-size:10px}}

.notification-button{color:#286bd3;background:#f2f7ff;border-color:#d7e6fb}.notification-button:hover,.notification-button.has-notification{color:#1858ab;background:#e7f0ff;border-color:#a9c7f2}.notification-button span{background:#d94a4a;color:#fff}.notification-popover{position:absolute;right:82px;top:55px;z-index:85;width:min(390px,calc(100vw - 28px));max-height:min(70vh,560px);overflow:hidden;background:#fff;border:1px solid #dfe7f1;border-radius:12px;box-shadow:0 18px 48px #14233b30}.notification-popover[hidden]{display:none}.notification-popover>header{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid var(--line);font-size:12px}.notification-popover>header button{border:0;background:transparent;color:#286bd3;font-size:10px;cursor:pointer}.notification-list{max-height:calc(min(70vh,560px) - 45px);overflow:auto}.notification-list>.muted{padding:14px;margin:0;font-size:11px}.notification-item{display:grid;gap:4px;padding:12px 15px;border-bottom:1px solid #edf1f6}.notification-item:hover{background:#f6f9fd}.notification-item b{font-size:11px;color:#263d58}.notification-item span{font-size:10px;color:#4d6580}.notification-item small{font-size:9px;color:#8996a8}.portal-top-actions{display:flex;align-items:center;gap:8px}.portal-notification-popover{right:210px;top:55px}.theme-dark .notification-popover{background:#192638;border-color:#34465e}.theme-dark .notification-popover>header,.theme-dark .notification-item{border-color:#2a394e}.theme-dark .notification-item:hover{background:#213149}.theme-dark .notification-item b{color:#e4ebf5}.theme-dark .notification-item span{color:#b1bfd0}.theme-dark .notification-item small{color:#93a3b8}.theme-dark .notification-button{color:#8bb8fa;background:#1d3150;border-color:#36577e}@media(max-width:600px){.notification-popover{right:10px;top:58px}.portal-notification-popover{right:10px}.portal-top-actions{gap:5px}.portal-top-actions>.button{font-size:10px;padding:0 8px}}

.notification-button svg{display:block;width:18px;height:18px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-popover>header>div{display:flex;align-items:center;gap:9px}.notification-popover>header>div button{border:0;background:transparent;color:#286bd3;font-size:10px;cursor:pointer}.portal-create-modal{width:min(760px,100%)}.portal-detail-modal{width:min(820px,100%)}.portal-detail-content{display:grid;gap:14px}.portal-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.portal-detail-item{padding:11px 12px;border:1px solid #e8edf4;border-radius:8px;background:#fafcff;min-width:0}.portal-detail-item span{display:block;margin-bottom:5px;color:#8795a8;font-size:10px}.portal-detail-item b{display:block;color:#344b66;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.portal-solution{padding:14px;border:1px solid #d8e9df;border-radius:9px;background:#f2faf5}.portal-solution h3{margin:0 0 6px;font-size:12px;color:#246c4c}.portal-solution p{margin:0;font-size:12px;line-height:1.65;white-space:pre-wrap}.theme-dark .portal-detail-item{background:#172438;border-color:#33455c}.theme-dark .portal-detail-item b{color:#dce5f2}.theme-dark .portal-detail-item span{color:#9aa9bc}.theme-dark .portal-solution{background:#1b332b;border-color:#315a49}.theme-dark .portal-solution h3{color:#9ce0bd}.theme-dark .portal-solution p{color:#d0e5d9}@media(max-width:640px){.portal-detail-grid{grid-template-columns:1fr 1fr}.portal-create-modal,.portal-detail-modal{padding:15px;max-height:94vh}}

.company-logo-fallback[hidden]{display:none!important}
.report-executive{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:13px;padding:16px 19px;border:1px solid #dce8f8;border-left:4px solid #286bd3;border-radius:10px;background:linear-gradient(110deg,#f2f7ff,#fff)}.report-executive>b,.report-executive p{margin:0}.report-executive>div:first-child{min-width:0}.report-executive>div:first-child>b{font-size:12px;color:#263c57}.report-executive p{margin-top:5px;font-size:11px;line-height:1.65;color:#60738d}.report-executive-rate{flex:0 0 auto;display:grid;justify-items:center;padding:6px 16px;border-left:1px solid #dce5f1}.report-executive-rate span{color:#718198;font-size:10px}.report-executive-rate strong{color:#286bd3;font-size:24px}.report-distribution table{min-width:0}.report-distribution td,.report-distribution th{padding:8px 9px}.report-share{display:flex;align-items:center;gap:8px;min-width:105px}.report-share>i{display:block;flex:1;height:7px;border-radius:8px;background:#edf1f6;overflow:hidden}.report-share>i>span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#3378d2,#72a7ef)}.report-share small{width:32px;color:#708098;font-size:10px;text-align:right}.report-description{max-width:280px;white-space:normal!important;line-height:1.5}.theme-dark .report-executive{background:linear-gradient(110deg,#1c2c43,#192638);border-color:#33465e;border-left-color:#5792e3}.theme-dark .report-executive>div:first-child>b{color:#e2eaf4}.theme-dark .report-executive p,.theme-dark .report-executive-rate span,.theme-dark .report-share small{color:#aebdd0}.theme-dark .report-executive-rate{border-color:#33465e}.theme-dark .report-share>i{background:#293a50}
@media(max-width:600px){.report-executive{align-items:flex-start;padding:13px;gap:8px}.report-executive-rate{padding:0 0 0 10px}.report-executive-rate strong{font-size:20px}.report-share{min-width:78px}}
@media print{.report-executive{background:#f5f8fc!important;border-color:#dce5f1!important}.report-executive p,.report-executive-rate span{color:#52637a!important}.report-executive>div:first-child>b{color:#1d2d45!important}.report-executive-rate{border-color:#dce5f1!important}.report-distribution tr{break-inside:avoid}}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;overflow:hidden}.brand .brand-wordmark{display:block;width:100%;max-width:202px;height:48px;object-fit:contain;object-position:center;background:transparent;border:0;border-radius:0;padding:0;transform:scale(1.45)}.brand-caption{color:#a8b9cf;font-size:9px;letter-spacing:.12em;margin-left:2px}.auth-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.auth-brand .auth-wordmark{display:block;width:min(100%,320px);height:auto;max-height:75px;object-fit:contain;object-position:left center;background:#fff;border:0;border-radius:4px;padding:0}.portal-auth-card .auth-brand{align-items:center;text-align:center;width:100%}.portal-auth-card .auth-brand .auth-wordmark{object-position:center}.auth-brand>small{color:#8291a5;font-size:8px;letter-spacing:.12em}.copy-asset-status{margin-right:auto;color:#218b68;font-size:11px;font-weight:650}.copy-asset-status:empty{display:none}.copy-asset-status.copy-error{color:#b84e4e}.theme-dark .copy-asset-status{color:#75d4aa}.theme-dark .copy-asset-status.copy-error{color:#ff9e9a}
