.app-shell{min-height:100vh;min-height:100dvh}.app-header{position:sticky;top:0;height:56px;display:flex;align-items:center;gap:10px;padding:0 12px;background:var(--surface);border-bottom:1px solid var(--border);z-index:30}.hamburger{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--text);border-radius:8px}.hamburger:hover{background:var(--bg)}.app-title{font-size:17px;font-weight:700;letter-spacing:-.01em}.header-spacer{margin-left:auto}.header-profile{width:36px;height:36px;border-radius:50%;background:var(--text);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;text-decoration:none}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:40}.backdrop.open{opacity:1;visibility:visible}.sidebar{position:fixed;top:0;bottom:0;left:0;width:264px;background:var(--surface);border-right:1px solid var(--border);transform:translate(-100%);transition:transform .22s ease;z-index:50;display:flex;flex-direction:column}.sidebar.open{transform:translate(0)}.sidebar-head{height:56px;display:flex;align-items:center;gap:10px;padding:0 16px;border-bottom:1px solid var(--border)}.sidebar-mark{width:32px;height:32px;border-radius:9px;background:var(--text);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:800}.sidebar-nav{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;color:var(--text);text-decoration:none;font-size:14.5px;font-weight:500}.nav-item svg{color:var(--muted);flex-shrink:0}.nav-item:hover{background:var(--bg)}.nav-item.active{background:#2563eb1a;color:var(--primary)}.nav-item.active svg{color:var(--primary)}.sidebar-foot{padding:10px;border-top:1px solid var(--border)}.logout-btn{width:100%;display:flex;align-items:center;gap:12px;padding:11px 12px;border:none;background:transparent;color:var(--danger);border-radius:10px;font-size:14.5px;font-weight:600}.logout-btn:hover{background:#fef2f2}.app-main{padding:16px 14px 40px;max-width:640px;margin:0 auto}.page-title{font-size:22px;letter-spacing:-.02em;margin-bottom:4px}.page-sub{color:var(--muted);font-size:14px;margin-bottom:16px}.coming-soon{background:var(--surface);border:1px dashed var(--border);border-radius:14px;padding:28px 20px;text-align:center;color:var(--muted);font-size:14px}@media (prefers-reduced-motion: reduce){.sidebar,.backdrop{transition:none}}@media (min-width: 1024px){.hamburger{display:none}.backdrop{display:none!important}.sidebar{transform:none;box-shadow:none}.app-header{margin-left:264px;padding-left:24px}.app-main{margin-left:264px;max-width:none;padding:28px 36px 56px}.app-main .page{max-width:1160px;margin:0 auto}.stat-grid{grid-template-columns:repeat(3,1fr)}.call-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}}.login-screen{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px 20px;background:linear-gradient(180deg,#f8fafc 0%,var(--bg) 100%)}.login-card{width:100%;max-width:380px;background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:0 10px 30px #0f172a0f;padding:28px 24px 22px}.login-head{text-align:center;margin-bottom:22px}.login-mark{width:56px;height:56px;margin:0 auto 14px;border-radius:16px;background:var(--text);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800}.login-head h1{font-size:24px;letter-spacing:-.02em}.login-head p{margin-top:6px;color:var(--muted);font-size:14px}.login-form{display:flex;flex-direction:column;gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field>span{font-size:13px;font-weight:600;color:var(--text)}.field input{width:100%;height:48px;padding:0 14px;font-size:15px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:10px;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.field input:disabled{background:#f8fafc;color:var(--muted)}.input-wrap{position:relative}.input-wrap input{padding-right:46px}.eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--muted);border-radius:8px}.eye:hover{color:var(--text)}.login-error{background:#fef2f2;color:var(--danger);border:1px solid #fecaca;border-radius:10px;padding:10px 12px;font-size:13px}.btn-primary{height:48px;border:none;border-radius:10px;background:var(--primary);color:#fff;font-size:15px;font-weight:600;transition:background .15s}.btn-primary:hover{background:var(--primary-dark)}.btn-primary:disabled{opacity:.7}.login-note{margin-top:18px;text-align:center;font-size:12.5px;color:var(--muted)}:root{--bg: #f1f5f9;--surface: #ffffff;--text: #0f172a;--muted: #64748b;--primary: #2563eb;--primary-dark: #1d4ed8;--border: #e2e8f0;--success: #16a34a;--danger: #dc2626;--warning: #d97706;--radius: 12px;--shadow: 0 1px 3px rgba(15, 23, 42, .08)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit}.setup-screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:24px}.setup-screen h1{font-size:28px;letter-spacing:-.02em}.setup-screen p{color:var(--muted);font-size:15px}.splash{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;background:var(--bg)}.spinner{width:34px;height:34px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.spinner{animation-duration:1.6s}}.home-temp{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.home-temp-card{width:100%;max-width:380px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:28px 24px;text-align:center}.home-temp-card h1{font-size:22px;letter-spacing:-.02em}.home-temp-card p{margin:8px 0 20px;color:var(--muted);font-size:14px}.btn-outline{height:44px;padding:0 20px;border:1px solid var(--border);background:#fff;color:var(--text);border-radius:10px;font-size:14px;font-weight:600}.btn-outline:hover{border-color:var(--primary);color:var(--primary)}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 10px;text-align:center;box-shadow:var(--shadow)}.stat-value{font-size:22px;font-weight:800;letter-spacing:-.02em}.stat-label{margin-top:2px;font-size:11.5px;color:var(--muted);font-weight:600}.filter-wrap{margin-bottom:14px}.filter-bar{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.filter-bar::-webkit-scrollbar{display:none}.filter-chip{flex:0 0 auto;padding:8px 14px;border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}.filter-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}.custom-range{display:flex;align-items:center;gap:8px;margin-top:10px}.custom-range input{flex:1;height:42px;padding:0 10px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text);font-size:13px}.custom-range span{color:var(--muted);font-size:13px}.toolbar{display:flex;gap:10px;margin-bottom:16px}.search-bar{flex:1;display:flex;align-items:center;gap:8px;height:46px;padding:0 12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--muted)}.search-bar input{flex:1;border:none;outline:none;background:transparent;font-size:14px;color:var(--text)}.btn-add{flex:0 0 auto;display:flex;align-items:center;gap:6px;height:46px;padding:0 16px;border:none;border-radius:12px;background:var(--primary);color:#fff;font-size:14px;font-weight:700;box-shadow:0 4px 12px #2563eb47}.btn-add:hover{background:var(--primary-dark)}.call-list{display:flex;flex-direction:column;gap:10px}.call-card{width:100%;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:4px}.call-card:hover{border-color:var(--primary)}.call-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.call-name{font-size:15.5px;font-weight:700;letter-spacing:-.01em}.call-number{font-size:13.5px;color:var(--text)}.call-preview{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.call-time{font-size:11.5px;color:var(--muted);margin-top:2px}.badge{flex:0 0 auto;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}.badge-new{background:#dbeafe;color:#1d4ed8}.badge-follow_up{background:#fef3c7;color:#b45309}.badge-client{background:#dcfce7;color:#15803d}.badge-cancel{background:#fee2e2;color:#b91c1c}.badge-not_interested{background:#e2e8f0;color:#475569}.badge-wrong_number{background:#ede9fe;color:#6d28d9}.empty{background:var(--surface);border:1px dashed var(--border);border-radius:14px;padding:32px 20px;text-align:center;color:var(--muted);font-size:14px}.form-head{display:flex;align-items:center;gap:6px;margin-bottom:16px}.form-head .page-title{margin-bottom:0}.back-btn{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--text);border-radius:8px;margin-left:-6px}.back-btn:hover{background:var(--bg)}.form{display:flex;flex-direction:column;gap:16px}.readonly-row{display:flex;flex-direction:column;gap:4px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px}.readonly-row span{font-size:12px;color:var(--muted);font-weight:600}.readonly-row strong{font-size:14.5px}.form .field select,.form .field input,.form .field textarea{width:100%;padding:12px 14px;font-size:15px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:10px;outline:none;transition:border-color .15s,box-shadow .15s}.form .field select{height:48px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}.form .field textarea{resize:vertical;line-height:1.45}.form .field:focus-within input,.form .field:focus-within select,.form .field:focus-within textarea{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:6px}.update-input{display:flex;flex-direction:column;gap:8px}.update-input .btn-outline{align-self:flex-start}.updates-log{margin-top:12px;display:flex;flex-direction:column;gap:8px}.update-item{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:10px 12px}.update-item p{font-size:14px;line-height:1.45;white-space:pre-wrap}.update-item time{display:block;margin-top:6px;font-size:11.5px;color:var(--muted)}.form-actions{display:flex;gap:10px;margin-top:4px}.form-actions .btn-primary{flex:1}.btn-danger{height:48px;padding:0 18px;border:1px solid #fecaca;background:#fff;color:var(--danger);border-radius:10px;font-size:14px;font-weight:700}.btn-danger:hover{background:#fef2f2}.presence-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 16px;box-shadow:var(--shadow)}.presence-title{font-size:15px;font-weight:700}.presence-sub{font-size:12.5px;color:var(--muted);margin-top:2px}.toggle{flex:0 0 auto;width:52px;height:30px;border-radius:999px;border:none;background:var(--border);position:relative;transition:background .18s}.toggle:hover{background:#cbd5e1}.toggle-knob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}.presence-done{display:flex;align-items:center;gap:8px;background:#dcfce7;color:#15803d;border:1px solid #bbf7d0;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:600}.greeting{font-size:20px;font-weight:800;letter-spacing:-.02em;margin:16px 0 12px}.perf-card{width:100%;text-align:left;display:flex;flex-direction:column;gap:4px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;border:none;border-radius:14px;padding:16px;margin-bottom:16px;box-shadow:0 6px 16px #2563eb40}.perf-label{font-size:12px;font-weight:700;opacity:.85}.perf-text{font-size:15px;font-weight:600;line-height:1.4}.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}.stat-grid .stat-card{padding:16px 14px}.stat-grid .stat-value{font-size:24px}.stat-grid .stat-label{font-size:12.5px}.profile-hero{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;border-radius:18px;padding:26px 20px;text-align:center;margin-bottom:16px;box-shadow:0 8px 22px #2563eb47}.hero-avatar{width:84px;height:84px;margin:0 auto 12px;border-radius:50%;background:#ffffff2e;border:2px solid rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:800;color:#fff}.hero-name{font-size:20px;font-weight:800;letter-spacing:-.02em}.hero-sub{margin-top:4px;font-size:13px;font-weight:600;opacity:.85}.detail-list{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;margin-bottom:16px}.detail-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.detail-row:last-child{border-bottom:none}.detail-left{display:flex;align-items:center;gap:10px;color:var(--muted);flex:0 0 auto}.detail-left span{font-size:13px;font-weight:600}.detail-row strong{font-size:14px;text-align:right;word-break:break-word;color:var(--text)}.signout-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;height:48px;margin-top:16px;border:1px solid #fecaca;background:#fff;color:var(--danger);border-radius:12px;font-size:14.5px;font-weight:700}.signout-btn:hover{background:#fef2f2}.attendance{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow)}.att-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.att-head h2{font-size:16px;font-weight:700}.att-count{font-size:12px;font-weight:700;color:var(--success);background:#dcfce7;border-radius:999px;padding:4px 10px}.att-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.att-weekdays{margin-bottom:6px}.att-wd{text-align:center;font-size:11px;font-weight:700;color:var(--muted)}.att-cell{aspect-ratio:1;border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:#fff}.att-cell.empty{border:none;background:transparent}.att-day{font-size:12.5px;font-weight:600;color:var(--text)}.att-cell.present{background:#dcfce7;border-color:#bbf7d0}.att-cell.present .att-day,.att-tick{color:#15803d}.att-cell.today{border-color:var(--primary);border-width:2px}.contact-actions{display:flex;gap:10px}.wa-btn,.call-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border-radius:12px;font-size:14.5px;font-weight:700;text-decoration:none;color:#fff}.wa-btn{background:#25d366}.wa-btn:hover{background:#1ebe5b}.call-btn{background:var(--primary)}.call-btn:hover{background:var(--primary-dark)}.denied{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.denied-card{width:100%;max-width:380px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:28px 24px;text-align:center}.denied-card h1{font-size:20px;color:var(--danger);margin-bottom:6px}.denied-card p{font-size:14px;color:var(--muted);margin-bottom:18px}.dash-filters{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.dash-filters .filter-wrap{margin-bottom:0}.tc-filter{width:100%;height:44px;padding:0 40px 0 14px;font-size:14px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:10px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.stat-card.clickable{cursor:pointer;transition:border-color .15s,transform .05s}.stat-card.clickable:hover{border-color:var(--primary)}.stat-card.clickable:active{transform:scale(.99)}.chart-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow);margin-bottom:14px}.chart-title{font-size:14px;font-weight:700;margin-bottom:14px}.chart-empty{font-size:13px;color:var(--muted)}.bars{display:flex;flex-direction:column;gap:10px}.bar-row{display:grid;grid-template-columns:96px 1fr 28px;align-items:center;gap:10px}.bar-label{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bar-track{height:10px;background:var(--bg);border-radius:999px;overflow:hidden}.bar-fill{height:100%;border-radius:999px;background:var(--primary);min-width:2px;transition:width .3s ease}.bar-val{font-size:12.5px;font-weight:700;text-align:right}.bar-fill.st-new{background:#2563eb}.bar-fill.st-follow_up{background:#d97706}.bar-fill.st-client{background:#16a34a}.bar-fill.st-cancel{background:#dc2626}.bar-fill.st-not_interested{background:#64748b}.bar-fill.st-wrong_number{background:#7c3aed}.trend{display:flex;align-items:flex-end;gap:4px;height:90px}.trend-col{flex:1;height:100%;display:flex;align-items:flex-end}.trend-bar{width:100%;background:var(--primary);border-radius:4px 4px 0 0;min-height:3px;transition:height .3s ease}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:60}.drawer{position:fixed;right:0;top:0;bottom:0;width:100%;max-width:440px;background:var(--bg);z-index:70;display:flex;flex-direction:column;box-shadow:-8px 0 24px #0f172a26}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px;background:var(--surface);border-bottom:1px solid var(--border)}.drawer-head h3{font-size:17px;font-weight:800}.drawer-count{font-size:12.5px;color:var(--muted);font-weight:600}.drawer-close{width:38px;height:38px;border:none;background:transparent;color:var(--text);border-radius:8px;display:flex;align-items:center;justify-content:center}.drawer-close:hover{background:var(--bg)}.drawer-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px}.drawer-lead{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px}.dl-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.dl-name{font-size:15px;font-weight:700}.dl-meta{font-size:13px;color:var(--text);margin-top:4px}.dl-time{font-size:11.5px;color:var(--muted);margin-top:4px}.drawer-foot{padding:12px 16px;background:var(--surface);border-top:1px solid var(--border)}.drawer-note{font-size:12px;color:var(--muted);text-align:center}@media (min-width: 1024px){.dash-filters{flex-direction:row;align-items:center}.dash-filters .filter-wrap{flex:1}.tc-filter{width:240px}}.leads-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.leads-toolbar{display:flex;gap:10px;margin-bottom:14px}.export-btns{display:flex;gap:8px;flex:0 0 auto}.exp-btn{display:flex;align-items:center;gap:6px;height:46px;padding:0 14px;border:1px solid var(--border);background:#fff;color:var(--text);border-radius:12px;font-size:13.5px;font-weight:700}.exp-btn:hover{border-color:var(--primary);color:var(--primary)}.exp-btn:disabled{opacity:.5}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.data-table{width:100%;border-collapse:collapse;min-width:560px}.data-table th,.data-table td{text-align:left;padding:12px 14px;font-size:13.5px;border-bottom:1px solid var(--border)}.data-table th{font-size:12px;color:var(--muted);font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none;background:var(--bg)}.data-table td.nowrap{white-space:nowrap}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:var(--bg)}.data-table tbody tr:last-child td{border-bottom:none}.result-count{margin-top:10px;font-size:12.5px;color:var(--muted);text-align:right}@media (min-width: 1024px){.leads-toolbar .search-bar{flex:1}}.list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.list-head .result-count{margin-top:0}.tc-list{display:flex;flex-direction:column;gap:10px}.tc-card{display:flex;align-items:stretch;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.tc-main{flex:1;display:flex;align-items:center;gap:12px;padding:14px;background:transparent;border:none;text-align:left;cursor:pointer;min-width:0}.tc-main:hover{background:var(--bg)}.tc-avatar{position:relative;width:46px;height:46px;flex:0 0 auto;border-radius:50%;background:var(--text);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}.tc-dot{position:absolute;right:-1px;bottom:-1px;width:13px;height:13px;border-radius:50%;background:var(--success);border:2px solid var(--surface)}.tc-info{flex:1;min-width:0}.tc-name{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tc-sub{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tc-stats{display:flex;gap:14px;flex:0 0 auto}.tc-stats div{text-align:center}.tc-stats strong{display:block;font-size:16px;font-weight:800}.tc-stats span{font-size:10.5px;color:var(--muted);font-weight:600}.tc-edit{flex:0 0 auto;width:52px;border:none;border-left:1px solid var(--border);background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center}.tc-edit:hover{background:var(--bg);color:var(--primary)}.field-hint{font-size:12px;color:var(--muted);margin-top:-6px}.hero-actions{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px}.present-chip{font-size:12px;font-weight:700;padding:5px 12px;border-radius:999px;background:#fff3;color:#fff}.present-chip.on{background:#dcfce7;color:#15803d}.hero-edit{font-size:13px;font-weight:700;padding:6px 16px;border-radius:999px;border:none;background:#fff;color:var(--primary)}.hero-edit:hover{background:#eff6ff}.plan-list{display:flex;flex-direction:column;gap:14px}.plan-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:var(--shadow)}.plan-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.plan-avatar{width:42px;height:42px;flex:0 0 auto;border-radius:50%;background:var(--text);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:800}.plan-name{font-size:15px;font-weight:700}.plan-targets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.plan-targets label{display:flex;flex-direction:column;gap:5px}.plan-targets span{font-size:12px;font-weight:600;color:var(--muted)}.plan-targets input{height:44px;padding:0 12px;font-size:15px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:10px;outline:none}.plan-targets input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.plan-progress{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.prog-top{display:flex;justify-content:space-between;font-size:12.5px;font-weight:600;margin-bottom:5px}.prog-track{height:8px;background:var(--bg);border-radius:999px;overflow:hidden}.prog-fill{height:100%;background:var(--primary);border-radius:999px;transition:width .3s ease}.prog-cap{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.plan-perf{display:block;margin-bottom:14px}.plan-perf span{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}.plan-perf textarea{width:100%;padding:10px 12px;font-size:14px;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:10px;outline:none;resize:vertical;line-height:1.45}.plan-perf textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1f}.plan-foot{display:flex;align-items:center;justify-content:flex-end;gap:12px}.plan-foot .btn-primary{padding:0 24px}.saved-tag{font-size:12.5px;font-weight:700;color:var(--success)}@media (min-width: 1024px){.plan-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}}.settings-note{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:16px}.settings-note h3{font-size:14px;font-weight:700;margin-bottom:6px}.settings-note p{font-size:13px;color:var(--muted);line-height:1.5}.settings-note code{background:var(--bg);padding:1px 6px;border-radius:6px;font-size:12px}
