@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#202923;--muted:#727a74;--green:#155c50;--lime:#d8ed9c;--bg:#f5f6f2;--line:#e3e7df;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:var(--green)}button{border:0;background:none;color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:34px;letter-spacing:-1.4px;font-weight:800}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:15px}small,.subtle{color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;padding:34px 25px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:block;width:136px;margin:0 auto 50px}.brand img{width:100%}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--muted)}nav button{display:flex;align-items:center;gap:13px;width:100%;padding:15px 16px;margin-top:7px;border-radius:10px;text-align:left;font-weight:600;color:#6c756f;font-size:18px}nav button span{font-size:13px}nav button.active{background:#edf4e8;color:var(--green)}.sidebar-foot{margin-top:auto;font-size:11px;color:var(--muted);line-height:1.8}.sidebar-foot small{display:block;font-size:10px}.live-dot{display:inline-block;background:var(--green);width:6px;height:6px;border-radius:50%;margin-right:5px}.shell{margin-left:238px}.topbar{height:83px;border-bottom:1px solid var(--line);padding:0 45px;display:flex;align-items:center;justify-content:space-between;background:#ffffff90}.top-label{font-size:10px;letter-spacing:2px;color:var(--muted)}.profile{display:flex;align-items:center;gap:10px;font-weight:600;font-size:12px}.avatar{display:grid;place-items:center;background:#e6ebdf;border-radius:50%;width:34px;height:34px;color:var(--green)}main{max-width:1160px;margin:auto;padding:37px 45px 45px;min-height:calc(100vh - 150px)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head p{color:var(--muted);margin-top:8px;line-height:1.6}.btn{padding:12px 17px;border-radius:9px;font-size:12px;font-weight:700;border:1px solid var(--line);background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:42px}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn:hover{filter:brightness(.96)}.hero{background:var(--green);border-radius:18px;color:white;padding:28px 32px;position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.hero:after{content:'';position:absolute;right:-80px;top:-110px;border:50px solid #ffffff09;border-radius:50%;width:280px;height:280px;pointer-events:none}.hero .eyebrow{color:#b8d2c6}.hero h2{font-size:28px;margin:10px 0 8px}.hero p{color:#d0e1d8;font-size:12px}.hero-meta{display:flex;gap:30px;margin-top:25px}.hero-meta strong{display:block;font-size:15px}.hero-meta small{color:#b8d2c6;font-size:10px;display:block;margin-top:5px}.hero-mark{align-self:center;z-index:1;font-size:67px;font-weight:800;letter-spacing:-8px;color:#cce7b8;line-height:1;text-align:right}.hero-mark small{display:block;font-size:10px;letter-spacing:1px;margin-top:9px;color:#d0e1d8}.work-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px}.work-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.tabs{display:flex;gap:7px}.tab{width:43px;height:40px;border:1px solid var(--line);border-radius:9px;background:white;font-weight:700}.tab.active{background:var(--ink);border-color:var(--ink);color:white}.tag{font-size:10px;border-radius:20px;background:#eaf0e3;color:var(--green);padding:6px 9px;white-space:nowrap}.warmup{display:flex;align-items:center;gap:12px;padding:15px 17px;background:#e9eee4;border-radius:10px;margin-bottom:12px;font-size:12px}.warmup strong{display:block;font-size:12px}.warmup small{font-size:10px}.warmup .duration{margin-left:auto;font-weight:700;white-space:nowrap}.exercise{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;overflow:hidden}.exercise.done{border-color:#9fbb85}.ex-head{display:flex;padding:17px 16px;align-items:center;gap:12px}.number{font-size:11px;color:#84917f;min-width:22px}.exercise-title{flex:1;min-width:0}.exercise-title button{padding:0;text-align:left;font-size:12px;font-weight:700;line-height:1.45}.exercise-title button:hover{text-decoration:underline}.exercise-title small{display:block;font-size:10px;margin-top:4px}.rx{font-size:12px;white-space:nowrap;font-weight:600}.expand{height:32px;width:32px;background:var(--bg);border-radius:8px}.ex-body{border-top:1px solid var(--line);padding:16px;display:none}.exercise.open .ex-body{display:block}.exercise-note{padding:9px;background:#fff5dd;color:#775e23;font-size:11px;line-height:1.6;border-radius:7px;margin-bottom:10px}.sets{display:grid;grid-template-columns:40px 1fr 1fr 38px;gap:8px;align-items:center;margin-top:8px}.sets label{font-size:10px;color:var(--muted)}input,textarea,select{border:1px solid #dce1d8;background:#fafbf8;border-radius:7px;color:var(--ink);padding:10px;max-width:100%;min-width:0}input[type=number]{width:100%}.set-num{font-size:11px;color:var(--muted)}.check{border:1px solid var(--line);border-radius:7px;width:34px;height:36px;font-size:16px}.check.checked{background:var(--green);color:white}.ex-actions{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:8px}.text-btn{font-size:11px;color:var(--green);padding:8px 0;text-decoration:underline}.side-card{border:1px solid var(--line);border-radius:13px;background:white;padding:20px;margin-bottom:14px}.side-card h3{margin-bottom:14px}.side-card p{font-size:12px;line-height:1.7;color:var(--muted)}.session-date{width:100%;margin-bottom:14px;font-size:12px}.progress-track{height:5px;border-radius:5px;background:#edf0e9;margin:12px 0}.progress-track div{background:var(--green);height:100%;border-radius:5px;transition:width .3s}.side-card .btn{width:100%;margin-top:15px}.mini-stat{display:flex;justify-content:space-between;font-size:11px;margin-top:14px}.mini-stat strong{color:var(--green)}.note-card{background:#ebefdf;border:0}.note-card .eyebrow{color:var(--green);display:block;margin-bottom:8px}.bottom-nav,.mobile-brand{display:none}.page-foot{display:flex;justify-content:space-between;padding:20px 45px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:15px}.page-foot>span:first-child{margin-right:auto}.toolbar{display:flex;gap:10px;margin-bottom:22px;flex-wrap:wrap}.search{flex:1;min-width:180px;background:white;padding:13px 16px}.library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.library-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.media-placeholder{height:130px;background:#e8ede3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#7d8d77}.media-placeholder span{font-size:30px;opacity:.7}.media-placeholder small{font-size:10px}.library-card img{width:100%;height:150px;object-fit:contain;background:#f0f2ec}.library-card-body{padding:16px}.library-card h3{font-size:12px;line-height:1.5;margin:10px 0}.library-card .btn{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat-card{padding:24px;background:white;border:1px solid var(--line);border-radius:12px}.stat-card strong{display:block;font-size:30px;font-family:Manrope;margin:9px 0}.stat-card small{font-size:11px}.history{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.history-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.history-row:last-child{border:0}.history-row p{font-size:12px;margin-top:6px;color:var(--muted)}.empty{text-align:center;padding:45px 20px;color:var(--muted);line-height:1.8}.empty h3{color:var(--ink);margin-bottom:6px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;font-size:12px}.settings-grid .side-card{padding:25px}.badge-line{padding:12px 15px;background:#fff4da;color:#786127;font-size:11px;border-radius:8px;margin-bottom:20px;line-height:1.7}dialog{border:0;border-radius:18px;padding:30px;width:min(520px,calc(100% - 26px));max-height:90vh;box-shadow:0 20px 100px #0003;color:var(--ink)}dialog::backdrop{background:#12291fc0;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:14px;top:14px;border-radius:50%;background:var(--bg);width:30px;height:30px}dialog h2{margin:15px 25px 15px 0}dialog img{width:100%;max-height:270px;object-fit:contain;border-radius:10px}dialog p{font-size:13px;line-height:1.8;margin:14px 0;color:var(--muted)}dialog .btn{margin-right:8px;margin-top:10px}.detail-rx{padding:15px;background:var(--bg);border-radius:9px;font-size:12px}.detail-edit{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:white;padding:13px 20px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:100;font-size:12px;max-width:90%}#toast.show{opacity:1;transform:translate(-50%,0)}#print-area{display:none}.session-notes{width:100%;margin-top:12px;resize:vertical;font-size:12px}.timer{font-size:30px;font-family:Manrope;font-weight:700;color:var(--green);font-variant-numeric:tabular-nums}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}details summary{cursor:pointer;font-size:12px}details .form-field{margin-top:12px}a.link-ex{font-size:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1400px){main{padding-top:45px}.hero{padding:34px}.work-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1100px){.sidebar{width:200px;padding:30px 20px}.shell{margin-left:200px}main{padding:28px}.topbar{padding:0 28px}.work-layout{grid-template-columns:1fr}.session-aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}.session-aside .note-card{display:none}.library{grid-template-columns:repeat(2,1fr)}.page-foot{padding:20px 28px}}
@media(max-width:700px){.sidebar{display:none}.shell{margin-left:0}.topbar{height:66px;padding:0 20px}.top-label{display:none}.mobile-brand{display:block;font-size:20px;font-weight:800;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.mobile-brand span{font-size:10px;font-weight:500;letter-spacing:0;color:var(--muted)}.profile #profile-name{display:none}main{padding:26px 18px 35px}.page-head{margin-bottom:21px;gap:10px;align-items:flex-start}h1{font-size:28px;letter-spacing:-1px}.page-head p{font-size:12px}.page-head>.btn{padding:10px;font-size:10px;white-space:nowrap}.hero{padding:23px;border-radius:14px;margin-bottom:22px}.hero h2{font-size:23px}.hero-mark{font-size:43px;letter-spacing:-5px}.hero-mark small{font-size:8px}.hero-meta{gap:22px;margin-top:23px}.hero-meta strong{font-size:12px}.hero-meta small{font-size:9px}.hero p{font-size:11px;max-width:200px}.eyebrow{font-size:9px}.work-heading h2{font-size:18px}.tag{font-size:9px}.ex-head{padding:15px 12px;gap:8px}.exercise-title button{font-size:11px}.rx{font-size:10px}.number{min-width:18px}.expand{width:28px;height:28px}.session-aside{grid-template-columns:1fr}.session-aside .side-card{margin:0}.side-card{padding:18px}.bottom-nav{position:fixed;display:flex;bottom:0;left:0;right:0;background:#fffffff5;border-top:1px solid var(--line);padding:6px 12px calc(6px + env(safe-area-inset-bottom));z-index:10;backdrop-filter:blur(12px)}.bottom-nav button{margin:0;padding:8px 4px;display:flex;flex-direction:column;gap:3px;border-radius:10px;font-size:20px;text-align:center}.bottom-nav button span{font-size:9px}.page-foot{padding:0 20px 100px;border:0;justify-content:space-between}.page-foot>span:first-child{display:none}.page-foot span{font-size:9px}.library{grid-template-columns:1fr 1fr;gap:10px}.library-card-body{padding:12px}.library-card h3{font-size:10px}.library-card .btn{font-size:10px;padding:8px}.media-placeholder{height:105px}.library-card img{height:105px}.stats-grid{gap:8px}.stat-card{padding:15px 10px}.stat-card .eyebrow{font-size:8px;letter-spacing:.4px}.stat-card strong{font-size:25px}.stat-card small{font-size:9px}.history{padding:18px}.settings-grid{grid-template-columns:1fr}.settings-grid .side-card{padding:20px}.badge-line{font-size:10px}#toast{bottom:85px}.history-row strong{font-size:12px}.history-row p{font-size:10px}}
@media print{@page{size:A4 landscape;margin:9mm}body{background:white;font:8px Arial;color:black}.sidebar,.shell,.bottom-nav,dialog,#toast{display:none!important}#print-area{display:block}#print-area h1{font:700 15px Arial;margin-bottom:5px}#print-area p{font-size:8px;margin-bottom:8px}#print-area h2{font:700 10px Arial;background:#e9eee4;padding:5px;margin-top:7px}table{width:100%;border-collapse:collapse;table-layout:fixed}th,td{border:1px solid #aeb5ac;padding:4px;height:18px;text-align:center;font-size:8px}td:first-child,th:first-child{text-align:left;width:29%}th:nth-child(2){width:6%}th:nth-child(3){width:8%}th:nth-child(4){width:7%}tr{break-inside:avoid}#print-area .print-foot{margin-top:9px;font-size:7px}}
