:root{font-family:Inter,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:#3b2f22;background:#f5f5ef;font-synthesis:none;--green:#8a6630;--muted:#89847b;--line:#e7e2db;--cream:#fafaf6;--gold:#b18c55}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;background:var(--green);color:white;font-size:13px;font-weight:600;transition:.18s}button:hover{filter:brightness(1.09);transform:translateY(-1px)}button:disabled{opacity:.42;cursor:not-allowed;transform:none}button.secondary{background:#f1ede7;color:var(--green)}button.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}button.danger{background:#f7e8e2;color:#a34e3f}button.small{padding:8px 11px;font-size:12px}button.link{padding:3px;background:transparent;color:var(--green);text-decoration:underline}input,select,textarea{background:white;border:1px solid #e0dbd2;border-radius:8px;padding:11px;width:100%;color:#3b2f22;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #8a663015}label{font-size:12px;color:#736e65;display:grid;gap:7px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:500;letter-spacing:.025em;margin-bottom:10px}h2{font-size:19px;font-weight:600}h3{font-size:15px;font-weight:600}p{line-height:1.7}small,.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:10px;font-weight:600;color:var(--gold);margin-bottom:12px}.shell{display:flex;min-height:100vh}.sidebar{width:238px;background:#fcfaf7;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:33px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 35px}.brand-symbol{font-family:serif;font-size:37px;line-height:1}.brand small{font-size:9px;letter-spacing:.21em}.brand b{font-size:17px;letter-spacing:.1em;font-weight:500}.sidebar nav{display:grid;gap:7px}.nav-button{display:flex;align-items:center;gap:12px;color:#827d75;background:transparent;text-align:left;padding:13px 15px;font-weight:400}.nav-button.active{background:#efeae2;color:var(--green);font-weight:600}.icon{font-size:18px;width:24px;display:inline-grid;place-items:center}.sidebar-bottom{margin-top:auto;padding-top:30px}.local-indicator{font-size:10px;letter-spacing:.08em;color:#8a847b;padding:15px 10px;display:flex;align-items:center;gap:7px}.dot{width:6px;height:6px;border-radius:100%;background:#a7967a}.profile{padding:13px 8px;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line)}.avatar{height:35px;width:35px;border-radius:50%;background:#e9e2d7;display:grid;place-items:center;color:#6d604c;font-size:13px}.profile-name{font-size:12px;flex:1}.profile-name small{display:block;font-size:10px;margin-top:4px}.main{margin-left:238px;padding:34px 48px 55px;width:calc(100% - 238px);max-width:1600px}.topline{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:35px;font-size:11px;color:var(--muted)}.topline b{font-weight:500;color:#635949}.mock-pill{font-size:10px;padding:6px 10px;border:1px solid #e0d9ce;border-radius:30px;background:#fcfaf7}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.date-chip{font-size:12px;padding:11px 16px;background:white;border:1px solid var(--line);border-radius:8px;white-space:nowrap}.hero{background:#efe9de;border:1px solid #e8e1d5;border-radius:18px;min-height:193px;position:relative;overflow:hidden;padding:30px 34px;display:flex;align-items:center;margin-bottom:26px}.hero h2{font-family:"Yu Mincho",serif;font-weight:400;font-size:26px;line-height:1.6;margin-bottom:12px}.hero p{font-size:12px;color:#8d816e;margin:0}.hero-art{position:absolute;right:35px;top:8px;width:230px;height:210px;opacity:.5}.hero-art::before,.hero-art::after{content:"";position:absolute;border:1px solid #b1a187;border-radius:100% 0 100% 0;width:105px;height:155px;transform:rotate(-40deg);right:22px;top:28px}.hero-art::after{transform:rotate(20deg);right:90px;top:65px;width:85px;height:125px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:30px}.stat{border:1px solid var(--line);background:#fcfcf8;border-radius:12px;padding:21px 24px}.stat-label{font-size:11px;color:#8a847a;display:flex;justify-content:space-between;align-items:center}.stat-value{font-size:29px;font-weight:400;margin-top:13px}.stat-value span{font-size:12px;margin-left:7px;color:#8b8479}.stat-foot{font-size:10px;color:#979085;margin-top:8px}.section-bar{display:flex;justify-content:space-between;align-items:center;margin:25px 0 16px;gap:12px}.section-bar h2{margin:0}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tabs{display:flex;gap:5px;background:#ede9e3;padding:4px;border-radius:9px}.tabs button{font-size:11px;background:transparent;color:#898175;padding:7px 12px}.tabs button.selected{background:#fcfcf8;color:#8a6630;box-shadow:0 2px 5px #00000008}.filters{display:flex;gap:10px;margin-bottom:20px;align-items:center;flex-wrap:wrap}.filters select,.filters input{width:auto;max-width:200px;font-size:12px;padding:9px 12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.lesson{background:#fcfcf8;border:1px solid var(--line);border-radius:13px;padding:22px;position:relative}.lesson-top{display:flex;gap:16px;align-items:center;margin-bottom:19px}.lesson-date{border-right:1px solid var(--line);padding-right:16px;text-align:center;width:65px;flex-shrink:0}.lesson-date strong{display:block;font-size:27px;font-weight:400}.lesson-date span{font-size:10px;color:#928a7e}.lesson-title{flex:1}.lesson-title h3{margin-bottom:7px}.badge{display:inline-block;font-size:10px;padding:4px 8px;border-radius:5px;background:#f1ebe1;color:#857459;white-space:nowrap}.badge.pending{background:#f7eddd;color:#a68550}.badge.grey{background:#eeeee8;color:#948f86}.badge.red{background:#f6e7e2;color:#b06b5b}.lesson-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#898276;margin-bottom:17px}.lesson-bottom{border-top:1px solid #ede9e2;padding-top:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}.price{font-size:17px;letter-spacing:.02em}.price small{font-size:10px;margin-left:4px}.empty{padding:48px 24px;border:1px dashed #dfd8cd;text-align:center;border-radius:12px;background:#fbf9f5;color:#988e7f;font-size:13px}.panel{background:#fcfcf8;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:18px}.panel h3{margin-bottom:18px}.row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #eeeae3}.row:last-child{border-bottom:0}.row p{font-size:12px;margin:5px 0;color:var(--muted)}.row-title{font-size:13px}.row-amount{font-size:20px;white-space:nowrap}.positive{color:#837257}.negative{color:#b3755f}.point-card{padding:30px;background:linear-gradient(125deg,#7d5c2b,#7a6f5d);border-radius:17px;color:#fbf6ef;position:relative;overflow:hidden;margin-bottom:24px;min-height:210px}.point-card .eyebrow{color:#dacdb7}.point-number{font-size:65px;font-weight:300;line-height:1.1;margin:15px 0}.point-number span{font-size:17px;margin-left:8px;color:#ded3c1}.point-card p{font-size:11px;color:#dcd4c7;margin:0}.point-card::after{content:"";background:url(/brand/lotus.png) center/contain no-repeat;width:170px;height:136px;opacity:.16;position:absolute;right:18px;bottom:14px;filter:brightness(1.8)}.stamps{display:flex;gap:9px;margin:22px 0;flex-wrap:wrap}.stamp{height:33px;width:33px;display:grid;place-items:center;border:1px solid #e5ddd0;border-radius:50%;font-size:14px;color:#ad9e85}.stamp.filled{background:#f0e9de;border-color:#cfc2ac;color:#806e51}.reward-icon{height:48px;width:48px;border-radius:50%;background:#f1ece4;display:grid;place-items:center;font-size:23px;margin-bottom:18px}.reward-cost{font-size:22px;margin:15px 0}.reward-cost small{font-size:12px;color:#928775}.note{padding:13px 16px;background:#f4efe8;border-radius:8px;font-size:11px;color:#8d806c;line-height:1.8;margin-bottom:18px}.note.warning{background:#fbefdf;color:#a18a62}.calendar{background:#fcfcf8;border:1px solid var(--line);border-radius:12px;overflow:hidden}.calendar-head,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-head div{padding:12px;text-align:center;font-size:10px;color:#928a7e;border-bottom:1px solid var(--line)}.calendar-cell{min-height:110px;padding:9px;border-right:1px solid #ede8e0;border-bottom:1px solid #ede8e0}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell .day{font-size:11px;color:#897f6f;margin-bottom:8px}.calendar-cell.today .day{background:var(--green);color:white;border-radius:50%;width:23px;height:23px;display:grid;place-items:center}.calendar-cell.dim{background:#f6f2ed}.calendar-event{padding:6px;margin-bottom:4px;border-radius:4px;background:#f0e9de;color:#736144;font-size:9px;line-height:1.6;cursor:pointer;overflow:hidden}.calendar-event.cancelled{background:#f0e8e1;color:#ae8872}.calendar-event strong{display:block;font-weight:500}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#968e81;font-weight:400;font-size:10px;border-bottom:1px solid var(--line);padding:12px 9px}td{padding:15px 9px;border-bottom:1px solid #eee9e0;vertical-align:middle}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.field-hint{font-size:10px;color:#968d7e;margin-top:5px}.checkbox{display:flex;align-items:center;gap:8px}.checkbox input{width:auto}.list-subtitle{font-size:10px;line-height:1.7;color:#968d7e}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#ece4d8;display:flex;flex-direction:column;justify-content:center;padding:80px;position:relative}.login-story .brand{padding:0;margin-bottom:65px}.login-story h1{font-family:"Yu Mincho",serif;font-size:43px;line-height:1.8;position:relative;z-index:1}.login-story p{font-size:12px;color:#90826c}.login-panel{display:flex;justify-content:center;align-items:center;padding:50px}.login-box{max-width:350px;width:100%}.login-box h2{font-size:22px;margin:14px 0}.login-box p{font-size:12px;color:#958d80}.login-options{display:grid;gap:12px;margin:30px 0}.login-options button{text-align:left;display:flex;align-items:center;gap:12px;padding:16px}.login-options button span{flex:1}.login-options button small{font-size:10px;display:block;margin-top:4px;color:inherit;opacity:.7}.login-foot{font-size:10px;line-height:1.9;color:#a39b8c}.loading{height:100vh;display:grid;place-content:center;text-align:center;font-family:serif;font-size:35px}.loading span{display:block;font-family:sans-serif;letter-spacing:.2em;font-size:10px;margin-top:12px}.loading p{font-family:sans-serif;font-size:12px;color:#988e7d;margin-top:25px}dialog{border:1px solid #e7e1d7;border-radius:16px;padding:30px;max-width:640px;width:calc(100% - 32px);color:#45382a;max-height:90vh;box-shadow:0 20px 100px #3b2f2225}dialog::backdrop{background:#372f2255;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.modal-head h2{margin:0}.close{background:transparent;color:#988e7d;font-size:24px;padding:0 6px}.error-text{color:#b16a54;font-size:12px;padding:10px 0}.chat-input{display:flex;gap:10px}.chat-input input{flex:1}.chat-bubble{padding:13px 16px;border-radius:12px;background:#f1ebe1;font-size:12px;line-height:1.8;max-width:85%;margin-bottom:12px}.chat-bubble.user{margin-left:auto;background:#e9dfcf}.preview-list{max-height:260px;overflow:auto}.preview-item{padding:12px;border-bottom:1px solid var(--line);font-size:12px}pre{white-space:pre-wrap;word-break:break-word;font-size:10px;max-height:230px;overflow:auto;background:#f4f0eb;padding:13px;border-radius:8px}.footer-note{margin-top:35px;font-size:10px;color:#a39b8c;text-align:center}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#4a3a25;color:white;border-radius:10px;padding:14px 22px;font-size:12px;z-index:100;box-shadow:0 5px 30px #0002;transition:.2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#9c6555}.mobile-brand{display:none}.notification-unread{border-left:3px solid #a7967a}.notification-content{font-size:12px;line-height:1.8;white-space:pre-wrap}.amount-input{max-width:140px}.wide-button{width:100%}.mobile-bottom{display:none}a{color:var(--green)}
@media(min-width:1500px){.main{padding-left:65px;padding-right:65px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.sidebar{width:205px;padding:30px 14px}.main{margin-left:205px;width:calc(100% - 205px);padding:28px}.grid{grid-template-columns:1fr 1fr}.calendar-cell{padding:5px;min-height:100px}.calendar-event{font-size:8px;padding:4px}.hero-art{right:-20px;opacity:.3}.hero h2{font-size:24px}.stat{padding:18px}.stats{gap:10px}}
@media(max-width:760px){.sidebar{display:none}.main{width:100%;margin:0;padding:20px 18px 95px}.topline{margin-bottom:24px;padding-bottom:17px}.topline>span{display:none}.mobile-brand{display:block;font-family:serif;font-size:21px;color:#8a6630}.mobile-brand small{font-family:sans-serif;font-size:8px;letter-spacing:.1em;margin-left:7px}.page-heading{margin-bottom:20px;gap:10px}.page-heading h1{font-size:25px}.page-heading p{font-size:10px}.date-chip{font-size:10px;padding:9px}.hero{padding:24px;min-height:168px;border-radius:14px;margin-bottom:19px}.hero h2{font-size:24px}.hero p{font-size:10px}.hero-art{right:-40px;top:-2px;opacity:.25}.stats{gap:8px;margin-bottom:24px}.stat{padding:14px 12px;border-radius:10px}.stat-label{font-size:9px}.stat-label .icon{display:none}.stat-value{font-size:25px;margin-top:10px}.stat-value span{font-size:9px;margin-left:3px}.stat-foot{font-size:8px;line-height:1.6}.grid{grid-template-columns:1fr;gap:13px}.lesson{padding:19px}.section-bar{margin-top:24px}.section-bar h2{font-size:17px}.filters{gap:7px}.filters input,.filters select{font-size:11px;max-width:165px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #e4ded3;background:#fdfbf8f5;backdrop-filter:blur(12px);padding:9px 8px max(10px,env(safe-area-inset-bottom));z-index:20;justify-content:space-around;overflow-x:auto}.mobile-bottom button{background:transparent;color:#9c9485;display:grid;justify-items:center;gap:4px;min-width:58px;font-size:8px;padding:5px 3px;white-space:nowrap}.mobile-bottom button.active{color:#8a6630}.mobile-bottom .icon{font-size:19px}.calendar{margin-left:-8px;margin-right:-8px}.calendar-cell{min-height:82px;padding:4px 2px}.calendar-cell .day{font-size:9px;margin-left:3px}.calendar-event{font-size:7px;padding:3px 2px;line-height:1.5}.calendar-head div{font-size:9px;padding:10px 3px}.calendar-event strong{white-space:nowrap;overflow:hidden}.panel{padding:19px}.login{grid-template-columns:1fr}.login-story{padding:32px 32px 28px}.login-story .brand{margin-bottom:25px}.login-story h1{font-size:29px;margin-bottom:8px;line-height:1.6}.login-story p{font-size:10px;margin-bottom:0}.login-panel{padding:30px 28px}.login-options{margin:20px 0}.login-box h2{font-size:20px}.form-grid{gap:13px}.form-grid label{font-size:11px}dialog{padding:22px}.form-actions{flex-wrap:wrap}.row{align-items:flex-start;flex-wrap:wrap}.row .actions{margin-top:5px}.point-card{padding:27px;min-height:190px}.point-number{font-size:58px}h2{font-size:17px}.section-bar{flex-wrap:wrap}.actions button{font-size:11px;padding:9px 11px}.topline .actions{flex-wrap:nowrap}.topline .actions button{padding:7px;font-size:9px}.mock-pill{font-size:8px;padding:5px 8px}.calendar-cell.today .day{width:19px;height:19px}.footer-note{margin-top:24px}}

[hidden]{display:none!important}
.student-shell{max-width:480px;margin:0 auto;min-height:100dvh;background:var(--cream);border-left:1px solid var(--line);border-right:1px solid var(--line)}.student-shell .sidebar{display:none}.student-shell .main{margin:0;width:100%;padding:16px 12px 95px}.student-shell .topline{padding-bottom:12px;margin-bottom:16px}.student-shell .topline>span,.student-shell .mock-pill{display:none}.student-shell .mobile-brand{display:block;font-family:serif;font-size:21px;color:var(--green)}.student-shell .mobile-brand small{font-family:sans-serif;font-size:8px;margin-left:8px;letter-spacing:.1em}.student-shell .topline .actions button{font-size:10px}.student-shell .page-heading{margin-bottom:15px}.student-shell .page-heading .eyebrow,.student-shell .page-heading p,.student-shell .booking-intro{display:none}.student-shell .page-heading h1{font-size:22px;margin-bottom:0}.student-shell .date-chip{font-size:10px;padding:8px}.student-shell .booking-layout{grid-template-columns:1fr;gap:0}.student-shell .booking-month{padding:14px 5px;margin-bottom:14px;border-radius:12px}.student-shell .booking-toolbar{padding:0 7px;margin-bottom:12px}.student-shell .booking-toolbar h2{font-size:18px}.student-shell .booking-toolbar .actions{gap:4px}.student-shell .booking-toolbar button{min-width:40px;min-height:40px;padding:8px}.student-shell .booking-month .filters{padding:0 7px;margin-bottom:10px;justify-content:space-between;gap:5px}.student-shell .booking-month .filters select{max-width:155px;font-size:12px;padding:9px}.student-shell .booking-month .filters small{font-size:10px}.student-shell .booking-weekdays span{padding:8px 0;font-size:11px}.student-shell .booking-days .booking-day{min-height:70px;padding:5px 1px;gap:4px;border-radius:7px}.student-shell .booking-day-number{font-size:13px;height:24px;width:24px}.student-shell .booking-day-lessons{gap:3px}.student-shell .booking-course{padding:4px 2px;border-radius:3px}.student-shell .booking-course-name{font-size:10px;line-height:1.5;font-weight:600}.student-shell .booking-course-time{font-size:9px;line-height:1.4}.student-shell .booking-more{font-size:12px;min-height:22px;padding:3px}.student-shell .booking-legend{font-size:9px;gap:9px;margin-top:10px;padding:12px 5px 0}.student-shell .booking-legend .muted{flex-basis:100%}.student-shell .booking-agenda .section-bar{margin:14px 3px}.student-shell .booking-agenda .eyebrow{display:none}.student-shell .booking-agenda h2{font-size:17px}.student-shell .booking-agenda-list,.student-shell .grid{grid-template-columns:1fr;gap:12px}.student-shell .booking-agenda .lesson{padding:16px}.student-shell .lesson-bottom button{min-height:44px;font-size:13px}.student-shell .mobile-bottom{display:flex;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;border-top:1px solid var(--line);background:#fdfbf8f5;backdrop-filter:blur(12px);padding:8px 3px max(10px,env(safe-area-inset-bottom));z-index:20;justify-content:space-around}.student-shell .mobile-bottom button{background:transparent;color:#9c9485;display:grid;justify-items:center;gap:4px;min-width:60px;min-height:48px;font-size:9px;padding:5px 2px;white-space:nowrap}.student-shell .mobile-bottom button.active{color:var(--green)}.student-shell .mobile-bottom .icon{font-size:20px}.student-shell .footer-note{font-size:8px;margin-top:20px}.student-shell .empty{padding:25px 12px}
.booking-day-lessons{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}.booking-course{display:block;text-align:left;background:#eee6da;color:#665539;padding:5px 6px;border-radius:4px;min-width:0;width:100%;line-height:1.4}.booking-course.mine{background:#8a6630;color:#fff}.booking-course.full{background:#eee8df;color:#967c65}.booking-course-name{display:block;font-size:10px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.booking-course-time{display:block;font-size:9px;opacity:.8;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.booking-more{display:block;text-align:left;padding:2px 6px;color:var(--green);font-size:11px;font-weight:600}
.booking-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.booking-intro h2{font-family:"Yu Mincho",serif;font-size:25px;font-weight:400;margin:10px 0}.booking-intro p{font-size:12px;color:var(--muted);margin:0}.booking-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}.booking-month{padding:24px;min-width:0}.booking-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}.booking-toolbar h2{margin:0;white-space:nowrap}.booking-weekdays,.booking-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.booking-weekdays span{text-align:center;font-size:11px;color:var(--muted);padding:12px 0}.booking-weekdays span:nth-child(6){color:#658697}.booking-weekdays span:nth-child(7){color:#b37869}.booking-day{background:transparent;color:var(--green);border:1px solid transparent;border-radius:10px;min-height:92px;padding:8px 2px;display:flex;flex-direction:column;align-items:center;gap:7px;font-weight:400}.booking-day:hover{background:#f3eee7;transform:none}.booking-day.outside{opacity:.35}.booking-day.is-selected{border-color:var(--green);background:#efe9de;box-shadow:inset 0 0 0 1px var(--green)}.booking-day-number{font-size:16px;width:26px;height:26px;display:grid;place-items:center}.booking-day.is-today .booking-day-number{background:var(--green);color:white;border-radius:50%}.booking-day-status{font-size:9px;border-radius:4px;padding:3px 5px;background:#eee6da;color:#746246;white-space:nowrap}.booking-day-status.mine{background:#8a6630;color:white}.booking-day-status.full{background:#eee8df;color:#9a8069}.booking-day-count{font-size:8px;color:var(--muted)}.booking-no-class{color:#cfc9c0;font-size:11px}.booking-legend{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:17px;margin-top:15px;font-size:10px;color:#837257}.booking-agenda .section-bar{margin-top:5px}.booking-agenda-list{display:grid;gap:14px}.booking-agenda .lesson{padding:19px}.booking-agenda .lesson-top{flex-wrap:wrap;gap:10px}.booking-agenda .lesson-date{display:none}.booking-agenda .lesson-title{min-width:120px}
@media(max-width:1200px){.booking-layout{grid-template-columns:1fr}.booking-agenda-list{grid-template-columns:repeat(2,minmax(0,1fr))}.booking-day{min-height:86px}}
@media(max-width:760px){.booking-intro{margin-bottom:20px;align-items:start}.booking-intro h2{font-size:21px;line-height:1.6}.booking-intro .badge{display:none}.booking-intro p{font-size:10px}.booking-layout{gap:9px}.booking-month{padding:15px 9px}.booking-toolbar{padding:0 6px;gap:5px}.booking-toolbar h2{font-size:17px}.booking-toolbar .actions{gap:5px}.booking-toolbar .actions button{padding:8px 10px}.booking-month .filters{padding:0 5px;gap:7px}.booking-month .filters small{font-size:9px}.booking-day{min-height:78px;gap:5px;padding:7px 1px;border-radius:8px}.booking-day-number{font-size:14px}.booking-day-status{font-size:8px;padding:2px 3px}.booking-day-count{font-size:7px;letter-spacing:-.3px}.booking-weekdays span{font-size:10px}.booking-legend{font-size:9px;gap:9px;padding-left:5px}.booking-agenda-list{grid-template-columns:1fr}.booking-agenda .section-bar{margin-top:12px}}

.booking-days .booking-day{justify-content:flex-start;min-height:92px;padding:7px 4px;gap:6px}@media(max-width:760px){.booking-days .booking-day{padding:6px 2px;min-height:82px}.booking-course{padding:4px 2px}.booking-course-name{font-size:8px}.booking-course-time{font-size:8px}.booking-more{font-size:10px;padding:2px}}

.login-story{align-items:center;text-align:center}.login-logo{width:min(340px,80%);height:auto;margin-bottom:30px}img.brand-symbol{width:46px;height:auto}.mobile-brand img{height:24px;width:auto;vertical-align:-5px;margin-right:6px}@media(max-width:760px){.login-logo{width:200px;margin-bottom:10px}}.login-options button .avatar{flex:0 0 35px}@media(max-width:760px){.mobile-brand{white-space:nowrap}.mobile-brand small{display:none}}
.shell::after{content:"";position:fixed;inset:0;background:url(/brand/figure.png) center 58%/min(640px,80vw) auto no-repeat;opacity:.08;mix-blend-mode:multiply;pointer-events:none;z-index:30}.student-shell::after{background-size:min(440px,88vw) auto}
body:has(.shell){--halo-x:50%;--halo-y:50%}
@media(min-width:761px){.teacher-shell::after{left:238px}body:has(.teacher-shell){--halo-x:calc(50% + 119px)}}
/* Aurora: two pearl/champagne/rose-gold veils drifting slowly in opposite directions */
body:has(.shell)::before,.shell::before{content:"";position:fixed;left:var(--halo-x);top:var(--halo-y);width:max(130vmin,900px);height:max(130vmin,900px);transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:multiply;will-change:transform}
body:has(.shell)::before{z-index:28;background:radial-gradient(ellipse 46% 8% at 42% 40%,rgba(226,184,112,0.28) 0,rgba(226,184,112,0.126) 45%,transparent 78%),radial-gradient(ellipse 40% 7% at 58% 57%,rgba(234,172,156,0.22) 0,rgba(234,172,156,0.099) 45%,transparent 78%),radial-gradient(ellipse 30% 10% at 50% 47%,rgba(246,224,184,0.3) 0,rgba(246,224,184,0.135) 45%,transparent 78%);animation:aurora-a 22s ease-in-out infinite alternate}
.shell::before{z-index:29;background:radial-gradient(ellipse 44% 7% at 46% 60%,rgba(200,188,228,0.22) 0,rgba(200,188,228,0.099) 45%,transparent 78%),radial-gradient(ellipse 48% 6% at 55% 43%,rgba(222,186,128,0.22) 0,rgba(222,186,128,0.099) 45%,transparent 78%),radial-gradient(ellipse 26% 9% at 62% 52%,rgba(236,196,180,0.18) 0,rgba(236,196,180,0.081) 45%,transparent 78%);animation:aurora-b 30s ease-in-out infinite alternate}
@keyframes aurora-a{0%{transform:translate(-50%,-50%) rotate(0deg) scale(1);opacity:.75}50%{opacity:1}100%{transform:translate(-40%,-58%) rotate(36deg) scale(1.18);opacity:.8}}
@keyframes aurora-b{0%{transform:translate(-50%,-50%) rotate(0deg) scale(1.08);opacity:1}50%{opacity:.7}100%{transform:translate(-61%,-41%) rotate(-32deg) scale(.92);opacity:1}}
@media(prefers-reduced-motion:reduce){body:has(.shell)::before,.shell::before{animation:none}}
/* Prema × Dâna login: paper colour matches figure-moon.jpg so the image edge disappears */
.login-story{background:#FAF5EB}
.login-story .login-brand{font:500 2.6rem/1.15 "Cormorant Garamond","Times New Roman",serif;letter-spacing:.06em;color:#7A5A28;margin:22px 0 6px}
.login-story .login-tagline{font:500 1.05rem/1.8 "Shippori Mincho","Yu Mincho",serif;letter-spacing:.2em;color:#7A5A28;margin:0 0 18px}
.login-about{display:inline-block;margin-top:14px;color:#7A5A28;font-size:12px;letter-spacing:.12em;text-underline-offset:.35em}
.footer-note a{color:inherit}
@media(max-width:760px){.login-story .login-brand{font-size:2rem;margin-top:10px}.login-story .login-tagline{font-size:.95rem;margin-bottom:10px}}
/* hand-lettered brand name (image) */
.login-story .login-lettering{width:min(300px,72%);height:auto;margin:22px auto 8px}
.brand .brand-lettering{height:21px;width:auto;margin-bottom:5px}
.mobile-brand .mobile-lettering{height:22px;width:auto;margin-right:2px;vertical-align:-4px}
@media(max-width:760px){.login-story .login-lettering{width:210px;margin-top:10px}}
/* splash: shown while loading and during LINE auto-login (same layout, so nothing jumps) */
.splash{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:24px;background:#FAF5EB;text-align:center}
.splash-lotus{width:76px;height:auto;margin-bottom:22px}
.splash-lettering{width:min(230px,62vw);height:auto;margin-bottom:12px}
.splash-tagline{font:500 15px/1.8 "Shippori Mincho","Yu Mincho",serif;letter-spacing:.2em;color:#7A5A28;margin:0}
.splash-status{font-size:12px;letter-spacing:.12em;color:#8C7B66;margin:34px 0 0}
/* account type (個人 / 家族), party size, adult / child prices */
.account-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 16px}
.account-choice .choice-card{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:14px 12px;background:#fdfbf7;cursor:pointer}
.account-choice .choice-card input{width:auto;min-width:0;padding:0;border:0;margin:4px 0 0;flex:none;accent-color:#8a6630}
.account-choice .choice-card>span{flex:1;color:var(--text,#3b2f22)}
.choice-card strong{display:block;font-size:15px;margin-bottom:3px}
.choice-card small{display:block;font-size:11px;line-height:1.6;color:var(--muted)}
.choice-card:has(input:checked){border-color:#8a6630;box-shadow:inset 0 0 0 1px #8a6630;background:#fbf5ea}
.family-fields[hidden]{display:none}
.party-total{font-size:15px;font-weight:600;color:#7A5A28;margin:6px 0 0}
.price{display:flex;flex-direction:column;gap:2px;line-height:1.25}
.price .price-child{font-size:.82em;color:var(--muted)}
@media(max-width:520px){.account-choice{grid-template-columns:1fr}}
/* phone header: brand on its own line, actions (管理画面へ / アカウント設定 / 名前・切替) on one line below */
@media(max-width:760px){
 .topline{flex-wrap:wrap;row-gap:10px}
 .topline .mobile-brand{width:100%}
 .topline .actions{width:100%;justify-content:flex-end;gap:14px;margin-top:0}
 .topline .actions .link,.topline .actions a{white-space:nowrap}
}
/* welcome page: same frame as the splash, so loading -> welcome does not jump */
.welcome{cursor:pointer}
.welcome-body{display:flex;flex-direction:column;align-items:center}
.welcome .welcome-hello{font:500 19px/1.7 "Shippori Mincho","Yu Mincho",serif;letter-spacing:.12em;color:#3B2B1E;margin:30px 0 10px}
.welcome-lead{font:400 13px/2.1 "Shippori Mincho","Yu Mincho",serif;letter-spacing:.08em;color:#76644F;margin:0}
.welcome-enter{margin-top:30px;min-width:180px;border-radius:999px;background:#7A5A28;border:1px solid #7A5A28;color:#FDFAF4;padding:12px 28px;font:500 14px/1.4 "Shippori Mincho","Yu Mincho",serif;letter-spacing:.14em}
.welcome-enter:hover{background:#3B2B1E}
.welcome-enter:focus-visible{outline:2px solid #9C7536;outline-offset:3px}
.welcome .splash-status{margin-top:18px}
@media (prefers-reduced-motion:no-preference){.welcome-body{animation:welcome-in .7s ease-out both}@keyframes welcome-in{from{opacity:0}to{opacity:1}}}
.welcome-concept{margin-top:14px;font-size:12px;letter-spacing:.14em;color:#7A5A28;text-underline-offset:.4em}
.login-options input[name=username]{margin-bottom:0}
.login-or{text-align:center;font-size:11px;letter-spacing:.2em;color:var(--muted);margin:6px 0 -6px}
/* theme switch: moon in light mode, sun in dark mode (public/theme.js handles the click) */
button.theme-toggle{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;padding:0!important;border:1px solid var(--line);border-radius:999px;background:transparent!important;color:var(--muted);cursor:pointer;box-shadow:none}
button.theme-toggle:hover{color:var(--text,var(--brown))}
.theme-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="dark"] .theme-toggle .i-moon,html:not([data-theme="dark"]) .theme-toggle .i-sun{display:none}
/* concept link: a quiet pill with the lotus and a hairline arrow */
a.concept-link{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:9px 18px 9px 12px;border:1px solid rgba(122,90,40,.38);border-radius:999px;background:rgba(253,250,244,.6);color:#7A5A28;text-decoration:none;font:500 12.5px/1 "Shippori Mincho","Yu Mincho",serif;letter-spacing:.16em;transition:border-color .25s,background-color .25s,box-shadow .25s}
a.concept-link img{width:20px;height:auto;margin:0}
a.concept-link i{position:relative;display:block;width:22px;height:1px;background:currentColor;transition:width .25s}
a.concept-link i::after{content:"";position:absolute;right:0;top:-2.5px;width:5px;height:5px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
a.concept-link:hover{border-color:#7A5A28;background-color:#FDFAF4}
a.concept-link:hover i{width:30px}
a.concept-link:focus-visible{outline:2px solid #9C7536;outline-offset:3px}
/* icon buttons: header, sidebar, footer and the corner tools on the welcome / sign-in pages */
.icon-btn{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;padding:0!important;border:1px solid var(--line);border-radius:999px;background:transparent!important;color:var(--muted);cursor:pointer;text-decoration:none;transition:color .2s,border-color .2s,box-shadow .2s}
.icon-btn:hover{color:#3b2f22;border-color:currentColor}
.icon-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.icon-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lang-btn{display:inline-flex;align-items:center;gap:5px;width:auto;padding:0 11px 0 9px!important;font:600 12px/1 "Cormorant Garamond","Times New Roman",serif;letter-spacing:.08em}
.lang-btn svg{width:15px;height:15px}
.topline .actions{gap:8px}
.profile .icon-btn{margin-left:auto;width:30px;height:30px}
.profile .icon-btn svg{width:15px;height:15px}
.footer-note{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.footer-icons{display:inline-flex;gap:8px}
.footer-icons .icon-btn{width:30px;height:30px}
.corner-tools{position:fixed;top:14px;right:14px;z-index:20;display:flex;gap:8px}
.corner-tools .icon-btn,.corner-tools .theme-toggle{background:rgba(255,255,255,.55)!important;backdrop-filter:blur(6px)}
/* English tagline is longer than the Japanese one: tighter tracking keeps it on one line */
html[lang="en"] :is(.login-story .login-tagline,.splash-tagline){letter-spacing:.05em}
/* Daytime login / splash / welcome: the mirror of the night sky in theme-dark.css.
   night: moon halo, navy depth, aurora bands, stars  ->  day: sun halo, afterglow at the horizon, sunlit clouds, gold motes */
html:not([data-theme="dark"]) :is(.login-story,.splash){position:relative;overflow:hidden;isolation:isolate;background:
  radial-gradient(circle at 50% 38%,rgba(255,244,214,.95) 0%,rgba(252,214,150,.45) 16%,transparent 34%),
  radial-gradient(ellipse 130% 60% at 50% 115%,rgba(240,160,110,.38) 0%,rgba(236,178,120,.18) 38%,transparent 66%),
  radial-gradient(ellipse 80% 50% at 100% 100%,rgba(226,140,130,.16) 0%,transparent 62%),
  linear-gradient(180deg,#fcf9f2 0%,#faf3e6 55%,#f6e6cf 100%)}
html:not([data-theme="dark"]) .splash{background:
  radial-gradient(circle at 50% 42%,rgba(255,244,214,.95) 0%,rgba(252,214,150,.42) 15%,transparent 33%),
  radial-gradient(ellipse 130% 58% at 50% 116%,rgba(240,160,110,.36) 0%,rgba(236,178,120,.17) 38%,transparent 66%),
  radial-gradient(ellipse 80% 50% at 100% 100%,rgba(226,140,130,.15) 0%,transparent 62%),
  linear-gradient(180deg,#fcf9f2 0%,#faf3e6 55%,#f6e6cf 100%)}
/* sunlit clouds: long, soft bands lit gold and rose from below, drifting slowly */
html:not([data-theme="dark"]) :is(.login-story,.splash)::before{content:"";position:absolute;inset:-25%;z-index:-1;pointer-events:none;filter:blur(12px);
  background:radial-gradient(ellipse 40% 6% at 36% 30%,rgba(232,176,92,.30),transparent 72%),radial-gradient(ellipse 30% 5% at 64% 26%,rgba(244,196,140,.28),transparent 72%),
    radial-gradient(ellipse 42% 7% at 62% 70%,rgba(236,150,120,.22),transparent 72%),radial-gradient(ellipse 34% 6% at 30% 76%,rgba(226,170,90,.24),transparent 72%),
    radial-gradient(ellipse 26% 8% at 54% 54%,rgba(250,214,160,.26),transparent 72%);
  animation:day-drift 26s ease-in-out infinite alternate}
/* gold motes in the light (the stars of the night version) */
html:not([data-theme="dark"]) :is(.login-story,.splash)::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.8;
  background:radial-gradient(1.5px 1.5px at 9% 14%,#d4a24c,transparent),radial-gradient(1px 1px at 23% 61%,#e0b36299,transparent),radial-gradient(1.8px 1.8px at 37% 8%,#d9a85299,transparent),radial-gradient(1px 1px at 52% 88%,#c99a4a88,transparent),radial-gradient(1.4px 1.4px at 68% 22%,#e3b86a,transparent),radial-gradient(1.8px 1.8px at 81% 47%,#d6a45699,transparent),radial-gradient(1px 1px at 91% 9%,#c9984a88,transparent),radial-gradient(1.2px 1.2px at 14% 86%,#d8aa5c88,transparent),radial-gradient(1px 1px at 76% 79%,#e1b46699,transparent),radial-gradient(1.4px 1.4px at 44% 34%,#d4a24c66,transparent),radial-gradient(1px 1px at 61% 6%,#cf9f5088,transparent),radial-gradient(1.2px 1.2px at 4% 42%,#d8aa5c88,transparent)}
@keyframes day-drift{to{transform:translate(-4%,2%) scale(1.06)}}
@media (prefers-reduced-motion:reduce){html:not([data-theme="dark"]) :is(.login-story,.splash)::before{animation:none}}
/* the moon art sits on paper colour: multiply lets the afterglow show through, the mask fades its edge */
html:not([data-theme="dark"]) .login-logo{mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 62%,transparent 100%)}
html:not([data-theme="dark"]) .login-panel{background:radial-gradient(ellipse 60% 42% at 100% 0%,rgba(244,196,140,.16),transparent 70%),radial-gradient(ellipse 55% 40% at 0% 100%,rgba(236,150,120,.10),transparent 70%),#faf6ee;
  border-left:1px solid transparent;border-image:linear-gradient(180deg,transparent,#d9a85266 30%,#e3968066 70%,transparent) 1}
@media (max-width:760px){html:not([data-theme="dark"]) .login-panel{border-left:0;border-top:1px solid transparent;border-image:linear-gradient(90deg,transparent,#d9a85266 30%,#e3968066 70%,transparent) 1}}
/* concept link: gold hairline pill (rainbow at night) */
html:not([data-theme="dark"]) a.concept-link{border:1px solid transparent;background:linear-gradient(#fdf9f1,#fdf9f1) padding-box,linear-gradient(90deg,#e0b062,#e8977c,#c99a4a) border-box;box-shadow:0 0 22px rgba(232,170,90,.18)}
html:not([data-theme="dark"]) a.concept-link:hover{box-shadow:0 0 28px rgba(232,170,90,.32)}
/* --- polish pass --- */
.modal-head h2:focus{outline:none}
input[type=radio],input[type=checkbox]{width:18px;height:18px;accent-color:#8a6630;flex:none}
#booking-prev,#booking-next,#prev-month,#next-month{min-width:36px;min-height:36px}
@media(max-width:760px){
 /* the admin's eight tabs scroll sideways instead of running off-screen; the active one is centred on render */
 .mobile-bottom{overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;justify-content:flex-start}
 .mobile-bottom::-webkit-scrollbar{display:none}
 .mobile-bottom button{flex:1 0 auto;min-width:64px;scroll-snap-align:center}
 /* toasts sit above the bottom bar */
 #toast{bottom:calc(86px + env(safe-area-inset-bottom))}
 /* stats become compact rows: label and note on the left, the figure on the right */
 .stats{grid-template-columns:1fr;gap:8px}
 .stat{display:grid;grid-template-columns:1fr auto;column-gap:16px;row-gap:4px;align-items:center;padding:14px 16px}
 .stat .stat-label{grid-column:1}
 .stat .stat-value{grid-column:2;grid-row:1/3;margin:0;font-size:26px;white-space:nowrap}
 .stat .stat-foot{grid-column:1;margin:0}
 /* tables keep readable columns and scroll inside their panel */
 .table-scroll table{min-width:600px}
 .table-scroll th,.table-scroll td{white-space:nowrap}
}
.account-choice .choice-card input[type=radio]{width:18px;min-width:18px;height:18px}
/* cancellation fee settings (template / lesson forms) and the policy line on cards */
.fee-fields{border:1px solid var(--line);border-radius:12px;padding:10px 14px 6px;margin:4px 0 0;min-width:0}
.fee-fields legend{font-size:12px;color:var(--muted);padding:0 6px}
.fee-fields .form-grid{margin:0}
.fee-fields [hidden]{display:none!important}
.fee-line{font-size:11px;color:var(--muted);margin:-6px 0 12px;letter-spacing:.02em}
.lesson-meta+.fee-line{margin-top:-4px}
.fee-fields small[data-fee-unit]{display:inline;margin-left:4px}
.notification-content{white-space:pre-line}
