:root{font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#142b35;background:#f3f6f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,.slot:focus-visible{outline:3px solid #4db6a5;outline-offset:2px}.shell{max-width:1360px;min-height:100vh;margin:auto;padding:0 24px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9e4e2}.brand{display:flex;align-items:center;gap:12px}.text-button{border:0;background:transparent;color:#225b60;font-weight:750;padding:10px}.notice,.message{border-radius:12px;padding:12px 16px;margin:18px 0 0;font-size:14px;line-height:1.5}.notice{color:#4e5b29;background:#f4f5dc;border:1px solid #e6eab8}.message{background:#e9f4f1;color:#18544b;border:1px solid #bfded5}.message.error{color:#912f38;background:#fff0f1;border-color:#edc9cd}.create-view{max-width:600px;margin:70px auto 95px}.heading{margin-bottom:26px}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:800;color:#288978;margin:0 0 10px}.heading h1,.room-head h1{font-size:clamp(29px,3vw,42px);letter-spacing:-.055em;line-height:1.18;margin:0}.heading>p:last-child,.subtitle{color:#627a80;line-height:1.6;margin:12px 0 0;font-size:16px}.panel{background:#fff;border:1px solid #dbe6e4;border-radius:19px;box-shadow:0 8px 30px rgba(17,55,62,.035)}.form-panel{display:grid;gap:20px;padding:28px}label{font-size:14px;font-weight:750;display:block}input,select{width:100%;border:1px solid #cbdad8;border-radius:10px;background:white;color:#17333b;padding:11px 12px;min-height:46px;margin-top:8px;font-size:16px}select{appearance:auto}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.help{color:#70838a;font-size:13px;margin:-5px 0 0}.primary,.outline{border-radius:11px;border:1px solid #123c45;min-height:44px;padding:10px 17px;font-weight:750;font-size:14px;white-space:nowrap}.primary{color:#fff;background:#123c45}.primary:hover{background:#205762}.outline{background:white;color:#123c45}.outline:hover{background:#edf6f4}.form-panel .primary{display:flex;justify-content:space-between;align-items:center}.room-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:35px 0 22px}.room-head .subtitle{font-size:14px;margin-top:7px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:18px;align-items:start}.main-column,.side-column{min-width:0;display:grid;gap:18px}.join-panel{padding:22px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}.join-panel h2{font-size:17px;margin:0 0 5px}.join-panel p{font-size:13px;color:#6b8187;margin:0;line-height:1.5}.join-panel form{display:flex;gap:8px}.join-panel input{width:145px;margin:0}.section-head{display:flex;justify-content:space-between;align-items:start;gap:14px}.section-head h2{font-size:19px;letter-spacing:-.03em;margin:0}.section-head p:not(.eyebrow){font-size:13px;line-height:1.45;color:#6d8186;margin:5px 0 0}.calendar-panel{overflow:hidden}.calendar-panel>.section-head{padding:23px 23px 0}.save-status{font-size:12px;color:#567a76;white-space:nowrap}.legend{display:flex;gap:16px;flex-wrap:wrap;padding:17px 23px;font-size:12px;color:#62777d}.legend span{display:flex;align-items:center;gap:6px}.swatch{width:13px;height:13px;border:1px solid #d3e0dd;border-radius:3px;display:inline-block}.swatch.free{background:#fff}.swatch.busy{background:#175d66;border-color:#175d66}.swatch.others{background:#c2ded8;border-color:#aacfc7}.calendar-scroll{overflow:auto;max-height:580px;overscroll-behavior:contain;border-top:1px solid #dfe9e7;border-bottom:1px solid #dfe9e7}.grid{display:grid;width:max-content;min-width:100%;grid-template-columns:74px repeat(var(--days),minmax(96px,1fr))}.grid-head,.grid-time{position:sticky;z-index:2;background:#f8faf9;font-size:12px;color:#5b747b;font-weight:750}.grid-head{top:0;text-align:center;padding:12px 3px;border-bottom:1px solid #dce7e4;border-right:1px solid #e6eeec}.grid-corner{left:0;z-index:4}.grid-time{left:0;z-index:3;text-align:center;padding:8px 3px;border-right:1px solid #dce7e4;border-bottom:1px solid #e8efed;font-variant-numeric:tabular-nums}.grid-time.half{color:transparent}.slot{appearance:none;border:0;border-right:1px solid #e8efed;border-bottom:1px solid #e8efed;background:#fff;min-height:31px;border-radius:0;margin:0;padding:0;position:relative;touch-action:none;user-select:none}.slot.hour{border-bottom-color:#d6e3e0}.slot:hover{box-shadow:inset 0 0 0 2px #78b4a9;z-index:1}.slot.others{background:#dcece8}.slot.others.many{background:#add6cd}.slot.mine{background:#175d66}.slot.mine:hover{background:#24717a}.slot:disabled{cursor:default;opacity:1}.slot:disabled:hover{box-shadow:none}.calendar-foot{padding:16px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6a8084;font-size:12px}.people-panel,.result-panel{padding:22px}.count{font-size:13px;background:#e7f3ef;color:#286d61;border-radius:20px;padding:5px 9px}.member-list{display:grid;gap:10px;margin-top:19px}.member{display:flex;align-items:center;gap:10px;font-size:14px}.avatar{width:32px;height:32px;display:grid;place-items:center;background:#e8f2ef;color:#286d61;border-radius:10px;font-weight:800}.member-name{font-weight:700;flex:1;min-width:0;overflow-wrap:anywhere}.pill{font-size:12px;color:#637b81}.pill.ready{color:#187b69;font-weight:750}.duration-label{margin-top:21px;color:#435e64}.duration-label select{font-size:14px;margin-top:7px}.result-note{font-size:12px;color:#74888b;line-height:1.5;margin:14px 0}.results{display:grid;gap:9px}.result{border:1px solid #d9e7e3;background:#f8fbfa;border-radius:12px;padding:13px 14px}.result.best{background:#eaf5f1;border-color:#b8dbd1}.result .day{color:#278472;font-weight:800;font-size:12px;margin-bottom:5px}.result .time{font-weight:800;font-size:16px;letter-spacing:-.025em}.result .detail{font-size:12px;color:#687f83;margin-top:5px;line-height:1.45}.empty{font-size:14px;color:#627c80;line-height:1.6;border:1px dashed #cbdcd7;border-radius:12px;padding:18px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{font-size:12px;color:#87999a;padding:31px 0 42px}@media(max-width:1060px){.workspace{grid-template-columns:minmax(0,1fr) 285px}.join-panel{grid-template-columns:1fr}.join-panel form{justify-content:start}}@media(max-width:760px){.shell{padding:0 13px}.topbar{height:68px}.room-head{margin:27px 0 17px;align-items:start}.room-head .outline{padding:8px 10px;font-size:12px}.workspace{display:flex;flex-direction:column}.main-column,.side-column{width:100%}.side-column{display:contents}.people-panel{order:1}.main-column{order:2}.result-panel{order:3}.calendar-panel>.section-head{padding:18px 16px 0}.legend{padding:13px 16px;gap:9px}.calendar-foot{padding:13px 16px}.create-view{margin:43px auto}.form-panel{padding:20px}.join-panel form{width:100%}.join-panel input{flex:1;min-width:0}.grid{grid-template-columns:57px repeat(var(--days),minmax(79px,1fr))}.grid-time{font-size:11px}.people-panel,.result-panel{padding:18px}}@media(max-width:430px){.room-head{display:block}.room-head .outline{margin-top:14px}.form-row{gap:9px}.calendar-foot{align-items:stretch;flex-direction:column}.calendar-foot .primary{width:100%}.heading h1,.room-head h1{font-size:29px}}
/* Shared navigation and narrow-screen layout */
[hidden]{display:none!important}main,.workspace,.form-row>label{min-width:0}.home-actions,.room-list{display:grid;gap:16px}.choice{width:100%;text-align:left;padding:24px;color:#17333b;display:grid;gap:10px;min-height:110px;overflow-wrap:anywhere}.choice:hover{border-color:#288978;background:#edf6f3}.choice strong{font-size:22px}.choice span{font-size:14px;line-height:1.6;color:#627a80}.toggle,.scroll-toggle{display:flex;gap:9px;align-items:center;line-height:1.5}.toggle input,.scroll-toggle input{width:20px;min-height:20px;margin:0;flex:none}.scroll-toggle{font-size:12px;padding:0 16px 14px;color:#627a80}.scroll-mode .slot{touch-action:auto}.join-panel select{width:190px;margin:0}.grid-time.half{color:#78908f}.slot{min-height:40px}.room-head h1{overflow-wrap:anywhere}.room-head>div{min-width:0}.pill{background:#f0f2f2;border-radius:6px;padding:4px 6px;white-space:nowrap}.pill.ready{background:#e3f4e9}.count{white-space:nowrap}.save-status{white-space:normal;text-align:right}.form-row input{min-width:0;max-width:100%}input[type=date]{min-width:0;width:100%;appearance:none;-webkit-appearance:none}.grid-head{white-space:nowrap}.calendar-scroll{isolation:isolate;-webkit-overflow-scrolling:touch}
@media(max-width:760px){.member-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.member{gap:5px;font-size:13px}.avatar{display:none}.pill{font-size:11px}.join-panel select{flex:1;min-width:0;width:100%}.people-panel{width:100%}.calendar-scroll{max-height:55vh}.grid{grid-template-columns:57px repeat(var(--days),minmax(95px,1fr))}.slot{min-height:44px}.shell{padding-bottom:env(safe-area-inset-bottom)}.topbar{gap:8px}.text-button{flex:none}.form-panel{padding:18px}}
@media(max-width:360px){.form-row{grid-template-columns:1fr}.member-list{gap:10px 8px}.people-panel{padding:14px}}
.room-actions{display:flex;gap:10px;flex-wrap:wrap;flex:none}.danger-outline{color:#a3343e;border-color:#d7a7ac}.danger-outline:hover{background:#fff1f2}.delete-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid #dbe6e4;border-radius:19px;color:#142b35;box-shadow:0 18px 70px #102d3840}.delete-dialog::backdrop{background:#102d3866}.delete-dialog h2{font-size:23px;margin:0 0 12px}.delete-dialog p{font-size:15px;line-height:1.7;overflow-wrap:anywhere}.delete-room-name{font-weight:750;color:#286d61}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.danger{background:#a3343e;border-color:#a3343e}.danger:hover{background:#832630}.delete-error{color:#a3343e}.delete-dialog button{min-height:46px}@media(max-width:760px){.room-head{flex-wrap:wrap}.room-actions{width:100%}.room-head .room-actions .outline{margin-top:0;min-height:44px}.delete-dialog{padding:22px}.dialog-actions>*{flex:1}}

.brand-logo{display:block;height:62px;width:auto;max-width:100%;object-fit:contain;border-radius:10px}.brand{min-width:0;flex-shrink:0}@media(max-width:760px){.brand-logo{height:48px;border-radius:8px}}
.brand{flex-shrink:1;gap:12px}.brand-text{min-width:0}.brand-text strong,.brand-text small{display:block}.brand-text strong{font-size:18px;line-height:1.4;word-break:keep-all}.brand-text small{font-size:12px;color:#648087;margin-top:3px}.brand-logo{flex:none}.site-name{font-weight:750;color:#286d61;font-size:18px}.overview-view{margin:36px auto}.overview-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:18px}.overview-controls{display:grid;gap:18px;align-content:start}.month-panel,.selection-panel,.day-panel,.fixed-list-panel{padding:22px;min-width:0}.month-nav{display:flex;justify-content:space-between;align-items:center;gap:8px}.month-nav h2{font-size:20px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.month-grid>span{padding:8px 0;color:#648087;font-size:13px}.month-day{min-height:44px;border:0;background:#f2f6f4;border-radius:8px;color:#17333b}.month-day[aria-pressed=true]{background:#175d66;color:white}.month-day.today{box-shadow:inset 0 0 0 2px #4db6a5}.overview-members{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:14px}.member-check,.weekday-checks label{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px;cursor:pointer}.member-check input,.weekday-checks input{width:20px;min-height:20px;margin:0;flex:none}.member-check span{border-left:4px solid;padding-left:6px;font-size:14px}.weekday-checks{display:flex;flex-wrap:wrap;gap:4px}fieldset{min-width:0;border:1px solid #dbe6e4;border-radius:10px}legend{font-size:14px}.fixed-list-panel{margin-top:18px}.fixed-item{border-top:1px solid #dbe6e4;padding:12px 0}.fixed-item p{line-height:1.6;overflow-wrap:anywhere}.day-panel h2{margin-top:0;font-size:22px}.day-panel>.help{margin:0 0 18px;line-height:1.6}.timeline-scroll{max-height:760px;overflow:auto;overscroll-behavior:contain;isolation:isolate}.daily-grid{display:grid;grid-template-columns:58px repeat(var(--columns),minmax(148px,1fr));grid-template-rows:44px repeat(var(--rows),66px);width:max-content;min-width:100%;position:relative}.daily-head{grid-row:1;background:#eef4f1;position:sticky;top:0;z-index:5;padding:12px 6px;text-align:center;font-weight:750;border:1px solid #dae5e1;font-size:14px}.time-head{left:0;z-index:7}.daily-time{position:sticky;left:0;z-index:4;background:#f8faf9;text-align:center;font-size:12px;padding-top:8px;border-bottom:1px solid #dbe6e4}.daily-cell{border-bottom:1px solid #dbe6e4;border-right:1px solid #e8eeeb}.common-free{background:#f0f8f2}.daily-event{z-index:2;border-left:4px solid;border-radius:6px;padding:6px 7px;min-width:0;overflow:auto;align-self:stretch;box-shadow:inset 0 0 0 1px #ffffff80;overflow-wrap:anywhere}.daily-event strong,.daily-event span,.daily-event small{display:block}.daily-event strong{font-size:13px}.daily-event span{font-size:12px;white-space:nowrap}.daily-event small{font-size:11px;margin-top:2px}.timeline-end{padding:16px 6px;line-height:1.7;position:sticky;left:0;max-width:100%;margin:0}@media(max-width:760px){.brand-text strong{font-size:15px}.brand-text small{font-size:11px}.brand-logo{height:42px}.brand{gap:8px}.topbar{height:auto;min-height:76px;padding:8px 0}.overview-layout{grid-template-columns:minmax(0,1fr)}.overview-view{margin-top:28px}.month-panel,.selection-panel,.day-panel{padding:16px}.timeline-scroll{max-height:65vh}.month-grid{gap:3px}.month-day{min-height:44px}.brand-text{max-width:190px}.text-button{padding:8px;font-size:12px}}
/* Compact overview: controls stay outside the independently scrolling timeline. */
.overview-active .shell{height:100dvh;min-height:0;display:flex;flex-direction:column}.overview-active .topbar{flex-shrink:0}.overview-active main{flex:1;min-height:0;display:flex;flex-direction:column}.overview-active footer{display:none}.overview-active .notice,.overview-active .message{flex:none;margin-top:8px;padding:7px 12px;font-size:12px}.overview-view{display:flex;flex-direction:column;flex:1;min-height:0;margin:18px 0 12px}.overview-view>.heading{flex:none;margin:0 0 12px}.overview-view>.heading .eyebrow{display:none}.overview-view>.heading h1{font-size:26px}.overview-view>.heading>p:last-child{font-size:13px;margin-top:4px}.overview-layout{flex:1;min-height:0;grid-template-columns:280px minmax(0,1fr);gap:12px}.overview-controls{min-height:0;overflow:auto}.month-panel{padding:12px}.month-panel summary{cursor:pointer;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;list-style:none}.month-panel summary::-webkit-details-marker{display:none}.month-panel summary::after{content:'▾'}.month-panel[open] summary::after{content:'▴'}.month-panel summary strong{font-size:12px;margin-left:auto}.month-nav h2{font-size:17px;margin:8px 0}.month-nav .outline{min-height:34px;padding:5px 10px}.month-grid{gap:2px}.month-grid>span{padding:3px 0;font-size:11px}.month-day{min-height:30px;font-size:12px}.day-panel{padding:12px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.timeline-toolbar{flex:none;background:white;z-index:8}.timeline-summary,.member-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.timeline-summary h2{font-size:17px;margin:0;line-height:1.4}.timeline-summary>strong{font-size:12px;white-space:nowrap;color:#286d61}.member-toolbar{margin-top:5px;font-size:12px;font-weight:700}.member-toolbar .room-actions{width:auto;gap:6px}.member-toolbar .outline{font-size:12px;min-height:32px;padding:5px 10px}.overview-members{display:flex;overflow-x:auto;gap:6px;margin:4px 0 0;padding-bottom:3px;overscroll-behavior-x:contain;min-width:0}.member-check{flex:none;min-height:44px;padding:6px 9px;border:1px solid #dbe6e4;border-radius:20px;font-weight:650}.member-check:has(input:checked){background:#eaf5f1;border-color:#8dc2b5}.member-check span{font-size:12px}.member-check input{width:18px;min-height:18px}.compact-legend{font-size:11px;line-height:1.4;margin:3px 0 6px;color:#627a80;flex:none}.day-panel .timeline-scroll{flex:1;min-height:0;max-height:none;overflow:auto;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}.daily-grid{grid-template-rows:30px repeat(var(--rows),24px)}.daily-head{padding:6px 3px;font-size:12px}.daily-time{padding-top:3px;font-size:10px}.daily-event{padding:1px 4px;border-left-width:3px;border-radius:3px;overflow:hidden;line-height:1.1;overflow-wrap:normal}.daily-event strong,.daily-event span,.daily-event small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15}.daily-event strong{font-size:11px}.daily-event span{font-size:10px}.daily-event small{font-size:10px;margin-top:1px}.daily-event.short-event{display:flex;align-items:center;gap:4px}.daily-event.short-event strong{flex:none}.daily-event.short-event span{min-width:0}.daily-event.short-event small{display:none}.timeline-end{font-size:10px;padding:8px 4px}.day-panel>.empty{padding:14px;font-size:13px;overflow:auto;min-height:0}@media(max-width:760px){.overview-view{margin:8px 0}.overview-view>.heading{margin-bottom:6px}.overview-view>.heading h1{font-size:21px}.overview-view>.heading>p:last-child{display:none}.overview-layout{display:flex;flex-direction:column;gap:6px}.overview-controls{flex:none;max-height:42dvh;overflow:auto;display:block}.month-panel{padding:4px 10px;border-radius:12px}.month-panel summary{min-height:36px}.month-grid{gap:2px}.month-grid>span{padding:1px 0;font-size:10px}.month-day{min-height:27px;font-size:12px;border-radius:5px}.month-nav{gap:4px}.month-nav h2{font-size:15px;margin:4px 0}.month-nav .outline{min-height:30px}.day-panel{flex:1;padding:8px;border-radius:12px}.timeline-summary h2{font-size:15px}.daily-grid{grid-template-rows:28px repeat(var(--rows),22px)}.daily-time{font-size:10px;padding-top:2px}.overview-active .topbar{min-height:62px;padding:5px 0}.overview-active .brand-logo{height:36px}.overview-active .brand-text strong{font-size:13px}.overview-active .brand-text small{font-size:10px}.overview-active .notice,.overview-active .message{font-size:11px;padding:5px 8px;margin-top:4px}.compact-legend{font-size:10px}.member-toolbar{margin-top:3px}}
