:root{--bg: #071529;--surface: #111C2F;--surface-2: #0F1F38;--surface-3: #172338;--border: #24324A;--text: #FFFFFF;--muted: #A8B3C7;--accent: #00AEEF;--accent-2: #7C3AED;--success: #22C55E;--warning: #F59E0B;--error: #EF4444;--radius: 16px;--shadow: 0 24px 80px rgba(0, 0, 0, .25)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100%}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(circle at top left,rgba(0,174,239,.16),transparent 25%),linear-gradient(180deg,#071529,#0b1a33);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:24px}button,input,select,textarea{font:inherit}.dashboard-root{max-width:1480px;margin:0 auto}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 28px;border-radius:20px;background:linear-gradient(180deg,#111c2ffa,#091429e0);border:1px solid rgba(255,255,255,.06);box-shadow:var(--shadow)}.brand-badge{display:inline-flex;align-items:center;justify-content:center;width:140px;padding:10px 16px;border-radius:999px;background:#00aeef1f;color:var(--accent);font-weight:700;letter-spacing:.02em;margin-bottom:8px}.dashboard-header h1{font-size:2rem;line-height:1.1}.subtitle{color:var(--muted);margin-top:6px;max-width:720px}.header-actions{display:flex;flex-wrap:wrap;gap:12px}.btn{padding:12px 18px;border-radius:12px;border:1px solid transparent;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease;font-weight:700}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:#fff;box-shadow:0 16px 30px #00aeef2e}.btn-secondary{background:transparent;color:var(--text);border-color:#ffffff1f}.btn-ghost{background:#ffffff0a;color:var(--text);border-color:#ffffff1a}.btn:disabled{opacity:.5;cursor:not-allowed}.dashboard-main{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;margin-top:22px}.left-col,.right-col{display:flex;flex-direction:column;gap:22px}.card{background:#111c2feb;border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:22px;box-shadow:0 10px 40px #00000026}.card h3{font-size:1.15rem;margin-bottom:16px}input[type=text],input[type=number],select,textarea{width:100%;border:1px solid rgba(255,255,255,.08);background:#172338f2;color:var(--text);border-radius:12px;padding:12px 14px;transition:border-color .2s ease,box-shadow .2s ease}input[type=text]:focus,input[type=number]:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent-2);box-shadow:0 0 0 4px #7c3aed24}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.4) 50%),linear-gradient(135deg,rgba(255,255,255,.4) 50%,transparent 50%);background-position:calc(100% - 18px) calc(1em + 2px),calc(100% - 14px) calc(1em + 2px);background-size:8px 8px,8px 8px;background-repeat:no-repeat}select option{background:#172338;color:var(--text)}textarea{min-height:100px;resize:vertical}label{display:block;margin-bottom:8px;color:var(--muted);font-size:.92rem}.muted{color:var(--muted)}.feedback{padding:14px 18px;border-radius:14px;margin-bottom:12px}.error-message{background:#ef44441a;color:#fdd;border-left:4px solid var(--error)}.success-message{background:#22c55e1f;color:#d1f5e3;border-left:4px solid var(--success)}.loading{color:var(--muted)}.module-card{background:#10233a;border:1px solid #2B4564;border-radius:16px;padding:18px}.module-header{display:flex;justify-content:space-between;gap:18px;align-items:start}.module-title{font-size:1rem;font-weight:700;margin-bottom:10px}.module-description{min-height:70px}.mf-section-header{margin-bottom:16px}.mf-section-header h3{margin-bottom:4px}.mf-section-hint{font-size:.85rem;color:var(--muted)}.mf-module-list{display:flex;flex-direction:column;gap:22px}.mf-empty,.mf-no-features{color:var(--muted);font-size:.9rem;padding:8px 0}.mf-module-card{background:#10233a;border:1px solid #2B4564;border-left:4px solid #00AEEF;border-radius:14px;padding:20px 22px;box-shadow:0 4px 16px #00000040}.mf-module-card--alt{background:#132b45;border-left-color:#7c3aed}.mf-module-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}.mf-module-label{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#00aeef;background:#00aeef1f;border:1px solid rgba(0,174,239,.3);border-radius:6px;padding:3px 10px}.mf-module-card--alt .mf-module-label{color:#a78bfa;background:#7c3aed1f;border-color:#7c3aed4d}.mf-module-body{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.mf-module-title-input{font-size:1.05rem!important;font-weight:700!important;color:#eaf1ff!important}.mf-module-desc-input{min-height:60px}.mf-features-section{border-top:1px solid rgba(43,69,100,.7);padding-top:16px}.mf-features-header{margin-bottom:12px}.mf-features-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);display:flex;align-items:center;gap:8px}.mf-feature-count{background:#ffffff14;border-radius:999px;padding:1px 8px;font-size:.72rem;color:#7ddcff;font-weight:700}.mf-feature-list{display:flex;flex-direction:column;gap:14px;margin-bottom:12px}.mf-feature-card{background:#17304d;border:1px solid rgba(125,220,255,.18);border-radius:12px;padding:16px 18px;box-shadow:0 2px 10px #0000002e}.mf-feature-card--alt{background:#1a3657;border-color:#a78bfa26}.mf-feature-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px}.mf-feature-pill{font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#7ddcff;background:#00aeef1a;border:1px solid rgba(0,174,239,.22);border-radius:6px;padding:2px 9px}.mf-feature-card--alt .mf-feature-pill{color:#c4b5fd;background:#7c3aed1a;border-color:#7c3aed38}.mf-feature-body{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mf-field{display:flex;flex-direction:column;gap:4px}.mf-field label{font-size:.8rem;font-weight:600;color:var(--muted)}.mf-field--full,.mf-field--billable{grid-column:1 / -1}.mf-checkbox-label{display:flex!important;align-items:center;gap:8px;cursor:pointer;font-size:.9rem;color:var(--muted)}.mf-checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:#00AEEF;cursor:pointer}.mf-btn-delete-module{font-size:.8rem!important;padding:5px 12px!important;background:#ef44441a!important;color:#fca5a5!important;border:1px solid rgba(239,68,68,.3)!important;border-radius:8px!important;cursor:pointer}.mf-btn-delete-module:hover{background:#ef444433!important;border-color:#ef444480!important}.mf-btn-remove-feature{font-size:.75rem!important;padding:3px 10px!important;background:#ef444414!important;color:#fca5a5!important;border:1px solid rgba(239,68,68,.22)!important;border-radius:6px!important;cursor:pointer}.mf-btn-remove-feature:hover{background:#ef44442e!important}.mf-add-feature-row{margin-top:4px;display:flex;justify-content:flex-start}.mf-btn-add-feature{font-size:.85rem!important;padding:7px 16px!important;background:#00aeef1a!important;color:#7ddcff!important;border:1px solid rgba(0,174,239,.3)!important;border-radius:9px!important;cursor:pointer;font-weight:600!important}.mf-btn-add-feature:hover{background:#00aeef33!important;border-color:#00aeef80!important}.mf-add-module-row{display:flex;justify-content:center;padding-top:4px}.mf-btn-add-module{padding:10px 28px!important;background:linear-gradient(135deg,#00aeef40,#7c3aed2e)!important;color:#eaf1ff!important;border:1px solid rgba(0,174,239,.45)!important;border-radius:11px!important;font-weight:700!important;font-size:.92rem!important;cursor:pointer;box-shadow:0 4px 18px #00aeef26}.mf-btn-add-module:hover{background:linear-gradient(135deg,#00aeef61,#7c3aed47)!important;border-color:#00aeefa6!important;box-shadow:0 6px 24px #00aeef38}@media (max-width: 760px){.mf-feature-body{grid-template-columns:1fr}.mf-field--full,.mf-field--billable{grid-column:1}}.grid-two{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.grid-three{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);padding:16px;border-radius:14px}.summary-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.summary-value{margin-top:8px;font-size:1.4rem;font-weight:700}.proposal-editor,.proposal-preview{width:100%;background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:14px;color:var(--text);padding:16px;min-height:320px;font-family:Inter,sans-serif;font-size:.95rem}.proposal-preview{white-space:pre-wrap;word-break:break-word}.saved-card{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px;border-radius:14px;background:#ffffff08;border:1px solid rgba(255,255,255,.08)}@media (max-width: 1024px){.dashboard-main{grid-template-columns:1fr}}@media (max-width: 760px){body{padding:16px}.dashboard-header{flex-direction:column;align-items:flex-start}.feature-grid,.grid-two,.grid-three,.metric-grid,.summary-row{grid-template-columns:1fr}.header-actions{width:100%;flex-direction:column}}.auth-root{min-height:100vh;display:flex;align-items:stretch;background:linear-gradient(135deg,#071529,#0b1a33)}.auth-container{display:flex;width:100%;min-height:100vh}.auth-brand-panel{flex:0 0 45%;display:flex;flex-direction:column;justify-content:center;gap:32px;padding:56px 52px;background:linear-gradient(160deg,#0f1f38,#071529 60%,#0a1628);border-right:1px solid rgba(255,255,255,.06);position:relative;overflow:hidden}.auth-brand-panel:before{content:"";position:absolute;top:-120px;left:-80px;width:420px;height:420px;background:radial-gradient(circle,rgba(0,174,239,.12) 0%,transparent 70%);pointer-events:none}.auth-brand-panel:after{content:"";position:absolute;bottom:-100px;right:-60px;width:300px;height:300px;background:radial-gradient(circle,rgba(124,58,237,.1) 0%,transparent 70%);pointer-events:none}.auth-brand-panel--admin:before{background:radial-gradient(circle,rgba(124,58,237,.15) 0%,transparent 70%)}.auth-brand-logo{display:flex;align-items:center}.auth-brand-logo img{height:48px;width:auto;object-fit:contain}.auth-brand-text-fallback{display:none;font-size:1.8rem;font-weight:800;color:#00aeef;letter-spacing:-.02em}.auth-brand-content h2{font-size:1.75rem;font-weight:700;line-height:1.25;color:#fff;margin-bottom:12px}.auth-brand-content p{font-size:1rem;color:#a8b3c7;line-height:1.6}.auth-brand-features{display:flex;flex-direction:column;gap:14px}.auth-feature-item{display:flex;align-items:center;gap:12px;color:#a8b3c7;font-size:.95rem}.auth-feature-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#00aeef;flex-shrink:0}.auth-feature-dot--purple{background:#7c3aed}.auth-form-panel{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 40px;background:#071529}.auth-form-card{width:100%;max-width:420px}.auth-form-header{margin-bottom:28px}.auth-admin-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#7c3aed26;color:#a78bfa;font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;border:1px solid rgba(124,58,237,.25)}.auth-form-header h3{font-size:1.6rem;font-weight:700;color:#fff;margin-bottom:6px}.auth-form-header p{color:#a8b3c7;font-size:.95rem}.auth-error{padding:12px 16px;border-radius:10px;background:#ef44441a;border:1px solid rgba(239,68,68,.25);color:#fca5a5;font-size:.9rem;margin-bottom:20px}.auth-success{padding:12px 16px;border-radius:10px;background:#22c55e1f;border:1px solid rgba(34,197,94,.35);color:#86efac;font-size:.9rem;margin-bottom:20px}.auth-form{display:flex;flex-direction:column;gap:18px}.auth-field{display:flex;flex-direction:column;gap:8px}.auth-field label{color:#a8b3c7;font-size:.88rem;font-weight:500;margin:0}.auth-field input{width:100%;padding:13px 16px;border-radius:12px;border:1px solid #24324A;background:#172338;color:#fff;font-size:.95rem;transition:border-color .2s,box-shadow .2s}.auth-field input:focus{outline:none;border-color:#00aeef;box-shadow:0 0 0 3px #00aeef26}.auth-password-wrap{position:relative}.auth-password-wrap input{padding-right:48px}.auth-eye-btn{position:absolute;right:14px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;font-size:1rem;color:#a8b3c7;padding:4px;line-height:1}.auth-eye-btn:hover{color:#fff}.auth-submit-btn{width:100%;padding:14px;border-radius:12px;border:none;background:linear-gradient(90deg,#00aeef,#0090cc);color:#fff;font-size:1rem;font-weight:700;cursor:pointer;margin-top:4px;transition:opacity .2s,transform .15s;box-shadow:0 8px 24px #00aeef40}.auth-submit-btn--purple{background:linear-gradient(90deg,#7c3aed,#6d28d9);box-shadow:0 8px 24px #7c3aed40}.auth-submit-btn:hover:not(:disabled){opacity:.92;transform:translateY(-1px)}.auth-submit-btn:disabled{opacity:.6;cursor:not-allowed}.auth-form-footer{margin-top:24px;display:flex;flex-direction:column;gap:10px}.auth-form-footer p{color:#a8b3c7;font-size:.9rem;text-align:center}.auth-admin-link{margin-top:4px}.auth-link-btn{background:none;border:none;color:#00aeef;font-size:inherit;cursor:pointer;padding:0;font-weight:600;text-decoration:underline;text-underline-offset:2px}.auth-link-btn:hover{color:#38bdf8}@media (max-width: 768px){.auth-brand-panel{display:none}.auth-form-panel{padding:32px 24px}.auth-form-card{max-width:100%}}@media (max-width: 480px){.auth-form-panel{padding:24px 16px}}.ap-root{min-height:100vh;background:#f0f4f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#1e293b;display:flex;flex-direction:column}.ap-navbar{display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:60px;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 4px #0000000f;position:sticky;top:0;z-index:100;flex-shrink:0}.ap-navbar-left{display:flex;align-items:center;gap:12px}.ap-menu-btn{display:none;background:none;border:none;font-size:1.25rem;cursor:pointer;color:#64748b;padding:4px 8px;border-radius:6px}.ap-menu-btn:hover{background:#f1f5f9}.ap-logo{display:flex;align-items:center;gap:8px}.ap-logo img{height:32px;width:auto;object-fit:contain}.ap-logo-fallback{display:none;font-weight:800;font-size:1.1rem;color:#00aeef}.ap-logo-label{font-size:.75rem;font-weight:600;background:#7c3aed;color:#fff;padding:2px 8px;border-radius:999px;letter-spacing:.04em;text-transform:uppercase}.ap-navbar-right{display:flex;align-items:center;gap:12px}.ap-user-info{display:flex;align-items:center;gap:8px}.ap-user-name{font-weight:600;font-size:.9rem;color:#334155}.ap-user-role-badge{font-size:.72rem;font-weight:700;background:#7c3aed1a;color:#7c3aed;padding:2px 8px;border-radius:999px;border:1px solid rgba(124,58,237,.2)}.ap-logout-btn{padding:7px 16px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:.88rem;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.ap-logout-btn:hover{background:#fee2e2;color:#dc2626;border-color:#fca5a5}.ap-body{display:flex;flex:1;overflow:hidden}.ap-sidebar{width:220px;flex-shrink:0;background:#fff;border-right:1px solid #e2e8f0;padding:20px 12px;display:flex;flex-direction:column;gap:4px;overflow-y:auto}.ap-nav{display:flex;flex-direction:column;gap:4px}.ap-nav-item{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;border:none;background:none;color:#64748b;font-size:.92rem;font-weight:500;cursor:pointer;text-align:left;transition:background .15s,color .15s;width:100%}.ap-nav-item:hover{background:#f1f5f9;color:#1e293b}.ap-nav-item--active{background:#eff6ff;color:#2563eb;font-weight:700}.ap-nav-icon{font-size:1.1rem;width:22px;text-align:center}.ap-nav-label{flex:1}.ap-main{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:20px}.ap-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.ap-page-title{font-size:1.4rem;font-weight:700;color:#0f172a}.ap-back-btn{background:none;border:1px solid #e2e8f0;padding:7px 14px;border-radius:8px;color:#64748b;font-size:.88rem;cursor:pointer;font-weight:500}.ap-back-btn:hover{background:#f8fafc;color:#1e293b}.ap-content{flex:1}.ap-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px 24px;box-shadow:0 1px 3px #0000000d;margin-bottom:16px}.ap-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ap-card-title{font-size:1rem;font-weight:700;color:#0f172a;margin:0}.ap-dashboard{display:flex;flex-direction:column;gap:20px}.ap-metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ap-metric-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000000d}.ap-metric-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0}.ap-metric-icon--blue{background:#eff6ff}.ap-metric-icon--green{background:#f0fdf4}.ap-metric-icon--purple{background:#faf5ff}.ap-metric-label{font-size:.82rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}.ap-metric-value{font-size:1.6rem;font-weight:800;color:#0f172a;line-height:1}.ap-table-wrap{overflow-x:auto;padding-bottom:2px}.ap-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:.9rem}.ap-table th{text-align:left;padding:10px 14px;background:#f8fafc;color:#64748b;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0}.ap-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;color:#1e293b;vertical-align:middle}.ap-table tbody tr:last-child td{border-bottom:none}.ap-table tbody tr:hover{background:#f8fafc}.ap-table--compact th,.ap-table--compact td{padding:8px 12px;font-size:.85rem}.ap-td-muted{color:#94a3b8!important;font-size:.85rem}.ap-td-value{font-weight:700;color:#0f172a!important}.ap-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:.75rem;font-weight:600}.ap-badge--blue{background:#eff6ff;color:#2563eb}.ap-badge--green{background:#f0fdf4;color:#16a34a}.ap-badge--red{background:#fef2f2;color:#dc2626}.ap-badge--purple{background:#faf5ff;color:#7c3aed}.ap-badge--gray{background:#f1f5f9;color:#64748b}.ap-btn{padding:8px 14px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#2563eb;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}.ap-btn:hover{background:#eff6ff;border-color:#93c5fd}.ap-btn--sm{padding:5px 12px;font-size:.8rem}.ap-btn--primary{background:#2563eb;color:#fff;border-color:#2563eb}.ap-btn--primary:hover{background:#1d4ed8;border-color:#1d4ed8}.ap-btn:disabled{opacity:.6;cursor:not-allowed}.ap-alert{padding:12px 16px;border-radius:10px;font-size:.9rem}.ap-alert--error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.ap-alert--success{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.ap-alert--info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.ap-btn--danger{background:#fef2f2;color:#dc2626;border-color:#fecaca}.ap-btn--danger:hover{background:#fee2e2;border-color:#f87171}.ap-btn--warning{background:#fffbeb;color:#d97706;border-color:#fde68a}.ap-btn--warning:hover{background:#fef3c7;border-color:#fbbf24}.ap-btn--success{background:#f0fdf4;color:#16a34a;border-color:#bbf7d0}.ap-btn--success:hover{background:#dcfce7;border-color:#86efac}.ap-badge--orange{background:#fff7ed;color:#c2410c}.ap-comment-textarea{width:100%;min-height:80px;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;font-size:.9rem;color:#1e293b;background:#f8fafc;resize:vertical;font-family:inherit;transition:border-color .2s}.ap-comment-textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.ap-comment-list{display:flex;flex-direction:column;gap:12px;margin-top:8px}.ap-comment-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 16px}.ap-comment-meta{display:flex;align-items:center;flex-wrap:wrap;margin-bottom:8px;font-size:.88rem}.ap-comment-text{color:#334155;font-size:.9rem;line-height:1.55;white-space:pre-wrap;margin:0}.ap-module-block{margin-bottom:18px}.ap-module-header{background:#f8fafc;border-radius:8px;padding:8px 14px;margin-bottom:8px;font-size:.92rem;color:#1e293b}.brand-logo-wrap{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:14px;padding:8px 14px;border:1px solid rgba(255,255,255,.12);flex-shrink:0}.brand-logo-image{max-height:38px;max-width:180px;object-fit:contain}.brand-logo-fallback{display:none;font-size:1.1rem;font-weight:800;color:#00aeef}.ap-logo-wrap{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:10px;padding:5px 10px;border:1px solid #e2e8f0}.ap-logo-wrap img{max-height:28px;max-width:120px;object-fit:contain}.overhead-top-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media (max-width: 600px){.overhead-top-row{grid-template-columns:1fr}}:root{--muted: #C7D2EA}label{color:#c7d2ea;font-size:.92rem;font-weight:500}.muted{color:#c7d2ea}.card h3{color:#eaf1ff;font-weight:700;font-size:1.18rem}body{color:#eaf1ff}::placeholder{color:#7f8ba3;opacity:1}input[type=text],input[type=number],select,textarea{color:#fff}input[type=text],input[type=number],select,textarea{border-color:#ffffff1f}.admin-comments-section{background:#2563eb0f;border:1px solid rgba(37,99,235,.18);border-radius:14px;padding:16px 18px;margin-top:10px}.admin-comments-section h4{color:#93c5fd;font-size:.95rem;font-weight:700;margin-bottom:12px}.admin-comment-bubble{background:#0f172a99;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:10px 14px;margin-bottom:8px}.admin-comment-bubble .meta{font-size:.8rem;color:#7f8ba3;margin-bottom:4px}.admin-comment-bubble .text{color:#eaf1ff;font-size:.9rem;line-height:1.5}.badge-warning{background:#f59e0b26;color:#fbbf24;border:1px solid rgba(245,158,11,.25);font-size:.72rem;padding:3px 8px;border-radius:999px;font-weight:600;white-space:nowrap}:root{--bg: #0B1B2E;--surface: #10233A;--surface-2: #142B45;--surface-3: #183554;--border: #2B4564;--text: #F4F8FF;--muted: #8FA6C4;--accent: #00AEEF;--accent-2: #7C3AED;--accent-3: #E11D48;--success: #22C55E;--warning: #F59E0B;--error: #EF4444}body{background:radial-gradient(circle at top left,rgba(0,174,239,.18),transparent 28%),radial-gradient(circle at bottom right,rgba(124,58,237,.14),transparent 32%),#0b1b2e;color:#f4f8ff}.dashboard-header,.card,.wizard-shell,.saved-dashboard,.module-card,.metric-card,.proposal-editor,.proposal-preview{background:#142b45;border-color:#2b4564}.dashboard-header{background:linear-gradient(180deg,#10233afa,#10233ae6)}.card:hover,.wizard-step:hover,.saved-list-row:hover{border-color:#00aeef73}.card h3,.wizard-head h3,.saved-toolbar h3{color:#f4f8ff;font-weight:800;letter-spacing:.01em}label,.muted,.subtitle,.saved-toolbar .muted,.ap-td-muted{color:#c9d6ea}input[type=text],input[type=number],select,textarea,.saved-search{background:#10243a;color:#fff;border:1px solid #2B4564}::placeholder{color:#8fa6c4}.btn{border-radius:12px;font-weight:700}.btn-primary{background:linear-gradient(135deg,#00aeef,#7c3aed 55%,#e11d48);color:#fff;border:none;box-shadow:0 12px 30px #7c3aed3d}.btn-secondary,.btn-ghost{background:#10243acc;color:#f4f8ff;border:1px solid #2B4564}.btn-ghost:hover,.btn-secondary:hover{border-color:#00aeef8c;background:#183554e6}.wizard-step{border:1px solid #2B4564;background:#10233a}.wizard-step.active{background:linear-gradient(135deg,#00aeef38,#7c3aed38);border-color:#00aeef8c}.wizard-step.completed{border-color:#22c55e80}.wizard-step-label{color:#f4f8ff}.saved-list-head{background:#10233a;border-bottom:1px solid #2B4564}.saved-list-row{background:#142b45;border-bottom:1px solid #2B4564}.saved-list-row span,.summary-value,.breakdown-metric-value{color:#f4f8ff}.badge,.ap-badge{border:1px solid rgba(255,255,255,.12)}.breakdown-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.breakdown-metric-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;background:#142b45;border:1px solid #2B4564;transition:border-color .2s ease,transform .15s ease}.breakdown-metric-card:hover{border-color:#00aeef80;transform:translateY(-1px)}.breakdown-metric-card.strong{border-color:#7c3aed8c;background:#183554}.breakdown-metric-icon{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-size:1.2rem;background:linear-gradient(135deg,#00aeef38,#7c3aed38);border:1px solid rgba(0,174,239,.35);flex-shrink:0}.breakdown-metric-content{flex:1;min-width:0}.breakdown-metric-label-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.breakdown-metric-label{color:#c9d6ea;font-size:.84rem;font-weight:600;letter-spacing:.02em}.breakdown-metric-badge{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:.72rem;color:#7dd3fc;background:#00aeef29;border:1px solid rgba(0,174,239,.3)}.breakdown-metric-value{font-size:1.25rem;font-weight:800;line-height:1.2}@media (max-width: 760px){.breakdown-metric-grid{grid-template-columns:1fr}}.dashboard-main.wizard-main,.wizard-main{display:block;margin-top:22px}.dashboard-main-single{margin-top:22px}.brand-logo-wrap{display:inline-flex;align-items:center;min-width:170px}.brand-logo-image{height:42px;width:auto;object-fit:contain}.brand-logo-fallback{display:none;align-items:center;color:var(--accent);font-weight:800;font-size:1.3rem;letter-spacing:.02em}.wizard-shell{border-radius:18px}.wizard-head{margin-bottom:14px}.wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:6px 0 18px}.wizard-step{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:#0f1f38;color:var(--muted);text-align:left;cursor:pointer}.wizard-step-index{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;border:1px solid rgba(255,255,255,.2);font-size:.82rem;font-weight:700;flex-shrink:0}.wizard-step-label{font-size:.88rem;font-weight:600;line-height:1.2}.wizard-step.active{background:linear-gradient(90deg,#00aeef2e,#7c3aed1f);color:#fff;border-color:#00aeef8c}.wizard-step.completed{background:#22c55e1f;color:#dbfbe7;border-color:#22c55e73}.wizard-step.upcoming{background:#0f1f38;color:var(--muted);border-color:var(--border)}.wizard-content{margin-top:10px}.wizard-footer{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border);background:linear-gradient(180deg,#111c2f00,#111c2ffa 30%)}.wizard-footer-left,.wizard-footer-right{display:flex;gap:10px;flex-wrap:wrap}.summary-layout,.summary-step-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.summary-layout .card,.summary-step-grid .card{min-width:0}.saved-dashboard{display:flex;flex-direction:column;gap:14px}.saved-toolbar{display:flex;justify-content:space-between;align-items:end;gap:14px}.saved-toolbar-left h3{margin-bottom:6px}.saved-toolbar-right{display:flex;gap:10px;align-items:center}.saved-search{min-width:240px}.saved-list{border:1px solid var(--border);border-radius:14px;overflow:hidden}.saved-list-head,.saved-list-row{display:grid;grid-template-columns:1.2fr 1fr .7fr .9fr .6fr .7fr .8fr 1fr 1.2fr;gap:10px;align-items:center;padding:12px}.saved-list-head{background:#0f1f38;color:#d5def1;font-size:.82rem;font-weight:700;border-bottom:1px solid var(--border)}.saved-list-row{background:#111c2f;color:#fff;border-bottom:1px solid rgba(36,50,74,.8);font-size:.88rem}.saved-list-row:last-child{border-bottom:none}.saved-actions{display:flex;gap:6px;flex-wrap:wrap}.saved-actions .btn{padding:8px 10px;font-size:.8rem}.saved-empty{padding:22px;color:var(--muted);text-align:center;background:#111c2f}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:.75rem;font-weight:700;border:1px solid transparent}.badge-version{background:#7c3aed29;color:#d8c8ff;border-color:#7c3aed66}.badge-success{background:#22c55e24;color:#d6fbe3;border-color:#22c55e66}.badge-warning{background:#f59e0b24;color:#ffebb8;border-color:#f59e0b73}.badge-neutral{background:#00aeef24;color:#ccefff;border-color:#00aeef66}.wizard-top-row{margin-bottom:6px}@media (max-width: 1280px){.saved-list-head,.saved-list-row{grid-template-columns:1.2fr 1fr .8fr 1fr .6fr .7fr .9fr 1fr}.saved-list-head span:nth-child(9),.saved-list-row span:nth-child(9){grid-column:1 / -1}}@media (max-width: 1024px){.wizard-steps,.summary-layout,.summary-step-grid{grid-template-columns:1fr}.saved-toolbar{flex-direction:column;align-items:stretch}.saved-toolbar-right{width:100%;justify-content:space-between}.saved-search{min-width:0;flex:1}.saved-list-head{display:none}.saved-list-row{grid-template-columns:1fr;gap:8px;align-items:start}}@media (max-width: 760px){.wizard-footer{position:static;flex-direction:column;align-items:stretch}.wizard-footer-left,.wizard-footer-right,.wizard-footer-left .btn,.wizard-footer-right .btn,.saved-toolbar-right .btn{width:100%}.saved-toolbar-right{flex-direction:column}}.header-brand{display:flex;align-items:center;gap:14px}.brand-logo{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#00aeef26;color:var(--accent);font-weight:800;font-size:1.2rem}.tabs-nav{display:flex;gap:10px;padding:16px;background:#111c2f99;border-radius:16px;border:1px solid rgba(255,255,255,.06);margin-top:20px;flex-wrap:wrap;overflow-x:auto}.tab-btn{padding:10px 18px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#17233899;color:var(--muted);cursor:pointer;font-weight:600;font-size:.95rem;transition:all .15s ease;white-space:nowrap}.tab-btn:hover{background:#172338e6;color:var(--text);border-color:#fff3}.tab-btn.active{background:linear-gradient(135deg,#00aeef33,#7c3aed1a);color:var(--accent);border-color:#00aeef66;box-shadow:0 0 20px #00aeef26}.tabs-content{margin-top:22px}.tab-panel{animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.content-wrapper{display:grid;grid-template-columns:1.05fr .95fr;gap:24px}.content-wrapper.full-width{grid-template-columns:1fr}.sticky-summary{position:sticky;top:24px;height:fit-content}.floating-action-bar{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:12px;z-index:50}.fab-btn{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:80px;height:80px;border-radius:20px;border:2px solid rgba(255,255,255,.1);background:#111c2ff5;color:var(--text);font-weight:700;font-size:.75rem;cursor:pointer;transition:all .2s ease;box-shadow:0 8px 32px #0000004d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.fab-btn span:first-child{font-size:1.8rem;line-height:1}.fab-btn:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 12px 48px #0006;border-color:#fff3}.fab-btn:disabled,.fab-btn.disabled{opacity:.4;cursor:not-allowed}.fab-calculate{background:#00aeef26;border-color:#00aeef4d;color:var(--accent)}.fab-calculate:hover:not(:disabled){background:#00aeef40;border-color:#00aeef80;box-shadow:0 12px 48px #00aeef33}.fab-save{background:#22c55e26;border-color:#22c55e4d;color:var(--success)}.fab-save:hover:not(:disabled){background:#22c55e40;border-color:#22c55e80;box-shadow:0 12px 48px #22c55e33}.fab-export{background:#f59e0b26;border-color:#f59e0b4d;color:var(--warning)}.fab-export:hover:not(:disabled){background:#f59e0b40;border-color:#f59e0b80;box-shadow:0 12px 48px #f59e0b33}@media (max-width: 768px){.floating-action-bar{position:fixed;bottom:0;left:0;right:0;flex-direction:row;justify-content:space-around;gap:8px;background:#111c2ffa;border-top:1px solid rgba(255,255,255,.1);border-radius:0;padding:12px}.fab-btn{width:70px;height:70px;border-radius:16px;font-size:.7rem}.fab-btn span:first-child{font-size:1.4rem}.dashboard-main{margin-bottom:100px}.content-wrapper{grid-template-columns:1fr}.sticky-summary{position:static}.tabs-nav{overflow-x:auto;scrollbar-width:thin}.tab-btn{font-size:.9rem;padding:8px 14px}.header-brand{margin-bottom:8px}}@media (max-width: 480px){.floating-action-bar{padding:8px;gap:4px}.fab-btn{width:60px;height:60px;font-size:.65rem}.fab-btn span:first-child{font-size:1.2rem}.tabs-nav{gap:6px}.tab-btn{font-size:.85rem;padding:6px 12px}}.ap-loading{padding:40px;text-align:center;color:#94a3b8;font-size:.95rem}.ap-empty{padding:32px;text-align:center;color:#94a3b8;font-size:.95rem}.ap-empty-state{display:flex;align-items:center;justify-content:center;min-height:200px;color:#94a3b8;font-size:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.ap-detail{display:flex;flex-direction:column;gap:16px}.ap-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.ap-detail-item{display:flex;flex-direction:column;gap:4px}.ap-detail-label{font-size:.78rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em}.ap-detail-value{font-size:.95rem;color:#1e293b;font-weight:500}.ap-detail-value--highlight{font-size:1.1rem;font-weight:700;color:#16a34a}.ap-module-block{margin-bottom:20px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.ap-module-header{padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.92rem}.ap-module-block .ap-table{margin:0}.ap-proposal-text{font-size:.95rem;color:#334155;line-height:1.6}.ap-report-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.ap-report-card{padding:24px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;display:flex;flex-direction:column;gap:10px}.ap-report-icon{font-size:2rem}.ap-report-card h4{font-size:1rem;font-weight:700;color:#0f172a}.ap-report-card p{font-size:.88rem;color:#64748b;line-height:1.5;flex:1}.ap-sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:90}@media (max-width: 1024px){.ap-metric-grid,.ap-detail-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.ap-menu-btn{display:block}.ap-sidebar{position:fixed;top:60px;left:0;bottom:0;z-index:95;transform:translate(-100%);transition:transform .25s ease;box-shadow:4px 0 20px #0000001a}.ap-sidebar--open{transform:translate(0)}.ap-sidebar-overlay{display:block}.ap-metric-grid,.ap-detail-grid,.ap-report-grid{grid-template-columns:1fr}.ap-user-info{display:none}.ap-main{padding:16px}}body{background:radial-gradient(900px 500px at -10% -20%,rgba(0,174,239,.2),transparent 55%),radial-gradient(700px 420px at 110% 0%,rgba(124,58,237,.16),transparent 58%),#0b1b2e!important;color:#f4f8ff!important}.dashboard-root,.dashboard-main-single,.wizard-main{color:#f4f8ff}.dashboard-header{background:linear-gradient(180deg,#10233afa,#142b45f5)!important;border:1px solid #2B4564!important;box-shadow:0 16px 45px #040d1973!important}.dashboard-header h1{font-size:2.1rem;font-weight:800;letter-spacing:.01em}.subtitle,.muted{color:#c9d6ea!important}.card,.wizard-shell,.module-card,.proposal-preview,.proposal-editor,.saved-list-row,.saved-empty{background:#142b45!important;border:1px solid #2B4564!important;border-radius:18px!important}.card,.wizard-shell,.module-card{padding:24px!important}.card h3,.wizard-head h3,.saved-toolbar h3,.summary-layout h3{color:#f4f8ff!important;font-size:1.24rem!important;font-weight:800!important;margin-bottom:14px!important}label{color:#c9d6ea!important;font-weight:600!important}input[type=text],input[type=number],select,textarea,.saved-search{background:#10243a!important;border:1px solid #2B4564!important;color:#fff!important}input[type=text]:focus,input[type=number]:focus,select:focus,textarea:focus,.saved-search:focus{border-color:#00aeef!important;box-shadow:0 0 0 4px #00aeef2e!important}::placeholder{color:#8fa6c4!important;opacity:1}.btn{border-radius:12px!important;font-weight:700!important;letter-spacing:.01em}.btn-primary{background:linear-gradient(135deg,#00aeef,#7c3aed 55%,#e11d48)!important;border:none!important;color:#fff!important;box-shadow:0 14px 32px #7c3aed42!important}.btn-primary:hover:not(:disabled){filter:saturate(1.1);box-shadow:0 16px 36px #e11d483d!important}.btn-secondary,.btn-ghost{background:#10233a!important;border:1px solid #2B4564!important;color:#f4f8ff!important}.btn-secondary:hover:not(:disabled),.btn-ghost:hover:not(:disabled){border-color:#00aeef94!important;background:#183554!important}.wizard-steps{gap:12px!important}.wizard-step{border:1px solid #2B4564!important;background:#10233a!important;border-radius:14px!important;min-height:54px}.wizard-step.active{background:linear-gradient(135deg,#00aeef33,#7c3aed38)!important;border-color:#00aeefa6!important}.wizard-step-label{color:#f4f8ff!important;font-weight:700!important}.saved-list{border:1px solid #2B4564!important;border-radius:16px!important}.saved-list-head{background:#10233a!important;color:#c9d6ea!important;border-bottom:1px solid #2B4564!important}.saved-list-row{border-bottom:1px solid rgba(43,69,100,.75)!important}.saved-list-row span{color:#f4f8ff!important}.saved-actions{gap:8px!important}.breakdown-metric-grid{gap:14px!important;margin-top:14px!important}.breakdown-metric-card{padding:16px!important;border-radius:16px!important;background:#142b45!important;border:1px solid #2B4564!important;align-items:flex-start!important}.breakdown-metric-icon{width:46px!important;height:46px!important;border-radius:12px!important;font-size:1.25rem!important;background:linear-gradient(135deg,#00aeef3d,#7c3aed3d)!important;border:1px solid rgba(0,174,239,.4)!important}.breakdown-metric-content{display:flex;flex-direction:column;gap:6px}.breakdown-metric-label-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:0!important}.breakdown-metric-label{color:#c9d6ea!important;font-size:.86rem!important;font-weight:700!important;line-height:1.35}.breakdown-metric-value{color:#f4f8ff!important;font-size:1.34rem!important;font-weight:800!important;line-height:1.25!important;margin-top:2px}.breakdown-metric-badge{color:#d9f3ff!important;background:#00aeef2e!important;border:1px solid rgba(0,174,239,.35)!important}.summary-value{color:#f4f8ff!important;line-height:1.25!important}.metric-card{border:1px solid #2B4564!important;background:#142b45!important;padding:16px!important}.metric-card span,.metric-card .muted{display:block;color:#c9d6ea!important;margin-bottom:8px}.metric-card strong{display:block;color:#f4f8ff!important;font-size:1.24rem;line-height:1.25}@media (max-width: 760px){.card,.wizard-shell,.module-card{padding:18px!important}.dashboard-header h1{font-size:1.7rem}.breakdown-metric-grid{grid-template-columns:1fr!important}}body{padding:32px!important}.dashboard-root{max-width:1320px!important}.dashboard-header{margin-bottom:16px;padding:22px 24px!important}.dashboard-main-single{margin-top:0!important}.saved-dashboard{background:#142b45!important;border:1px solid #2B4564!important;border-radius:18px!important;padding:24px!important;gap:14px!important}.saved-toolbar{align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:2px}.saved-toolbar-left h3{margin-bottom:4px!important}.saved-toolbar-left .muted{line-height:1.45}.saved-toolbar-right{align-items:center!important;gap:10px!important}.saved-search{min-width:250px!important;height:42px}.saved-toolbar-right .btn{height:42px;padding:0 16px!important}.saved-list{border-radius:14px!important;overflow:hidden}.saved-list-head,.saved-list-row{padding:14px 12px!important}.saved-list-row{min-height:58px}.saved-list-row:hover{background:#183554!important}.saved-actions{gap:7px!important}.saved-actions .btn{padding:7px 10px!important;min-height:32px}.saved-list-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-list-row>span.saved-actions{overflow:visible;white-space:normal}.btn-primary,.auth-submit-btn,.ap-btn--primary{background:linear-gradient(135deg,#00aeef,#7c3aed 55%,#e11d48)!important;color:#fff!important;border:none!important;border-radius:14px!important;font-weight:700!important;box-shadow:0 12px 26px #7c3aed47!important}.btn-primary:hover:not(:disabled),.auth-submit-btn:hover:not(:disabled),.ap-btn--primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 15px 30px #e11d4838!important}.btn-secondary,.btn-ghost,.ap-btn{border-radius:12px!important}.ap-btn{background:#10243ad6!important;border:1px solid #2B4564!important;color:#eaf1ff!important}.ap-btn:hover{border-color:#00aeef!important;background:#183554!important}.ap-btn--danger{background:#7f1d1d33!important;border-color:#ef444473!important;color:#fecaca!important}.ap-btn--danger:hover{background:#991b1b54!important;border-color:#ef44449e!important;color:#fff1f2!important}.ap-btn--warning{background:#f59e0b29!important;color:#fde68a!important;border-color:#f59e0b70!important}.ap-btn--success{background:#22c55e29!important;color:#bbf7d0!important;border-color:#22c55e6b!important}.ap-table th,.ap-table td{padding-top:14px!important;padding-bottom:14px!important}.ap-table th:first-child,.ap-table td:first-child{width:36px;text-align:center}@media (max-width: 900px){.saved-toolbar{flex-direction:column;align-items:stretch!important}.saved-toolbar-right{width:100%;justify-content:flex-start}.saved-search{flex:1;min-width:0!important}}@media (max-width: 760px){body,.saved-dashboard,.card,.wizard-shell{padding:18px!important}}.saved-filters,.ap-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.saved-filters select,.saved-filters input,.ap-filters select,.ap-filters input{min-height:38px;border:1px solid #d5dbe5;border-radius:10px;padding:8px 10px;background:#fff}.saved-filters select,.ap-filters select{min-width:150px;max-width:190px}.saved-filters input,.ap-filters input{min-width:170px}.saved-filters-search,.ap-filters-search{flex:1 1 280px;min-width:260px!important;max-width:420px}.saved-filters .btn,.ap-filters .btn,.ap-filters .ap-btn{min-height:38px;padding:8px 12px}.badge-status.status-estimation-initiation{background:#00aeef29;color:#7ddcff;border-color:#00aeef73}.badge-status.status-client-review{background:#7c3aed29;color:#c4b5fd;border-color:#7c3aed73}.badge-status.status-client-feedback{background:#f59e0b2e;color:#fcd34d;border-color:#f59e0b73}.badge-status.status-project-awarded{background:#22c55e29;color:#86efac;border-color:#22c55e73}.badge-status.status-canceled{background:#ef444429;color:#fca5a5;border-color:#ef444473}.badge-status.status-on-hold{background:#94a3b82e;color:#cbd5e1;border-color:#94a3b873}.badge-status.status-revised-estimate{background:#06b6d429;color:#67e8f9;border-color:#06b6d473}.badge-status.status-approved-internally{background:#14b8a629;color:#5eead4;border-color:#14b8a673}.badge-status.status-draft{background:#60a5fa24;color:#bfdbfe;border-color:#60a5fa66}.badge-status,.ap-badge--status{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:180px;min-width:88px;padding:6px 10px!important;border-radius:999px;font-size:12px;line-height:1.2;font-weight:700;white-space:normal;text-align:center;border:1px solid transparent}.ap-status-estimation-initiation{background:#00aeef29;color:#7ddcff;border-color:#00aeef73}.ap-status-client-review{background:#7c3aed29;color:#c4b5fd;border-color:#7c3aed73}.ap-status-client-feedback{background:#f59e0b2e;color:#fcd34d;border-color:#f59e0b73}.ap-status-project-awarded{background:#22c55e29;color:#86efac;border-color:#22c55e73}.ap-status-canceled{background:#ef444429;color:#fca5a5;border-color:#ef444473}.ap-status-on-hold{background:#94a3b82e;color:#cbd5e1;border-color:#94a3b873}.ap-status-revised-estimate{background:#06b6d429;color:#67e8f9;border-color:#06b6d473}.ap-status-approved-internally{background:#14b8a629;color:#5eead4;border-color:#14b8a673}.ap-status-draft{background:#60a5fa24;color:#bfdbfe;border-color:#60a5fa66}@media (max-width: 760px){.saved-filters select,.saved-filters input,.ap-filters select,.ap-filters input{width:100%;min-width:0;max-width:none}}.saved-sortable,.ap-sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.saved-sortable:hover,.ap-sortable:hover{color:#1d4ed8}.btn-icon{min-width:34px;padding:6px 8px}.saved-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.ap-card-header--filters{align-items:center;flex-direction:row;justify-content:space-between;gap:12px;flex-wrap:wrap}.ap-filters{flex:1 1 auto;justify-content:flex-end}.ap-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.ap-header-badges{display:flex;gap:6px;flex-wrap:wrap}.ap-action-bar{display:flex;gap:8px;flex-wrap:wrap}.ap-btn--view{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.ap-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ap-table th,.ap-table td{padding-top:13px;padding-bottom:13px;vertical-align:middle}.ap-table th:last-child,.ap-table td:last-child{min-width:190px;text-align:right}.ap-table th:nth-child(9),.ap-table td:nth-child(9){min-width:170px}.saved-dashboard,.wizard-shell,.ap-card{border-radius:14px}.saved-list-row,.ap-table tr{line-height:1.35}.auth-field-error{margin-top:6px;font-size:.82rem;color:#fca5a5;font-weight:600}.module-actions-bottom{margin-top:12px;display:flex;justify-content:flex-end}.modules-actions-bottom{margin-top:8px;display:flex;justify-content:center}.saved-list-row>span.saved-actions{justify-content:flex-start}@media (max-width: 980px){.ap-card-header--filters{align-items:flex-start}.ap-filters{justify-content:flex-start;width:100%}}.ap-status-row{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}.ap-status-row select{min-height:36px;border:1px solid #d5dbe5;border-radius:8px;padding:6px 8px}.ap-detail-label{font-size:.78rem!important;font-weight:700!important;color:#526681!important;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}.ap-detail-value{font-size:.97rem!important;color:#0f172a!important;font-weight:500!important}.ap-detail-value--highlight{font-size:1.1rem!important;font-weight:800!important;color:#166534!important}.ap-card-title{font-size:1rem;font-weight:700;color:#0f172a}.ap-card .ap-detail-label{color:#475569!important}.auth-error--dismissible{display:flex!important;align-items:flex-start;justify-content:space-between;gap:8px}.auth-error-close{background:none;border:none;cursor:pointer;font-size:1.1rem;color:#991b1b;line-height:1;padding:0 2px;flex-shrink:0;margin-top:1px}.auth-error-close:hover{color:#7f1d1d}.ap-comment-count{display:inline-flex;align-items:center;gap:4px;font-size:.88rem;font-weight:600;color:#2563eb;white-space:nowrap}.ap-version-list{display:flex;flex-direction:column;gap:10px}.ap-version-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 16px}.ap-version-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}.ap-version-author{color:#0f172a;font-size:.92rem}.ap-version-snapshot{display:flex;gap:12px;margin-top:6px;flex-wrap:wrap}.ap-version-snap-item{font-size:.82rem;background:#e2e8f0;color:#334155;border-radius:6px;padding:2px 8px;font-weight:600}.ap-action-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ap-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:10px}.auth-brand-logo-wrap,.logo-wrap{background:#fff;border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;width:fit-content;box-shadow:0 16px 40px #00aeef1f}.auth-brand-logo-wrap img,.logo-wrap img{max-height:46px;max-width:210px;height:auto;width:auto;object-fit:contain;display:block}.auth-brand-text-fallback,.brand-logo-fallback,.ap-logo-fallback{color:#0f172a}.ap-logo-wrap{background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:12px;padding:6px 12px;box-shadow:0 8px 22px #00aeef14}.ap-logo-wrap img{max-height:30px;max-width:170px;object-fit:contain}.ap-root{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);min-height:100vh;background:#eef3f8;overflow-x:hidden}.ap-navbar{width:100%;padding:0 28px}.ap-body{display:grid;grid-template-columns:240px minmax(0,1fr);width:100%;overflow:hidden}.ap-sidebar{width:240px;min-width:240px}.ap-main{width:100%;min-width:0;padding:28px;overflow:auto}.ap-content,.ap-dashboard,.ap-detail{width:100%;max-width:none;margin:0}.ap-card{width:100%}.ap-table-wrap{width:100%;overflow-x:auto}.ap-detail{gap:18px}.ap-header-top{align-items:flex-start}.ap-action-bar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.ap-module-block .ap-table{width:100%;min-width:760px}@media (max-width: 900px){.ap-body{grid-template-columns:1fr}.ap-main{padding:16px}.ap-content,.ap-dashboard,.ap-detail{max-width:none}.ap-action-bar{flex-wrap:wrap}.ap-navbar{padding:0 16px}}.auth-brand-panel,.header-brand,.dashboard-header,.ap-navbar,.ap-logo,.ap-logo-wrap{overflow:visible!important}.auth-brand-logo-wrap,.brand-logo-wrap,.ap-logo-wrap{min-width:180px!important;max-width:240px!important;width:auto!important;height:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border-radius:14px!important;padding:10px 16px!important;overflow:visible!important}.auth-brand-logo-wrap img,.brand-logo-image,.ap-logo-wrap img{max-height:42px!important;max-width:210px!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important}.brand-logo-fallback,.auth-brand-text-fallback,.ap-logo-fallback{color:#0f172a!important;font-weight:800}.draft-restore-banner{margin:8px 0 14px;padding:12px 14px;border-radius:12px;border:1px solid rgba(245,158,11,.45);background:#f59e0b24;display:flex;align-items:center;justify-content:space-between;gap:12px}.draft-restore-text{color:#ffefc7;font-weight:600;font-size:.9rem}.draft-restore-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.draft-save-status{margin:4px 0 12px;font-size:.84rem;color:#c9d6ea}.admin-btn-view{background:#173b5d!important;color:#fff!important;border:1px solid #2B5D86!important}.admin-btn-lock{background:#7c4a03!important;color:#fff7d6!important;border:1px solid #F59E0B!important}.admin-btn-unlock{background:#065f46!important;color:#d1fae5!important;border:1px solid #10B981!important}.admin-btn-delete{background:#7f1d1d!important;color:#fee2e2!important;border:1px solid #EF4444!important}.admin-btn-export{background:#10243a!important;color:#fff!important;border:1px solid #2B4564!important}.admin-btn-back{background:#334155!important;color:#f8fafc!important;border:1px solid #475569!important}.admin-btn-view,.admin-btn-lock,.admin-btn-unlock,.admin-btn-delete,.admin-btn-export,.admin-btn-back{border-radius:10px!important;min-height:34px}.admin-btn-view:hover,.admin-btn-lock:hover,.admin-btn-unlock:hover,.admin-btn-delete:hover,.admin-btn-export:hover,.admin-btn-back:hover{filter:brightness(1.08)}.admin-btn-view:disabled,.admin-btn-lock:disabled,.admin-btn-unlock:disabled,.admin-btn-delete:disabled,.admin-btn-export:disabled,.admin-btn-back:disabled{opacity:.56!important;cursor:not-allowed;filter:grayscale(.12)}.ap-row-actions{gap:10px!important}.auth-error{background:#3a1014!important;border:1px solid #b91c1c!important;color:#fee2e2!important}.auth-error-close:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 760px){.draft-restore-banner{flex-direction:column;align-items:flex-start}}
