:root{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Segoe UI",sans-serif;color:#263a4c;background:#f5f7f9;font-size:16px;--navy:#224665;--line:#d8e1e9}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #ccd7e1;background:white;color:#29475f;border-radius:5px;min-height:38px;padding:7px 13px}button:hover{background:#edf3f8}button:disabled{cursor:wait;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3f8cbe;outline-offset:2px}header{min-height:78px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:14px 28px}.brand{display:flex;gap:11px;align-items:center}.mark{display:grid;place-items:center;width:40px;height:40px;background:var(--navy);color:white;border-radius:7px;font-size:23px;font-weight:700}.brand div{display:grid;gap:3px}.brand strong{letter-spacing:.12em;font-size:18px}.brand div span{font-size:14px;color:#6f8293}.header-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.quiet{font-size:14px;border:0;background:transparent}.primary{background:var(--navy);color:white;border-color:var(--navy)}.primary:hover{background:#315e81}.text-button{border:0;background:transparent;min-height:32px;padding:4px 8px;font-size:14px}.close{font-size:24px;border:0;background:transparent;padding:0 8px}.danger{color:#ad3f45;margin-right:auto}main{padding:22px 28px;max-width:1800px;margin:auto}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.navigation{display:flex;align-items:center;gap:8px}.navigation>button:first-child,.navigation>button:nth-child(3){font-size:25px;line-height:1;padding:4px 11px}.day-title{display:flex;align-items:center;gap:4px}#date{border:0;font-size:23px;font-weight:700;background:transparent;color:var(--navy);max-width:194px;min-height:44px}#weekday{color:#60788b}.switch,.mode-buttons{display:flex;border:1px solid #cbd7e2;border-radius:6px;overflow:hidden;background:white}.switch button,.mode-buttons button{border:0;border-radius:0;color:#647b8f;background:transparent}.switch button[aria-pressed=true]{background:var(--navy);color:white}.mode-buttons button{font-size:14px;min-height:31px;padding:5px 10px}.mode-buttons button[aria-pressed=true]{background:#edf2f6;color:#234763;font-weight:600}.subbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0;font-size:14px;color:#60788b}.inline-label{display:flex;align-items:center;gap:10px;margin:0;font-weight:500}.inline-label select{width:auto;min-width:160px;padding:6px 9px;font-size:16px}.legend{display:flex;gap:17px;align-items:center}.key:before{content:"";display:inline-block;width:12px;height:12px;border-radius:2px;vertical-align:-1px;margin-right:6px;background:var(--bg);border:1px solid var(--border)}.office{--bg:#fff;--border:#b8c6d0;--text:#3a5163}.visit{--bg:#e3effb;--border:#92b7d9;--text:#244f77}.meeting{--bg:#fae9f0;--border:#d7a6bb;--text:#84546b}.leave{--bg:#f9dddd;--border:#d69898;--text:#a54040}.shared{background:white;border:1px solid var(--line);border-radius:6px;padding:10px 15px}.shared-head{display:flex;gap:12px;align-items:center}.shared h2{font-size:14px;color:#526e85;margin:0;white-space:nowrap;font-weight:600}.shared-head button{margin-left:auto}.shared-item{display:flex;text-align:left;align-items:baseline;gap:14px;width:100%;border:0;background:transparent;padding:4px 0;min-height:30px;border-radius:0}.shared-item strong{font-size:16px;font-weight:600}.shared-item span{font-size:14px;color:#697f90;white-space:pre-wrap}.shared-item:hover{background:#f3f6f9}.empty-shared{font-size:14px;color:#8496a5;padding:3px 0 2px;margin:0}.modebar{display:flex;gap:12px;align-items:center;margin:14px 0 5px}.modebar #connection{margin-left:auto;color:#6f8496;font-size:13px}.mode-notice{font-size:13px;color:#6c7d8b;line-height:1.6;margin:6px 0 12px}.load-error{padding:12px;border:1px solid #d7a2a2;background:#fff1f1;color:#a34040;margin:10px 0;font-size:14px}.board{border:1px solid #cbd8e2;background:white;border-radius:7px;overflow:auto;max-height:calc(100vh - 330px);min-height:300px;scrollbar-gutter:stable}.grid{min-width:1375px}.grid-row{display:grid;grid-template-columns:145px 100px 1fr 100px;min-height:43px}.grid-head{position:sticky;top:0;z-index:5;background:#f0f4f7;min-height:43px;border-bottom:1px solid #cbd8e2}.employee,.name-head{position:sticky;left:0;z-index:3;border-right:1px solid #d0dce5;border-bottom:1px solid #e6edf2;background:white;padding:8px 13px;display:flex;align-items:center;gap:6px}.employee{font-size:15px;font-weight:600;border-radius:0;text-align:left;min-height:43px}.employee:hover{background:#f2f6fa}.employee span{font-size:12px;font-weight:400;color:#7a8b99}.name-head{background:#f0f4f7;font-size:14px;font-weight:600;z-index:6}.timehead{position:relative;min-height:43px}.hour{position:absolute;top:13px;font-size:14px;color:#5c768b;transform:translateX(-50%)}.hour:first-child{transform:none;margin-left:5px}.hour:last-child{transform:translateX(-100%);margin-left:-5px}.track{position:relative;min-height:43px;border-bottom:1px solid #e6edf2;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),#eaf0f4 calc(100% / 24 - 1px),#eaf0f4 calc(100% / 24)),repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 12 - 1px),#d6e1e8 calc(100% / 12 - 1px),#d6e1e8 calc(100% / 12))}.slot{position:absolute;top:0;height:100%;width:4.16667%;border:0;background:transparent;border-radius:0;min-height:0;padding:0}.slot:hover{background:#edf4f9}.event{position:absolute;border:1px solid var(--border);border-left-width:3px;border-radius:4px;padding:4px 6px;color:var(--text);background:var(--bg);text-align:left;height:33px;min-height:0;overflow:hidden;z-index:2;display:flex;align-items:center;gap:6px;white-space:nowrap}.event:hover{background:var(--bg);filter:brightness(.97)}.event span{font-size:12px}.event strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis}.room-row .employee{background:#f4f6f8}.room-row .track{background-color:#fafbfc}.room-first{border-top:2px solid #c3d1dc}.hint{font-size:14px;color:#718697;line-height:1.7;margin:12px 0}.month-board{border:1px solid #ccd8e2;border-radius:7px;background:white;overflow:auto}.month-heading{padding:15px 18px;border-bottom:1px solid #dbe4eb;font-weight:600;font-size:18px}.week-head{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;background:#f3f6f9;font-size:14px;color:#6a8093;padding:9px 0}.sat{color:#4e80b3}.sun{color:#b26368}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:720px}.month-board>.week-head{min-width:720px}.month-cell{min-height:135px;border-right:1px solid #e0e7ed;border-top:1px solid #e0e7ed;padding:7px;display:flex;flex-direction:column;gap:5px}.month-cell:nth-child(7n){border-right:0}.other-month{background:#f7f9fa}.other-month .day-number{color:#a4b1ba}.month-day-top{display:flex;align-items:center;justify-content:space-between}.day-number{border:0;min-height:30px;background:transparent;padding:3px 8px;font-size:16px}.is-today .day-number{background:var(--navy);color:white;border-radius:50%;font-weight:600}.add-day{border:0;background:transparent;color:#8ea2b2;font-size:18px;min-height:30px;padding:0 6px}.month-event{display:flex;flex-direction:column;text-align:left;gap:2px;border:1px solid var(--border);background:var(--bg);color:var(--text);padding:5px 6px;min-height:36px;border-radius:3px;overflow-wrap:anywhere}.month-event:hover{background:var(--bg);filter:brightness(.97)}.month-event span{font-size:12px}.month-event strong{font-size:14px;font-weight:500}.month-notice{border:0;font-size:12px;color:#718492;background:#f2f4f7;text-align:left;padding:4px 5px;min-height:24px}.mini{font-size:13px;line-height:1.6;color:#778a9b;margin:4px 0 12px}dialog{width:min(520px,calc(100vw - 24px));border:1px solid #d2dfe8;border-radius:10px;padding:23px;box-shadow:0 24px 65px #183b5b35;max-height:91dvh}dialog::backdrop{background:#16365066}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.dialog-head h2{font-size:21px;margin:0}.wide-dialog{width:min(620px,calc(100vw - 24px))}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;margin-bottom:13px}label input,label select,label textarea{border:1px solid #bdccd8;border-radius:5px;padding:9px;min-width:0;width:100%;background:white;color:#263a4c;font-size:16px;font-weight:400}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}.error{color:#a53b3b;font-size:14px;line-height:1.5;margin:8px 0}.error:empty{display:none}fieldset{padding:13px 12px;border:1px solid #d8e3eb;border-radius:6px;margin:15px 0 0}legend{font-size:14px;padding:0 5px;color:#526e85;font-weight:600}.bulk-switch{display:flex;gap:12px;flex-wrap:wrap}.bulk-switch label{font-size:14px;font-weight:400;display:flex;flex-direction:row;align-items:center;gap:5px;margin:0}.bulk-switch input,.weekday-picks input{width:16px;min-width:16px;height:16px;accent-color:var(--navy)}.bulk-count{font-size:14px;color:var(--navy);margin:12px 0 0}.date-selection-head{display:flex;align-items:center;justify-content:space-between;margin:13px 0 7px}.date-selection-head strong{font-size:15px}.date-selection-head button{min-height:32px;padding:2px 10px;font-size:22px}.pick-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:5px}.pick-day{min-height:35px;border:1px solid transparent;padding:5px;background:#f5f8fa;font-size:14px}.pick-day[aria-pressed=true]{background:var(--navy);color:white}.pick-blank{min-height:35px}.weekday-picks{display:flex;gap:12px;flex-wrap:wrap}.weekday-picks label{flex-direction:row;align-items:center;gap:4px;font-weight:400}#periodSelection{margin-top:16px}.roster-row{display:grid;grid-template-columns:30px 1fr 80px auto auto auto;gap:5px;align-items:center;margin:7px 0}.roster-row input,.roster-row select{border:1px solid #ccd8e1;border-radius:4px;padding:8px;font-size:15px;width:100%;min-width:0}.roster-row span{font-size:13px;color:#8b9ba8}.roster-row button{padding:4px 9px;min-height:35px}.roster-add{display:flex;gap:8px;margin-top:14px}.history-row{padding:13px 0;border-top:1px solid #e0e7ed;display:flex;gap:14px;align-items:center}.history-row>div{flex:1;min-width:0}.history-row strong{font-size:14px;overflow-wrap:anywhere;font-weight:500}.history-row span{display:block;font-size:12px;color:#7a8e9f;margin-top:5px}.history-row button{font-size:14px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);background:var(--navy);color:white;border-radius:6px;padding:12px 20px;display:none;z-index:20;font-size:14px;box-shadow:0 4px 20px #163f6320}@media(min-height:1000px){.board{max-height:calc(100vh - 330px)}}@media(max-width:700px){header{padding:12px;align-items:center;flex-wrap:wrap;gap:8px}.brand strong{font-size:15px}.mark{width:34px;height:34px;font-size:20px}.header-actions{gap:3px;flex-wrap:wrap;justify-content:flex-end;flex:1}.quiet{font-size:12px;padding:5px;min-height:28px}.header-actions .primary{font-size:14px;padding:7px 9px}main{padding:16px 12px}.toolbar{flex-direction:column;align-items:flex-start;gap:12px}.navigation{gap:4px}#date{font-size:20px;max-width:172px}#weekday{font-size:14px}.navigation button{padding:7px 9px}.switch{width:100%}.switch button{flex:1;font-size:14px}.subbar{flex-wrap:wrap;gap:10px;font-size:14px}.legend{gap:11px;font-size:13px;flex-wrap:wrap}.shared{padding:9px 12px}.shared-item{align-items:flex-start;flex-direction:column;gap:3px}.modebar{gap:5px;flex-wrap:wrap}.modebar #connection{font-size:12px}.modebar>.text-button{font-size:12px;padding:4px}.mode-buttons button{font-size:13px;padding:5px 8px}.mode-notice{font-size:12px}.board{max-height:61dvh}.grid-row{grid-template-columns:115px 90px 1fr 90px}.grid{min-width:1300px}.employee{padding:8px 9px;font-size:14px}.room-row .employee{font-size:13px}.event span{font-size:12px}.roster-row{grid-template-columns:23px 1fr auto auto auto}.roster-row select{grid-column:2;grid-row:2}.roster-row button{padding:4px 7px}.roster-row input{font-size:14px}.shared-item strong{font-size:15px}dialog{padding:18px}.actions button{font-size:14px}.month-grid{min-width:720px}}

.margin-head{display:flex;align-items:center;justify-content:center;border-right:1px solid #d0dce5;background:#eef2f5;color:#718598;font-size:13px;padding:8px 5px}.margin-head:last-child{border-right:0;border-left:1px solid #d0dce5}.day-note{background:#f7f9fb;border:0;border-right:1px solid #d7e1e8;border-bottom:1px solid #e6edf2;border-radius:0;min-height:43px;text-align:center;padding:6px;color:#9aaab6;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5}.day-note:last-child{border-right:0;border-left:1px solid #d7e1e8}.day-note:hover{background:#eef3f7}.day-note.has-note{color:#385a74;font-weight:500}.month-day-note{background:#f3f6f8;border:1px solid #dce5ec;color:#516e84;font-size:13px;text-align:left;padding:3px 6px;min-height:26px;overflow-wrap:anywhere}

.login-body{min-height:100dvh;display:grid;place-items:center;background:#eef3f7;padding:24px}.login-card{max-width:430px;width:100%;padding:32px;background:white;border:1px solid #d7e1e9;border-radius:12px;box-shadow:0 12px 50px #183d5b0c}.login-card .brand{margin-bottom:32px}.login-card h1{font-size:22px;margin:0 0 12px}.login-card>p{font-size:14px;line-height:1.7;color:#708697;margin-bottom:25px}.login-card form>.primary{width:100%;margin-top:10px}.admin-login-choice{flex-direction:row;align-items:center;gap:8px;font-weight:400;color:#637c90;margin-top:16px}.admin-login-choice input{width:16px;height:16px;accent-color:#224665}.header-actions form{margin:0}

/* Clear, restrained office palette with readable schedule boundaries. */
:root{color:#172b43;background:#f1f4f8;--navy:#163454;--line:#a8b7c8}
header{border-bottom:3px solid var(--navy);padding-top:16px;padding-bottom:16px;box-shadow:0 2px 8px #16345408}
.brand div span,#weekday,.subbar,.shared h2,.shared-item span,.empty-shared,.modebar #connection,.mode-notice,.hint,.mini,.margin-head,.hour,.history-row span,.login-card>p{color:#435970}
button{border-color:#8fa3b9;color:#243f5d;font-weight:500}
.primary,.switch button[aria-pressed=true],.pick-day[aria-pressed=true]{color:white;background:var(--navy)}
.quiet{color:#334d68}.switch,.mode-buttons{border-color:#8fa3b9}.switch button,.mode-buttons button{color:#344d66}.mode-buttons button[aria-pressed=true]{background:#dce6f1;color:#163454;font-weight:700}
.shared{border-color:#a8b7c8;border-left:4px solid var(--navy);border-radius:4px}.board,.month-board{border:1px solid #8196ae;border-radius:4px;box-shadow:0 3px 12px #16345408}
.grid-head,.name-head,.margin-head{background:#e4ebf3;color:#203d5d;border-bottom-color:#8196ae;font-weight:700}
.name-head,.employee{border-right-color:#8fa3b9;border-bottom-color:#b9c6d4}.employee{color:#172b43;font-weight:600}.employee span{color:#4a5e73;font-size:13px}.employee:hover{background:#eaf0f7}
.track{border-bottom-color:#b9c6d4;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 12 - 1px),#8fa3b9 calc(100% / 12 - 1px),#8fa3b9 calc(100% / 12)),repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),#d0dae5 calc(100% / 24 - 1px),#d0dae5 calc(100% / 24))}
.slot:hover{background:#16345412}.hour{font-weight:600}.room-row .employee{background:#e8eef5}.room-row .track{background-color:#f2f5f9}.room-first{border-top:2px solid #7087a0}
.day-note{color:#536b83;background:#f0f4f8;border-color:#b9c6d4}.day-note.has-note{color:#203d5d;font-weight:600}.day-note:last-child{border-left-color:#8fa3b9}
.office{--bg:#fff;--border:#8095ac;--text:#20334b}.visit{--bg:#e4efff;--border:#5f8dbb;--text:#193f6d}.meeting{--bg:#f6e5ef;--border:#b47a9d;--text:#713552}.leave{--bg:#fbe5e5;--border:#bf7070;--text:#8a2828}
.event{border-radius:3px;border-left-width:4px}.event strong,.month-event strong{font-weight:600}.event span,.month-event span{font-size:13px;font-weight:500}
.week-head{background:#e4ebf3;color:#334d68;font-weight:600}.month-cell{border-color:#b9c6d4}.month-heading{border-color:#a8b7c8;color:#163454}.other-month .day-number{color:#647589}.add-day{color:#3b5877}.month-notice,.month-day-note{color:#334d68;background:#eaf0f6}.sat{color:#225d99}.sun{color:#a12f3b}
label input,label select,label textarea,fieldset,dialog,.roster-row input,.roster-row select{border-color:#8fa3b9}legend{color:#334d68}
.track.selecting-time{user-select:none;cursor:crosshair}.time-selection{position:absolute;inset-block:2px;z-index:4;pointer-events:none;border:2px solid #245a94;background:#c9def2e6;color:#163454;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px white}
@media(max-width:700px){header{padding:12px}.mode-notice{font-size:13px}.room-row .employee{font-size:14px}}

/* Compact shared calendar and date navigator. */
:root{--row-height:clamp(24px,calc((100dvh - 205px) / 32),30px);--lane-height:calc(var(--row-height) - 2px)}
header{min-height:54px;padding:8px 16px;gap:12px}.mark{width:32px;height:32px;font-size:20px}.brand strong{font-size:16px}.brand div{gap:0}.brand div span{font-size:13px}
main{padding:12px 16px;max-width:2000px}.calendar-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;align-items:start}.calendar-content{min-width:0}.calendar-sidebar{background:white;border:1px solid #a8b7c8;border-radius:4px;padding:8px;position:sticky;top:12px}.mini-month-nav{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:6px}.mini-month-nav strong{font-size:14px;color:#163454}.mini-month-nav button{min-height:26px;padding:0 7px;font-size:22px;border:0}.mini-week,.mini-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:2px}.mini-week{font-size:13px;line-height:24px;font-weight:600}.mini-date{min-height:28px;padding:2px 0;border:1px solid transparent;border-radius:3px;font-size:14px;font-weight:500}.mini-date.outside{opacity:.55}.mini-date.today{border-color:#245a94;font-weight:700}.mini-date[aria-pressed=true]{background:#163454;color:white;opacity:1}.mini-today{width:100%;font-size:14px;min-height:30px;margin-top:8px;padding:3px}
.toolbar{gap:8px}.navigation{gap:5px}#date{font-size:20px;min-height:34px;max-width:176px}.switch button{min-height:32px;padding:5px 10px}.subbar{margin:7px 0;gap:8px}.legend{gap:12px;flex-wrap:wrap}.shared{padding:4px 10px}.shared-head button{min-height:24px}.empty-shared{padding:0;font-size:13px}.modebar{margin:7px 0 3px;gap:8px}.mode-notice{margin:3px 0 7px;font-size:13px}.hint{font-size:13px;margin:6px 0;line-height:1.5}
.board{max-height:calc(100dvh - 205px);min-height:240px;scrollbar-gutter:auto}.grid{min-width:960px}.grid-row{grid-template-columns:112px 70px minmax(708px,1fr) 70px;min-height:var(--row-height)}.employee,.track,.day-note{min-height:var(--row-height)}.employee{padding:1px 8px;font-size:14px;line-height:20px}.room-row .employee{font-size:14px}.day-note{padding:1px 4px;font-size:14px;line-height:20px}.grid-head,.timehead{min-height:30px}.name-head,.margin-head{padding:3px 4px;font-size:13px}.hour{top:7px;font-size:13px}.event{height:calc(var(--row-height) - 4px);padding:0 4px;gap:4px;line-height:18px}.event strong{font-size:14px}.event span{font-size:12px}.time-selection{font-size:13px}.room-first{border-top-width:1px}
.guest{--bg:#def3e8;--border:#4d9677;--text:#195d40}.other{--bg:#ede7fb;--border:#8b72b9;--text:#513779}
@media(min-height:1000px){.board{max-height:calc(100dvh - 205px)}}
@media(max-width:1100px){.calendar-layout{grid-template-columns:170px minmax(0,1fr)}.calendar-sidebar{padding:6px}.legend{gap:8px}.toolbar{flex-wrap:wrap}.board{max-height:calc(100dvh - 245px)}}
@media(max-width:700px){:root{--row-height:30px}.calendar-layout{grid-template-columns:minmax(0,1fr)}.calendar-sidebar{position:static;max-width:220px}.calendar-content{width:100%}header{padding:8px 12px}main{padding:10px 12px}.board{max-height:65dvh}.grid-row{grid-template-columns:112px 70px minmax(708px,1fr) 70px}.toolbar{gap:8px}.subbar{margin:8px 0}.event span{font-size:12px}}

.target-actions{display:flex;gap:8px;margin-bottom:9px}.target-actions button{font-size:14px;min-height:30px;padding:3px 9px}.target-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 8px;max-height:190px;overflow:auto;padding:3px}.target-people label{flex-direction:row;align-items:center;gap:5px;font-weight:400;margin:0;font-size:14px;min-height:24px}.target-people input{width:16px;min-width:16px;height:16px;margin:0;accent-color:var(--navy)}#targetCount{margin:7px 0 0}.modebar{justify-content:flex-end}.modebar #connection{margin-left:0}
@media(max-width:420px){.target-people{grid-template-columns:repeat(2,minmax(0,1fr))}}

.selected-event{outline:2px solid #173e6b!important;outline-offset:-2px;box-shadow:0 0 0 1px #173e6b;z-index:3}.event-menu{position:fixed;z-index:30;width:174px;background:white;border:1px solid #869ab1;border-radius:4px;padding:4px;box-shadow:0 6px 22px #16345430}.event-menu button{display:block;width:100%;border:0;border-radius:2px;text-align:left;font-size:14px;min-height:34px;padding:6px 12px}.event-menu .menu-danger{color:#a02d38}.affected-events{max-height:210px;overflow:auto;display:grid;gap:5px;border:1px solid #b8c6d6;padding:8px;border-radius:4px}.affected-events label{display:flex;flex-direction:row;align-items:start;font-weight:400;font-size:14px;line-height:1.6;margin:0;gap:7px}.affected-events input{width:16px;min-width:16px;height:16px;margin:3px 0 0;accent-color:var(--navy)}#editSummary,#deleteSummary{white-space:pre-line;font-size:14px;color:#243f5d;line-height:1.6}

/* Thin schedule grid and clear title-first blocks, matching the reference. */
:root{background:#fff;color:#111;--row-height:clamp(24px,calc((100dvh - 205px) / 34),30px);--line:#b5b5b5}header{box-shadow:none;border-bottom:1px solid #969696}.board,.month-board{border:1px solid #606060;border-radius:0;box-shadow:none}.grid-head,.name-head,.margin-head{background:#fff;color:#111;border-bottom:1px solid #606060}.employee,.day-note{color:#111;border-color:#717171;background:transparent}.grid-row:not(.grid-head){background:#fff}.grid-row:not(.grid-head):nth-child(even){background:#efedf4}.track{border-bottom:1px solid #717171;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 12 - 1px),#646464 calc(100% / 12 - 1px),#646464 calc(100% / 12))}.room-row .employee,.room-row .track{background-color:transparent}.day-note{background:transparent}.day-note:last-child{border-color:#717171}.employee:hover,.slot:hover,.day-note:hover{background:#dfe8f2}.room-first{border-top:1px solid #606060}.hour{color:#111;font-weight:500}.event{border:1px solid #333;border-radius:0;padding:0 3px;gap:0;box-shadow:none}.event strong{font-size:14px;font-weight:500;min-width:0;white-space:nowrap}.office{--bg:#fff;--border:#555;--text:#111}.visit{--bg:#c2edff;--border:#333;--text:#111}.meeting{--bg:#f5caf2;--border:#333;--text:#111}.leave{--bg:#ffdfdf;--border:#333;--text:#8a1313}.guest{--bg:#baf3cb;--border:#333;--text:#111}.other{--bg:#e1d8ff;--border:#333;--text:#111}.month-event{border-radius:0;border-color:#555}.month-cell{border-color:#8e8e8e}.week-head{background:#efedf4;color:#111}.month-heading{color:#111}.calendar-sidebar,.shared{border-radius:0;box-shadow:none}.selected-event{outline:2px solid #173e6b!important;outline-offset:-2px}
.print-output{display:none}.print-preview{max-height:45dvh;overflow:auto;margin-top:18px}.print-document{color:#111;background:#fff;font-family:Arial,"Noto Sans JP",sans-serif}.print-document h1{font-size:20px;margin:0 0 8px}.print-document h2{font-size:18px;margin:0 0 5px}.print-period{font-size:14px;margin:0 0 14px}.print-document table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.print-document th,.print-document td{border:1px solid #555;padding:6px 5px;text-align:left;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.print-document th{background:#eee;font-weight:600}.print-document th:nth-child(1){width:17%}.print-document th:nth-child(2){width:12%}.print-document th:nth-child(3){width:22%}.print-document th:nth-child(4){width:9%}.print-document th:nth-child(5){width:24%}.print-document th:nth-child(6){width:16%}
@media print{@page{size:A4 landscape;margin:12mm}body{background:white}body>*{display:none!important}body>#printOutput{display:block!important}.print-document{width:100%}.print-document thead{display:table-header-group}.print-document tr{break-inside:avoid}.print-document h1,.print-document h2,.print-period{break-after:avoid}}

.holiday,.mini-date.holiday,.other-month .day-number.holiday{color:#b42332}.holiday-name{color:#b42332;font-size:13px;line-height:1.4}.holiday-cell{background:#fff8f8}.mini-date.holiday{font-weight:700;text-decoration:underline;text-underline-offset:3px}.mini-date.holiday[aria-pressed=true],.pick-day.holiday[aria-pressed=true],.is-today .day-number.holiday{color:white}#weekday.holiday{font-weight:600}
