:root{--brand:#FF5722;--brand2:#F4511E;--brand-rgb:255,87,34}
*{box-sizing:border-box}
body{font-family:'Plus Jakarta Sans',sans-serif;background:#121214;color:#f4f4f5}
.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{scrollbar-width:none}
.brand-text{color:var(--brand)}.brand-bg{background:var(--brand);color:white}.brand-border{border-color:var(--brand)}
.brand-soft{background:rgba(var(--brand-rgb),.12);color:var(--brand);border-color:rgba(var(--brand-rgb),.3)}
.brand-btn{background:var(--brand);color:#fff;font-weight:800;transition:filter .18s,transform .18s}.brand-btn:hover{filter:brightness(1.08)}.brand-btn:active{transform:scale(.985)}
.brand-outline{border:1px solid rgba(var(--brand-rgb),.46);color:var(--brand);background:rgba(var(--brand-rgb),.08)}
.app-shell{min-height:100vh;display:flex;flex-direction:column}
.top-bar{background:#1A1A1E;border-bottom:1px solid #292930;position:sticky;top:0;z-index:40}
.top-inner{max-width:1400px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px}
.logo-square{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:rgba(var(--brand-rgb),.12);border:1px solid rgba(var(--brand-rgb),.25);color:var(--brand)}
.logo-square img,.logo-mini img{width:100%;height:100%;object-fit:contain}.logo-square img{background:#fff;padding:2px}.logo-mini{width:30px;height:30px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:rgba(var(--brand-rgb),.12);font-weight:800;color:var(--brand);overflow:hidden}
.demo-pill{border:1px solid #3f3f46;background:#24242a;border-radius:50px;padding:5px 10px;color:#a1a1aa;font-size:10px;white-space:nowrap}
.mode-tabs{background:#2A2A32;border:1px solid #393940;border-radius:12px;padding:4px;display:flex;gap:3px}
.mode-tab{border:0;border-radius:9px;padding:8px 13px;font-size:12px;font-weight:700;color:#aaaab2;white-space:nowrap}.mode-tab.active{background:var(--brand);color:#fff;box-shadow:0 4px 18px rgba(var(--brand-rgb),.22)}
.app-main{max-width:1400px;margin:auto;width:100%;flex:1;padding:22px 14px 34px;display:flex;align-items:flex-start;justify-content:center}
.phone-frame{width:100%;max-width:390px;height:min(790px,calc(100dvh - 140px));min-height:620px;background:#09090b;border:4px solid #2f2f36;border-radius:40px;overflow:hidden;display:flex;flex-direction:column;position:relative;box-shadow:0 20px 65px #0007}
.phone-notch{position:absolute;left:50%;top:0;transform:translateX(-50%);width:125px;height:22px;border-radius:0 0 17px 17px;background:#18181b;z-index:4;display:grid;place-items:center}.phone-notch span{height:4px;width:50px;background:#3f3f46;border-radius:10px}
.phone-head{padding:37px 18px 13px;background:#1A1A1E;border-bottom:1px solid #292931;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}
.phone-content{flex:1;overflow-y:auto;overflow-x:hidden;padding:16px}.phone-bottom{display:grid;grid-template-columns:repeat(4,1fr);background:#1A1A1E;border-top:1px solid #303036;padding:11px 7px 9px;flex-shrink:0}
.phone-bottom button{color:#a1a1aa;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;font-weight:700;padding:2px}.phone-bottom button i{font-size:15px}.phone-bottom button.active{color:var(--brand)}
.d-card{background:#1A1A1E;border:1px solid #313139;border-radius:17px;padding:15px}
.d-card-soft{background:#24242C;border:1px solid #373741;border-radius:14px;padding:12px}
.eyebrow{font-size:10px;color:#a1a1aa;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
.section-title{font-size:14px;font-weight:800;letter-spacing:-.025em}
.small-muted{font-size:11px;color:#a1a1aa}
.d-btn{padding:10px 12px;border-radius:11px;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px}
.d-btn.secondary{background:#2A2A32;color:#e4e4e7;border:1px solid #3b3b44}.d-btn.ghost{background:transparent;color:#c4c4cc;border:1px solid #3b3b44}.d-btn.danger{background:#422325;color:#ffb4b4;border:1px solid #693236}
.d-input{width:100%;background:#2A2A32;border:1px solid #41414b;border-radius:10px;padding:11px 12px;color:#f4f4f5;font-size:12px;outline:0;min-width:0;transition:border .15s}.d-input:focus{border-color:var(--brand)}.d-input::placeholder{color:#7f7f89}.d-input option{background:#24242c}
.d-label{font-size:11px;color:#b6b6bf;font-weight:700;display:block;margin-bottom:6px}
.d-field{display:block;min-width:0}.d-field+.d-field{margin-top:13px}
.d-select{background:#2A2A32;border:1px solid #41414b;border-radius:10px;padding:9px;color:#f4f4f5;font-size:12px;max-width:100%;min-width:0}
.status-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px;background:#34d399}.status-dot.off{background:#fbbf24}
.web-frame{width:100%;min-height:760px;background:#1A1A1E;border:1px solid #303038;border-radius:19px;overflow:hidden;box-shadow:0 18px 55px #0006}
.web-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 21px;background:#141416;border-bottom:1px solid #303038}
.web-nav{display:flex;gap:5px;overflow:auto;border-bottom:1px solid #303038;padding:9px 17px;background:#1A1A1E;scrollbar-width:thin}
.web-nav button{white-space:nowrap;border-radius:9px;padding:10px 12px;color:#aaaab2;font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:7px}
.web-nav button.active{background:#303036;color:var(--brand)}
.web-panel{padding:20px;min-height:620px}
.web-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px}.web-heading h2{font-size:19px;font-weight:800;line-height:1.3}.web-heading p{font-size:11px;color:#a1a1aa;margin-top:5px}
.web-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:15px}
.web-side{background:#141416;border:1px solid #313139;border-radius:15px;padding:14px;min-width:0}
.web-workspace{min-width:0}
.list-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#24242c;border:1px solid #33333b;border-radius:12px;min-width:0;text-align:left;width:100%}.list-row:hover{background:#2c2c35}.list-row.selected{border-color:var(--brand);background:rgba(var(--brand-rgb),.09)}
.person-initial{min-width:32px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#383840;color:#fafafa;font-size:10px;font-weight:800}
.text-clip{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.work-grid{display:grid;grid-template-columns:230px minmax(0,1fr);gap:13px}
.exercise-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 10px;border-radius:11px;background:#202024;border:1px solid #33333a}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.metric{background:#202024;border:1px solid #34343b;border-radius:15px;padding:17px}.metric strong{font-size:26px;font-weight:800;display:block;margin-top:8px}
.section-divider{height:1px;background:#35353d;margin:17px 0}
.tiny-tag{padding:3px 8px;background:#303038;border:1px solid #43434a;border-radius:7px;color:#c4c4cd;font-size:10px;font-weight:700;white-space:nowrap}
.empty-state{padding:24px 15px;border:1px dashed #484851;border-radius:13px;color:#a1a1aa;text-align:center;font-size:12px}
.d-modal-wrap{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:90;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
.d-modal{width:min(100%,520px);max-height:calc(100dvh - 38px);overflow-y:auto;background:#1A1A1E;border:1px solid #45454e;border-radius:22px;padding:21px;box-shadow:0 30px 90px #000b}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:19px}
.modal-head h2{font-size:18px;font-weight:800}
.modal-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
.app-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);min-width:200px;padding:12px 17px;border-radius:12px;background:#e4e4e7;color:#151518;box-shadow:0 7px 45px #000a;z-index:120;font-size:12px;font-weight:700;text-align:center}.app-toast.hidden{display:none}
.progress-track{height:8px;border-radius:20px;background:#303038;overflow:hidden}.progress-track>div{height:100%;background:var(--brand);border-radius:20px;transition:width .2s}
.set-row{display:grid;grid-template-columns:29px minmax(0,1fr) minmax(0,1fr) 32px;gap:7px;align-items:center;padding:9px 0;border-bottom:1px solid #313139}.set-row:last-child{border:0}.set-row .d-input{padding:8px 4px;text-align:center}.set-row.done{opacity:.65}
.set-check{width:26px;height:26px;accent-color:var(--brand);cursor:pointer}
.list-inline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #303036}.list-inline:last-child{border:0}
.data-table{width:100%;font-size:12px;border-collapse:collapse}.data-table th{font-size:10px;letter-spacing:.05em;color:#a1a1aa;text-align:left;padding:9px;border-bottom:1px solid #3a3a41}.data-table td{padding:12px 9px;border-bottom:1px solid #303036;vertical-align:middle}
.data-table tr:last-child td{border:0}.table-scroll{overflow:auto}
.action-link{color:var(--brand);font-weight:800;font-size:11px;cursor:pointer}
.barline{height:9px;background:#303038;border-radius:10px;overflow:hidden}.barline b{height:100%;display:block;background:var(--brand)}
.brand-preview{background:#121214;border:1px solid #404047;border-radius:15px;padding:16px;max-width:400px}
.info-banner{background:rgba(var(--brand-rgb),.07);color:#e0bcae;border:1px solid rgba(var(--brand-rgb),.26);border-radius:11px;padding:11px 13px;font-size:11px;line-height:1.6}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:840px){.web-grid,.work-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.web-top{flex-wrap:wrap}.web-top input{width:100%!important}}
@media(max-width:610px){.top-inner{padding:10px 11px;gap:9px;flex-wrap:wrap}.top-brand p{display:none}.mode-tabs{width:100%;justify-content:center}.mode-tab{flex:1;text-align:center;font-size:11px}.app-main{padding:9px 0 0}.app-main.mobile-open{padding:0}.phone-frame{width:100%;max-width:none;min-height:0;height:calc(100dvh - 111px);border:none;border-radius:0;box-shadow:none}.phone-notch{display:none}.phone-head{padding-top:13px}.web-frame{border-radius:0;border-left:0;border-right:0;min-height:calc(100dvh - 111px)}.web-panel{padding:13px}.web-heading{flex-wrap:wrap}.web-heading h2{font-size:17px}.web-top{padding:13px}.web-nav{padding:7px 9px}.metric-grid{grid-template-columns:repeat(2,1fr)}.metric{padding:12px}.metric strong{font-size:22px}}

.logo-square svg{width:22px;height:22px}.logo-mini svg{width:17px;height:17px}.phone-bottom svg{width:15px;height:15px}.mode-tab svg{width:13px;height:13px}.web-nav svg{width:12px;height:12px}.d-btn svg{width:12px;height:12px}
