@charset "UTF-8";
:root{--bg:#faf8f3;--paper:#fffefa;--ink:#263b34;--muted:#6a746d;--green:#24483e;--green-light:#edf3ec;--line:#e2e4da;--clay:#a96343;--amber:#926525;--red:#a04438;--radius:14px;font-family:Arial,"Noto Sans Hebrew",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--green)}button,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bb883e;outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font-size:36px;font-weight:600;line-height:1.2;letter-spacing:-1px}h2{font-size:19px;line-height:1.4}h3{font-size:16px}p{margin:8px 0;color:var(--muted)}small{font-size:12px}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.muted{color:var(--muted);font-size:13px}.green-text{color:var(--green)}.amber-text{color:var(--amber)}.rust-text{color:var(--red)}.skip-link{position:fixed;top:-100px;right:12px;z-index:20;background:var(--paper);padding:12px}.skip-link:focus{top:8px}.layout{min-height:100vh}.sidebar{position:fixed;inset-block:0;inset-inline-start:0;width:228px;background:#f1f2e9;border-inline-end:1px solid var(--line);padding:34px 20px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;gap:12px;text-decoration:none;align-items:center;font-size:21px;font-weight:700;line-height:1.4}.brand img{border-radius:10px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;font-weight:500;margin-top:3px}.sidebar-label{font-size:11px;color:var(--muted);margin:25px 4px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{display:flex;align-items:center;gap:14px;text-align:start;padding:13px 16px;min-height:48px;border-radius:8px;color:#657168;font-weight:600;font-size:14px}.sidebar nav button:hover{background:#e5e9df}.sidebar nav button[aria-current]{background:var(--green);color:white}.sidebar-bottom{margin-top:auto;padding-top:40px}.small-note{font-size:17px;line-height:1.7;color:#7c8778;margin:0 10px 28px}.sidebar-bottom .text-button{font-size:12px}.version{display:block;font-size:10px;color:#7c8778;margin:16px 10px}.workspace{margin-inline-start:228px}.topbar{height:83px;padding:0 40px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.demo-label{display:flex;align-items:center;gap:8px;color:#71664d;background:#f0eadc;border:1px solid #e3dbc5;border-radius:5px;padding:5px 11px;font-size:11px}.demo-label .icon{width:15px;height:15px}.persona{display:flex;gap:12px;align-items:center}.persona label{color:var(--muted);font-size:12px}.persona select{border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:8px 10px;max-width:180px;font-size:13px;color:var(--green)}.top-brand{display:none}main{padding:38px 40px 24px;max-width:1600px;margin:auto;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.eyebrow{font-size:11px;color:var(--muted);font-weight:600;letter-spacing:.5px;margin-bottom:12px}.page-heading p{font-size:14px;margin-top:12px;max-width:700px}.heading-actions{display:flex;flex-shrink:0;gap:8px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 17px;border-radius:7px;font-weight:600;font-size:13px;border:1px solid transparent;white-space:nowrap}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover{background:#315f50}.btn.secondary{background:var(--paper);border-color:var(--line)}.btn.secondary:hover{border-color:#859888;background:#f5f7f0}.btn.light{background:#edf0df;color:#26483e}.btn.danger-btn{background:var(--red);color:white}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:13px;padding:8px 4px;min-height:40px;font-weight:600}.text-button:hover{text-decoration:underline}.danger{color:var(--red)}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;width:36px;height:36px;flex-shrink:0}.icon-button:hover{background:var(--green-light)}.badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:5px;background:#f1f0e9;color:#6a6f65;font-size:11px;white-space:nowrap;font-weight:500;vertical-align:middle}.badge.green{background:#eaf1e6;color:#3c6448}.badge.amber{background:#f7eddb;color:#876024}.badge.red{background:#f9e8e3;color:#9c483d}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.today-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;margin-bottom:28px}.day-hero{background:var(--green);border-radius:var(--radius);padding:28px 32px;color:#faf9ec;position:relative;overflow:hidden}.day-hero::after{content:"";position:absolute;width:260px;height:260px;border:1px solid #567466;border-radius:50%;inset-inline-end:-80px;top:35px;opacity:.5;pointer-events:none}.hero-top{display:flex;justify-content:space-between;align-items:start}.hero-top .icon{height:33px;width:33px;color:#c9d2ac}.hero-top .eyebrow{color:#c6d2bf}.hero-time{font-size:66px;line-height:1.2;font-weight:400;letter-spacing:-2px;margin:4px 0 8px;position:relative;z-index:1}.day-hero h2{font-size:21px;font-weight:500}.day-hero p{color:#d1dbc9;font-size:13px;position:relative;z-index:1}.hero-bottom{border-top:1px solid #557366;padding-top:20px;margin-top:25px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;position:relative;z-index:1}.hero-bottom .btn{font-size:12px}.attention-row{display:flex;text-align:start;width:100%;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:16px 0}.attention-row:last-child{border:0;padding-bottom:0}.attention-number{font-size:31px;line-height:1.1;min-width:27px;font-weight:400}.attention-row strong{font-size:14px;display:block;font-weight:500}.attention-row small{display:block;color:var(--muted);margin-top:3px}.attention-row>.icon{margin-inline-start:auto;width:17px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.agenda-row{display:flex;align-items:center;gap:18px;padding:19px 0;border-bottom:1px solid var(--line)}.agenda-row:last-child{border-bottom:0}.agenda-row time{font-size:19px;min-width:50px;align-self:start}.agenda-row strong{font-size:14px;font-weight:600}.agenda-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.agenda-row>.icon-button{margin-inline-start:auto;width:28px;height:28px;border:0}.task-preview{display:flex;align-items:center;text-align:start;gap:12px;width:100%;padding:15px 0;border-bottom:1px solid var(--line)}.task-preview:last-child{border:0}.task-preview strong{font-size:13px;font-weight:500}.task-preview small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.task-preview>.icon{margin-inline-start:auto;width:16px}.task-dot{display:flex;align-items:center;justify-content:center;background:#f0f1e9;color:#7c8775;border-radius:8px;width:34px;height:34px;flex:none}.task-dot .icon{width:17px;height:17px}.task-dot.problem{background:#f8e8e3;color:var(--red);font-weight:700}.task-dot.done{background:#e8efdf;color:#4c6742}.task-dot.review{background:#f6ecd8;color:#956b2a}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:38px;padding:16px 0 0;border-top:1px solid var(--line);font-size:10px;color:#7e8279}.page-footer .text-button{font-size:11px}.notice-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-bottom:22px;background:#eef1e7;border:1px solid #dce4d2;border-radius:10px;font-size:13px}.notice-panel p{font-size:12px;margin:4px 0}.notice-panel .icon{margin-inline-end:6px;width:18px;height:18px}.notice-panel.problem-note{background:#fff0e9;color:var(--red);border-color:#ead1c7}.schedule-toolbar,.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 22px;flex-wrap:wrap}.toolbar-actions{display:flex;gap:20px;align-items:center}.segmented{display:flex;border:1px solid var(--line);border-radius:8px;padding:3px;background:#f1f0e9}.segmented button{border-radius:5px;padding:8px 14px;font-size:12px;min-height:36px;color:var(--muted)}.segmented button[aria-pressed=true]{background:var(--paper);color:var(--green);box-shadow:0 1px 3px #293d3010;font-weight:600}.segmented button span{font-size:10px;margin-inline-start:6px}.publish-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:var(--paper);border:1px solid var(--line);border-radius:10px;margin-bottom:24px;font-size:12px}.publish-bar>div{display:flex;gap:12px;align-items:center}.publish-bar .btn{font-size:12px}.week-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.day-column{min-width:0;border-inline-end:1px solid var(--line);display:flex;flex-direction:column;min-height:415px}.day-column:last-child{border:0}.day-heading{padding:16px;text-align:center;border-bottom:1px solid var(--line);background:#f3f3eb}.day-heading>span{display:block;font-size:12px;color:var(--muted)}.day-heading>b{display:block;font-size:25px;font-weight:500;margin-top:2px}.day-heading small{font-size:11px;color:var(--muted)}.selected-day .day-heading{background:#e9efdf}.day-lessons{padding:10px;display:grid;gap:10px;align-content:start;flex:1}.lesson-card{display:block;width:100%;text-align:start;border:1px solid #d9e2d0;border-inline-start:3px solid #799361;background:#eef3e6;border-radius:7px;padding:12px 10px;color:var(--ink);transition:transform .12s,border-color .12s}.lesson-card:hover{transform:translateY(-2px);border-color:#839874}.lesson-top{display:flex;justify-content:space-between;align-items:center;gap:5px}.lesson-top>b{font-size:15px;font-weight:600;white-space:nowrap}.lesson-top>b>span{font-weight:400;font-size:11px;display:none}.lesson-top>span{font-size:9px;color:var(--muted);white-space:nowrap}.lesson-title{font-size:12px;margin-top:10px;font-weight:600}.lesson-names{font-size:11px;color:#677461;margin-top:6px;line-height:1.7}.lesson-card.private{background:#fbefe5;border-color:#eedac6;border-inline-start-color:#b98761}.lesson-card.independent{background:#eaf2f2;border-color:#d8e5e5;border-inline-start-color:#789d9d}.lesson-card.break{background:#f3f2ed;border-color:#e1e0d8;border-inline-start-color:#aaaca2}.lesson-card.has-error{border-color:var(--red);background:#fdf0ea}.conflict-label{display:block;color:var(--red);font-size:10px;font-weight:700;margin-top:8px}.add-slot{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px;color:var(--muted);font-size:11px;min-height:44px;border-top:1px dashed var(--line)}.add-slot:hover{background:#eff2e9}.add-slot .icon{width:15px;height:15px}.day-empty{padding:22px 0;text-align:center;color:#92988b;font-size:11px}.schedule-key{display:flex;gap:20px;align-items:center;margin-top:18px;font-size:11px;color:var(--muted);flex-wrap:wrap}.schedule-key>span{display:flex;align-items:center;gap:6px}.schedule-key>span:last-child{margin-inline-start:auto}.key-dot{width:7px;height:7px;border-radius:50%;background:#78915e}.key-dot.clay{background:#b98761}.key-dot.gray{background:#a6aaa0}.day-picker{display:none}.error-panel{padding:18px 22px;border:1px solid #e4b6a9;border-radius:10px;color:var(--red);background:#fff0e9;margin-bottom:24px;font-size:13px}.error-panel p{color:var(--red);font-size:12px}.error-panel ul{padding-inline-start:20px}.person-row{display:flex;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.person-row:last-child{border:0}.avatar{width:40px;height:40px;display:grid;place-items:center;background:#e9eee0;border-radius:50%;font-size:17px;flex:none}.person-info{flex:1}.person-info strong{display:block;font-size:14px}.person-info small{display:block;color:var(--muted);margin-top:3px}.search-field{display:flex;gap:14px;align-items:center;font-size:12px;color:var(--muted)}.search-field input{border:1px solid var(--line);border-radius:7px;padding:10px 13px;background:var(--paper);width:240px;color:var(--ink)}.horse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.horse-card{text-align:start;border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:22px;transition:transform .12s,border-color .12s;min-width:0}.horse-card:hover{border-color:#8e9d80;transform:translateY(-3px)}.horse-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.horse-symbol{width:60px;height:60px;display:grid;place-items:center;background:#e8eddf;border-radius:50%;color:#66775a}.horse-symbol .icon{height:34px;width:34px;stroke-width:1.2}.horse-symbol.tone-1{background:#f1e6d6;color:#9f7e55}.horse-symbol.tone-2{background:#e8eced;color:#71868a}.stall{font-size:11px;color:var(--muted);background:#f3f2eb;border-radius:5px;padding:4px 8px}.horse-card-name{display:flex;justify-content:space-between;gap:8px;align-items:center}.horse-card h2{font-size:24px;font-weight:500}.horse-card p{font-size:12px;margin:5px 0 16px}.horse-riders{font-size:12px;color:#78816f;min-height:20px}.horse-next{display:flex;align-items:center;gap:6px;border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:11px;flex-wrap:wrap}.horse-next .icon{width:15px;height:15px}.horse-next .icon:last-child{margin-inline-start:auto}.overdue{color:var(--red)}.task-list{padding:4px 24px}.task-row{width:100%;display:flex;gap:20px;align-items:center;text-align:start;padding:22px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.task-title{flex:1}.task-title strong{font-size:14px;display:block;font-weight:500}.task-title small{color:var(--muted);display:block;font-size:11px;margin-top:5px}.task-due{display:flex;flex-direction:column;color:var(--muted);font-size:11px;min-width:45px}.task-due b{font-weight:500;font-size:13px;color:var(--ink)}.task-progress{font-size:11px;color:var(--muted)}.task-row>.icon{width:17px}.duty-week{margin-bottom:34px}.duty-week>.section-heading h2{font-size:18px;font-weight:500}.duty-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.duty-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden}.duty-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px;border-bottom:1px solid var(--line);background:#f4f5ed}.duty-title{display:flex;align-items:center;gap:14px}.duty-title>.icon{height:28px;width:28px;color:#85915d}.duty-title h3{font-size:16px;font-weight:500}.duty-title span{display:inline-block;font-size:12px;color:var(--muted);margin-top:3px}.duty-slot{display:flex;align-items:center;gap:14px;padding:18px 24px;border-bottom:1px solid var(--line);min-height:85px}.slot-label{font-size:11px;color:var(--muted);width:43px}.slot-person{flex:1}.slot-person strong{font-size:14px;font-weight:500;display:block}.slot-person small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.slot-actions .btn{font-size:12px;padding:8px 12px;min-height:36px}.duty-card footer{display:flex;align-items:center;justify-content:space-between;padding:9px 24px;color:var(--muted);font-size:10px}.duty-card footer .text-button{font-size:12px}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:40px 20px;grid-column:1/-1;color:var(--muted)}.empty>.icon{width:32px;height:32px;color:#7f976f}.empty p{font-size:12px}.mobile-nav{display:none}.storage-warning{padding:12px 24px;background:#fff0d9;color:#76521e;font-size:13px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#263b34;color:white;padding:13px 22px;border-radius:9px;max-width:min(90vw,560px);width:max-content;font-size:13px;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 4px 20px #17271e25}#toast.visible{opacity:1;transform:translate(-50%,0)}
dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:0;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-shadow:0 24px 80px #17271e30}dialog.wide{width:min(730px,calc(100vw - 32px))}dialog::backdrop{background:#17291c80;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2;background:var(--paper)}.dialog-heading h2{font-size:22px;font-weight:500}.dialog-body{padding:24px 26px}.dialog-body>p{font-size:13px}.dialog-body h3{margin:12px 0}.dialog-footer{display:flex;gap:12px;justify-content:flex-end;align-items:center;padding-top:22px;margin-top:22px;border-top:1px solid var(--line);flex-wrap:wrap}.dialog-footer>.danger{margin-inline-end:auto}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:18px;min-width:0}.field input,.field select,.field textarea{width:100%;padding:10px 12px;border:1px solid #cbd3c5;border-radius:7px;background:white;color:var(--ink);font-size:15px;min-height:44px}.field textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.check-row{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;cursor:pointer}.check-row input{width:18px;height:18px;accent-color:var(--green);flex:none}.check-row small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.check-row strong{font-weight:500}.check-row:has(input:disabled){cursor:default}.form-hint{font-size:12px!important;color:#78816f;line-height:1.8;margin:16px 0}.form-error{color:var(--red);font-size:13px;margin:12px 0}.form-error:empty{display:none}.rider-picker{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}.rider-picker .check-row{border:1px solid var(--line);border-radius:8px;padding:8px;margin:3px 0}.rider-picker .check-row:has(input:checked){background:var(--green-light);border-color:#8b9d7c}fieldset{border:0;padding:0;margin:10px 0 20px}legend{font-size:13px;font-weight:600;margin-bottom:10px}.availability-day{display:flex;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.availability-day>.check-row{min-width:75px}.availability-day>label:not(.check-row){display:flex;align-items:center;gap:6px}.availability-day input[type=time]{width:105px;border:1px solid var(--line);border-radius:5px;min-height:40px;padding:5px;background:white;color:var(--ink)}.availability-day .preferred{margin-inline-start:auto;min-width:auto;font-size:11px}.horse-detail-banner{display:flex;gap:18px;align-items:center;border-radius:10px;background:#f0f2e7;padding:18px;margin-bottom:22px}.horse-detail-banner>div:nth-child(2){flex:1}.horse-detail-banner h3{font-size:17px;margin:0}.horse-detail-banner p{font-size:12px;margin:5px 0 0}.detail-section{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.detail-section p{font-size:13px}.detail-section .section-heading{margin-bottom:4px}.care-row{display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.care-row:last-child{border:0}.care-row>div{flex:1}.care-row small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.care-date{min-width:45px;color:var(--muted);font-size:12px}.checklist{margin:20px 0}.checklist .check-row{padding:14px 8px;border-bottom:1px solid var(--line)}.checklist .check-row:has(input:checked) span{text-decoration:line-through;color:var(--muted)}.stack-actions{display:grid;gap:12px;margin-top:24px}.about-intro{display:flex;gap:18px;align-items:center}.about-intro p{font-size:14px}.info-box{background:#f0f3e8;padding:16px 20px;border-radius:10px;margin:20px 0;font-size:13px}.info-box ol{padding-inline-start:22px;margin-bottom:0}.info-box li{margin:8px 0}.saved-feedback{margin-top:22px;border-top:1px solid var(--line);padding-top:12px}.saved-feedback p{background:#f0f2e8;padding:12px;font-size:13px;border-radius:7px;white-space:pre-wrap}.change-list>div{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.change-list p{font-size:13px}.change-list small{color:var(--muted)}.lesson-detail-time{font-size:42px;line-height:1.4;text-align:right}.requests{margin-bottom:22px}.request-row{border-top:1px solid var(--line);padding:12px 0}.request-row p{font-size:13px;white-space:pre-wrap}
@media(min-width:1600px){.lesson-top>b>span{display:inline}.horse-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.sidebar{width:200px;padding:30px 14px}.workspace{margin-inline-start:200px}main{padding:28px 26px}.topbar{padding:0 26px}.today-grid{gap:18px}.two-columns{gap:18px}.day-lessons{padding:6px}.lesson-card{padding:10px 7px}.lesson-top{flex-wrap:wrap;gap:0}.lesson-top>b{font-size:14px}.lesson-top>span{width:100%;margin-top:3px}.day-hero{padding:26px}.hero-time{font-size:58px}.horse-grid{gap:16px}.horse-card{padding:18px}.task-row{gap:12px}.duty-grid{gap:18px}.duty-slot{padding:16px}.duty-card header{padding:18px}.duty-card footer{padding:8px 16px}}
@media(max-width:1023px){.sidebar{width:180px}.workspace{margin-inline-start:180px}.brand{font-size:18px;gap:8px}.brand img{width:34px;height:34px}.brand small{font-size:7px;letter-spacing:1px}.sidebar nav button{padding:12px 10px;gap:12px;font-size:13px}.topbar{height:72px}.today-grid,.two-columns{grid-template-columns:1fr}.hero-time{font-size:64px}.attention-row{padding:15px 0}.horse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.duty-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;gap:18px}.page-heading h1{font-size:30px}.day-picker{display:flex;justify-content:space-between;gap:4px;margin:20px 0}.day-picker button{border-radius:9px;padding:10px 4px;flex:1;border:1px solid var(--line);background:var(--paper);display:flex;align-items:center;flex-direction:column;gap:2px}.day-picker button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.day-picker span{font-size:11px}.day-picker b{font-size:21px;font-weight:500}.day-picker small{font-size:9px;opacity:.8}.week-grid{display:block;background:none;border:0;overflow:visible}.day-column{display:none;min-height:0;border:0}.day-column.selected-day{display:flex}.day-heading{display:none}.day-lessons{padding:0;gap:12px}.lesson-card{padding:18px;border-radius:9px}.lesson-top{flex-wrap:nowrap}.lesson-top>b{font-size:21px}.lesson-top>b>span{display:inline;font-size:16px}.lesson-top>span{width:auto;font-size:12px;margin:0}.lesson-title{font-size:14px;margin-top:10px}.lesson-names{font-size:13px}.add-slot{border:1px dashed #b8c3aa;margin-top:14px;border-radius:8px;font-size:13px}.publish-bar{flex-wrap:wrap}.publish-bar>div{flex-wrap:wrap}.person-row{gap:12px;flex-wrap:wrap}.person-info{min-width:130px}.person-row .btn{font-size:11px;min-height:36px;padding:7px 11px}.task-row{flex-wrap:wrap}.task-title{min-width:160px}.task-progress,.task-row>.icon{display:none}.toolbar-actions{gap:12px}.hero-bottom{justify-content:space-between}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin:0}.topbar{height:auto;min-height:74px;padding:14px 20px;flex-wrap:wrap;gap:10px}.top-brand{display:block;font-size:17px;font-weight:600}.demo-label{font-size:9px;margin-inline-start:auto;padding:4px 8px}.demo-label .icon{width:13px;height:13px}.persona{width:100%;justify-content:flex-end;gap:10px}.persona select{padding:5px 10px;min-height:34px;font-size:12px;max-width:170px}.persona label{font-size:11px}.topbar .persona{border-top:1px solid var(--line);padding-top:9px}.mobile-nav{display:flex;position:fixed;bottom:0;inset-inline:0;z-index:5;background:#fffefaee;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:7px 8px max(7px,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;flex:1;font-size:10px;min-height:48px;color:#82907a;padding:3px 0}.mobile-nav button[aria-current]{color:var(--green);font-weight:700}.mobile-nav button[aria-current] .icon{background:#e8eddd;box-sizing:content-box;padding:4px 12px;margin:-4px -12px;border-radius:20px}.mobile-nav .icon{width:22px;height:22px}main{padding:28px 20px 105px}.page-heading{display:block;margin-bottom:24px}.page-heading h1{font-size:32px;letter-spacing:-.7px}.page-heading .eyebrow{font-size:10px;margin-bottom:10px}.page-heading p{font-size:13px;line-height:1.8;margin-top:9px}.heading-actions{margin-top:18px;justify-content:flex-start}.heading-actions .btn{padding:9px 14px;font-size:12px;min-height:42px}.today-grid{gap:20px;margin-bottom:20px}.day-hero{padding:24px;border-radius:12px}.hero-time{font-size:64px}.hero-top .icon{height:28px;width:28px}.hero-bottom{margin-top:23px;padding-top:18px;font-size:11px}.hero-bottom .btn{font-size:11px;padding:8px 10px}.panel{padding:20px}.attention-number{font-size:29px}.attention-row{padding:15px 0}.two-columns{gap:20px}.page-footer{font-size:9px;margin-top:28px;align-items:start;flex-direction:column;gap:3px}.page-footer .text-button{font-size:10px}.notice-panel{padding:14px;font-size:12px;flex-wrap:wrap}.schedule-toolbar{margin-top:0;margin-bottom:18px;gap:15px}.toolbar-actions{width:100%;justify-content:space-between}.toolbar-actions .text-button{font-size:12px}.segmented button{font-size:12px;padding:7px 11px}.publish-bar{padding:14px;gap:12px;font-size:11px}.publish-bar>div{gap:9px}.publish-bar>div:last-child{margin-inline-start:auto}.publish-bar .btn{font-size:11px;min-height:38px;padding:8px 12px}.publish-bar .text-button{font-size:11px}.schedule-key{font-size:10px;gap:14px}.schedule-key>span:last-child{margin:0;flex-basis:100%}.day-picker{gap:5px}.day-picker small{display:none}.day-picker button{padding:10px 3px}.day-picker span{font-size:10px}.day-picker b{font-size:20px}.list-toolbar{gap:15px}.search-field{flex:1;flex-direction:column;align-items:start;gap:6px}.search-field input{width:100%;font-size:14px}.list-toolbar>.muted{font-size:11px}.horse-grid{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.horse-card{padding:16px 13px}.horse-card-top{margin-bottom:15px}.horse-symbol{height:45px;width:45px}.horse-symbol .icon{height:28px;width:28px}.horse-card-name{align-items:start;flex-direction:column;gap:7px}.horse-card h2{font-size:24px}.horse-card p{font-size:10px;margin:8px 0}.horse-riders{font-size:10px}.horse-next{font-size:10px;gap:4px;line-height:1.7;margin-top:14px;padding-top:12px}.horse-next>.icon:last-child{display:none}.horse-next>.icon:first-child{display:none}.stall{font-size:9px;padding:3px 5px}.task-list{padding:0 16px}.task-row{gap:10px;padding:20px 0}.task-title{min-width:160px;flex-basis:calc(100% - 50px)}.task-title strong{font-size:14px}.task-due{margin-inline-start:44px;min-width:0;flex-direction:row;align-items:center;gap:9px}.task-row>.task-dot{align-self:flex-start}.task-row>span:nth-child(4){margin-inline-start:auto}.duty-week{margin-bottom:28px}.duty-week>.section-heading h2{font-size:17px}.duty-week>.section-heading>.muted{font-size:10px}.duty-card header{padding:18px}.duty-title h3{font-size:15px}.duty-title>.icon{width:25px}.duty-slot{padding:16px;gap:12px}.slot-label{width:38px;font-size:10px}.slot-person strong{font-size:13px}.slot-person small{font-size:10px}.slot-actions .btn{font-size:11px;padding:7px 11px;min-height:38px}.duty-card footer{padding:7px 16px}.duty-card footer .text-button{font-size:11px}.error-panel{padding:16px;font-size:12px}.section-heading>.muted{font-size:10px}.person-row .avatar{width:34px;height:34px}.person-info strong{font-size:13px}.person-info small{font-size:10px}.person-row .btn{margin-inline-start:auto}.section-heading{flex-wrap:wrap}#toast{bottom:88px;font-size:12px;padding:12px 16px;max-width:calc(100vw - 24px)}dialog,dialog.wide{width:calc(100vw - 20px);max-height:calc(100dvh - 30px);border-radius:13px}.dialog-heading{padding:17px 18px}.dialog-heading h2{font-size:20px}.dialog-heading .icon-button{width:32px;height:32px}.dialog-body{padding:20px 18px}.form-grid{gap:0 12px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:16px;padding:10px}.rider-picker{grid-template-columns:1fr;gap:4px}.check-row{font-size:12px}.availability-day{flex-wrap:wrap;gap:9px;justify-content:space-between}.availability-day>.check-row{min-width:70px}.availability-day input[type=time]{width:96px;min-height:42px;font-size:14px}.availability-day .preferred{margin:0;width:100%;padding-inline-start:4px}.dialog-footer{gap:9px;margin-top:18px;padding-top:18px}.dialog-footer .btn{font-size:12px;padding:9px 14px}.horse-detail-banner{padding:14px;gap:12px;flex-wrap:wrap}.horse-detail-banner h3{font-size:15px}.care-row{gap:9px;font-size:12px;flex-wrap:wrap}.care-date{min-width:40px}.care-row .btn,.care-row .text-button{font-size:11px}.about-intro{gap:14px}.about-intro img{width:44px;height:44px}.about-intro p{font-size:12px}.info-box{font-size:12px;padding:14px}.lesson-detail-time{font-size:36px}}
@media(max-width:359px){main{padding-inline:14px}.topbar{padding-inline:14px}.hero-bottom{flex-wrap:wrap;gap:15px}.horse-grid{grid-template-columns:1fr}.horse-card-name{flex-direction:row}.horse-card p,.horse-riders{font-size:12px}.horse-next{font-size:11px}.form-grid{grid-template-columns:1fr}.availability-day input[type=time]{width:87px}.availability-day>.check-row{min-width:65px}.availability-day{gap:6px}.duty-slot{padding:14px 12px;gap:8px}.duty-card footer{padding-inline:12px}.page-heading h1{font-size:29px}.hero-time{font-size:58px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Appearance is independent of the demo role and business data. */
:root{color-scheme:light}
.topbar-tools{display:flex;align-items:center;gap:24px}
.theme-switch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;width:76px;flex:none;padding:4px 0;border-radius:20px;direction:ltr}
.theme-track{position:relative;display:flex;align-items:center;justify-content:space-between;width:76px;height:36px;padding:0 9px;background:var(--green-light);border:1px solid var(--line);border-radius:18px;color:var(--muted)}
.theme-switch .icon{width:18px;height:18px}
.theme-thumb{position:absolute;left:3px;top:3px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--paper);color:var(--green);box-shadow:0 1px 4px #17271e25;transition:transform .18s ease}
.theme-switch:hover .theme-track{border-color:var(--muted)}
.theme-switch[aria-checked=true] .theme-thumb{transform:translateX(40px)}
.theme-switch[aria-checked=false] .theme-moon,.theme-switch[aria-checked=true] .theme-sun{display:none}
.theme-switch[aria-checked=false] .theme-end:first-child,.theme-switch[aria-checked=true] .theme-end:nth-child(2){visibility:hidden}
:root[data-theme="dark"]{color-scheme:dark;--bg:#141d19;--paper:#1d2922;--ink:#edf1e8;--muted:#adb7ad;--green:#a7c9b4;--green-light:#2a3b2e;--line:#3b4a3f;--clay:#dab08a;--amber:#e4c089;--red:#f0b3a6}
[data-theme="dark"] .sidebar{background:#19251e}
[data-theme="dark"] .sidebar nav button{color:var(--muted)}
[data-theme="dark"] .sidebar nav button:hover{background:#2a3b2e}
[data-theme="dark"] .sidebar nav button[aria-current],
[data-theme="dark"] .day-picker button[aria-pressed=true],
[data-theme="dark"] .btn.primary{background:var(--green);color:#17291f}
[data-theme="dark"] .btn.primary:hover{background:#b9d7c4}
[data-theme="dark"] .btn.secondary:hover{background:#2a3b2e;border-color:#829b85}
[data-theme="dark"] .btn.danger-btn{background:var(--red);color:#35231e}
[data-theme="dark"] .small-note,[data-theme="dark"] .version,[data-theme="dark"] .page-footer,
[data-theme="dark"] .lesson-names,[data-theme="dark"] .horse-riders,[data-theme="dark"] .form-hint,
[data-theme="dark"] .day-empty{color:var(--muted)}
[data-theme="dark"] .demo-label{color:#dfcca6;background:#352f23;border-color:#544a35}
[data-theme="dark"] .badge{background:#2e3930;color:#bdc6b7}
[data-theme="dark"] .badge.green,[data-theme="dark"] .task-dot.done{background:#283d2d;color:#b1d3b3}
[data-theme="dark"] .badge.amber,[data-theme="dark"] .task-dot.review,[data-theme="dark"] .storage-warning{background:#3b3222;color:var(--amber)}
[data-theme="dark"] .badge.red,[data-theme="dark"] .task-dot.problem{background:#442c27;color:var(--red)}
[data-theme="dark"] .task-dot{background:#2d3a30;color:#becab8}
[data-theme="dark"] .day-hero{background:#24483e}
[data-theme="dark"] .notice-panel{background:#28372b;border-color:#425340}
[data-theme="dark"] .notice-panel.problem-note,[data-theme="dark"] .error-panel{background:#382923;border-color:#775348;color:var(--red)}
[data-theme="dark"] .segmented,[data-theme="dark"] .day-heading,[data-theme="dark"] .duty-card header,[data-theme="dark"] .stall{background:#26332a}
[data-theme="dark"] .selected-day .day-heading{background:#304330}
[data-theme="dark"] .lesson-card{background:#293b2b;border-color:#4a6346;border-inline-start-color:#9bb886}
[data-theme="dark"] .lesson-card.private{background:#3d3025;border-color:#705642;border-inline-start-color:#d0a377}
[data-theme="dark"] .lesson-card.independent{background:#263b3b;border-color:#496567;border-inline-start-color:#93b9ba}
[data-theme="dark"] .lesson-card.break{background:#30362f;border-color:#555f50;border-inline-start-color:#a0aa98}
[data-theme="dark"] .lesson-card.has-error{background:#402c26;border-color:var(--red)}
[data-theme="dark"] .lesson-card:hover{border-color:#b4c6a1}
[data-theme="dark"] .add-slot:hover{background:#2a3b2e}
[data-theme="dark"] .avatar,[data-theme="dark"] .horse-symbol{background:#304030;color:#b4c7a1}
[data-theme="dark"] .horse-symbol.tone-1{background:#403728;color:#d8b88e}
[data-theme="dark"] .horse-symbol.tone-2{background:#2d3c3e;color:#afc8c9}
[data-theme="dark"] .duty-title>.icon,[data-theme="dark"] .empty>.icon{color:#b4c7a1}
[data-theme="dark"] .field input,[data-theme="dark"] .field select,[data-theme="dark"] .field textarea,
[data-theme="dark"] .availability-day input[type=time]{background:#17221b;border-color:#536453}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#9da99b;opacity:1}
[data-theme="dark"] .horse-detail-banner,[data-theme="dark"] .info-box,[data-theme="dark"] .saved-feedback p{background:#2a392c}
[data-theme="dark"] dialog::backdrop{background:#07110bb3}
[data-theme="dark"] #toast{background:#dce8d7;color:#203429}
[data-theme="dark"] .mobile-nav{background:#1d2922f2}
[data-theme="dark"] .mobile-nav button{color:#adb9a5}
[data-theme="dark"] .mobile-nav button[aria-current]{color:#d1e4c3}
[data-theme="dark"] .mobile-nav button[aria-current] .icon{background:#3a4c32}
[data-theme="dark"] :is(button,a,input,select,textarea):focus-visible{outline-color:#e4c089}
@media(max-width:1023px){.topbar-tools{gap:12px}.persona{gap:8px}.persona label{display:none}}
@media(max-width:700px){.topbar-tools{width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:9px;gap:10px}.topbar .persona{width:auto;padding:0;border:0}.persona select{min-height:40px}}

.management-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.management-tabs [aria-current]{background:var(--green-light);border-color:var(--green);color:var(--green)}
.future-notice{align-items:flex-start}
.future-notice>div{max-width:760px}
.future-notice>div>strong{display:flex;align-items:center}
.management-overview{margin-bottom:24px}
.management-overview p,.participant-list>p,.permission-row p,.settings-preview p{font-size:13px;line-height:1.8}
.family-members{display:flex;align-items:center;gap:20px;margin:20px 0}
.family-members>div{display:grid;grid-template-columns:40px 1fr;gap:2px 12px;align-items:center;min-width:0}
.family-members .avatar{grid-row:span 2}
.family-members strong{font-size:14px}
.family-members small{color:var(--muted)}
.participant-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.participant-row:last-child{border-bottom:0}
.participant-details{min-width:160px;font-size:13px}
.participant-details small{display:block;color:var(--muted);margin-top:4px}
.permission-row{border-bottom:1px solid var(--line);padding:16px 0}
.permission-row h3{margin-top:10px;font-size:15px}
.settings-preview{gap:24px}
.settings-preview h2 .icon{margin-inline-end:6px;color:var(--muted)}
.settings-preview dl{margin:12px 0 20px}
.settings-preview dl>div{display:grid;grid-template-columns:minmax(100px,1fr) 1.5fr;gap:16px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}
.settings-preview dt{color:var(--muted)}
.settings-preview dd{margin:0}
@media(max-width:1200px){.family-members{gap:12px}.family-members>div{grid-template-columns:1fr}.family-members .avatar{grid-row:auto}}
@media(max-width:700px){.management-tabs{gap:6px}.management-tabs .btn{padding:9px 10px;font-size:12px;min-height:44px}.future-notice>.badge{display:none}.participant-row{gap:10px;flex-wrap:wrap}.participant-row .person-info{flex-basis:calc(100% - 60px)}.participant-details{margin-inline-start:50px;min-width:0;flex:1}.participant-row>.badge{font-size:10px}.family-members{justify-content:space-between;padding:0 8px}.family-members>div{grid-template-columns:40px 1fr;gap:2px 8px}.family-members .avatar{grid-row:span 2}.settings-preview{gap:18px}.settings-preview dl>div{grid-template-columns:1fr 1.4fr;gap:12px;font-size:12px}}
@media(max-width:359px){.family-members>div{grid-template-columns:1fr}.family-members .avatar{grid-row:auto}.participant-details{margin-inline-start:0}.management-tabs .btn{font-size:11px;padding:9px}}
