:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef3f8;font-family:Arial,system-ui,sans-serif}html{width:100%;min-height:100%}body{background:#eef3f8;width:100%;min-height:100vh;margin:0}#root{width:100%;min-height:100vh}*{box-sizing:border-box}body{color:#1f2937;background:#f4f7fb;margin:0;font-family:Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#fff;background:#1e3a5f;border:none;border-radius:8px;padding:8px 12px;font-size:.92rem;font-weight:700}button:hover,button.active{background:#f97316}.secondary-button{color:#1f2937;background:#e5e7eb}.danger-button{background:#9f1239}input,select,textarea{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:36px;padding:8px 10px}.password-input-wrap{position:relative}.password-input-wrap input{padding-right:44px}.password-visibility-button{color:#64748b;background:0 0;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-visibility-button:hover{color:#1e3a5f;background:#f1f5f9}.password-visibility-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.app-shell{min-height:100vh;display:flex}.sidebar{background:#fff;border-right:1px solid #dbe3ef;flex-direction:column;width:240px;padding:16px;display:flex}.sidebar-brand{text-align:center;margin-bottom:20px}.sidebar-brand img{object-fit:contain;width:216px;max-width:100%;max-height:108px}.sidebar-brand p{color:#64748b;margin:6px 0 0;font-size:13px}.sidebar-brand .sidebar-organization{color:#1f2937;overflow-wrap:anywhere;margin-top:4px;font-weight:700}.sidebar-brand .sidebar-powered-by{color:#a0aec0;margin-top:8px;font-size:10px;font-weight:400}.sidebar-nav{gap:8px;display:grid}.sidebar-nav button{text-align:left;width:100%}.sidebar-divider{background:#e5e7eb;height:1px;margin:8px 0}.logout-button{color:#1f2937;background:#e5e7eb;width:100%}.logout-button:hover{color:#fff;background:#9f1239}.main-content{flex:1;max-width:1280px;margin:0 auto;padding:24px 36px;overflow-x:hidden}.page-header{margin-bottom:18px}.page-header h1{color:#111827;overflow-wrap:anywhere;border-left:5px solid #f97316;margin:0 0 6px;padding-left:12px;font-size:30px}.page-header .page-title-organization{color:inherit;font-size:.94em;font-weight:inherit}.page-header p{color:#4b5563;margin:0}.page-header .login-context{color:#64748b;margin-top:3px;font-size:.9rem}section{background:#fff;border:1px solid #e5e7eb;border-top:3px solid #f97316;border-radius:12px;margin-bottom:18px;padding:18px;box-shadow:0 3px 10px #0f172a0b}.section-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.section-header h2,.section-header h3{color:#111827;margin:0 0 6px}.section-header p{color:#64748b;margin:0}.filter-bar{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.search-bar{grid-template-columns:1fr auto;gap:8px;margin:10px 0;display:grid}.search-bar input{min-width:0}.search-bar button{white-space:nowrap}.count-label{color:#4b5563;margin:8px 0;font-size:.9rem;font-weight:700}.technical-id{color:#94a3b8;font-size:.78rem;font-weight:600;line-height:1.35}.field-help{color:#64748b;margin-top:6px;font-size:.82rem;line-height:1.35;display:block}.price-preview,.stock-price-preview{color:#64748b;align-self:center;margin:0;font-size:.86rem;font-weight:600;line-height:1.35}.price-preview strong,.stock-price-preview strong{color:#1f2937}.stock-line-summary{color:#334155;margin:0 0 6px;font-size:.92rem;line-height:1.4}.stock-line-summary:last-child{margin-bottom:0}.stock-line-summary.muted{color:#64748b;font-weight:700}.cards-list{gap:10px;display:grid}.card-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-top:4px;display:flex}.form-grid{gap:10px;display:grid}.form-grid label,.filter-bar label{color:#475569;gap:4px;font-size:.88rem;font-weight:700;display:grid}.compact-filters{grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:8px;margin:8px 0}.filter-bar button{color:#12345a;background:#f8fafc;border:1px solid #d8dee8;padding:7px 11px;font-weight:700}.filter-bar button:hover{color:#12345a;background:#f1f6fb;border-color:#9fb3cc}.filter-bar button.active{color:#0f2a44;background:#eaf2fb;border-color:#6f8fb3;box-shadow:inset 0 0 0 1px #c7d8ee}.export-button{color:#24513f;background:#f6faf7;border:1px solid #cbd8d1;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:5px 9px;font-size:.82rem;line-height:1.2;display:inline-flex}.export-button:hover,.export-button:focus-visible{color:#174433;background:#edf7f1;border-color:#9fc7b2}.operation-card .card-actions button,.client-panel .card-actions button,.table-section .card-actions button,.confirmation-modal .card-actions button{color:#12345a;background:#f8fafc;border:1px solid #c7d2e2}.operation-card .card-actions button:hover,.client-panel .card-actions button:hover,.table-section .card-actions button:hover,.confirmation-modal .card-actions button:hover{background:#eef5fb;border-color:#8da7c4}.operation-card .card-actions .secondary-button,.client-panel .card-actions .secondary-button,.table-section .card-actions .secondary-button,.confirmation-modal .card-actions .secondary-button{color:#9a3412;background:#fff7ed;border-color:#fed7aa}.operation-card .card-actions .secondary-button:hover,.client-panel .card-actions .secondary-button:hover,.table-section .card-actions .secondary-button:hover,.confirmation-modal .card-actions .secondary-button:hover{background:#ffedd5;border-color:#fdba74}.operation-card .card-actions .danger-button,.client-panel .card-actions .danger-button,.table-section .card-actions .danger-button,.confirmation-modal .card-actions .danger-button{color:#991b1b;background:#fef2f2;border-color:#fecaca}.operation-card .card-actions .danger-button:hover,.client-panel .card-actions .danger-button:hover,.table-section .card-actions .danger-button:hover,.confirmation-modal .card-actions .danger-button:hover{background:#fee2e2;border-color:#fca5a5}.operation-card .card-actions .export-button,.client-panel .card-actions .export-button,.table-section .card-actions .export-button,.confirmation-modal .card-actions .export-button{color:#24513f;background:#f6faf7;border-color:#cbd8d1}.operation-card .card-actions .export-button:hover,.client-panel .card-actions .export-button:hover,.table-section .card-actions .export-button:hover,.confirmation-modal .card-actions .export-button:hover{color:#174433;background:#edf7f1;border-color:#9fc7b2}.operation-card .card-actions .positive-button,.client-panel .card-actions .positive-button,.table-section .card-actions .positive-button{color:#166534;background:#f0f8f3;border-color:#bbd7c6}.operation-card .card-actions .positive-button:hover,.client-panel .card-actions .positive-button:hover,.table-section .card-actions .positive-button:hover{background:#e6f4eb;border-color:#86b998}.operation-card .card-actions .installment-danger-button,.client-panel .card-actions .installment-danger-button,.table-section .card-actions .installment-danger-button{color:#991b1b;background:#fff7f7;border-color:#fecaca}.operation-card .card-actions .installment-danger-button:hover,.client-panel .card-actions .installment-danger-button:hover,.table-section .card-actions .installment-danger-button:hover{background:#fef2f2;border-color:#fca5a5}.operation-card .card-actions .master-edit-button{color:#24425f;background:#f8fafc;border-color:#bfccd9}.operation-card .card-actions .master-edit-button:hover{color:#15324d;background:#eef4f9;border-color:#8fa4ba}.operation-card .card-actions .master-danger-button{color:#9b1c1c;background:#fff7f7;border-color:#f3b9b9}.operation-card .card-actions .master-danger-button:hover{color:#861818;background:#fef0f0;border-color:#e69595}.wide-form{max-width:760px}.catalog-service-summary{background:#f8fafc;border:1px solid #dbe4ee;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;display:grid}.catalog-service-summary>div{min-width:0}.catalog-service-summary span{color:#64748b;margin-bottom:4px;font-size:.76rem;display:block}.catalog-service-summary strong{color:#111827;overflow-wrap:anywhere}.catalog-service-summary-description{grid-column:1/-1}.catalog-service-summary-description p{color:#334155;margin:0;line-height:1.5}.sold-service-catalog-description{color:#475569;background:#f8fafc;border-left:3px solid #cbd5e1;border-radius:0 6px 6px 0;margin:2px 0 10px;padding:9px 10px;font-size:.88rem;line-height:1.5}.sold-service-catalog-description strong{color:#334155}.subsection{background:0 0;border-top:1px solid #e5e7eb;margin-top:10px;padding-top:10px}.table-section{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;margin:10px 0 14px;padding:12px}.compact-header{align-items:center;margin-bottom:10px}.stats-grid{grid-template-columns:repeat(5,minmax(90px,1fr));gap:8px;margin-bottom:10px;display:grid}.stats-grid div{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px}.stats-grid span{color:#64748b;font-size:.78rem;font-weight:700;display:block}.stats-grid strong{color:#111827;margin-top:2px;display:block}.import-preview-legend{color:#475569;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px;font-size:.86rem;line-height:1.45;display:flex}.import-preview-legend>span{align-items:center;gap:6px;display:inline-flex}.table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:100%;overflow-x:auto}.table-wrapper table{border-collapse:collapse;width:100%;min-width:760px}.table-wrapper th,.table-wrapper td{text-align:left;vertical-align:top;border-bottom:1px solid #e5e7eb;padding:8px 10px;font-size:.88rem}.table-wrapper th{color:#475569;background:#f1f5f9;font-weight:800}.table-wrapper tr:last-child td{border-bottom:0}.mapping-grid{grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;display:grid}.detected-columns{color:#475569;margin:0 0 10px;font-size:.9rem;line-height:1.45}.mapping-grid label{color:#475569;gap:4px;font-size:.88rem;font-weight:700;display:grid}.ignored-columns{color:#475569;background:#fff;border:1px dashed #cbd5e1;border-radius:8px;margin-top:10px;padding:10px 12px;font-size:.9rem}.ignored-columns ul{margin:6px 0 0;padding-left:18px}.ignored-columns li{margin:2px 0}.form-grid .checkbox-field,.filter-bar .checkbox-field,.checkbox-field{color:#374151;justify-content:flex-start;align-items:center;gap:8px;font-weight:700;line-height:1.3;display:flex}.checkbox-field input{flex:none;width:16px;height:16px;min-height:auto;margin:0}.checkbox-line{color:#374151;align-items:center;gap:8px;font-weight:700;line-height:1.3;display:inline-flex}.checkbox-line input[type=checkbox]{flex:none;width:16px;height:16px;min-height:auto;margin:0;padding:0}.form-message{color:#374151;white-space:pre-line;background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;margin:8px 0;padding:9px 11px;font-weight:700}.form-message.error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.form-message.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.muted-text{color:#64748b}.app-message{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin:8px 0;padding:10px 12px;font-weight:700}.operation-card{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #f97316;border-radius:12px;width:100%;min-width:0;padding:14px;box-shadow:0 2px 8px #0f172a0a}.stock-movement-card-draft{background:#fff;border-color:#e5e7eb #e5e7eb #e5e7eb #d97706}.stock-movement-card-draft .operation-card-grid>div{background:#f8fafc;border-color:#e5e7eb}.stock-movement-card-posted{border-left-color:#16a34a}.stock-movement-card-posted .operation-card-grid>div{background:#f8fafc}.operation-card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.operation-card-header h3{color:#111827;margin:2px 0 3px;font-size:1.06rem}.operation-card-header p{color:#64748b;margin:0;font-size:.9rem}.eyebrow{color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-size:.76rem;font-weight:700;display:block}.operation-card-grid,.detail-grid,.dashboard-grid,.dashboard-topline,.dashboard-bottom-grid{gap:9px;display:grid}.operation-card-grid{grid-template-columns:repeat(3,minmax(130px,1fr));margin-bottom:10px}.master-dashboard-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.master-support-summary{border-top:1px solid #e5e7eb;margin-top:12px;padding-top:12px}.master-support-summary h4{color:#111827;margin:0 0 8px;font-size:.92rem}.master-support-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.operation-card-grid>div,.detail-card,.dashboard-card,.dashboard-mini-panel{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;min-width:0;padding:9px 10px}.operation-card-grid span,.detail-card span,.dashboard-card span{color:#64748b;margin-bottom:4px;font-size:.76rem;display:block}.operation-card-grid strong,.detail-card strong,.dashboard-card strong{color:#111827;overflow-wrap:anywhere}.plan-commercial-details{border-top:1px solid #e5e7eb;margin:12px 0;padding-top:12px}.plan-commercial-section+.plan-commercial-section{margin-top:12px}.plan-commercial-section h4,.plan-commercial-list h4{color:#111827;margin:0 0 8px;font-size:.9rem}.plan-commercial-section small{color:#64748b;margin-top:4px;line-height:1.35;display:block}.plan-commercial-lists{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px;display:grid}.plan-commercial-list{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px}.plan-commercial-list ul{color:#475569;margin:0;padding-left:18px;font-size:.84rem;line-height:1.55}.status-badge{text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:.68rem;font-weight:800;line-height:1.2;display:inline-block}.status-import-valid{color:#166534;background:#dcfce7}.status-import-warning{color:#075985;background:#e0f2fe}.status-import-error{color:#991b1b;background:#fee2e2}.status-import-duplicate{color:#92400e;background:#fef3c7}.modal-backdrop{z-index:50;background:#0f172a6b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirmation-modal{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:min(440px,100%);padding:18px;box-shadow:0 18px 42px #0f172a33}.confirmation-modal h3{color:#111827;margin:0 0 10px}.confirmation-modal p{color:#475569;margin:0 0 18px;line-height:1.5}.status-active,.status-ativo,.status-emitido,.status-pago,.status-resolvido{color:#166534;background:#dcfce7}.status-potencial,.status-proposto,.status-por_emitir,.status-em_analise,.status-aguarda_cliente{color:#92400e;background:#fef3c7}.status-archived,.status-inactive,.status-inativo,.status-cancelado,.status-fechado{color:#374151;background:#e5e7eb}.status-em_atraso,.status-suspended{color:#991b1b;background:#fee2e2}.status-novo,.status-concluido,.status-edit{color:#1e40af;background:#dbeafe}.priority-baixa{color:#374151;background:#e5e7eb}.priority-media{color:#1e40af;background:#dbeafe}.priority-alta{color:#92400e;background:#fef3c7}.priority-critica{color:#991b1b;background:#fee2e2}.dashboard-header{margin-bottom:12px}.dashboard-export-panel{justify-items:end;gap:8px;display:grid}.dashboard-export-filters{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.dashboard-export-filters label{color:#526171;gap:3px;min-width:118px;font-size:.75rem;font-weight:700;display:grid}.dashboard-export-filters select,.dashboard-export-filters input{color:#1f2937;background:#fff;border:1px solid #d8dee8;border-radius:8px;min-height:32px;padding:6px 8px}.dashboard-export-actions{align-items:center;gap:6px}.dashboard-export-button{color:#24513f;background:#f6faf7;border-color:#cbd8d1;justify-content:center;align-items:center;gap:6px;min-height:30px;padding:5px 9px;font-size:.82rem;line-height:1.2;display:inline-flex}.dashboard-export-button span{color:#24513f;letter-spacing:.02em;background:#eef7f1;border:1px solid #cbd8d1;border-radius:5px;padding:1px 4px;font-size:.62rem;font-weight:800}.dashboard-export-button.secondary-button span{color:#24513f;background:#eef7f1}.dashboard-export-button:hover,.dashboard-export-button:focus-visible{color:#174433;background:#edf7f1;border-color:#9fc7b2}.dashboard-focus-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:9px;margin-bottom:12px;display:grid}.audit-log-list{gap:6px;display:grid;position:relative}.audit-log-row{grid-template-columns:14px minmax(0,1fr);align-items:start;gap:8px;display:grid}.audit-log-marker{background:#f28c28;border-radius:50%;width:7px;height:7px;margin:15px auto 0;box-shadow:0 0 0 3px #fff7ed}.audit-log-content{background:#fff;border:1px solid #e5e7eb;border-left:2px solid #f28c28;border-radius:8px;min-width:0;padding:8px 10px}.audit-log-main{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.audit-log-main h3{color:#0f2a44;margin:0 0 4px;font-size:.96rem}.audit-log-main p{color:#4b5563;margin:5px 0 0;line-height:1.45}.audit-log-subline{color:#6b7280;flex-wrap:wrap;gap:3px 8px;font-size:.78rem;display:flex}.audit-log-subline span:not(:last-child):after{content:"·";color:#c5ccd6;margin-left:10px}.audit-role-badge{color:#526171;white-space:nowrap;background:#f8fafc;border:1px solid #d8dee8;border-radius:999px;padding:2px 6px;font-size:.72rem;font-weight:700}.audit-log-meta{color:#6b7280;flex-wrap:wrap;gap:4px 12px;margin-top:6px;font-size:.78rem;display:flex}.audit-log-meta strong{color:#1f2937}.audit-log-details{margin-top:8px}.audit-log-details summary{cursor:pointer;color:#526171;font-size:.8rem;font-weight:700}.audit-log-details pre{color:#1f2937;white-space:pre-wrap;background:#f4f6f8;border-radius:8px;max-height:220px;margin:6px 0 0;padding:8px;font-size:.78rem;overflow:auto}.dashboard-topline{grid-template-columns:repeat(4,minmax(130px,1fr));margin-bottom:12px}.dashboard-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}.dashboard-bottom-grid{grid-template-columns:repeat(2,minmax(220px,1fr));align-items:start;margin:12px 0}.dashboard-side-widgets{gap:12px;min-width:0;display:grid}.dashboard-compact-summaries{border-top:1px solid #e5e7eb;gap:10px;margin-top:12px;padding-top:12px;display:grid}.dashboard-summary-block h4{color:#111827;margin:0 0 7px;font-size:.92rem}.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.dashboard-summary-metric{background:#fff;border:1px solid #e5e7eb;border-left:3px solid #9fb3cc;border-radius:8px;min-width:0;padding:7px 8px}.dashboard-summary-metric span{color:#64748b;margin-bottom:2px;font-size:.72rem;font-weight:700;display:block}.dashboard-summary-metric strong{color:#111827;overflow-wrap:anywhere;font-size:.95rem;display:block}.dashboard-summary-warning{border-left-color:#d97706}.dashboard-summary-danger{border-left-color:#dc2626}.dashboard-summary-success{border-left-color:#16a34a}.dashboard-card{border-left:4px solid #f97316;padding:8px 10px}.dashboard-card strong{font-size:1.22rem;display:block}.dashboard-card small{color:#64748b;margin-top:4px;display:block}.dashboard-card-success{border-left-color:#16a34a}.dashboard-card-warning{border-left-color:#f59e0b}.dashboard-card-danger{border-left-color:#dc2626}.dashboard-mini-panel h3{color:#111827;margin-top:0;margin-bottom:8px}.dashboard-mini-panel p,.dashboard-mini-panel li{color:#475569;line-height:1.45}.dashboard-note{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin-top:12px;padding:10px 12px;font-size:.9rem}.alert-list{gap:8px;display:grid}.alert-item{text-align:left;background:#fff;border:1px solid #e5e7eb;border-left:4px solid #f97316;border-radius:9px;flex-direction:column;gap:4px;width:100%;padding:9px 10px;display:flex}.alert-item strong{color:#111827;font-size:.92rem;display:block}.alert-item p{color:#475569;margin:0;font-size:.88rem;line-height:1.45}.alert-item:not(:disabled){cursor:pointer}.alert-item:not(:disabled):hover{border-color:#fdba74;transform:translateY(-1px)}.alert-item:disabled{cursor:default}.alert-danger{background:#fef2f2;border-left-color:#dc2626}.alert-warning{background:#fffbeb;border-left-color:#f59e0b}.alert-info{background:#eff6ff;border-left-color:#2563eb}.collapsible-group{border-top:none;margin-top:10px;padding-top:8px}.collapsible-header{color:#111827;text-align:left;background:#fff;border:1px solid #e5e7eb;border-left:3px solid #f97316;justify-content:space-between;align-items:center;width:100%;display:flex}.collapsible-header h3{margin:0}.collapsible-header span{color:#64748b;margin-top:3px;font-size:.82rem;display:block}.collapsible-content{margin-top:8px}.detail-grid{grid-template-columns:repeat(4,minmax(160px,1fr));margin:14px 0}.tab-bar{border-top:1px solid #e5e7eb;flex-wrap:wrap;gap:6px;margin-top:16px;padding-top:12px;display:flex}.tab-bar button{color:#1f2937;background:#e5e7eb}.tab-bar button.active{color:#fff;background:#f97316}.simple-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.simple-list li{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:9px 10px}.simple-list li p{color:#475569;margin:0;line-height:1.45}.dashboard-activity-list{max-height:420px;padding-right:4px;overflow-y:auto}.dashboard-recent-activity-panel{align-self:start}.dashboard-recent-activity-list{max-height:230px}.dashboard-support-tickets-panel{grid-column:1/-1}.dashboard-side-widgets .dashboard-activity-list:not(.dashboard-recent-activity-list){max-height:260px}.dashboard-activity-list li{padding:8px 10px}.dashboard-activity-header{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:4px;display:flex}.dashboard-activity-label{color:#111827;font-size:.82rem;font-weight:800}.dashboard-activity-header strong{color:#f97316;white-space:nowrap;font-size:.78rem}.dashboard-activity-list small{color:#64748b;margin-top:3px;line-height:1.35;display:block}.login-page{background:#f4f7fb;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fff;border-radius:14px;width:100%;max-width:420px;padding:26px;box-shadow:0 8px 22px #0f172a12}.login-logo{width:320px;max-width:100%;margin:0 auto 16px;display:block}.login-card button[type=submit]{color:#fff;box-shadow:none;background:#12304d;border:1px solid #0b2238;padding-top:7px;padding-bottom:7px;transition:background .18s,border-color .18s}.login-card button[type=submit]:hover{background:#1a3b5c;border-color:#173f63}.login-card .secondary-button{color:#475569;background:#f8fafc;border:1px solid #d8dee8}.login-card .secondary-button:hover{color:#1e3a5f;background:#eef3f8;border-color:#cbd5e1}.client-detail-hero{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.client-detail-title{margin-top:12px}.client-detail-title h2{color:#111827;margin:4px 0 6px;font-size:1.62rem}.client-detail-title p{color:#64748b;margin:0}.client-summary-grid,.client-kpi-grid,.client-panel-grid{gap:9px;display:grid}.client-summary-grid,.client-kpi-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.client-summary-grid{margin-bottom:10px}.client-kpi-grid{margin-bottom:12px}.client-kpi-card{background:#f8fafc;border:1px solid #e5e7eb;border-left:4px solid #f97316;border-radius:10px;padding:10px}.client-kpi-card span{color:#64748b;margin-bottom:5px;font-size:.82rem;display:block}.client-kpi-card strong{color:#111827;font-size:1.28rem;display:block}.client-kpi-card.success{border-left-color:#16a34a}.client-kpi-card.warning{border-left-color:#f59e0b}.client-action-bar{flex-wrap:wrap;gap:6px;margin:12px 0 2px;display:flex}.client-panel-grid{grid-template-columns:repeat(2,minmax(260px,1fr));margin-bottom:10px}.client-panel{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #f97316;border-radius:10px;padding:12px;box-shadow:0 2px 8px #0f172a09}.client-panel h3{color:#111827;margin:0 0 8px}.detail-section{margin-top:12px}.detail-card small{color:#64748b;margin-top:4px;display:block}.list-row-header{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:4px;display:flex}.faq-list{grid-template-columns:repeat(2,minmax(320px,1fr));align-items:start;gap:9px;display:grid}.faq-item{background:#fff;border:1px solid #e5e7eb;border-left-width:4px;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #0f172a09}.faq-item.open{background:#fff;border-color:#d8dee8 #d8dee8 #d8dee8 #f97316}.faq-question{color:#111827;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:12px;display:flex}.faq-question:hover{background:#f8fafc}.faq-question span{font-weight:800}.faq-question strong{color:#f97316;font-size:1.2rem}.faq-answer{color:#475569;padding:0 12px 12px}.faq-answer p{margin:0;line-height:1.55}.manual-access{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #f97316;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex;box-shadow:0 2px 8px #0f172a0a}.manual-access-content h3{color:#111827;margin:0 0 6px}.manual-access-content p{color:#475569;margin:0;line-height:1.55}.manual-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:8px;display:flex}.manual-actions .primary-button{white-space:nowrap;text-decoration:none}.manual-warning{color:#b45309;margin:0;font-size:.88rem;font-weight:700}@media (width<=900px){.app-shell{display:block}.sidebar{border-bottom:1px solid #dbe3ef;border-right:none;width:100%}.main-content{width:100%;max-width:none;padding:20px}.detail-grid,.dashboard-topline,.dashboard-grid,.dashboard-bottom-grid,.master-support-summary-grid,.client-summary-grid,.client-kpi-grid,.client-panel-grid,.stats-grid,.mapping-grid,.plan-commercial-lists,.faq-list{grid-template-columns:1fr}.manual-access{flex-direction:column;align-items:flex-start}.manual-actions{align-items:flex-start}.dashboard-focus-grid{grid-template-columns:1fr 1fr}.compact-filters{grid-template-columns:repeat(2,minmax(160px,1fr))}.client-detail-hero{flex-direction:column}.client-action-bar{grid-template-columns:1fr 1fr;display:grid}.client-action-bar button{width:100%}}@media (width<=700px){html,body,#root{width:100%;overflow-x:hidden}.search-bar{grid-template-columns:1fr}.search-bar button{width:100%}.sidebar{padding:16px 14px}.sidebar-brand{margin-bottom:16px}.sidebar-brand img{width:150px}.sidebar-nav{grid-template-columns:1fr 1fr;gap:10px}.sidebar-nav button{text-align:center;min-height:50px;font-size:.9rem}.logout-button{min-height:50px;margin-top:0}.main-content{padding:12px}.page-header h1{font-size:28px;line-height:1.15}.page-header p{overflow-wrap:anywhere;font-size:.86rem}section{border-radius:12px;padding:14px;overflow:hidden}.section-header{flex-direction:column;align-items:stretch;gap:10px}.section-header button{width:100%}.filter-bar{grid-template-columns:1fr 1fr;gap:6px;display:grid}.filter-bar button{width:100%}.operation-card{padding:12px}.operation-card-header{flex-direction:column;gap:8px}.operation-card-grid{grid-template-columns:1fr}.card-actions{grid-template-columns:1fr;gap:6px;display:grid}.card-actions button{width:100%}.dashboard-focus-grid,.dashboard-topline,.dashboard-grid,.dashboard-bottom-grid,.master-dashboard-grid,.master-support-summary-grid,.detail-grid,.client-summary-grid,.client-kpi-grid,.client-panel-grid,.faq-list{grid-template-columns:1fr}.dashboard-card strong{font-size:1.18rem}.tab-bar{grid-template-columns:1fr 1fr;gap:6px;display:grid}.client-action-bar{grid-template-columns:1fr}.client-detail-title h2{font-size:1.38rem}.client-kpi-card strong{font-size:1.18rem}.list-row-header{flex-direction:column;gap:4px}.compact-filters{grid-template-columns:1fr}.login-page{padding:16px}.login-card{padding:24px 18px}.login-logo{width:230px}}.internal-org-banner{background:#fff7ed;border:1px solid #fdba74;border-left:6px solid #f97316;border-radius:14px;margin-bottom:20px;padding:16px 18px}.internal-org-banner strong{color:#9a3412;margin-bottom:6px;font-size:16px;display:block}.internal-org-banner p{color:#7c2d12;margin:0;line-height:1.5}
