:root{color-scheme:dark;--bg:#0b0d10;--panel:#12161b;--panel2:#171c22;--line:#272d34;--text:#f1f0eb;--muted:#8b929b;--gold:#d7ad62;--gold2:#f0d49a;--green:#63c6a0;--blue:#78a9dc;--red:#e17c7c}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{background:radial-gradient(ellipse at 50% -20%,#27251e 0,transparent 48%),var(--bg)}button{font:inherit;color:inherit;cursor:pointer}.app-shell{width:100%;max-width:720px;min-height:100dvh;margin:0 auto;padding:env(safe-area-inset-top) 16px calc(92px + env(safe-area-inset-bottom));}.topbar{height:74px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #1e2329}.brand-logo-wrap{width:112px;min-width:112px;height:42px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:6px;padding:3px 5px;overflow:hidden}.brand-logo{display:block;width:102px;height:auto;max-height:36px;object-fit:contain;filter:none}.brand-copy{display:flex;flex-direction:column;gap:3px;flex:1}.brand-copy strong{font-size:13px;letter-spacing:1.7px}.brand-copy i{font-style:normal;color:var(--gold)}.eyebrow{margin:0 0 7px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:1.7px}.brand-copy .eyebrow{font-size:8px;margin:0;color:#ef5353}.avatar{width:34px;height:34px;border-radius:50%;border:1px solid #5e4b2f;background:#2b2419;color:var(--gold2);font-weight:700}.screen{padding-top:23px}.greeting{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:21px}.greeting h1{font-size:27px;letter-spacing:-.8px;margin:0 0 6px;font-weight:650}.gold{color:var(--gold)}.muted{color:var(--muted)}.greeting p:last-child{font-size:12px;margin:0}.date-chip{border:1px solid var(--line);border-radius:8px;padding:9px 10px;color:var(--gold2);font-size:9px;letter-spacing:1px}.hero-card{padding:19px;border-radius:17px;border:1px solid #5e4b2f;background:linear-gradient(135deg,#252117,#171817 62%,#111519);box-shadow:0 12px 32px #0005;position:relative;overflow:hidden}.hero-card:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #d7ad6215;border-radius:50%;right:-60px;top:-90px;box-shadow:0 0 0 18px #d7ad6208,0 0 0 36px #d7ad6205}.hero-top{display:flex;align-items:center;justify-content:space-between}.pill{border:1px solid #3d614f;background:#1a3028;color:#8dd5b5;border-radius:20px;padding:6px 9px;font-size:8px;letter-spacing:.8px}.live-dot{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin-right:5px}.small{font-size:10px}.metric-label{margin:20px 0 4px;color:#b5b3ac;font-size:11px}.hero-number{font-size:35px;font-weight:650;letter-spacing:-1.3px}.hero-number span{font-size:19px;color:var(--gold)}.hero-bottom{display:flex;align-items:center;gap:8px;margin-top:12px}.positive{font-size:10px;color:var(--green);font-weight:700}.sparkline{margin-left:auto;height:24px;display:flex;align-items:end;gap:3px}.sparkline b{width:4px;border-radius:4px 4px 0 0;background:var(--gold);opacity:.8}.sparkline b:nth-child(1){height:7px}.sparkline b:nth-child(2){height:10px}.sparkline b:nth-child(3){height:8px}.sparkline b:nth-child(4){height:14px}.sparkline b:nth-child(5){height:12px}.sparkline b:nth-child(6){height:17px}.sparkline b:nth-child(7){height:13px}.sparkline b:nth-child(8){height:20px}.sparkline b:nth-child(9){height:16px}.sparkline b:nth-child(10){height:23px}.sparkline b:nth-child(11){height:21px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:25px 0 13px}.section-head h2{font-size:18px;margin:0;letter-spacing:-.3px}.count{font-size:10px;color:var(--gold);background:#3b3020;border-radius:6px;padding:3px 6px;vertical-align:3px;margin-left:4px}.text-button{border:0;background:none;color:var(--gold2);font-size:11px;padding:5px 0}.text-button span{margin-left:4px}.timeline{display:flex;flex-direction:column;gap:11px}.appointment{display:grid;grid-template-columns:43px 12px 1fr;gap:8px;min-height:80px}.time{font-size:11px;color:#c5c8cb;padding-top:14px;font-variant-numeric:tabular-nums}.time-line{display:flex;justify-content:center;position:relative}.time-line:after{content:"";position:absolute;top:18px;bottom:-18px;width:1px;background:#303740}.appointment:last-child .time-line:after{display:none}.time-line span{width:7px;height:7px;border-radius:50%;background:var(--gold);margin-top:17px;z-index:1;box-shadow:0 0 0 4px #d7ad6219}.appointment-card{background:linear-gradient(120deg,#171c22,#12161b);border:1px solid var(--line);border-radius:11px;padding:12px 12px 10px;min-width:0}.appointment-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.appointment-head strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{font-size:8px;border-radius:5px;padding:5px 6px;white-space:nowrap}.status-done{color:#86d2b0;background:#1c342b}.status-progress{color:#e7c27d;background:#3a2d19}.status-wait{color:#aab8c8;background:#242d38}.appointment-card p{font-size:10px;color:var(--muted);margin:8px 0 10px}.appointment-foot{display:flex;justify-content:space-between;align-items:center;color:#b7bdc4;font-size:9px}.master-dot{width:22px;height:22px;border:1px solid #4d4230;border-radius:50%;display:grid;place-items:center;color:var(--gold2);background:#2b2419;font-size:7px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:14px;border-radius:12px;border:1px solid var(--line);background:linear-gradient(145deg,#171c22,#111519);min-height:103px}.quick-card:active,.nav-item:active{transform:scale(.985)}.quick-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;color:var(--gold);background:#302719;border:1px solid #4b3c27;font-size:17px}.quick-card strong{font-size:11px}.quick-card small{font-size:9px;color:var(--muted)}.demo-note{text-align:center;color:#666e77;font-size:9px;margin:23px 0 0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:720px;padding:9px 10px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#101317ed;backdrop-filter:blur(18px);border-top:1px solid #2a3037;z-index:10}.nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;color:#737b84;padding:4px 0}.nav-item span{font-size:20px;line-height:22px}.nav-item small{font-size:9px}.nav-item.active{color:var(--gold2)}.nav-item.active span{filter:drop-shadow(0 0 7px #d7ad6255)}.empty-state{padding:26px 18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);text-align:center}.empty-icon{font-size:27px;color:var(--gold);margin-bottom:12px}.empty-state h2{font-size:17px;margin:0 0 8px}.empty-state p{font-size:11px;line-height:1.6;color:var(--muted);margin:0}.primary-button{width:100%;border:1px solid #e4bd78;border-radius:10px;background:linear-gradient(135deg,#e4bd78,#bd8e45);color:#17130d;font-weight:750;padding:13px;margin-top:17px}.list-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);margin-bottom:9px}.list-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:#2b2419;color:var(--gold);font-size:18px}.list-card strong{font-size:12px}.list-card p{margin:4px 0 0;font-size:10px;color:var(--muted)}.list-card .chevron{margin-left:auto;color:var(--muted)}@media(min-width:600px){.app-shell{padding-left:24px;padding-right:24px}.greeting h1{font-size:31px}.quick-grid{grid-template-columns:repeat(4,1fr)}.quick-card{min-height:118px}.hero-card{padding:23px}.hero-number{font-size:42px}}
/* CRM forms and real appointment records */
.form-card{background:linear-gradient(145deg,#17191d,#101114);border:1px solid #393027;border-radius:18px;padding:18px;margin:18px 0 26px}.form-card h2{font-size:18px;margin:0 0 16px}.crm-form{display:grid;gap:13px}.crm-form label{display:grid;gap:7px;color:#c8c4bd;font-size:12px;letter-spacing:.04em}.crm-form input,.crm-form select,.crm-form textarea{box-sizing:border-box;width:100%;min-width:0;background:#0c0e11;border:1px solid #34363b;border-radius:10px;padding:12px;color:#f2f0eb;font:inherit;font-size:14px;outline:none}.crm-form input:focus,.crm-form select:focus,.crm-form textarea:focus{border-color:#c9a45d}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary-button{border:0;border-radius:12px;background:linear-gradient(135deg,#d9b76f,#a9823d);color:#17130b;font-weight:700;padding:14px;cursor:pointer}.primary-button:disabled{opacity:.6}.form-message{font-size:13px;margin:0;line-height:1.5}.form-message.success{color:#70d6a8}.form-message.error{color:#ff8e86}.appointments-list{display:grid;gap:10px;margin-bottom:24px}.appointment-real{align-items:flex-start}.appointment-real .list-icon{flex-shrink:0}.appointment-real small{color:#92969e}.appointment-real .status{margin-left:auto;white-space:nowrap}@media(min-width:700px){.form-card,.appointments-list{max-width:760px}.crm-form{grid-template-columns:1fr 1fr}.crm-form>label:nth-of-type(3),.crm-form>label:nth-of-type(4),.crm-form>label:nth-of-type(5),.crm-form>label:nth-of-type(6),.crm-form>.form-row,.crm-form>label:last-of-type,.crm-form>.primary-button,.crm-form>.form-message{grid-column:1/-1}}
