:root{--forest: #2f5d3a;--forest-dark: #22452a;--lake: #d0e0e3;--sun: #fce5cd;--paper: #fbf7ee;--ink: #23301f;--line: #9aa59a}body{margin:0;background:var(--paper);color:var(--ink);font-family:Trebuchet MS,Segoe UI,Arial,sans-serif;line-height:1.4}header{background:var(--forest);color:#fff;padding:16px 20px 0}header h1{margin:0 0 4px;font-family:Georgia,Times New Roman,serif;font-size:1.7rem}header p{margin:0 0 12px;opacity:.9}nav button{font:inherit;font-weight:700;color:#fff;background:transparent;border:0;border-bottom:4px solid transparent;padding:8px 16px;cursor:pointer}nav button[aria-pressed=true]{border-bottom-color:var(--sun);background:var(--forest-dark)}main,footer{padding:16px 20px}h2{font-family:Georgia,Times New Roman,serif;color:var(--forest);margin-top:0}button{font:inherit;cursor:pointer}main button,footer button{background:#fff;color:var(--forest);border:2px solid var(--forest);border-radius:6px;padding:4px 10px}main button:hover:not(:disabled),footer button:hover{background:var(--forest);color:#fff}button:disabled{opacity:.4;cursor:default}.scroll{overflow-x:auto;padding-bottom:8px}table{border-collapse:collapse;background:#fff;font-size:13px}th,td{border:1px solid var(--line);padding:3px 6px;text-align:center;vertical-align:middle}thead th{background:var(--lake)}th.day{background:var(--sun);font-weight:400;min-width:300px}th.day div:first-child{font-weight:700;font-size:1.1em}tfoot td{text-align:left}td.filled{background:#fff;font-weight:700;cursor:pointer}td.filled.hl{background:#c8e6c0;box-shadow:inset 0 0 0 2px #4f9d55}td.filled.picked{background:#8fd18a;box-shadow:inset 0 0 0 3px var(--forest)}table.specialist{width:100%;table-layout:fixed}table.specialist th:first-child{width:78px}table.specialist td{height:46px;vertical-align:top;text-align:left;cursor:default}table.specialist .visit strong,table.specialist .visit span{display:block}table.specialist .visit span{font-weight:400;font-size:12px;color:#4a5a4a}table.specialist .visit+.visit{margin-top:4px;padding-top:4px;border-top:1px dashed var(--line)}.specialist-week{margin-bottom:16px;break-inside:avoid}.info{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:17px;height:17px;min-width:0;margin:0 2px;padding:0;border:1.5px solid #2f5d8a;border-radius:50%;color:#2f5d8a;background:#fff;font:700 11px/1 system-ui,sans-serif;text-transform:none;cursor:help;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none}.info:hover,.info:focus-visible{color:#fff;background:#2f5d8a;outline:none}.info-bubble{position:fixed;z-index:3000;box-sizing:border-box;padding:8px 10px;border-radius:6px;color:#fff;background:#23301f;box-shadow:0 4px 14px #0000004d;font: 13px/1.35 system-ui,sans-serif;text-align:left;pointer-events:none}footer a.support{margin-left:12px}footer .version{margin-left:12px}main h3{margin:18px 0 6px}.settings-ok{color:var(--forest);font-weight:700}table.sharing-grid th,table.sharing-grid td{padding:1px 3px;font-size:11px}table.sharing-grid td.none{background:#eef1ee}table.sharing-grid th.pair-hover,table.tracking-grid th.pair-hover{background:#ffe08a;box-shadow:inset 0 0 0 2px #b8860b}table.sharing-grid td.pair-line,table.tracking-grid td.pair-line{background:#fff8dc}table.sharing-grid td.pair-here,table.tracking-grid td.pair-here{background:#ffe08a}table.sharing-grid td.changed{box-shadow:inset 0 0 0 2px #c62828;background:#fff3a6}.settings-blocked{color:#c62828;margin:4px 0}tr.new-area th{background:#fff}.settings-problems{list-style:none;margin:0 0 10px;padding:0}.settings-problems li{margin-bottom:6px;padding:6px 10px;border-left:5px solid #c62828;background:#fdecea}.settings-problems li[data-level=unlikely]{border-left-color:#e0a800;background:#fff8e1}table.settings input[type=number]{width:52px}table.settings select{width:auto}table.settings td.fixed{color:#6b7a6b;font-size:12px}table.settings td.by-village label{display:inline-block;margin:2px 6px}table.settings .shabbat-weeks{margin-top:6px}table.settings .shabbat-weeks>span{display:block;margin:2px 0}table.settings .shabbat-weeks label{display:inline-block;margin:2px 6px}td.cleared{background:#ffe95c}td.cleared input.activity-input{background-color:#fff6b0}.hint{color:#6b7a6b;font-size:13px;margin:0 0 8px}td.zero{color:#b5bcb5}tfoot th{background:var(--lake)}th[data-village]{min-width:34px}th[data-village=O]{background:#ead1dc}th[data-village=C]{background:#d9ead3}th[data-village=S]{background:#fce5cd}th[data-village=M]{background:#cfe2f3}th[data-village=T]{background:#d9d2e9}select{font:inherit;font-size:13px;max-width:100%}input{font:inherit;font-size:13px}input.activity-input{font-size:12px;width:92px;box-sizing:border-box;padding:2px 16px 2px 3px;border:1px solid #8a948a;border-radius:3px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E") no-repeat right 4px center}.combo-panel{position:fixed;z-index:1000;max-height:260px;overflow-y:auto;background:#fff;border:2px solid var(--forest);border-radius:6px;box-shadow:0 4px 14px #00000040;font-size:13px}.combo-group{position:sticky;top:0;padding:2px 8px;background:var(--lake);color:var(--forest);font-size:12px;font-weight:700}.combo-option{padding:3px 10px;cursor:pointer;white-space:nowrap}.combo-option.grouped{padding-left:18px}.combo-option:hover,.combo-option[data-active=true]{background:var(--sun)}.combo-option.current{font-weight:700}.combo-note{color:#6b7a6b;font-weight:400}.combo-empty{padding:6px 10px;color:#6b7a6b}fieldset{border:1px solid var(--line);border-radius:6px;background:#fff;margin:0 0 10px}fieldset label{display:inline-block;margin:3px 12px 3px 0}legend{font-weight:700;color:var(--forest)}footer{border-top:1px solid var(--line);margin-top:16px}.weekbar{background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px 10px;margin-bottom:12px}.weekbar select{width:auto;font-size:13px}.autogen-status,.autogen-progress{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.autogen-progress progress{display:block;width:100%;max-width:720px;height:14px;margin:6px 0;accent-color:var(--forest)}.autogen-progress ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 6px;padding:0}.autogen-progress li[data-state=done]{color:var(--forest);font-weight:700}.autogen-progress li[data-state=waiting]{color:#8a948a}fieldset.readonly{border:0;margin:0;padding:0;min-width:0;background:transparent}.spinner{display:inline-block;width:11px;height:11px;margin-right:6px;vertical-align:-1px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.muted{color:#6b7a6b;font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px;background:#23301f8c}.modal{box-sizing:border-box;width:100%;max-width:560px;max-height:90vh;overflow-y:auto;padding:18px 20px;background:var(--paper);border:2px solid var(--forest);border-radius:8px;box-shadow:0 8px 28px #00000059}.help-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:26px;height:26px;min-width:0;margin:0 0 0 6px;padding:0;border:2px solid var(--forest);border-radius:50%;background:#fff;color:var(--forest);font:700 15px/1 system-ui,sans-serif;vertical-align:middle;cursor:pointer}.modal.help{position:relative}.modal.help .close-top{position:absolute;top:12px;right:14px}.modal.help{max-width:760px}.modal.help h3{margin:14px 0 4px}.modal.help li{margin-bottom:4px}.modal h2{margin:0 0 8px}.modal fieldset label{display:block;margin:6px 0}.modal fieldset label.sub-option{margin-left:22px}.modal select{width:auto;font-size:13px}.modal-buttons{text-align:right}.modal button{font:inherit;cursor:pointer;background:#fff;color:var(--forest);border:2px solid var(--forest);border-radius:6px;padding:4px 14px}.modal button.primary,.modal button:hover{background:var(--forest);color:#fff}.mode-toggle{margin-bottom:8px}.mode-toggle button[aria-pressed=true]{background:var(--forest);color:#fff}@media print{@page{size:landscape;margin:.4in}header,footer,main button,main p,.weekbar,.modal-backdrop,.mode-toggle{display:none}main{padding:0}table{font-size:9px}th.day{min-width:0}td.filled.hl,td.filled.picked{background:#fff;box-shadow:none}.scroll{overflow:visible}}.sessionbar{margin:6px 0}.sessionbar select{font-weight:700;width:auto;font-size:13px}table.calendar-settings select{width:auto}table.calendar-settings th,table.calendar-settings td{padding:2px 6px}.bunkbar button{margin-right:4px}header .sessionline{margin:0 0 12px;opacity:1;font-size:14px}header .sessionline strong{margin-right:6px}.lead{margin:0 0 14px;color:#45543f}main button.primary{background:var(--forest);color:#fff}main button.primary:hover:not(:disabled){background:var(--forest-dark)}.weekbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.weekbar-row .spacer{flex:1}.weekbar-row label{font-weight:700}.weekbar>.autogen-progress:first-child,.weekbar>.autogen-status:first-child{margin-top:0;padding-top:0;border-top:0}.card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 18px 12px;margin-bottom:14px}.card.plain{background:transparent;border-style:dashed}.card h3{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-family:Georgia,Times New Roman,serif;font-size:1.15rem;color:var(--forest)}.card h3 .step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--forest);color:#fff;font:700 14px/1 system-ui,sans-serif}.card h3 .count{margin-left:auto;font: 13px/1 Trebuchet MS,Segoe UI,Arial,sans-serif;color:#45543f;background:var(--lake);border-radius:999px;padding:5px 10px}.card p{margin:0 0 10px}.card p:last-child{margin-bottom:0}.choices{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}main button.choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:260px;padding:10px 14px;text-align:left;border-color:var(--line);color:var(--ink)}main button.choice span{font-size:13px;color:#45543f}main button.choice[aria-pressed=true]{border-color:var(--forest);background:#eaf3ea;box-shadow:inset 0 0 0 1px var(--forest)}main button.choice:hover:not(:disabled){background:#eaf3ea;color:var(--ink)}.villages{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px;margin-bottom:12px}.village{border:1px solid var(--line);border-top:5px solid var(--line);border-radius:6px;padding:8px 10px 10px}.village[data-village=O]{border-top-color:#d5a6bd}.village[data-village=C]{border-top-color:#a9d08e}.village[data-village=S]{border-top-color:#f6b26b}.village[data-village=M]{border-top-color:#8db4e2}.village[data-village=T]{border-top-color:#b4a7d6}.village h4{margin:0 0 6px;font-size:15px}.village h4 .muted{margin-left:6px;font-weight:400}table.roster{width:100%;margin-bottom:8px;background:transparent}table.roster th,table.roster td{border:0;padding:2px 3px;text-align:left}table.roster thead th{background:transparent;font-size:11px;font-weight:400;color:#6b7a6b}table.roster input{box-sizing:border-box;width:100%;padding:3px 5px;border:1px solid #b9c2b9;border-radius:4px}table.roster td.row-tools{white-space:nowrap;text-align:right}main button.quiet{border:0;padding:2px 6px;font-size:12px;background:transparent}.village>button{font-size:13px}.check{padding:6px 10px;border-left:5px solid var(--forest);background:#eaf3ea}.check.warn{border-left-color:#e0a800;background:#fff8e1}.check.bad{border-left-color:#c62828;background:#fdecea}.tools{background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px 12px 2px;margin-bottom:12px}.tools p{margin:0 0 8px}.tools strong{display:inline-block;min-width:132px}.empty-note{padding:10px 12px;background:#fff8e1;border-left:5px solid #e0a800}td.bunk-info{color:#45543f;white-space:nowrap}@media print{.tools,.card{display:none}}.titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px}.titlebar h2{margin:0 0 10px}main button.danger{color:#a32020;border-color:#a32020}main button.danger:hover:not(:disabled){background:#a32020;color:#fff}.autogen-status.not-done{margin-top:8px;padding:8px 10px;border-top:0;border-left:5px solid #e0a800;background:#fff8e1}.weekbar>.autogen-status.not-done:first-child{padding:8px 10px}
