.wfh-cal{--ink: var(--gm-ink, #6b4a2b);--cream: #fffdf3;--line: #e3dcc0;--green: #2f8a57;--green-bg: #e3f4e6;--orange: #c0602a;--orange-bg: #fde9d6;--gold: var(--gm-gold, #f4c64f);font-family:var(--gm-font, ui-rounded, system-ui, sans-serif);color:#3b3a2c;display:flex;flex-direction:column;gap:14px}.wfh-cal button{font:inherit;cursor:pointer}.wfh-kicker{margin:0;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7d8a62}.wfh-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.wfh-head h1{margin:2px 0 0;font-size:30px;line-height:1.1;font-weight:700;color:var(--ink)}.wfh-window{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:16px;border:2.5px solid}.wfh-window strong{display:block;font-size:14px}.wfh-window small{display:block;font-size:13px;font-variant-numeric:tabular-nums;opacity:.85}.wfh-window.is-open{background:var(--green-bg);border-color:#8fcaa0;color:#1f5e3a}.wfh-window.is-closed{background:#fdecea;border-color:#eab0a8;color:#8a3226}.wfh-window-dot{width:10px;height:10px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 18%,transparent);flex-shrink:0}.wfh-rules{background:#f4f1dc;border:2px solid var(--line);border-radius:16px}.wfh-rules-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:8px 16px;background:none!important;border:0!important;box-shadow:none!important;color:var(--ink)!important;font-weight:700!important;font-size:14px}.wfh-rules ul{margin:0;padding:0 16px 14px 34px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:6px 24px;font-size:13.5px;line-height:1.4;color:#54513c}.wfh-rules li.key{font-weight:700;color:var(--ink)}.wfh-monthbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wfh-monthbar h2{margin:0 4px;font-size:22px;font-weight:700;color:var(--ink);min-width:170px;text-align:center}.wfh-nav,.wfh-today-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:14px!important;background:#fffef6!important;border:2.5px solid var(--ink)!important;box-shadow:0 3px 0 var(--ink)!important;color:var(--ink)!important;padding:0 12px;font-weight:600}.wfh-nav:active,.wfh-today-btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)!important}.wfh-legend{margin-left:auto;display:flex;gap:8px;font-size:13px;font-weight:600}.wfh-legend span{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px}.wfh-legend .is-wfh{background:var(--green-bg);color:var(--green)}.wfh-legend .is-leave{background:var(--orange-bg);color:var(--orange)}.wfh-summary{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin}.wfh-summary-empty{font-size:13.5px;color:#7d7a60;padding:6px 2px}.wfh-summary-item{display:flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 12px 4px 4px;background:var(--cream);border:2px solid var(--line);border-radius:999px}.wfh-summary-item b{display:block;font-size:13px;line-height:1.1}.wfh-summary-item small{display:block;font-size:11.5px;color:#6f6b52;white-space:nowrap}.wfh-face{display:inline-block;-o-object-fit:contain;object-fit:contain;flex-shrink:0}.wfh-face-initials{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e7e1c6;color:var(--ink);font-weight:700}.wfh-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 2px;border-radius:999px;border:1.5px solid;font-size:12px;font-weight:700;line-height:1;white-space:nowrap}.wfh-chip.is-wfh{background:var(--green-bg);border-color:#9fd3ae;color:var(--green)}.wfh-chip.is-leave{background:var(--orange-bg);border-color:#f1bf94;color:var(--orange)}.wfh-chip-name{color:#3b3a2c}.wfh-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.wfh-grid-dow{text-align:center;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#7d8a62;padding:2px 0}.wfh-day{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:6px;min-height:118px;padding:8px;text-align:left;background:var(--cream)!important;border:2px solid var(--line)!important;border-radius:16px!important;box-shadow:0 3px #e8e1c5!important;color:inherit!important;transition:transform .12s ease,border-color .12s ease}.wfh-day:hover{border-color:#c9bd8c!important;transform:translateY(-1px)}.wfh-day:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.wfh-day-top{display:flex;align-items:center;gap:6px}.wfh-day-num{font-size:17px;font-weight:700;color:var(--ink);min-width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.wfh-day-dow{display:none;font-size:13px;font-weight:600;color:#7d7a60}.wfh-cap{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:700;color:#7d7a60;background:#f1ecd4;padding:2px 7px;border-radius:999px}.wfh-cap.is-over{background:#fbd9d3;color:#a33a2c}.wfh-day-add{margin-left:auto;width:26px;height:26px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#eef4e2;color:var(--green);border:1.5px solid #cfe0bd;opacity:0;transition:opacity .12s}.wfh-day:hover .wfh-day-add,.wfh-day:focus-visible .wfh-day-add{opacity:1}.wfh-day-block{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#7c6f58}.wfh-day-people{display:flex;flex-wrap:wrap;gap:4px}.wfh-day-briefs{display:flex;flex-wrap:wrap;gap:4px;margin-top:auto}.wfh-brief{display:inline-flex;align-items:center;gap:3px;max-width:100%;font-size:11px;font-weight:600;color:#6a4c95;background:#efe7fa;border-radius:8px;padding:2px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wfh-day.is-today{border-color:var(--gold)!important;box-shadow:0 3px #d9a93a!important}.wfh-day.is-today .wfh-day-num{background:var(--gold);color:#4a3510}.wfh-day.is-blocked{background:repeating-linear-gradient(135deg,#f7f3e2 0,#f7f3e2 8px,#efe9d2 8px,#efe9d2 16px)!important}.wfh-day.is-over{border-color:#eaa597!important}.wfh-day.is-past{background:#f4f1e4!important;box-shadow:none!important}.wfh-day.is-past .wfh-day-num,.wfh-day.is-past .wfh-chip{opacity:.6}.wfh-day.is-out{opacity:.35}.wfh-agenda{display:none}.wfh-loading{text-align:center;padding:40px 0;color:#7d7a60}@media (max-width: 640px){.wfh-head h1{font-size:26px}.wfh-window{width:100%}.wfh-monthbar h2{flex:1;min-width:0;font-size:20px}.wfh-legend{width:100%;margin-left:0}.wfh-grid{display:none}.wfh-agenda{display:flex;flex-direction:column;gap:14px}.wfh-week h3{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#7d8a62}.wfh-week{display:flex;flex-direction:column;gap:6px}.wfh-agenda .wfh-day{min-height:0;display:grid;grid-template-columns:58px 1fr;-moz-column-gap:10px;column-gap:10px;row-gap:4px;padding:10px 12px}.wfh-agenda .wfh-day-top{grid-row:1 / span 3;flex-direction:column;align-items:center;gap:2px}.wfh-agenda .wfh-day-num{font-size:20px;width:34px;height:34px}.wfh-agenda .wfh-day-dow{display:block;font-size:12px}.wfh-agenda .wfh-cap,.wfh-agenda .wfh-day-add{display:none}.wfh-agenda .wfh-day-people:empty:before{content:"Everyone in";font-size:13px;color:#9a957a;padding:6px 0}.wfh-agenda .wfh-day-briefs{margin-top:0}}.wfh-sheet-shade{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#2a2a1a55}body.studio-village .wfh-sheet,.wfh-sheet{position:fixed;z-index:91;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 24px));max-height:min(86dvh,720px);overflow:auto;background:#fffdf3!important;border:3px solid var(--gm-ink, #6b4a2b)!important;border-radius:26px!important;box-shadow:0 5px 0 var(--gm-ink, #6b4a2b),0 20px 50px #2a2a1a40!important;padding:18px 18px 20px;font-family:var(--gm-font, ui-rounded, system-ui, sans-serif);color:#3b3a2c;--green: #2f8a57;--green-bg: #e3f4e6;--orange: #c0602a;--orange-bg: #fde9d6;--line: #e3dcc0}.wfh-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}.wfh-sheet-head h2{margin:2px 0 0;font-size:22px;font-weight:700;color:var(--gm-ink, #6b4a2b)}.wfh-sheet-close{width:44px;height:44px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:#fffef6;border:2.5px solid var(--gm-ink, #6b4a2b);color:var(--gm-ink, #6b4a2b);flex-shrink:0}.wfh-sheet h4{margin:16px 0 8px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7d8a62}.wfh-sheet-note{display:flex;align-items:center;gap:6px;margin:6px 0;padding:8px 12px;border-radius:12px;font-size:13.5px;font-weight:600}.wfh-sheet-note.is-blocked{background:#f4efdb;color:#6d5f43}.wfh-sheet-note.is-over{background:#fbe1dc;color:#a33a2c}.wfh-sheet-briefs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.wfh-sheet-empty{margin:0;font-size:14px;color:#7d7a60}.wfh-sheet-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.wfh-sheet-list li{display:flex;align-items:center;justify-content:space-between;gap:8px}.wfh-sheet-list .wfh-chip{font-size:14px;padding:3px 12px 3px 3px}.wfh-remove{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 12px;border-radius:12px;background:#fff;border:2px solid #e8c4bc;color:#a33a2c;font-size:13px;font-weight:700}.wfh-type{display:flex;gap:8px}.wfh-type button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:14px;background:#fffef6;border:2.5px solid var(--line);color:#6f6b52;font-weight:700;font-size:15px}.wfh-type button.on.is-wfh{background:var(--green-bg);border-color:var(--green);color:var(--green)}.wfh-type button.on.is-leave{background:var(--orange-bg);border-color:var(--orange);color:var(--orange)}.wfh-type button:disabled{opacity:.45;cursor:not-allowed}.wfh-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;margin-top:10px}.wfh-pick button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;min-height:72px;border-radius:16px;background:#fffef6;border:2px solid var(--line);color:#3b3a2c;font-size:13px;font-weight:700}.wfh-pick button:hover{border-color:#c9bd8c;background:#fff8dd}.wfh-pick button:active{transform:translateY(1px)}html.theme-dark .wfh-cal{--ink: #f4e3b8;--cream: #243029;--line: #3b4b41;--green: #86dca6;--green-bg: #1f3a2a;--orange: #f2b27a;--orange-bg: #3d2a1c;color:#e9eedf}html.theme-dark .wfh-kicker,html.theme-dark .wfh-grid-dow,html.theme-dark .wfh-week h3{color:#a8b79f}html.theme-dark .wfh-window.is-open{background:#1f3a2a;border-color:#3f7358;color:#a8e7c0}html.theme-dark .wfh-window.is-closed{background:#3a2220;border-color:#7a3b33;color:#f3b1a7}html.theme-dark .wfh-rules{background:#1d2621;border-color:#3b4b41}html.theme-dark .wfh-rules ul{color:#cbd5c2}html.theme-dark .wfh-nav,html.theme-dark .wfh-today-btn{background:#2b3830!important;color:#f4e3b8!important;border-color:#c9a36b!important;box-shadow:0 3px #c9a36b!important}html.theme-dark .wfh-summary-item b,html.theme-dark .wfh-chip-name{color:#e9eedf}html.theme-dark .wfh-summary-item small,html.theme-dark .wfh-summary-empty,html.theme-dark .wfh-day-block,html.theme-dark .wfh-day-dow{color:#a8b79f}html.theme-dark .wfh-day{box-shadow:0 3px #111713!important}html.theme-dark .wfh-day-num{color:#f4e3b8}html.theme-dark .wfh-cap{background:#2f3e34;color:#cbd5c2}html.theme-dark .wfh-cap.is-over{background:#4a2420;color:#f3b1a7}html.theme-dark .wfh-day-add{background:#1f3a2a;border-color:#3f7358}html.theme-dark .wfh-day.is-blocked{background:repeating-linear-gradient(135deg,#222c26 0,#222c26 8px,#1c2520 8px,#1c2520 16px)!important}html.theme-dark .wfh-day.is-past{background:#1b231f!important}html.theme-dark .wfh-brief{background:#332846;color:#d8c5f5}html.theme-dark .wfh-face-initials{background:#3b4b41;color:#f4e3b8}html.theme-dark .wfh-agenda .wfh-day-people:empty:before{color:#7f8d78}html.theme-dark body.studio-village .wfh-sheet,html.theme-dark .wfh-sheet{background:#243029!important;color:#e9eedf;--green-bg: #1f3a2a;--orange-bg: #3d2a1c;--green: #86dca6;--orange: #f2b27a;--line: #3b4b41}html.theme-dark .wfh-sheet-head h2{color:#f4e3b8}html.theme-dark .wfh-sheet-close,html.theme-dark .wfh-type button,html.theme-dark .wfh-pick button{background:#2b3830;color:#e9eedf}html.theme-dark .wfh-pick button:hover{background:#33443a}html.theme-dark .wfh-remove{background:#2b3830;border-color:#6b3a33;color:#f19a8e}html.theme-dark .wfh-sheet-note.is-blocked{background:#2b3830;color:#cbd5c2}html.theme-dark .wfh-sheet-note.is-over{background:#4a2420;color:#f3b1a7}html.theme-dark .wfh-sheet-empty{color:#a8b79f}
