:root{--bg:#0b0f12;--sidebar:#090c0f;--surface:#11171b;--surface-2:#161d22;--surface-3:#1c242a;--line:#273139;--text:#f5f7f8;--muted:#86949e;--yellow:#ffc915;--orange:#f05a24;--green:#2cc475;--red:#ed5b5b;--blue:#4ba7ff;--shadow:0 20px 60px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Manrope,Arial,sans-serif;letter-spacing:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:244px 1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--sidebar);border-right:1px solid #1e262c;padding:22px 16px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;padding:0 8px 28px}.brand-mark{width:38px;height:38px;border-radius:7px;background:var(--yellow);color:#092f49;display:grid;place-items:center;font-size:22px;font-weight:800;transform:skew(-7deg)}.brand>span:last-child{display:flex;flex-direction:column}.brand strong{font-size:17px;letter-spacing:.6px}.brand strong span{color:var(--yellow)}.brand small{font-size:8px;color:var(--muted);letter-spacing:2px;margin-top:4px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button,.sidebar-section a{height:46px;width:100%;border:0;background:transparent;border-radius:6px;color:#9eabb4;display:flex;align-items:center;gap:12px;padding:0 13px;text-decoration:none;font-size:12px;font-weight:650;text-align:left}.sidebar nav button:hover,.sidebar-section a:hover{background:#12191e;color:#fff}.sidebar nav button.active{background:var(--yellow);color:#092f49}.sidebar nav svg,.sidebar-section svg{width:18px}.sidebar nav b{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#263139;color:#cdd6dc;display:grid;place-items:center;font-size:9px}.sidebar nav button.active b{background:#092f49;color:#fff}.sidebar-section{margin-top:30px;border-top:1px solid #1c2429;padding-top:24px}.sidebar-section>small{font-size:8px;color:#5d6a72;font-weight:800;letter-spacing:1.6px;padding:0 13px;display:block;margin-bottom:9px}.sidebar-footer{margin-top:auto;padding-top:20px;border-top:1px solid #1c2429}.workspace-status{display:flex;align-items:center;gap:10px;padding:5px 9px}.workspace-status>span{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(44,196,117,.12)}.workspace-status div{display:flex;flex-direction:column}.workspace-status strong{font-size:10px}.workspace-status small{font-size:8px;color:var(--muted);margin-top:3px}.workspace{grid-column:2;min-width:0}.topbar{height:76px;position:sticky;top:0;z-index:30;background:rgba(11,15,18,.92);backdrop-filter:blur(14px);border-bottom:1px solid #1e262c;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.menu-toggle{display:none}.icon-button{width:40px;height:40px;border:1px solid var(--line);background:var(--surface);border-radius:7px;display:grid;place-items:center;position:relative}.icon-button:hover{border-color:#4a5862}.icon-button svg{width:18px}.notification-dot{position:absolute;right:8px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--orange)}.global-search{width:min(520px,48vw);height:42px;border:1px solid var(--line);background:var(--surface);border-radius:7px;display:flex;align-items:center;gap:10px;padding:0 12px}.global-search svg{width:17px;color:var(--muted)}.global-search input{flex:1;border:0;outline:0;background:transparent;font-size:11px}.global-search kbd{font-size:9px;color:var(--muted);padding:4px 6px;border:1px solid var(--line);border-radius:4px}.top-actions{display:flex;align-items:center;gap:10px}.user-switcher{position:relative}.user-switcher>button{border:0;background:transparent;display:flex;align-items:center;gap:10px;padding:4px 5px 4px 9px;border-radius:7px}.user-switcher>button:hover{background:var(--surface)}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#21465c;color:#fff;font-size:10px;font-weight:800;border:2px solid #335a71}.user-copy{display:flex;flex-direction:column;text-align:left;min-width:125px}.user-copy strong{font-size:10px}.user-copy small{font-size:8px;color:var(--muted);margin-top:2px}.user-switcher svg{width:15px;color:var(--muted)}.user-menu{position:absolute;right:0;top:52px;width:260px;background:#171e23;border:1px solid var(--line);border-radius:8px;padding:8px;box-shadow:var(--shadow);z-index:60}.user-option{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:11px;padding:10px;border-radius:6px;text-align:left}.user-option:hover,.user-option.current{background:#222c33}.user-option .avatar{flex:0 0 auto}.user-option span:last-child{display:flex;flex-direction:column}.user-option strong{font-size:11px}.user-option small{font-size:9px;color:var(--muted);margin-top:3px}main{padding:30px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.page-heading h1{font-size:27px;line-height:1.15;margin:0}.page-heading p{margin:8px 0 0;color:var(--muted);font-size:11px}.heading-actions{display:flex;gap:9px}.primary-button,.secondary-button{height:40px;border-radius:6px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:10px;font-weight:800}.primary-button{background:var(--yellow);color:#092f49;border:1px solid var(--yellow)}.primary-button:hover{background:#edb900}.secondary-button{background:var(--surface);border:1px solid var(--line);color:#d8e0e5}.primary-button svg,.secondary-button svg{width:16px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.metric-card{min-height:132px;padding:19px;background:var(--surface);border:1px solid var(--line);border-radius:7px;position:relative;overflow:hidden}.metric-card .metric-icon{width:32px;height:32px;border-radius:6px;display:grid;place-items:center;background:#252c20;color:var(--yellow)}.metric-card .metric-icon svg{width:17px}.metric-card>small{display:block;color:var(--muted);font-size:9px;font-weight:700;margin-top:16px}.metric-card strong{font-size:25px;display:block;margin-top:5px}.trend{position:absolute;right:16px;top:17px;font-size:8px;font-weight:800;padding:5px 7px;border-radius:4px}.trend.up{color:var(--green);background:rgba(44,196,117,.1)}.trend.warn{color:var(--orange);background:rgba(240,90,36,.1)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.8fr);gap:16px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:20px;min-width:0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.panel-header h2{font-size:13px;margin:0}.panel-header p{font-size:9px;color:var(--muted);margin:4px 0 0}.panel-header select,.mini-select{border:1px solid var(--line);background:var(--surface-2);height:32px;border-radius:5px;padding:0 9px;font-size:9px;outline:0}.chart-wrap{height:285px}.team-list{display:flex;flex-direction:column;gap:5px}.team-row{padding:13px 4px;border-bottom:1px solid #222b31;display:grid;grid-template-columns:38px 1fr 80px;gap:11px;align-items:center}.team-row:last-child{border-bottom:0}.team-row .avatar{width:34px;height:34px}.team-row strong,.team-row small{display:block}.team-row strong{font-size:10px}.team-row small{font-size:8px;color:var(--muted);margin-top:3px}.progress-bar{height:5px;border-radius:3px;background:#263037;overflow:hidden;margin-top:7px}.progress-bar span{height:100%;display:block;background:var(--yellow);border-radius:3px}.team-score{text-align:right}.team-score strong{font-size:14px}.team-score small{font-size:8px;color:var(--muted)}.lower-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:16px}.task-list-compact{display:flex;flex-direction:column}.compact-task{display:grid;grid-template-columns:1fr 90px 80px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #222b31}.compact-task:last-child{border-bottom:0}.compact-task h3{font-size:10px;margin:0}.compact-task p{font-size:8px;color:var(--muted);margin:5px 0 0}.status-badge,.priority-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:4px;font-size:8px;font-weight:800;padding:6px 8px}.status-badge.doing{color:var(--blue);background:rgba(75,167,255,.1)}.status-badge.done{color:var(--green);background:rgba(44,196,117,.1)}.status-badge.pending{color:var(--muted);background:#202930}.priority-badge.high{color:var(--red);background:rgba(237,91,91,.1)}.priority-badge.medium{color:var(--yellow);background:rgba(255,201,21,.1)}.priority-badge.low{color:var(--green);background:rgba(44,196,117,.1)}.activity-list{display:flex;flex-direction:column;gap:14px}.activity{display:grid;grid-template-columns:26px 1fr;gap:10px}.activity>span{width:25px;height:25px;border-radius:50%;background:#202930;display:grid;place-items:center;color:var(--yellow)}.activity svg{width:13px}.activity p{font-size:9px;line-height:1.5;margin:0}.activity time{font-size:8px;color:var(--muted);display:block;margin-top:3px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.view-tabs,.filter-row{display:flex;gap:5px}.view-tabs button,.filter-row button{height:34px;border:1px solid var(--line);background:var(--surface);border-radius:5px;padding:0 11px;font-size:9px;font-weight:700;display:flex;align-items:center;gap:7px}.view-tabs button.active,.filter-row button.active{background:#253039;color:#fff}.view-tabs svg{width:14px}.task-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--line);border-radius:7px;overflow:hidden}.task-table th{text-align:left;font-size:8px;color:var(--muted);letter-spacing:.6px;text-transform:uppercase;padding:12px 14px;background:#151c21;border-bottom:1px solid var(--line)}.task-table td{padding:13px 14px;border-bottom:1px solid #222b31;font-size:9px;vertical-align:middle}.task-table tr:last-child td{border-bottom:0}.task-name strong{display:block;font-size:10px}.task-name small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.assignee{display:flex;align-items:center;gap:8px}.assignee .avatar{width:27px;height:27px;font-size:8px}.progress-control{display:flex;align-items:center;gap:8px}.progress-control input{width:95px;accent-color:var(--yellow)}.progress-control span{width:32px;font-size:8px;color:var(--muted)}.progress-control.locked{opacity:.45}.date-cell strong,.date-cell small{display:block}.date-cell strong{font-size:9px}.date-cell small{font-size:7px;color:var(--muted);margin-top:3px}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start}.kanban-column{background:#0f1418;border:1px solid var(--line);border-radius:7px;padding:12px;min-height:420px}.kanban-header{display:flex;justify-content:space-between;align-items:center;padding:4px 3px 12px}.kanban-header strong{font-size:10px}.kanban-header span{font-size:8px;color:var(--muted);background:#202930;border-radius:10px;padding:3px 7px}.kanban-card{background:var(--surface-2);border:1px solid var(--line);border-radius:6px;padding:13px;margin-bottom:9px}.kanban-card h3{font-size:10px;line-height:1.4;margin:0}.kanban-card p{font-size:8px;color:var(--muted);line-height:1.5}.kanban-meta{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.kanban-meta .avatar{width:25px;height:25px;font-size:7px}.pricing-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.calculator-panel{background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:22px}.calculator-panel h2{font-size:15px;margin:0 0 5px}.calculator-panel>p{font-size:9px;color:var(--muted);margin:0 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:9px;color:#b7c2c9;font-weight:700}.field input,.field select,.field textarea{width:100%;height:42px;border:1px solid var(--line);background:#0d1317;border-radius:5px;padding:0 11px;outline:0;font-size:10px}.field textarea{height:80px;padding-top:10px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--yellow)}.calculation-result{margin-top:20px;background:#171d19;border:1px solid #2d4334;border-radius:7px;padding:18px}.result-main{display:flex;justify-content:space-between;align-items:flex-end}.result-main span{font-size:9px;color:var(--muted)}.result-main strong{font-size:27px;color:var(--green)}.result-lines{margin-top:15px;padding-top:13px;border-top:1px solid #29362e;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.result-lines span{font-size:8px;color:var(--muted)}.result-lines strong{display:block;font-size:11px;margin-top:4px}.product-table-wrap{grid-column:1/-1}.product-thumb{width:42px;height:42px;border-radius:5px;object-fit:cover}.product-cell{display:flex;align-items:center;gap:10px}.product-cell strong,.product-cell small{display:block}.product-cell small{color:var(--muted);font-size:8px;margin-top:3px}.rate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rate-card{border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:17px}.rate-card h3{font-size:11px;margin:0}.rate-card p{font-size:8px;color:var(--muted);margin:5px 0 15px}.rate-card strong{font-size:20px;color:var(--yellow)}.rate-card span{font-size:8px;color:var(--muted);margin-left:4px}.metric-entry-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.large-chart{height:360px}.data-table-actions{display:flex;gap:6px}.small-icon{width:30px;height:30px;border:1px solid var(--line);background:#192126;border-radius:5px;display:grid;place-items:center}.small-icon svg{width:14px}.competitor-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.competitor-summary .panel strong{font-size:24px;display:block}.competitor-summary .panel small{font-size:9px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);z-index:100;display:grid;place-items:center;padding:20px}.modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#151c21;border:1px solid #34414a;border-radius:8px;box-shadow:var(--shadow);padding:24px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.modal-header h2{font-size:18px;margin:0}.modal-header p{font-size:9px;color:var(--muted);margin:5px 0 0}.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.modal .icon-button{border:0}.toast{position:fixed;left:50%;bottom:25px;z-index:150;transform:translate(-50%,90px);opacity:0;transition:.25s;background:#1c2b22;border:1px solid #2f513a;color:#fff;border-radius:6px;padding:12px 17px;display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700}.toast.show{transform:translate(-50%,0);opacity:1}.toast svg{width:17px;color:var(--green)}.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.empty-state svg{width:30px}.empty-state h3{color:var(--text);font-size:13px;margin:13px 0 5px}.mobile-overlay{display:none}
@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.lower-grid,.pricing-layout,.metric-entry-grid{grid-template-columns:1fr}.product-table-wrap{grid-column:auto}.rate-grid{grid-template-columns:repeat(2,1fr)}.kanban{overflow:auto;grid-template-columns:repeat(3,300px)}.task-table{min-width:900px}.table-scroll{overflow:auto}}
@media(max-width:760px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:none}.workspace{grid-column:auto}.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:35}.mobile-overlay.open{display:block}.topbar{height:66px;padding:0 14px}.menu-toggle{display:grid}.global-search{display:none}.user-copy{display:none}.user-switcher>button{padding:3px}.user-menu{right:-2px}.top-actions{margin-left:auto}.topbar>.icon-button{margin-right:9px}main{padding:20px 14px}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%}.heading-actions>*{flex:1}.page-heading h1{font-size:23px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:116px;padding:14px}.metric-card strong{font-size:20px}.dashboard-grid,.lower-grid{gap:10px}.panel{padding:15px}.chart-wrap{height:235px}.team-row{grid-template-columns:34px 1fr 62px}.toolbar{align-items:flex-start;flex-direction:column}.filter-row{overflow:auto;width:100%}.pricing-layout{gap:10px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.result-lines{grid-template-columns:1fr 1fr}.rate-grid,.competitor-summary{grid-template-columns:1fr}.modal{padding:18px}.compact-task{grid-template-columns:1fr 76px}.compact-task>.priority-badge{display:none}}
@media(max-width:390px){.metric-grid{grid-template-columns:1fr}.metric-card{min-height:105px}.result-lines{grid-template-columns:1fr}}
[hidden]{display:none!important}.menu-toggle{display:none!important}@media(max-width:760px){.menu-toggle{display:grid!important}}
.brand strong,.brand strong span{color:var(--yellow)}.pricing-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.pricing-tabs button{min-height:66px;border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:12px 16px;display:flex;align-items:center;gap:12px;text-align:left}.pricing-tabs button:hover{border-color:#4a5862}.pricing-tabs button.active{border-color:var(--yellow);background:rgba(255,201,21,.08)}.pricing-tabs svg{width:20px;color:var(--yellow)}.pricing-tabs span{display:flex;flex-direction:column;font-size:11px;font-weight:800}.pricing-tabs small{font-size:8px;color:var(--muted);font-weight:500;margin-top:4px}@media(max-width:760px){.pricing-tabs{grid-template-columns:1fr}.pricing-tabs button{min-height:58px}}
.user-metrics{grid-template-columns:repeat(3,1fr)}.language-badge{display:inline-flex;padding:6px 8px;border-radius:4px;background:rgba(75,167,255,.1);color:var(--blue);font-size:8px;font-weight:800}button:disabled{opacity:.35;cursor:not-allowed}@media(max-width:760px){.user-metrics{grid-template-columns:1fr}}
/* User management stays compact on desktop and avoids a stray horizontal bar. */
.users-table{width:100%;min-width:0!important;table-layout:fixed}
.users-table th:nth-child(1){width:26%}.users-table th:nth-child(2){width:17%}.users-table th:nth-child(3){width:13%}.users-table th:nth-child(4){width:10%}.users-table th:nth-child(5){width:14%}.users-table th:nth-child(6){width:20%}
.users-table th,.users-table td{overflow:hidden;text-overflow:ellipsis}
.users-table .assignee>div{min-width:0}.users-table .assignee strong,.users-table .assignee small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.users-table .data-table-actions{display:flex;gap:6px;flex-wrap:nowrap}
.delete-user-button:not(:disabled){color:var(--red)}
.delete-user-button:not(:disabled):hover{border-color:var(--red);background:rgba(237,91,91,.08)}
.danger-button{height:40px;border:1px solid var(--red);border-radius:6px;padding:0 15px;background:var(--red);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:10px;font-weight:800}
.danger-button:hover{filter:brightness(1.08)}.danger-button svg{width:16px}
.delete-warning{display:flex;gap:13px;padding:15px;border:1px solid rgba(237,91,91,.35);border-radius:7px;background:rgba(237,91,91,.07)}
.delete-warning>svg{width:20px;flex:0 0 auto;color:var(--red)}.delete-warning strong{font-size:12px}.delete-warning p{margin:5px 0 0;color:var(--muted);font-size:9px;line-height:1.55}
.table-scroll,.kanban{scrollbar-width:thin;scrollbar-color:#46545e #11181d}
.table-scroll::-webkit-scrollbar,.kanban::-webkit-scrollbar{height:8px;width:8px}
.table-scroll::-webkit-scrollbar-track,.kanban::-webkit-scrollbar-track{background:#11181d;border-radius:999px}
.table-scroll::-webkit-scrollbar-thumb,.kanban::-webkit-scrollbar-thumb{background:#46545e;border:2px solid #11181d;border-radius:999px}
.table-scroll::-webkit-scrollbar-thumb:hover,.kanban::-webkit-scrollbar-thumb:hover{background:var(--yellow)}
.table-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:6px;overscroll-behavior-inline:contain}
@media (max-width:760px){.users-table{min-width:680px!important}}
