:root{--bg:#faf8f6;--ink:#302637;--muted:#756b7b;--primary:#c24b0b;--primary-strong:#a33a08;--primary-soft:#fff0e3;--primary-bright:#e77b2c;--accent:#ffdfbf;--secondary:#7545b7;--secondary-soft:#f2ebfb;--secondary-light:#c4a9e4;--line:#ebe5ed;--heat-empty:#eeeaf1;--white:#fff;--red:#b34141;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid var(--secondary);outline-offset:4px}svg{vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.2px;font-weight:600}h2{font-size:17px;letter-spacing:-.3px;font-weight:600}h3{font-size:15px;font-weight:600}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:10px;font-weight:700}.shell{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{background:white;border-right:1px solid var(--line);padding:34px 22px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:228px;z-index:20}.brand{display:flex;align-items:center;gap:9px;margin:0 0 49px 5px}.brandmark{width:34px;height:37px;border-radius:10px;background:var(--primary);display:grid;place-items:center;color:white}.brand strong{font-size:19px;letter-spacing:-.8px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:3px}.nav-label{margin:0 12px 12px;color:var(--muted);font-size:10px;letter-spacing:1.6px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;padding:13px 15px;color:var(--muted);border-radius:8px;font-size:13px}.nav button.active{background:var(--primary-soft);color:var(--primary-strong);font-weight:600}.nav button:hover{background:#fff7ef}.nav svg{width:18px;height:18px}.side-bottom{margin-top:auto}.side-note{background:var(--secondary-soft);border:1px solid #e3d6f2;border-radius:10px;padding:17px;margin:35px 0 22px}.side-note h3{font-size:12px;margin:10px 0 6px}.side-note p{font-size:11px;color:var(--muted)}.side-note button{background:none;border:0;color:var(--secondary);font-size:11px;font-weight:600;padding:13px 0 0}.account{display:flex;align-items:center;gap:11px;padding-top:21px;border-top:1px solid var(--line);background:none;width:100%;border-left:0;border-right:0;border-bottom:0;text-align:left}.avatar{display:grid;place-items:center;width:35px;height:35px;background:var(--secondary-soft);color:var(--secondary);border-radius:50%;font-weight:600;flex-shrink:0}.account strong{font-size:12px;display:block}.account small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.main{grid-column:2;min-width:0}.topbar{height:77px;padding:0 43px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:rgba(255,255,255,.55);font-size:12px}.crumb{color:var(--muted)}.crumb span{margin:0 10px;color:var(--muted)}.top-right{display:flex;gap:22px;align-items:center}.date{color:var(--muted)}.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:5px;background:#fff;padding:6px 9px;font-size:10px;color:var(--secondary)}.dot{height:5px;width:5px;border-radius:50%;background:var(--primary-bright)}.content{max-width:1390px;margin:0 auto;padding:34px 43px 40px}.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;gap:15px}.heading p{font-size:12px;color:var(--muted);margin-top:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:white;color:var(--ink);padding:11px 16px;border-radius:7px;font-size:12px;font-weight:500;text-decoration:none;white-space:nowrap}.btn.primary{background:var(--primary);color:white;border-color:var(--primary)}.btn.accent{background:var(--accent);border-color:var(--accent);color:#793008}.btn.ghost{background:transparent;border:0;padding:6px}.btn.danger{color:var(--red)}.btn svg{width:15px;height:15px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:20px 21px;min-height:133px}.stat-label{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.stat-label svg{width:16px;height:16px;color:var(--secondary)}.stat-value{font-size:31px;font-weight:600;letter-spacing:-1px;margin:14px 0 9px;line-height:1}.stat-value small{font-weight:400;font-size:12px;letter-spacing:0;color:var(--muted);margin-left:4px}.stat-foot{font-size:10px;color:var(--muted)}.stat-foot b{color:var(--secondary);font-weight:500}.checkin{background:var(--primary-strong);color:white;border-radius:12px;padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden;margin-bottom:24px}.checkin::after{content:'';height:240px;width:240px;border:1px solid #ffffff0c;border-radius:50%;position:absolute;right:185px;top:-120px;box-shadow:0 0 0 35px #ffffff03,0 0 0 70px #ffffff03;pointer-events:none}.checkin-left{display:flex;align-items:center;gap:16px}.checkin-icon{display:grid;place-items:center;border-radius:50%;background:#bd5a26;width:44px;height:44px;color:var(--accent)}.checkin h2{font-size:16px;color:#ffffff}.checkin p{color:#ffe1cd;font-size:11px;margin-top:6px}.checkin .actions{display:flex;gap:10px;position:relative;z-index:1}.checkin .rest{background:var(--secondary-soft);border-color:#e6d6f5;color:var(--secondary)}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:23px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.panel-head p{font-size:11px;color:var(--muted);margin-top:7px}.panel-head .btn{font-size:10px;padding:7px 11px}.heat-scroll{overflow-x:auto;padding-bottom:4px}.heatmap{min-width:660px}.months{display:grid;grid-template-columns:repeat(53,1fr);gap:4px;margin:0 0 9px 31px;color:var(--muted);font-size:9px;height:15px}.heat-body{display:flex;gap:10px}.weekdays{display:flex;flex-direction:column;justify-content:space-around;width:21px;color:var(--muted);font-size:8px}.heat-cells{flex:1;display:grid;grid-template-rows:repeat(7,1fr);grid-auto-flow:column;grid-template-columns:repeat(53,1fr);gap:4px}.day{width:100%;aspect-ratio:1;border:0;border-radius:3px;padding:0;background:var(--heat-empty);min-width:8px}.day.workout{background:var(--primary-bright)}.day.rest{background:var(--secondary-light)}.day.today{outline:1px solid var(--primary-strong);outline-offset:2px}.day.blank{visibility:hidden}.day:hover{outline:2px solid var(--secondary)}.heat-foot{margin-top:19px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.heat-foot strong{color:var(--primary-strong);font-weight:500}.legend{display:flex;align-items:center;gap:7px}.legend i{width:9px;height:9px;display:inline-block;border-radius:2px;background:var(--heat-empty)}.legend .rest{background:var(--secondary-light)}.legend .workout{background:var(--primary-bright)}.bottom-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:23px}.bottom-grid .panel{margin-bottom:0}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tabs button{background:transparent;border:0;padding:7px 10px;border-radius:5px;font-size:10px;color:var(--muted)}.tabs button.active{background:var(--secondary-soft);color:var(--secondary)}.chart-summary{display:flex;align-items:baseline;gap:10px;margin:16px 0 10px}.chart-summary strong{font-size:27px;font-weight:500;letter-spacing:-1px}.chart-summary span{font-size:11px;color:var(--muted)}.chart{width:100%;height:auto;max-height:215px;display:block}.chart text{fill:var(--muted);font-size:10px}.chart-empty{display:grid;place-items:center;min-height:180px;text-align:center;background:linear-gradient(180deg,#fbf9fe,#fff);border-radius:10px;color:var(--muted)}.chart-empty p{font-size:12px}.goal-card{padding:15px 0;border-bottom:1px solid var(--line)}.goal-card:first-of-type{padding-top:0}.goal-card:last-child{border:0}.goal-top{display:flex;align-items:center;gap:11px;margin-bottom:12px}.goal-icon{background:var(--secondary-soft);border-radius:8px;color:var(--secondary);padding:8px}.goal-top h3{font-size:12px}.goal-top p{font-size:10px;color:var(--muted);margin-top:5px}.goal-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:0 0 8px}.goal-meta strong{color:var(--primary-strong);font-weight:500}.progress{height:5px;background:var(--primary-soft);border-radius:10px;overflow:hidden}.progress>div{height:100%;background:var(--primary-bright);border-radius:10px}.goal-foot{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:9px;margin-top:11px}.footer{display:flex;justify-content:space-between;margin-top:28px;color:var(--muted);font-size:10px}.preview-banner{margin-bottom:20px;border:1px dashed #d0b9e8;background:var(--secondary-soft);color:#665277;border-radius:7px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:10px}.preview-banner button{border:0;background:none;font-size:11px;color:var(--secondary);font-weight:600}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:var(--muted);font-size:10px;font-weight:500;background:#faf7fd}td,th{padding:14px 12px;border-bottom:1px solid var(--line)}td .btn{padding:4px 8px;font-size:10px}.wide-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.empty{padding:35px 15px;text-align:center;color:var(--muted)}.empty svg{margin-bottom:15px;color:var(--secondary)}.empty p{font-size:12px;margin:8px auto 17px;max-width:300px}.friend{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);gap:12px}.friend>div{display:flex;align-items:center;gap:10px}.friend .avatar{background:var(--secondary-soft)}.faq{padding:17px 0;border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;font-size:12px;font-weight:600}.faq p{font-size:12px;color:var(--muted);margin-top:12px}.ticket{padding:17px;border:1px solid var(--line);border-radius:8px;margin-top:13px}.ticket h3{font-size:13px}.ticket p{font-size:12px;white-space:pre-wrap;margin-top:10px;color:var(--muted)}.ticket .reply{background:var(--secondary-soft);padding:12px;border-radius:5px;color:#5c3b80}.ticket-head{display:flex;justify-content:space-between;gap:10px}.modal-backdrop{position:fixed;inset:0;background:#24152faa;backdrop-filter:blur(4px);z-index:100;display:flex;justify-content:center;align-items:center;padding:22px}.modal{width:100%;max-width:470px;background:#fff;border-radius:16px;padding:29px;max-height:90vh;overflow:auto;box-shadow:0 25px 80px #2514363b}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.modal-head h2{font-size:23px}.modal-head button{border:0;background:var(--secondary-soft);color:var(--muted);width:30px;height:30px;border-radius:50%;font-size:20px}.modal>p{color:var(--muted);font-size:12px;margin-bottom:22px}.form{display:flex;flex-direction:column;gap:16px}.form label{font-size:11px;font-weight:600;display:flex;flex-direction:column;gap:7px}.form input,.form select,.form textarea,.field{width:100%;border:1px solid #cfc4d8;border-radius:7px;padding:11px 12px;background:#fdfbff;color:var(--ink);font-weight:400;outline:none}.form input:focus,.form textarea:focus,.field:focus{border-color:var(--secondary);box-shadow:0 0 0 3px #a37bd122}.form textarea{resize:vertical;min-height:115px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-error{font-size:12px;color:var(--red);line-height:1.5}.form-note{font-size:11px;color:var(--muted)}.form .btn{min-height:42px}.modal-links{display:flex;justify-content:center;gap:12px;margin-top:18px}.modal-links button{background:none;border:0;font-size:11px;color:var(--secondary)}.recovery{font-family:monospace;font-size:12px;word-break:break-all;background:var(--secondary-soft);border:1px dashed #c5aadf;border-radius:8px;padding:15px;margin:15px 0}.status-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.status-choice .btn{padding:25px 10px}.loading{height:100vh;display:grid;place-items:center;color:var(--secondary)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;background:var(--primary-strong);color:white;border-radius:8px;font-size:12px;z-index:200;box-shadow:0 5px 20px #0002}.mobile-brand{display:none}button, .btn{transition:background .15s,transform .15s}.btn:hover{filter:brightness(.97)}
@media(min-width:1550px){.content{padding-top:45px}.day{max-height:19px}.heat-cells{gap:5px}.panel{padding:28px}.stat{padding:25px}.checkin{padding:28px}.sidebar{width:248px}.shell{grid-template-columns:248px 1fr}}
@media(max-width:1100px){.sidebar{width:194px;padding:30px 16px 20px}.shell{grid-template-columns:194px 1fr}.brand strong{font-size:16px}.brand{gap:7px;margin-left:0}.content{padding:28px 25px}.topbar{padding:0 25px}.stat{padding:17px 14px}.checkin{padding:22px}.checkin-icon{display:none}.bottom-grid{gap:16px;grid-template-columns:1.3fr 1fr}.panel{padding:20px}.top-right{gap:13px}}
@media(max-width:800px){.shell{display:block}.sidebar{position:sticky;top:0;width:100%;height:auto;padding:12px 17px;display:block;border-bottom:1px solid var(--line);border-right:0}.brand{margin:0 0 12px;display:inline-flex}.brand small,.nav-label,.side-note,.side-bottom,.topbar{display:none}.nav{flex-direction:row;gap:5px;justify-content:space-between}.nav button{padding:10px;font-size:11px;gap:6px}.nav svg{width:15px}.content{padding:25px 20px}.heading{margin-bottom:22px}h1{font-size:27px}.cards{gap:10px}.stat{padding:15px 12px;min-height:118px}.stat-label{font-size:10px}.stat-label svg{display:none}.stat-value{font-size:27px}.stat-foot{font-size:9px}.bottom-grid,.wide-grid{grid-template-columns:1fr}.checkin{padding:20px}.checkin-left p{max-width:190px}.mobile-brand{display:block;position:absolute;right:20px;top:15px}.footer{font-size:9px}.preview-banner{font-size:10px}.panel-head{gap:10px}.panel-head h2{font-size:15px}}
@media(max-width:480px){.content{padding:23px 14px}.heading{align-items:flex-start}.heading>.btn{padding:10px 12px;font-size:10px}.heading p{max-width:210px;font-size:11px}.cards{grid-template-columns:repeat(2,1fr)}.stat{padding:18px}.stat-label{font-size:11px}.checkin{display:block}.checkin-left p{max-width:none}.checkin .actions{margin-top:18px}.checkin .actions button{flex:1}.panel{padding:18px}.heat-foot{align-items:flex-start;gap:10px;font-size:9px}.legend{gap:4px}.nav button{font-size:10px;padding:9px 7px}.nav svg{width:13px}.preview-banner{align-items:flex-start}.preview-banner button{font-size:10px;white-space:nowrap}.form-row{grid-template-columns:1fr 1fr}.footer{gap:10px}.modal{padding:23px}.panel-head{flex-wrap:wrap}.chart{min-height:180px}.crumb{display:none}}
