:root{color-scheme:light;--sidebar: #0c1b33;--sidebar-2: #132844;--side-text: #d5deea;--active: #2f6bff;--bg: #f4f7fb;--card: #ffffff;--ink: #0f172a;--muted: #64748b;--line: #e6edf5;--good: #16a34a;--shadow: 0 10px 30px rgba(15, 23, 42, .05);--font: "Inter", "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:#2563eb;text-decoration:none}h1,h2,p{margin:0}:focus-visible{outline:2px solid var(--active);outline-offset:2px}html,body,#root{width:100%}.hub{min-height:100vh;width:100%;display:grid;grid-template-columns:260px minmax(0,1fr);background:var(--bg);color:var(--ink)}.hub.dark{--bg: #0f172a;--card: #1e293b;--ink: #f8fafc;--muted: #94a3b8;--line: #334155;--shadow: none}.sidebar{background:var(--sidebar);color:#fff;display:flex;flex-direction:column;padding:18px 14px 16px;min-height:100vh;position:sticky;top:0}.side-brand{display:flex;gap:10px;align-items:center;padding:6px 8px 18px}.side-brand strong,.side-brand small{display:block}.side-brand strong{font-size:15px}.side-brand small,.copy{color:#9aabc0}.sidebar nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:10px;color:var(--side-text);text-decoration:none;min-height:42px;padding:0 12px;border-radius:10px;font-size:14px;font-weight:500}.nav-item.active,.nav-item:hover{background:var(--active);color:#fff}.nav-badge,.bell em{margin-left:auto;background:#ef4444;color:#fff;border-radius:99px;min-width:18px;height:18px;display:inline-grid;place-items:center;font-style:normal;font-size:11px;padding:0 5px}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.side-foot{margin-top:auto;padding-top:16px}.version-card{background:var(--sidebar-2);border-radius:14px;padding:12px;display:grid;gap:2px}.version-card span,.version-card p{color:#9aabc0;font-size:12px}.version-card strong{font-size:16px}.version-card p{display:flex;align-items:center;gap:6px;color:#4ade80;margin-top:6px}.version-card i{width:8px;height:8px;border-radius:99px;background:#4ade80;display:block}.copy{display:block;margin-top:12px;font-size:11px;line-height:1.4}.hub-main,.content,.page{min-width:0;width:100%}.topbar{display:flex;align-items:center;gap:10px;padding:14px 22px;background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;min-width:0}.search{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:0 12px;min-height:42px}.search input{flex:1;border:0;background:transparent;min-width:0;outline:none}.search kbd{border:1px solid var(--line);border-radius:6px;padding:2px 6px;color:var(--muted);font-size:12px}.search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:6px;z-index:8}.search-results button{width:100%;display:grid;grid-template-columns:90px 1fr auto;gap:8px;text-align:left;background:transparent;border:0;border-radius:10px;padding:8px}.search-results button:hover{background:var(--bg)}.search-results em{color:var(--active);font-style:normal;font-size:12px;font-weight:700}.icon-btn,.menu-btn{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--card);display:inline-grid;place-items:center;position:relative}.bell em{position:absolute;top:-4px;right:-4px;margin:0}.user-chip{display:flex;align-items:center;gap:8px}.user-chip strong,.user-chip small{display:block}.user-chip small{color:var(--muted);font-size:12px}.avatar{width:36px;height:36px;border-radius:99px;display:grid;place-items:center;background:#dbeafe;color:#1d4ed8;font-weight:800}.text-out{border:0;background:transparent;color:var(--muted)}.menu-btn,.scrim{display:none}.content{padding:22px}.welcome-row,.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.welcome-row h1,.page-head h1{font-size:28px;letter-spacing:-.03em}.welcome-row p,.page-head p{color:var(--muted);margin-top:4px}.range select,.toolbar input,.toolbar select,.form input,.form select,.card select{min-height:40px;border:1px solid var(--line);background:var(--card);border-radius:10px;padding:0 12px}.stat-grid,.plan-grid,.mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.mini-stats{grid-template-columns:repeat(3,1fr)}.stat,.card,.plan-card,.mini-stats article,.notice-list li{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.stat{padding:16px}.stat-top{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.stat-icon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;color:#fff}.stat-icon .icon,.health>span .icon{width:22px;height:22px;stroke:#fff}.stat-icon.blue{background:#3b82f6}.stat-icon.green{background:#22c55e}.stat-icon.purple{background:#8b5cf6}.stat p,.mini-stats span,.plan-card p{color:var(--muted);font-size:13px}.stat strong,.mini-stats strong{display:block;font-size:28px;letter-spacing:-.03em;margin:2px 0}.up{color:var(--good);font-style:normal;font-size:12px;font-weight:700}.stat footer{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;color:var(--muted);font-size:12px}.spark{width:76px;height:36px}.spark polyline{fill:none;stroke:#60a5fa;stroke-width:2}.split{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);gap:14px;margin-bottom:14px}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.profile-grid{display:grid;grid-template-columns:168px minmax(0,1fr);gap:16px}.pass-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px}.portrait,.portrait img{width:88px;height:88px;border-radius:50%;object-fit:cover}.portrait{background:#dbeafe;display:grid;place-items:center;font-size:28px;font-weight:800;color:#1d4ed8}.account label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}.account input,.account select,.account textarea{width:100%;max-width:100%;min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:8px 12px;box-sizing:border-box}.account textarea{min-height:72px}.account input[type=checkbox]{width:16px;min-height:16px;padding:0}.account label.primary{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#fff}.secret{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:var(--card);min-width:0}.account .secret input{border:0;min-width:0}.account .section-tabs button{display:inline-flex;align-items:center;gap:6px}.method small,.session small{display:block}.session>span:last-child{display:grid;justify-items:end;gap:4px}.account .banner{margin-bottom:12px}.secret button{border:0;background:transparent;width:40px;min-height:40px;color:var(--muted)}.rule-list{list-style:none;padding:0;margin:8px 0 0}.rule-list li{margin:6px 0;color:#15803d}.rule-list li.bad{color:#b91c1c}.crumb{color:var(--muted);font-size:13px;margin:0 0 6px}.crumb a{color:var(--active)}.method,.session{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.session.current{background:#eef4ff;border:0;border-radius:12px;padding:10px}.notify-table{width:100%;border-collapse:collapse;font-size:13px}.notify-table th,.notify-table td{padding:8px 4px;text-align:center}.notify-table td:first-child,.notify-table th:first-child{text-align:left;font-weight:600}button.user-chip{border:0;background:transparent;cursor:pointer;font:inherit;color:inherit;text-align:left;padding:0}.card{padding:16px 16px 12px}.card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.card-head h2{font-size:16px}.chip{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:4px 8px;color:var(--muted);font-size:12px}.axis-note{color:var(--muted);font-size:12px;margin-bottom:4px}.chart-box{height:280px;width:100%;min-width:0}.chart-box.short{height:240px}.chart-box .recharts-legend-wrapper{width:100%!important;left:0!important}.recharts-default-legend{display:flex!important;flex-wrap:wrap;justify-content:center;gap:4px 12px}.donut-row{display:grid;grid-template-columns:220px 1fr;gap:8px;align-items:center;min-height:240px}.donut-chart{position:relative;height:230px}.donut-center{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;text-align:center;pointer-events:none}.donut-center strong{font-size:28px}.donut-center span,.donut-legend span{color:var(--muted);font-size:13px}.donut-legend{list-style:none;margin:0;padding:0;display:grid;gap:10px}.donut-legend li{display:grid;grid-template-columns:12px 1fr;gap:4px 8px;align-items:center}.donut-legend.money li{grid-template-columns:12px 1fr auto auto}.donut-legend.money i{grid-row:auto}.donut-legend em{color:var(--muted);font-style:normal;font-size:12px}.stat-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.hbars{display:grid;gap:14px;padding-top:8px}.hbar{display:grid;grid-template-columns:110px minmax(0,1fr) 24px 36px;gap:8px;align-items:center;font-size:13px}.hbar div{height:8px;background:#eef2f7;border-radius:99px;overflow:hidden}.hbar i{display:block;height:100%;border-radius:99px}.hbar em{color:var(--muted);font-style:normal;text-align:right}.usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.usage-grid article{display:flex;gap:10px;align-items:center;background:var(--bg);border-radius:14px;padding:12px}.usage-grid p{color:var(--muted);font-size:12px}.usage-grid strong,.usage-grid small{display:block}.usage-grid small{color:var(--good);font-weight:700}.donut-legend i{width:10px;height:10px;border-radius:99px;grid-row:span 2}.dashboard,.page,.card,.table-scroll{min-width:0;max-width:100%}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-size:12px;font-weight:600;padding:8px}td{padding:10px 8px;border-top:1px solid var(--line);white-space:nowrap}.status{border-radius:99px;padding:3px 8px;font-size:12px;font-weight:700}.status-active{background:#dcfce7;color:#15803d}.status-trial{background:#e0f2fe;color:#0369a1}.status-suspended{background:#ffedd5;color:#c2410c}.status-expired{background:#fee2e2;color:#b91c1c}.health-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.health{display:flex;gap:10px;align-items:center;border-radius:14px;padding:12px;background:var(--bg);position:relative}.health p{color:var(--muted);font-size:12px}.health strong,.health small{display:block}.health small{color:var(--muted)}.health>span{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff}.tone-blue>span{background:#3b82f6}.tone-green>span{background:#22c55e}.tone-orange>span{background:#f59e0b}.tone-slate>span{background:#64748b}.health i{width:8px;height:8px;border-radius:99px;background:#22c55e;margin-left:auto}.activity{list-style:none;margin:0;padding:0;display:grid}.activity li{display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:start;padding:10px 0;border-top:1px solid var(--line)}.activity p,.activity time,.notice-list time{color:var(--muted);font-size:12px}.act.tone-blue{color:#2563eb}.act.tone-green{color:#16a34a}.act.tone-purple{color:#7c3aed}.act.tone-red{color:#dc2626}.act.tone-orange{color:#ea580c}.act.tone-slate{color:#64748b}.page-head{align-items:center}.toolbar{display:flex;gap:10px;margin-bottom:12px}.toolbar input{flex:1}.primary,.ghost{min-height:40px;border-radius:10px;padding:0 14px}.primary{background:var(--active);color:#fff;border:0;font-weight:700}.ghost{background:var(--card);border:1px solid var(--line)}.ghost.danger{color:#b91c1c}.actions{text-align:right}.plan-grid{grid-template-columns:repeat(3,1fr)}.plan-card{padding:18px;display:grid;gap:6px}.plan-card strong{font-size:28px}.plan-card small{font-size:14px;color:var(--muted);font-weight:500}.plan-card.enterprise{outline:2px solid #bfdbfe}.muted{color:var(--muted)}.empty,.saved{padding:12px;color:var(--good)}.form{display:grid;gap:12px}.form label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}.form input,.form select,.form textarea{width:100%;box-sizing:border-box}.form textarea{min-height:90px;border:1px solid var(--line);border-radius:10px;padding:8px 12px}.check{grid-template-columns:auto 1fr;align-items:center}.form-actions{display:flex;justify-content:flex-end;gap:8px}.form-error{color:#b91c1c}.card.narrow{max-width:640px}.notice-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.notice-list li{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px}.notice-list .unread{border-color:#bfdbfe}.mini-stats article{padding:16px}.login-screen{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.login-hero{background:radial-gradient(520px 280px at 18% 18%,rgba(47,107,255,.5),transparent 62%),var(--sidebar);color:#fff;padding:64px 56px;display:flex;flex-direction:column;justify-content:center;gap:18px}.login-hero .side-brand{padding:0}.login-hero h1{font-size:52px;line-height:1.05;letter-spacing:-.05em;max-width:11ch}.login-hero p{color:#d5deea;max-width:42ch;font-size:16px;line-height:1.55}.login-points{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:10px;color:#d5deea}.login-points li{display:flex;align-items:center;gap:10px;font-size:14px}.login-points li:before{content:"";width:8px;height:8px;border-radius:99px;background:#60a5fa;flex:none}.login-panel{display:grid;place-items:center;padding:32px 24px;background:linear-gradient(#f8fbff,#eef3f9)}.login-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;display:grid;gap:14px;box-shadow:0 24px 60px #0f172a14}.login-card h2{font-size:36px;letter-spacing:-.04em}.login-lead{color:var(--muted);font-size:14px;margin-top:-4px}.login-field{display:grid;gap:8px;font-size:13px;font-weight:600;color:var(--ink);min-width:0}.login-field input{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:0 14px}.login-field input:focus{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 4px #2f6bff1f;outline:none}.login-secret{display:flex;gap:8px;min-width:0}.login-secret input{flex:1}.login-secret .ghost{flex:none;min-height:48px;padding:0 14px}.login-submit{width:100%;min-height:48px;border-radius:12px;font-size:15px}.login-demo{color:var(--muted);font-size:13px;line-height:1.5;background:#f8fafc;border-radius:12px;padding:10px 12px}.eyebrow{color:var(--active);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.boot{min-height:100vh;display:grid;place-items:center;background:var(--sidebar);color:#fff;font-size:24px}.modal-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:grid;place-items:center;z-index:50;padding:max(12px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom))}.modal{width:min(520px,100%);max-width:100%;background:var(--card);color:var(--ink);border-radius:18px;padding:16px;max-height:min(92dvh,900px);overflow:auto}.modal header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.modal header h2{font-size:20px;line-height:1.2}.modal header p{color:var(--muted);font-size:13px;font-weight:500;margin-top:4px}.tenant-modal-back{align-items:center}.modal.tenant-modal{width:min(720px,100%);padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:min(92dvh,860px);min-height:0}.modal.tenant-modal header{margin:0;padding:18px 20px 14px;border-bottom:1px solid var(--line);flex:none}.tenant-form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.tenant-form-body{overflow:auto;flex:1 1 auto;min-height:0;padding:16px 20px 8px;display:grid;gap:18px;-webkit-overflow-scrolling:touch}.tenant-form section h3{margin:0 0 10px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.tenant-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tenant-fields .span-2{grid-column:1 / -1}.tenant-form label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--muted);min-width:0}.tenant-form input,.tenant-form select{width:100%;min-width:0;min-height:46px;font-size:16px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;padding:0 12px}.tenant-form input:focus,.tenant-form select:focus{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 4px #2f6bff1f;outline:none}.plan-pick{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:12px}.tenant-form textarea{width:100%;min-width:0;min-height:88px;font-size:16px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;padding:10px 12px;resize:vertical}.tenant-form textarea:focus{background:#fff;border-color:#93c5fd;box-shadow:0 0 0 4px #2f6bff1f;outline:none}.empty-card{padding:28px 22px;display:grid;gap:8px;justify-items:start}.empty-card h2{font-size:20px}.empty-card p{color:var(--muted);max-width:42rem}.type-client{background:#dbeafe;color:#1d4ed8}.type-contractor{background:#ffedd5;color:#c2410c}.type-vendor{background:#ede9fe;color:#6d28d9}.type-consultant{background:#dcfce7;color:#15803d}.plan-pick button{border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:12px;text-align:left;min-height:64px}.plan-pick button strong,.plan-pick button small{display:block}.plan-pick button small{color:var(--muted);font-size:12px;margin-top:4px;font-weight:500}.plan-pick button.on{border-color:var(--active);background:#eef4ff;box-shadow:0 0 0 3px #2f6bff1f}.tenant-form-error{margin:0 20px 8px}.tenant-form-actions{margin:0;flex:none;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--card)}.stat.tint-blue{background:#eef4ff}.stat.tint-green{background:#ecfdf3}.stat.tint-orange{background:#fff7ed}.stat.tint-red{background:#fef2f2}.stat.tint-purple{background:#f5f3ff}.stat-icon.orange{background:#f59e0b}.stat-icon.red{background:#ef4444}.down{color:#dc2626;font-style:normal;font-size:12px;font-weight:700}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.filters input,.filters select{min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:0 12px}.filters input{flex:1;min-width:220px}.filters select,.filters input[type=date]{width:148px;max-width:100%}.identity{display:flex;gap:10px;align-items:center;margin:10px 0}.identity h2{margin:0;font-size:18px}.name-cell{display:flex;align-items:center;gap:10px;font-weight:650}.mark{width:34px;height:34px;border-radius:10px;display:inline-grid;place-items:center;color:#fff;font-style:normal;font-weight:800}.mark.lg{width:48px;height:48px;border-radius:14px;font-size:20px}.linkish{color:#2563eb}.plan-pill{border-radius:8px;padding:3px 8px;font-size:12px;font-weight:700;background:#f1f5f9;color:#475569}.plan-enterprise{background:#dbeafe;color:#1d4ed8}.plan-professional{background:#ede9fe;color:#6d28d9}.plan-starter{background:#e2e8f0;color:#334155}.plan-custom,.status-past_due,.status-pending{background:#ffedd5;color:#c2410c}.status-cancelled,.status-inactive,.status-overdue{background:#fee2e2;color:#b91c1c}.status-paid,.status-read{background:#dcfce7;color:#15803d}.status-unread{background:#fee2e2;color:#b91c1c}.name-cell small{display:block;color:var(--muted);font-weight:500;font-size:12px}.mark .icon{width:16px;height:16px;stroke:#fff}.mark.lg .icon{width:22px;height:22px}.mark.type-subscription,.mark.type-billing{background:#7c3aed}.mark.type-payment,.mark.type-security{background:#ef4444}.mark.type-tenant,.mark.type-usage{background:#2563eb}.mark.type-system,.mark.type-announcement{background:#f59e0b}.mark.type-user{background:#16a34a}.role-pill.type-subscription,.role-pill.type-billing{background:#ede9fe;color:#6d28d9}.role-pill.type-payment,.role-pill.type-security{background:#fee2e2;color:#b91c1c}.role-pill.type-tenant,.role-pill.type-usage{background:#dbeafe;color:#1d4ed8}.role-pill.type-system,.role-pill.type-announcement{background:#ffedd5;color:#c2410c}.role-pill.type-user{background:#dcfce7;color:#15803d}.status-refunded{background:#e0e7ff;color:#3730a3}.role-pill{border-radius:8px;padding:3px 8px;font-size:12px;font-weight:700;background:#f1f5f9;color:#475569}.role-super{background:#fee2e2;color:#b91c1c}.role-tenant{background:#ede9fe;color:#6d28d9}.role-project{background:#dbeafe;color:#1d4ed8}.role-sales{background:#ffedd5;color:#c2410c}.role-finance{background:#dcfce7;color:#15803d}.role-hr{background:#fce7f3;color:#be185d}.role-member,.role-viewer{background:#e2e8f0;color:#334155}.split-btn{position:relative;display:flex}.split-btn .primary{border-radius:10px 0 0 10px}.split-btn .caret{border-radius:0 10px 10px 0;border-left:1px solid rgba(255,255,255,.35);padding:0 12px}.menu{position:absolute;top:calc(100% + 6px);right:0;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-width:200px;z-index:6;padding:6px}.menu button{width:100%;text-align:left;background:transparent;border:0;border-radius:8px;padding:8px 10px}.menu button:hover{background:var(--bg)}.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.chips{display:flex;flex-wrap:wrap;gap:6px}.saved{color:var(--good);font-weight:700}table.dense thead th{background:#f8fafc}table.dense tbody tr{cursor:pointer}table.dense tbody tr:hover,table.dense tbody tr.picked{background:#f8fbff}.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:12px;color:var(--muted);font-size:13px;min-width:0;width:100%}.pages{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pages button{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--card)}.pages button.on{background:var(--active);color:#fff;border-color:var(--active)}.pages button:disabled{opacity:.4}.icon-btn.tiny{width:32px;height:32px;border:0;background:transparent}.section-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:14px;overflow-x:auto;max-width:100%}.section-tabs button{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:10px 0;color:var(--muted);border-bottom:2px solid transparent;flex:none;white-space:nowrap}.section-tabs button.on{color:var(--active);border-bottom-color:var(--active);font-weight:700}.triple{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,.9fr);gap:14px;margin-bottom:14px}.drawer-back{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:40;display:flex;justify-content:flex-end}.drawer{width:min(440px,100%);height:100%;overflow:auto;background:var(--card);color:var(--ink);padding:18px 18px 28px;box-shadow:-16px 0 40px #0f172a1f}.drawer-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.drawer-head p{color:var(--muted);font-size:13px;margin-top:4px}.drawer-head .status{margin-left:8px}.tabs{display:flex;gap:14px;overflow-x:auto;border-bottom:1px solid var(--line);margin:14px 0}.tabs button{background:none;border:0;padding:8px 0;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent}.tabs button.on{color:var(--active);border-bottom-color:var(--active);font-weight:700}.section-head,.drawer-actions{display:flex;justify-content:space-between;gap:8px;align-items:center}.drawer-actions{flex-wrap:wrap;margin-top:16px}.drawer-body{display:grid;gap:14px}.facts{display:grid;gap:10px;margin:0}.facts div{display:grid;grid-template-columns:140px 1fr;gap:8px}.facts dt{color:var(--muted)}.facts dd{margin:0}.mini-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mini-tiles button,.mini-tiles div{text-align:left;border:1px solid var(--line);background:var(--bg);border-radius:14px;padding:12px;display:grid;gap:4px}.mini-tiles span,.mini-tiles em{color:var(--muted);font-size:12px;font-style:normal}.mini-tiles strong{font-size:18px}.plain-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.plain-list li{display:grid;gap:2px;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.plain-list span,.plain-list em{color:var(--muted);font-style:normal;font-size:13px}.warn,.danger{min-height:40px;border-radius:10px;padding:0 14px;font-weight:700}.warn{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.danger{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.impersonate{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 22px;background:#eff6ff;color:#1e3a8a}.impersonate button{border:0;background:var(--active);color:#fff;border-radius:8px;min-height:32px;padding:0 12px}.hub.dark .stat.tint-blue{background:#172554}.hub.dark .stat.tint-green{background:#052e16}.hub.dark .stat.tint-orange{background:#431407}.hub.dark .stat.tint-red{background:#450a0a}.hub.dark .stat.tint-purple{background:#2e1065}.hub.dark table.dense thead th{background:#0f172a}.settings-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.settings-cards button{text-align:left;border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;gap:4px;min-width:0}.settings-cards button.on{outline:2px solid #93c5fd}.settings-cards button.tone-blue{background:#eef4ff}.settings-cards button.tone-purple{background:#f5f3ff}.settings-cards button.tone-green{background:#ecfdf3}.settings-cards button.tone-orange{background:#fff7ed}.settings-cards button.tone-red{background:#fef2f2}.settings-cards small,.feature small{display:block;color:var(--muted);font-size:12px;font-weight:500}.settings-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 300px;gap:14px;align-items:start}.hub.tenant .settings-hub .section-tabs{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:16px;gap:8px;flex-wrap:wrap;overflow:visible}.hub.tenant .settings-hub .section-tabs button{border:1px solid var(--line);border-radius:999px;padding:8px 12px;color:var(--ink);background:var(--bg)}.hub.tenant .settings-hub .section-tabs button.on{background:#e8f0ff;border-color:#93c5fd;color:#1d4ed8;font-weight:700}.hub.tenant .settings-hub{width:100%}.hub.tenant .settings-hub .stat-grid{width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.hub.tenant .settings-hub .page-head{width:100%;align-items:center}.hub.tenant .settings-hub .field-grid{grid-template-columns:1fr 1fr}.hub.tenant .settings-stack{display:grid;gap:14px}.hub.tenant .settings-block{padding:22px 24px}.hub.tenant .block-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}.hub.tenant .block-head h2{margin:0;font-size:20px;letter-spacing:-.03em}.hub.tenant .settings-block label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}.hub.tenant .settings-block input,.hub.tenant .settings-block select,.hub.tenant .settings-block textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:8px 12px}.hub.tenant .settings-block textarea{min-height:96px}.hub.tenant .settings-logo-row{display:flex;gap:16px;align-items:center;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.hub.tenant .settings-logo{width:88px;height:88px;border-radius:18px;border:1px dashed var(--line);display:grid;place-items:center;background:#f8fbff;color:var(--muted);font-weight:700;flex:none}.hub.tenant .settings-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.hub.tenant .settings-inline{display:flex;gap:8px;margin-bottom:16px}.hub.tenant .settings-inline input{flex:1;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px}.hub.tenant .settings-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.hub.tenant .choice-card{display:grid;gap:8px;text-align:left;border:1px solid var(--line);background:var(--card);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow)}.hub.tenant .choice-card.on{border-color:var(--active);background:#f5f8ff;box-shadow:0 0 0 3px #2f6bff1f}.hub.tenant .choice-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.hub.tenant .choice-actions{margin-top:6px}.hub.tenant .workflow-track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hub.tenant .workflow-track li{display:grid;gap:4px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fbff}.hub.tenant .workflow-track em{width:28px;height:28px;border-radius:99px;background:#2f6bff;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:13px}.hub.tenant .workflow-track span{color:var(--muted);font-size:13px}.hub.tenant .empty-panel{padding:48px 16px;text-align:center;display:grid;justify-items:center;gap:8px;color:var(--muted)}.hub.tenant .empty-panel h3{margin:0;color:var(--ink)}.hub.tenant .plan-banner h2{margin:4px 0 6px;font-size:28px}.hub.tenant .plan-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hub.tenant .plan-price{font-size:22px;font-weight:800}.hub.tenant .plan-price small{font-size:13px;font-weight:500;color:var(--muted)}.hub.tenant .choice-card ul{margin:6px 0 0;padding-left:16px;color:var(--muted);font-size:13px}.hub.tenant .account .account-grid{grid-template-columns:minmax(0,1fr)}.hub.tenant .account .card{padding:22px 24px}.org-nav{display:grid;gap:4px}.org-nav button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;background:transparent;border-radius:10px;padding:10px 12px;color:var(--ink)}.org-nav button.on{background:#e8f0ff;color:#2f6bff;font-weight:700}.logo-box{width:148px;min-height:148px;border:1px dashed var(--line);border-radius:16px;display:grid;place-items:center;text-align:center;padding:12px;background:#f8fbff}.logo-box strong{color:#1d4ed8}.check-list{list-style:none;padding:0;margin:12px 0 0}.check-list li{display:flex;gap:8px;align-items:center;margin:8px 0}.quick-row,.connect-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.settings-side{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:8px;display:grid;align-content:start}.settings-side button{display:flex;gap:8px;align-items:center;text-align:left;background:transparent;border:0;border-radius:10px;padding:10px}.settings-side button.on{background:#eef4ff;color:var(--active);font-weight:700}.settings-side .icon{width:16px;height:16px}.settings-rail,.settings-main{display:grid;gap:12px;align-content:start}.settings-main h2,.settings-main h3{margin:0}.settings-main label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}.settings-main input,.settings-main select,.settings-main textarea{width:100%;min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:8px 12px}.settings-main textarea{min-height:84px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-grid .span-2{grid-column:1 / -1}.phone-row{display:flex;gap:8px}.phone-row select{width:88px;flex:none}.phone-row input{flex:1;width:auto}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.feature{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px}.toggle{width:44px;height:26px;border-radius:99px;border:0;background:#cbd5e1;position:relative;flex:none}.toggle.on{background:#22c55e}.toggle.blue.on{background:#2f6bff}.toggle i{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:99px;background:#fff}.toggle.on i{left:21px}.status-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.status-list li{display:flex;justify-content:space-between;gap:8px;align-items:center}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.json{margin:12px 0 0;background:#0f172a;color:#e2e8f0;border-radius:12px;padding:12px;font-size:12px;white-space:pre-wrap;overflow:auto}.ticket-hero{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:start;background:#0c1b33;color:#fff;margin:-18px -18px 14px;padding:18px}.ticket-hero p,.ticket-hero small{display:block;color:#cbd5e1;font-size:12px}.ticket-hero strong{display:block;font-size:18px;margin:4px 0}.icon-btn.light{color:#fff}.desc-box{background:var(--bg);border-radius:12px;padding:12px;color:var(--ink)}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pri-critical{background:#fee2e2;color:#b91c1c}.pri-high{background:#ffedd5;color:#c2410c}.pri-medium{background:#dbeafe;color:#1d4ed8}.pri-low{background:#dcfce7;color:#15803d}.status-resolved{background:#dbeafe;color:#1d4ed8}.status-escalated{background:#ede9fe;color:#6d28d9}.sla-over{color:#dc2626;font-weight:700}.form textarea{width:100%;min-height:80px;border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--card)}.subnav{display:grid;padding:0 0 6px 34px}.subnav a{color:#9aabc0;text-decoration:none;padding:6px 0;font-size:13px}.nav-item .caret{margin-left:auto;font-style:normal;color:#9aabc0}.help-card{background:#12305a;border-radius:16px;padding:14px;display:grid;gap:6px}.help-card p{color:#9aabc0;font-size:13px}.help-card button{background:var(--active);color:#fff;border:0;border-radius:10px;min-height:36px;font-weight:700}.hub.tenant{grid-template-columns:228px minmax(0,1fr)}.hub.tenant .sidebar{padding:12px 10px 14px;height:100vh;max-height:100vh;overflow:hidden;background:linear-gradient(180deg,#0b1730,#0c1b33 48%,#0a162c)}.hub.tenant .side-brand{padding:4px 8px 12px;margin-bottom:4px;border-bottom:1px solid rgba(255,255,255,.08);gap:8px}.hub.tenant .side-brand strong{font-size:13px;line-height:1.25}.hub.tenant .side-brand small{font-size:11px;color:#8ba0b8}.hub.tenant .sidebar nav{display:flex;flex-direction:column;gap:2px;flex:1;overflow:auto;min-height:0;scrollbar-width:thin;padding-bottom:8px}.hub.tenant .nav-section{display:grid;gap:1px;padding:6px 0 2px}.hub.tenant .nav-section+.nav-section{border-top:1px solid rgba(148,163,184,.12)}.hub.tenant .nav-label{margin:0 8px 4px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7d90a8}.hub.tenant .nav-item{min-height:32px;padding:0 10px;border-radius:8px;font-size:13px;gap:9px;color:#c5d2e3}.hub.tenant .nav-item.active{background:#2f6bff;color:#fff;box-shadow:0 6px 16px #2f6bff47}.hub.tenant .nav-item:hover{background:#2f6bff2e;color:#fff}.hub.tenant .nav-item.active:hover{background:#2f6bff}.hub.tenant .nav-item .icon{width:16px;height:16px}.hub.tenant .content{padding:18px 22px 28px}.hub.tenant .page-head{margin-bottom:14px;gap:12px}.hub.tenant .page-head h1{font-size:24px}.hub.tenant .page-head p{font-size:13px}.hub.tenant .stat{padding:14px;border-radius:14px}.hub.tenant .stat strong{font-size:22px}.hub.tenant .row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.hub.tenant .filters{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px}.hub.tenant .section-tabs{gap:14px}.tenant-switch select,.role-switch select{min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:0 10px}.role-switch select{width:168px;max-width:100%}.stat small{display:block;color:var(--muted);font-size:12px;font-weight:600}.meter{width:72px;height:8px;background:#e2e8f0;border-radius:99px;display:inline-block;overflow:hidden;vertical-align:middle;margin-right:6px}.meter.wide{width:120px}.meter i,.gantt i{display:block;height:100%;border-radius:99px;background:#22c55e}.meter i.orange,.gantt i.orange{background:#f59e0b}.meter i.blue,.gantt i.blue{background:#3b82f6}.meter i.red{background:#ef4444}.gantt div{height:8px;background:#e2e8f0;border-radius:99px;overflow:hidden}.status-on-hold{background:#ffedd5;color:#c2410c}.status-planning{background:#dbeafe;color:#1d4ed8}.status-closed{background:#e2e8f0;color:#475569}.help-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}.help-hero{background:#eef4ff;border:1px solid #dbeafe;border-radius:16px;padding:18px;margin-bottom:14px}.help-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.help-cards button,.quick-link{display:grid;gap:4px;text-align:left;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.chip-row button{border:1px solid var(--line);background:#fff;border-radius:99px;padding:4px 10px}.ticket-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px}.dropzone{border:1px dashed var(--line);border-radius:14px;padding:16px;text-align:center;display:grid;gap:6px;justify-items:center}.rail{display:grid;gap:12px}.urgent{background:#2f6bff;color:#fff;border-radius:16px;padding:16px;display:grid;gap:8px}.urgent .primary{background:#fff;color:#1d4ed8}.release-row{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.count-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.count-pills span{border-radius:99px;padding:2px 8px;font-size:12px;font-weight:700;background:#ecfdf3;color:#15803d}.count-pills .imp{background:#eef4ff;color:#1d4ed8}.count-pills .fix{background:#fef2f2;color:#b91c1c}.help-layout textarea,.release-page textarea,.help-layout input,.help-layout select{width:100%;max-width:100%;box-sizing:border-box}.help-layout textarea,.release-page textarea{min-height:90px;border:1px solid var(--line);border-radius:10px;padding:8px 12px}.status-completed{background:#dbeafe;color:#1d4ed8}.status-delayed{background:#fee2e2;color:#b91c1c}.deadline-list,.milestone-list,.gantt{list-style:none;margin:0;padding:0;display:grid;gap:10px}.deadline-list li{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center}.deadline-list strong,.deadline-list small{display:block}.deadline-list small,.gantt em,.milestone-list em{color:var(--muted);font-style:normal;font-size:12px}.project-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}.view-switch{margin-left:auto;display:flex;gap:6px}.view-switch button,.section-tabs .view-switch button{border:1px solid var(--line);background:var(--card);border-radius:8px;padding:6px 10px;color:var(--muted)}.view-switch button.on{background:#eef4ff;color:var(--active);border-color:#bfdbfe}.site-photo{height:150px;border-radius:14px;margin-bottom:12px;background:linear-gradient(#7dd3fc,#38bdf8 40%,#0f766e 40%,#14532d);position:relative}.site-photo:before{content:"";position:absolute;left:18%;right:18%;bottom:18px;height:78px;background:#e2e8f0;border:3px solid #cbd5e1;box-shadow:inset 0 0 0 8px #93c5fd}.site-photo button{position:absolute;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:99px;border:0;background:#fff}.site-photo button:first-child{left:8px}.site-photo button:last-child{right:8px}.panel-title{display:flex;justify-content:space-between;gap:8px;align-items:start}.panel-title small{color:var(--muted)}.milestone-list li{display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:center}.milestone-list i{width:10px;height:10px;border-radius:99px;background:#cbd5e1}.milestone-list .done i{background:#22c55e}.milestone-list .current i{background:#2563eb}.kanban{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;overflow-x:auto}.kanban section{display:grid;gap:8px;align-content:start}.kanban button{text-align:left;border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:10px;display:grid}.kanban button.on{border-color:#93c5fd}.kanban small{color:var(--muted)}.gantt li{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:8px;align-items:center}.plan-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}.plan-layout.wide{grid-template-columns:minmax(0,1fr) 380px}.shot-row{display:flex;gap:8px;align-items:center;margin-top:10px}.shot{width:72px;height:54px;border-radius:8px;background:linear-gradient(#86efac,#166534);display:inline-block}.shot.alt{background:linear-gradient(#93c5fd,#1d4ed8 40%,#14532d)}.shot.add{width:auto;height:54px;padding:0 10px;border:1px dashed var(--line);background:var(--bg);color:var(--active);font-weight:700;cursor:pointer}.kanban.four{grid-template-columns:repeat(4,minmax(140px,1fr))}.project-pick{display:flex;gap:8px;flex-wrap:wrap;max-width:100%}.project-pick select{min-height:40px;max-width:100%;width:210px;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:0 10px}.zoom{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.timeline-head{display:grid;grid-template-columns:repeat(9,1fr);font-size:11px}.parent-row td{font-weight:750}.child-task{padding-left:18px}.fold{border:0;background:transparent;width:22px}.track{position:relative;height:36px;background:repeating-linear-gradient(90deg,transparent,transparent calc(11.11% - 1px),#eef2f7 calc(11.11% - 1px),#eef2f7 11.11%)}.plan-bar{position:absolute;top:12px;height:10px;border-radius:99px}.plan-bar.done{background:#22c55e}.plan-bar.doing{background:#3b82f6}.plan-bar.todo{background:#f59e0b}.plan-bar.late{background:#ef4444}.plan-diamond{position:absolute;top:10px;width:10px;height:10px;background:#ef4444;transform:translate(-50%) rotate(45deg)}.today-line{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed #2563eb}.today-line.labeled:before{content:"Today";position:absolute;top:-14px;left:4px;color:#2563eb;font-size:10px;font-style:normal}.overview-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.overview-list li{display:flex;gap:8px;align-items:center}.overview-list strong{margin-left:auto}.overview-list i,.presence{width:8px;height:8px;border-radius:99px;display:inline-block}.overview-list i.done{background:#22c55e}.overview-list i.doing{background:#3b82f6}.overview-list i.todo{background:#f59e0b}.overview-list i.late{background:#ef4444}.presence{width:auto;height:auto;padding-left:12px;background:transparent;position:relative}.presence:before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:99px;background:#94a3b8}.presence.online:before{background:#22c55e}.presence.busy:before{background:#f59e0b}.gantt div{overflow:hidden}.boq-charts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}.boq-charts.reports{grid-template-columns:repeat(2,minmax(0,1fr))}.boq-charts.three{grid-template-columns:repeat(3,minmax(0,1fr))}.status-soft{background:#d1fae5;color:#047857}.file-row{display:flex;gap:8px;flex-wrap:wrap}.file-chip{border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:grid;min-width:0}.file-chip small{color:var(--muted)}.boq-charts .card{min-width:0}.boq-card .donut-row{grid-template-columns:1fr;min-height:0}.boq-card .donut-chart{height:168px}.boq-card .donut-center strong{font-size:18px}.table-tools{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px;flex-wrap:wrap}.table-tools h3{margin:0}.qty-late{color:#dc2626;font-weight:700}td.got{color:#15803d;font-weight:700}.budget-row{display:grid;grid-template-columns:1fr auto;gap:2px 8px;margin-bottom:10px;font-size:13px}.budget-row small{grid-column:1 / -1;color:var(--muted)}.rebar{height:96px;border-radius:12px;margin:8px 0;background-color:#0f172a;background-image:linear-gradient(#cbd5e1,#64748b),linear-gradient(#e2e8f0,#475569),linear-gradient(#94a3b8,#334155),linear-gradient(#cbd5e1,#64748b);background-size:16px 72%,16px 80%,16px 64%,16px 76%;background-position:18px 16px,42px 8px,66px 20px,90px 10px;background-repeat:no-repeat}.rebar.other{background-color:#14532d;background-image:linear-gradient(#bbf7d0,#166534),linear-gradient(#86efac,#14532d),linear-gradient(#d9f99d,#3f6212);background-size:28% 70%,28% 58%,28% 76%;background-position:8% 18%,38% 28%,68% 12%}.progress-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.progress-pills span{flex:1;min-width:70px;border:1px solid var(--line);border-radius:10px;padding:8px;display:grid;font-size:12px;color:var(--muted)}.progress-pills .got strong{color:#15803d}.progress-pills .wait strong{color:#c2410c}.progress-pills .all strong{color:#1d4ed8}.banner{background:#eef4ff;color:#1d4ed8;border-radius:10px;padding:8px 12px}@media (max-width: 1100px){.stat-grid,.stat-grid.five,.split,.donut-row,.plan-grid,.mini-stats,.triple,.settings-layout,.feature-grid,.field-grid{grid-template-columns:minmax(0,1fr)}.hub.tenant .stat-grid,.hub.tenant .settings-hub .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub.tenant .settings-hub .field-grid{grid-template-columns:1fr 1fr}.settings-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.project-layout,.plan-layout,.kanban,.boq-charts,.boq-charts.reports,.boq-charts.three,.account-grid,.profile-grid,.pass-grid,.help-layout,.help-cards,.ticket-split{grid-template-columns:minmax(0,1fr)}.settings-side{display:flex;overflow-x:auto}.settings-side button{flex:none}}@media (max-width: 860px){.hub,.hub.tenant{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;z-index:30;width:min(84vw,300px);transform:translate(-110%);transition:transform .18s ease}.nav-open .sidebar{transform:none}.nav-open .scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a73;z-index:20}.menu-btn{display:inline-grid}.topbar{padding:10px;flex-wrap:wrap}.tenant-switch,.role-switch{flex:1 1 100%}.tenant-switch select,.role-switch select{width:100%}.search kbd,.text-out,.user-chip small,.user-chip strong{display:none}.content{padding:14px}.page{overflow-x:hidden;width:100%}.welcome-row,.page-head,.toolbar{flex-direction:column}.hub.tenant .settings-hub .page-head{flex-direction:row;flex-wrap:wrap}.hub.tenant .settings-hub .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-cards,.quick-grid,.hub.tenant .settings-hub .field-grid,.hub.tenant .plan-choice,.hub.tenant .workflow-track{grid-template-columns:minmax(0,1fr)}.tenant-switch,.tenant-switch select,.role-switch,.role-switch select,.project-pick select{max-width:100%}.welcome-row h1{font-size:24px}.login-screen{grid-template-columns:1fr}.login-hero{padding:32px 20px 24px;min-height:auto}.login-hero h1{font-size:34px;max-width:none}.login-panel{padding:16px 16px 32px}.login-card{padding:22px 18px;border-radius:20px}.tenant-fields{grid-template-columns:1fr 1fr}.plan-pick{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 600px){.tenant-modal-back{padding:0;align-items:stretch}.modal.tenant-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.tenant-fields,.plan-pick{grid-template-columns:minmax(0,1fr)}.tenant-form-actions{flex-direction:column-reverse}.tenant-form-actions button{width:100%;min-height:48px}}.project-link{color:inherit;text-decoration:none}.project-link:hover strong{color:var(--active)}.project-code{color:var(--muted);font-size:13px;margin:-4px 0 4px}.detail-pad{padding:14px 16px 16px}.facts-grid{grid-template-columns:1fr 1fr;gap:8px 24px}.facts-grid div{grid-template-columns:140px 1fr}.plain-list.tight{padding:8px}.plain-list.tight li{border-radius:10px;padding:8px 10px}.ghost.compact{min-height:34px;padding:0 12px;border-radius:8px;font-size:13px}.parties-page{display:grid;gap:10px}.parties-page .parties-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0}.parties-title{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}.parties-page h1{font-size:20px;letter-spacing:-.03em;margin:0}.parties-counts{display:flex;gap:4px;flex-wrap:wrap}.parties-counts button{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:999px;min-height:28px;padding:0 10px;font-size:12px;font-weight:600}.parties-counts button b{color:var(--ink);margin-left:4px}.parties-counts button.on{background:#eef4ff;border-color:#93c5fd;color:#1d4ed8}.parties-counts button.on b{color:#1d4ed8}.parties-tools{display:flex;gap:8px;align-items:center;margin-left:auto;min-width:0}.parties-tools input{min-height:34px;width:min(240px,100%);border:1px solid var(--line);border-radius:8px;background:var(--card);padding:0 10px;font-size:13px}.primary.compact,.parties-page .primary.compact{min-height:34px;padding:0 12px;border-radius:8px;font-size:13px}.parties-card{padding:0;overflow:hidden}.parties-card .pager{padding:8px 12px 10px}.parties-empty{padding:20px 16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.parties-empty p{color:var(--muted);font-size:13px;margin:0}.parties-table{font-size:13px}.parties-table th,.parties-table td{padding:7px 10px}.parties-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em}.parties-table .num{width:1%;text-align:center;color:var(--muted)}.parties-table .actions{width:1%;text-align:right}.parties-table .clip{max-width:180px;overflow:hidden;text-overflow:ellipsis}.parties-table .name-cell{gap:8px;font-weight:600}.parties-table .name-cell span{display:grid;line-height:1.2}.parties-table .name-cell small{display:block;color:var(--muted);font-weight:500;font-size:11px}.mark.sm{width:24px;height:24px;border-radius:7px;font-size:11px}.table-links{display:flex;gap:8px;justify-content:flex-end;white-space:nowrap}.table-links button{border:0;background:none;padding:0;min-height:0;color:var(--active);font-size:12px;font-weight:650}.table-links .warn-link{color:#b91c1c}.plan-pick.tight{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:8px}.plan-pick.tight button{min-height:36px;padding:8px 10px}.compact-form .tenant-form textarea{min-height:56px}@media (max-width: 860px){.parties-tools{width:100%;margin-left:0}.parties-tools input{flex:1;width:auto}.plan-pick.tight{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion: reduce){.sidebar{transition:none}}
