:root{--brand: #C93A5E;--brand-dark: #A82650;--bg: #FFF6F9;--card: #fff;--text: #231F20;--muted: #6F5A63;--line: #F2DCE4;--ok: #15803d;--warn: #b45309;--bad: #b91c1c;--accent: #1F6A93;--accent-dark: #17557A;--soft: #FDE3EC;--radius: 12px}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text)}h1{font-size:1.4rem;margin:0 0 4px}h2{font-size:1.1rem;margin:0 0 10px}a{color:var(--brand-dark)}.muted{color:var(--muted);font-size:.9em}.center{text-align:center}.mt{margin-top:10px}.gap{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.shell{max-width:1100px;margin:0 auto;padding-bottom:env(safe-area-inset-bottom)}.topbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;background:var(--card);border-bottom:1px solid var(--line)}.nav{display:flex;gap:4px;padding:8px 12px;overflow-x:auto;background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.nav a{white-space:nowrap;padding:8px 12px;border-radius:999px;text-decoration:none;color:var(--text);font-weight:500}.nav a.active{background:var(--brand);color:#fff}.content{padding:16px}.offline-bar{background:#fef3c7;color:#92400e;padding:8px 16px;font-size:.9rem}.stack{display:flex;flex-direction:column;gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}.card.today{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand) inset}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.toolbar h2{margin:0}.row{display:flex;gap:12px;align-items:center;padding:6px 0;flex-wrap:wrap}.row.between{justify-content:space-between}label{display:flex;flex-direction:column;gap:4px;font-size:.92rem;font-weight:500;margin-bottom:10px}label.check{flex-direction:row;align-items:center;gap:8px;font-weight:400;margin:0}input,select{font:inherit;padding:10px 12px;border:1px solid #E3C9D3;border-radius:8px;background:#fff;min-height:44px;max-width:100%}input[type=checkbox]{min-height:0;width:18px;height:18px}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #E25F7E;outline-offset:1px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;align-items:center}.btn{font:inherit;font-weight:600;padding:10px 16px;border-radius:8px;border:1px solid #E3C9D3;background:#fff;color:var(--text);cursor:pointer;min-height:44px}.btn:hover{background:#fff0f5}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{background:var(--brand-dark)}.btn.accent{background:var(--accent);border-color:var(--accent);color:#fff}.btn.accent:hover{background:var(--accent-dark)}.btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}.btn.small{padding:6px 10px;min-height:36px;font-size:.88rem}.btn.link{border:none;background:none;color:var(--brand-dark)}.btn.big{width:100%;max-width:360px;min-height:76px;font-size:1.4rem;border-radius:16px;margin-top:8px}.btn:disabled{opacity:.6;cursor:not-allowed}.auth-page{min-height:100vh;display:grid;place-items:center;padding:16px}.auth-card{width:100%;max-width:380px;display:flex;flex-direction:column}.status{display:inline-block;padding:6px 16px;border-radius:999px;font-weight:700;margin:6px 0}.status.on{background:#dcfce7;color:var(--ok)}.status.off{background:#f6ecf0;color:var(--muted)}.chip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.78rem;font-weight:600;margin:2px 4px 2px 0;background:#fde3ec;color:var(--brand-dark)}.chip.ok{background:#dcfce7;color:var(--ok)}.chip.warn{background:#fef3c7;color:var(--warn)}.chip.bad{background:#fee2e2;color:var(--bad)}.alert{padding:10px 14px;border-radius:8px;font-size:.95rem;border:1px solid}.alert.error{background:#fef2f2;border-color:#fecaca;color:#991b1b}.alert.ok{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.alert.info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.93rem}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}tr.off td{color:var(--muted)}tr.selected td{background:#fff0f5}table.grid td{min-width:110px}.shift-pill{display:flex;justify-content:space-between;align-items:center;gap:6px;background:#fde3ec;color:var(--brand-dark);border-radius:6px;padding:3px 8px;margin-bottom:4px;font-size:.85rem;font-weight:600;white-space:nowrap}.shift-pill button{border:none;background:none;cursor:pointer;font-size:1.1rem;line-height:1;color:var(--bad);padding:0 2px}.add-shift{min-height:32px;padding:2px 6px;width:100%;font-size:.85rem}.flag-item{padding:10px 0;border-bottom:1px solid var(--line)}.flag-item:last-child{border-bottom:none}.photos{display:flex;gap:12px;margin-top:8px;flex-wrap:wrap}.photos figure{margin:0;text-align:center}.selfie{width:160px;max-width:100%;border-radius:8px;display:block}.modal{position:fixed;inset:0;background:#231f208c;display:grid;place-items:center;padding:12px;z-index:20;overflow-y:auto}.modal-body{background:#fff;border-radius:14px;padding:18px;width:100%;max-width:440px;max-height:96vh;overflow-y:auto;display:flex;flex-direction:column}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.video-wrap{position:relative;background:#000;border-radius:10px;overflow:hidden;aspect-ratio:4 / 3}.video-wrap video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.video-hint{position:absolute;inset:0;display:grid;place-items:center;color:#fff}.map{width:100%;height:200px;border:0;border-radius:8px;margin-bottom:10px}.neg{color:var(--bad)}.modal-body.wide{max-width:760px}.modal-body h3{margin:16px 0 6px;font-size:1rem}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:10px 0}.summary-grid>div{background:#fff0f5;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column}.summary-grid b{font-size:1.05rem}.adj-form{display:grid;grid-template-columns:auto 1fr 140px;gap:8px;margin-top:12px;align-items:center}.adj-form input:nth-of-type(3){grid-column:1 / 3}.slip-btn{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;font:inherit;cursor:pointer;color:inherit}.slip-btn:hover{border-color:var(--brand)}tr.total td{font-weight:700;background:#fff8fa}.total-row{border-top:1px solid var(--line);margin-top:6px;padding-top:10px;font-size:1.1rem}.holiday-list{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.holiday-list .chip button{border:none;background:none;cursor:pointer;color:inherit;font-size:1rem;line-height:1;margin-left:4px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line)}.tabs button{font:inherit;border:none;background:none;padding:10px 14px;cursor:pointer;color:var(--muted);border-bottom:3px solid transparent;font-weight:600}.tabs button.active{color:var(--brand-dark);border-bottom-color:var(--brand)}.req-body{margin:8px 0}.req-list{margin:4px 0 0;padding-left:20px}.pick-list{max-height:240px;overflow-y:auto;border:1px solid var(--line);border-radius:8px;padding:6px 10px;margin-bottom:10px}.pick{padding:8px 0;margin:0;border-bottom:1px solid var(--line)}.pick:last-child{border-bottom:none}.pick input{flex:none}.banner-link{display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:inherit}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.toggle{font:inherit;padding:10px 14px;border-radius:999px;border:1px solid #E3C9D3;background:#fff;cursor:pointer;min-height:44px;color:var(--text)}.toggle.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}.toggle.on .muted{color:#ffe9f0}.toggle:disabled{opacity:.6;cursor:not-allowed}.sticky-actions{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px;box-shadow:0 -4px 12px #0000000f}.pref-chip{display:block;width:100%;margin-bottom:4px;padding:3px 8px;font:inherit;font-size:.8rem;font-weight:600;border:1px dashed var(--brand);background:#fff5f8;color:var(--brand-dark);border-radius:6px;cursor:pointer;text-align:left;white-space:nowrap}.pref-chip:hover{background:#fde3ec}td.has-pref{background:#fffbfc}@media(max-width:640px){.adj-form{grid-template-columns:1fr}.adj-form input:nth-of-type(3){grid-column:auto}.content{padding:12px}.grid3{grid-template-columns:1fr 1fr}.toolbar{align-items:flex-start}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.topbar-left{display:flex;align-items:center;gap:10px;min-width:0}.topbar-left img{width:40px;height:40px;object-fit:contain;flex:none}.who{display:flex;flex-direction:column;line-height:1.25;min-width:0}.who .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-name{color:var(--brand-dark);letter-spacing:.02em}.topbar .btn{white-space:nowrap;flex:none}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;color:var(--brand-dark);letter-spacing:.02em}.brand img{width:40px;height:40px;object-fit:contain;flex:none}.auth-logo{display:block;width:min(240px,70%);height:auto;margin:0 auto 8px}.auth-logo.small{width:96px}.auth-card h1{text-align:center;font-size:1.15rem}.auth-card>.muted{text-align:center}body{background-image:radial-gradient(circle at 100% 0,#ffe9f0 0,#fff6f900 38%);background-attachment:fixed}.auth-form{display:flex;flex-direction:column}.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:.92rem}.small-note{font-size:.82rem;text-align:center;margin-top:12px}.pw-wrap{position:relative;display:block}.pw-wrap input{width:100%;padding-right:64px}.pw-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:none;background:none;color:var(--brand-dark);font:inherit;font-weight:600;cursor:pointer;padding:10px;min-height:44px}.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.center-btn{display:flex;justify-content:center;align-items:center;text-decoration:none;margin-top:12px}.steps{padding-left:20px;line-height:1.6}a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}a.btn.block{display:flex;width:100%;max-width:360px;margin:10px auto 0;min-height:52px;font-size:1.1rem}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}.stat-grid>div{background:#fff0f5;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}.big-number{font-size:1.45rem;line-height:1.2;color:var(--brand-dark)}.link-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0 0;margin-top:10px;border-top:1px solid var(--line);text-decoration:none;color:var(--text)}.sub{font-size:.95rem;margin:14px 0 4px}.req-mini{padding:10px 0;border-top:1px solid var(--line)}.req-mini:first-of-type{border-top:none}.row.between>b,.row.between>.chip{white-space:nowrap}.row.between>span:first-child{flex:1 1 140px;min-width:0}button.btn.block{display:flex;width:100%;max-width:360px;margin:10px auto 0;min-height:52px;justify-content:center;align-items:center;text-align:center}.rep-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;margin-top:6px}.rep-slot{font:inherit;display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 4px;border:2px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;color:var(--ink, #231F20)}.rep-slot b{font-size:1.1rem}.rep-slot span{font-size:.72rem;color:var(--muted)}.rep-slot.done{border-color:#86efac;background:#f0fdf4}.rep-slot.late{border-color:#fcd34d;background:#fffbeb}.rep-slot.active{border-color:var(--brand);box-shadow:0 0 0 2px #fde3ec}.rep-slot:disabled{opacity:.45;cursor:not-allowed}.rep-alert{background:#fee2e2;color:var(--bad);border:2px solid var(--bad);border-radius:12px;padding:10px 12px;font-weight:700;margin:8px 0}.rep-warn{color:var(--bad);font-weight:600}.rep-item{border:1px solid var(--line);border-radius:12px;padding:10px;margin:8px 0}.rep-item.bad{border-color:var(--bad);background:#fff5f5}.rep-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:6px 0}.rep-grid label{font-size:.75rem;font-weight:700;text-align:center}.rep-grid input{text-align:center;padding:8px 2px;width:100%;min-width:0}.rep-bake{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.rep-bake label{font-size:.78rem}.rep-total{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px;background:#fff0f5;border-radius:10px;margin-top:8px}.grid2>*{min-width:0}.grid2 select,.grid2 input{width:100%;min-width:0}.rep-section>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;list-style:none}.rep-section>summary::-webkit-details-marker{display:none}.rep-section>summary h3{margin:0}.rep-sub{margin:14px 0 4px;font-size:.85rem;letter-spacing:.04em;color:var(--brand-dark)}.rep-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}.rep-grid3 label{font-size:.78rem}.rep-check{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--line)}.seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}.seg button{font:inherit;border:none;background:#fff;padding:8px 14px;cursor:pointer;font-weight:600;color:var(--muted)}.seg button.on.ok{background:#dcfce7;color:var(--ok)}.seg button.on.bad{background:#fee2e2;color:var(--bad)}.rep-bakenow{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;color:#231f20;font-weight:600}.rep-who{font-size:.68rem;color:var(--brand-dark);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.month-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.month-filter input{width:auto}.shell{overflow-x:clip}.tabs{overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tabs button{white-space:nowrap;flex:none}@media(max-width:640px){.content{padding:10px}.card{padding:14px}h2{font-size:1.05rem}.grid2,.grid3{grid-template-columns:1fr}.grid3>.btn{width:100%}.rep-grid{gap:4px}.rep-grid label{font-size:.68rem}.rep-grid3{grid-template-columns:1fr}.rep-slots{grid-template-columns:repeat(auto-fill,minmax(82px,1fr))}.stat-grid{gap:8px}.big-number{font-size:1.25rem}.toolbar>.gap,.toolbar>.btn{width:100%}.toolbar>.gap .btn{flex:1 1 auto}.row.between>b,.row.between>.chip{white-space:normal}.nav{padding:6px 8px}.nav a{padding:8px 11px;font-size:.95rem}.modal{padding:0;align-items:end;justify-items:stretch}.modal-body,.modal-body.wide{max-width:none;border-radius:16px 16px 0 0;max-height:94vh;max-height:94dvh;padding:16px 14px calc(16px + env(safe-area-inset-bottom))}.modal-body .actions{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));background:#fff;padding:10px 0;margin-bottom:-8px}.modal-body .actions .btn{flex:1}.table-wrap{overflow:visible}table:not(.grid),table:not(.grid) tbody{display:block;width:100%}table:not(.grid) thead{display:none}table:not(.grid) tr{display:block;border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:0 0 10px;background:#fff}table:not(.grid) tr.total{background:#fff8fa;border-color:var(--brand)}table:not(.grid) td{display:flex;justify-content:space-between;align-items:baseline;gap:12px;text-align:right;padding:5px 0;border:0;border-bottom:1px dashed var(--line);min-width:0;overflow-wrap:anywhere}table:not(.grid) td:last-child{border-bottom:0}table:not(.grid) td:before{content:attr(data-label);flex:none;max-width:42%;text-align:left;font-size:.78rem;font-weight:600;color:var(--muted)}table:not(.grid) td[data-label=""]:before{display:none}table:not(.grid) td[data-label=""]{justify-content:flex-end;flex-wrap:wrap}table:not(.grid) td:first-child{display:block;text-align:left;font-size:1.02rem;padding-bottom:8px;margin-bottom:2px;border-bottom:1px solid var(--line)}table:not(.grid) td:first-child:before{display:none}table:not(.grid) td>div,table:not(.grid) td>span{max-width:100%}table:not(.grid) td[colspan]{display:block;text-align:left}table:not(.grid) td[colspan]:before{display:none}table.grid td{min-width:96px}.card.table-wrap{padding:10px;background:transparent;border:0}section.card.table-wrap>h3{padding:0 4px}}.chip{white-space:nowrap}@media(max-width:640px){table:not(.grid) td{flex-wrap:wrap;justify-content:flex-end}table:not(.grid) td:before{margin-right:auto}}td .btn,td .btn.small{white-space:nowrap}.modal-body>*{flex-shrink:0}.field-block{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.field-title{font-size:.92rem;font-weight:500}.field-block .pick-list{margin-bottom:0}
