:root{--primary:#235b63;--primary-soft:#e6f0ef;--muted:#5f706d;color:#17181c;background:#f6f7f5;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,sans-serif;line-height:1.5}*{box-sizing:border-box}body{background:#f6f7f5;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}.app-shell{color:#17181c;background:#eef3f0;min-height:100svh;display:grid}.mobile-app{color:#17181c;background:#fbfbf8;grid-template-rows:minmax(0,1fr);width:min(100%,430px);height:100svh;min-height:0;margin:0 auto;display:grid;position:relative;overflow:hidden}.screen{min-width:0;height:100%;min-height:0;padding:28px 20px calc(104px + env(safe-area-inset-bottom));overscroll-behavior:contain;align-content:start;gap:16px;display:grid;overflow-y:auto}.screen.centered{align-content:center}.auth-header{gap:8px;display:grid}.auth-header p{color:#235b63;letter-spacing:.04em;font-weight:900}.management-back-header{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;column-gap:12px;min-height:52px;display:grid}.management-back-header:after{content:"";width:42px;height:42px}.management-back-header h1{text-overflow:ellipsis;white-space:nowrap;color:#235b63;text-align:center;min-width:0;font-size:21px;line-height:1.2;overflow:hidden}.back-icon-button{color:#235b63;cursor:pointer;background:0 0;border:0;border-radius:0;flex:none;place-items:center;width:42px;height:42px;padding:0;display:grid}.back-icon{width:24px;height:24px}.context-button,.text-button{color:#235b63;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.choir-switcher{background:#ffffffc7;border:1px solid #235b631f;border-radius:16px;grid-template-columns:1fr auto;align-items:end;gap:8px 10px;padding:10px 12px;display:grid}.choir-switcher>small{color:#235b63;grid-column:1/-1;font-weight:800}.choir-switcher label{gap:4px;min-width:0;font-size:12px}.choir-switcher select{min-height:38px;padding:8px 10px}.choir-switcher button{background:#e6f0ef;border-radius:999px;min-height:38px;padding:8px 12px}.choir-context-bar{min-width:0;box-shadow:none;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 2px 2px;display:flex}.choir-context-button{color:#17181c;text-align:left;border-radius:0;flex:auto;align-items:center;gap:10px;min-width:0;padding:0;display:inline-flex}.choir-avatar{color:#fff;background:#235b63;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.management-choir-identity{box-shadow:none;background:0 0;border:0;border-radius:0;align-items:center;gap:12px;padding:2px 0 6px;display:flex}.management-choir-identity .choir-avatar{width:46px;height:46px;font-size:18px}.management-choir-copy{gap:2px;min-width:0;display:grid}.management-choir-copy strong{text-overflow:ellipsis;white-space:nowrap;color:#17181c;min-width:0;font-size:18px;font-weight:900;overflow:hidden}.choir-context-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:900;overflow:hidden}.choir-context-chevron{color:#6f817c;flex:none;width:16px;height:16px}.notification-button{color:#235b63;background:0 0;border:0;border-radius:0;flex:none;place-items:center;width:28px;height:28px;display:grid}.notification-icon{width:18px;height:18px}.workspace-module-topbar{grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;min-height:52px;padding:10px 2px 2px;display:grid}.workspace-module-topbar h1{color:#17181c;text-align:center;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:26px;line-height:1.05;overflow:hidden}.form-stack{gap:16px;display:grid}.confirmed-field{gap:5px;padding:2px 0;display:grid}.confirmed-field span{color:#6f817c;font-size:13px;font-weight:700}.confirmed-field strong{overflow-wrap:anywhere;color:#17181c;min-width:0;font-size:16px}.account-notice{border-left:3px solid #235b63;padding:2px 0 2px 14px}.account-notice p{color:#17181c;line-height:1.55}.action-list,.setting-list,.code-list,.status-list{gap:12px;display:grid}.code-list,.status-list.prototype-list{margin:0;padding:0;list-style:none}.content-section,.member-row,.code-card,.request-card{background:linear-gradient(#fffffff5,#f6faf8e6),#fff;border:1px solid #235b631f;border-radius:18px;box-shadow:0 14px 34px #182a2e11}.content-section{gap:8px;padding:16px;display:grid}.invitation-info-card{background:#fff;border:1px solid #235b631f;border-radius:8px;padding:16px;box-shadow:0 12px 28px #182a2e0d}.section-heading-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading-row h2{font-size:18px}.section-heading-row .text-button{color:#235b63;flex:none;min-height:auto;font-size:13px;font-weight:900}.empty-state{background:linear-gradient(#fffffff5,#f6faf8e0),#fff;border:1px solid #235b631f;border-radius:18px;gap:8px;padding:18px;display:grid;box-shadow:0 14px 34px #182a2e0e}.home-workbench{gap:12px;display:grid}.home-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.home-section-heading h2{font-size:18px}.home-section-heading .text-button{color:#235b63;flex:none;min-height:auto;font-size:13px;font-weight:900}.prototype-list{background:#fff;border:1px solid #235b631f;border-radius:8px;gap:0;display:grid;overflow:hidden;box-shadow:0 12px 28px #182a2e0e}.prototype-list-row{min-height:68px;box-shadow:none;background:#fff;border:0;border-bottom:1px solid #235b631a;border-radius:0;align-items:center;gap:12px;padding:12px 14px;display:flex}.prototype-list-row:last-child{border-bottom:0}.row-chevron{color:#6f817c;flex:none;margin-left:auto;font-size:24px;font-weight:900;line-height:1}.compact-empty-row{background:#fff;border:1px solid #235b631f;border-radius:8px;align-items:center;gap:12px;min-height:68px;padding:14px 16px;display:flex;box-shadow:0 12px 28px #182a2e0e}.compact-empty-row p{color:#17181c;font-weight:900}.home-schedule-list{display:grid}.module-empty-state{min-height:560px;box-shadow:none;text-align:center;background:0 0;border:0;border-radius:0;align-content:center;place-items:center;gap:10px;padding:0 24px 90px;display:grid}.module-empty-icon{color:#235b63;background:#e6f0ef;border-radius:999px;place-items:center;width:72px;height:72px;display:grid}.module-empty-svg{width:28px;height:28px}.module-empty-state p{max-width:260px}.schedule-mode-toggle{background:#ffffffa3;border:1px solid #235b631a;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:4px;margin:-2px 0 14px;padding:4px;display:grid}.schedule-mode-toggle button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:13px;font-weight:800}.schedule-mode-toggle button.active{color:#235b63;background:#dcefeb;font-weight:900;box-shadow:inset 0 0 0 1px #235b6314,0 1px 2px #182a2e0f}.schedule-month-group{gap:8px;display:grid}.schedule-month-group+.schedule-month-group{margin-top:16px}.schedule-month-group h2,.calendar-selected-date h2,.schedule-calendar-panel h2{color:#17181c;margin:0 2px;font-size:15px;font-weight:900}.schedule-list{margin:0}.schedule-row{width:100%;color:inherit;cursor:pointer;text-align:left}.schedule-row:hover{background:#235b630b}.schedule-row:active{background:#e6f0ef}.schedule-date-chip{color:#235b63;background:#e6f0ef;border-radius:8px;flex:none;place-items:center;gap:1px;width:48px;height:48px;display:grid}.schedule-date-chip small{color:#446a70;font-size:11px;font-weight:900;line-height:1}.schedule-date-chip strong{color:#17181c;font-size:20px;line-height:1}.schedule-calendar-panel,.calendar-selected-date{gap:10px;display:grid}.calendar-selected-date{margin-top:14px}.calendar-month-header{grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;display:grid}.calendar-month-header h2{text-align:center}.calendar-month-button{color:#235b63;cursor:pointer;background:#e6f0ef;border:0;border-radius:8px;place-items:center;width:40px;min-height:40px;padding:0;display:grid}.calendar-month-button-icon{width:18px;height:18px}.calendar-grid{background:#fff;border:1px solid #235b631f;border-radius:8px;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:8px;display:grid;box-shadow:0 12px 28px #182a2e0e}.calendar-weekday{min-height:28px;color:var(--muted);place-items:center;font-size:12px;font-weight:900;display:grid}.calendar-day{color:#17181c;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;min-width:0;min-height:40px;font-size:13px;font-weight:900;display:grid;position:relative}.calendar-day.outside-month{color:#9aa9a5}.calendar-day.selected{color:#fff;background:#235b63}.calendar-day-dot{background:#d88d2a;border-radius:999px;width:5px;height:5px;position:absolute;bottom:6px}.calendar-day.selected .calendar-day-dot{background:#fff}.schedule-detail-section{border-top:1px solid #235b631a;gap:10px;padding:16px 0;display:grid}.schedule-detail-section:first-of-type{border-top:0;padding-top:4px}.schedule-detail-section h2{color:#17181c;margin:0;font-size:18px;font-weight:900}.schedule-detail-section p{color:var(--muted);line-height:1.5}.schedule-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0 8px;display:grid}.attendance-sign-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.attendance-sign-button{flex-direction:column;gap:2px;line-height:1.2}.attendance-sign-button small{opacity:.82;font-size:12px;font-weight:800}.schedule-editor-date{color:#6f817c;margin:-4px 2px 10px;font-size:13px;font-weight:800}.schedule-editor-panel,.schedule-attendance-panel,.schedule-time-panel,.attendance-category-form{background:#fff;border:1px solid #235b631f;border-radius:8px;display:grid;overflow:hidden;box-shadow:0 12px 28px #182a2e0e}.schedule-editor-panel label,.schedule-attendance-panel label,.schedule-time-panel label,.attendance-category-form label{border-bottom:1px solid #235b631a;padding:14px}.schedule-editor-panel label:last-child,.schedule-attendance-panel label:last-child,.schedule-time-panel label:last-child,.attendance-category-form label:last-child{border-bottom:0}.schedule-editor-panel input,.schedule-editor-panel textarea,.schedule-attendance-panel input,.schedule-attendance-panel select,.schedule-time-panel input,.attendance-category-form input{box-shadow:none;border-color:#235b632e}.schedule-editor-panel textarea{resize:vertical;min-height:88px}.schedule-editor-summary-row{color:#17181c;cursor:pointer;text-align:left;background:#fff;border:0;border-bottom:1px solid #235b631a;border-radius:0;align-items:center;gap:12px;width:100%;min-height:68px;padding:12px 14px;display:flex}.schedule-editor-summary-row:disabled{cursor:default;opacity:1}.schedule-editor-summary-row:disabled .row-chevron{display:none}.schedule-editor-summary-copy{gap:3px;min-width:0;display:grid}.schedule-editor-summary-copy span{color:#6f817c;font-size:13px;font-weight:800}.schedule-editor-summary-copy strong{overflow-wrap:anywhere;color:#17181c;font-size:16px}.schedule-editor-summary-copy small{overflow-wrap:anywhere;color:#6f817c;font-size:13px;line-height:1.35}.schedule-attendance-panel fieldset{border-width:0 0 1px;border-radius:0;margin:0;padding:14px}.schedule-attendance-panel fieldset label{border-bottom:0;padding:0}.schedule-switch-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.schedule-switch-row span{gap:3px;display:grid}.attendance-category-row{justify-content:space-between}.attendance-category-copy{gap:3px;min-width:0;display:grid}.attendance-category-copy strong{overflow-wrap:anywhere;color:#17181c;font-size:16px;font-weight:900}.attendance-category-status{border-radius:999px;width:max-content;padding:2px 8px;font-size:12px;font-weight:900}.attendance-category-status.enabled{color:#235b63;background:#e6f0ef}.attendance-category-status.disabled{color:#6f817c;background:#f0f1ed}.attendance-category-actions{flex:none;align-items:center;gap:10px;display:flex}.attendance-category-actions .text-button{min-height:auto;font-size:13px;font-weight:900}.danger-text-button{color:#b42318}.schedule-switch-row strong{color:#17181c}.attendance-record-list{margin:0}.attendance-record-row{align-items:center;gap:12px;display:flex}.attendance-record-status{color:#235b63;background:#e6f0ef;border-radius:999px;flex:none;padding:6px 9px;font-size:12px;font-weight:900}.attendance-record-time{min-width:44px;color:var(--muted);text-align:right;flex:none;font-size:12px;font-weight:800}.member-list{gap:10px;display:grid}.member-row{align-items:center;gap:12px;padding:12px;display:flex}.member-list.prototype-list{gap:0}.member-row.prototype-list-row{min-height:68px;box-shadow:none;background:#fff;border:0;border-bottom:1px solid #235b631a;border-radius:0;padding:12px 14px}.member-row.prototype-list-row:last-child{border-bottom:0}.member-avatar{color:#235b63;background:#e6f0ef;border-radius:999px;flex:none;place-items:center;width:40px;height:40px;font-weight:900;display:grid}.member-avatar-svg{width:20px;height:20px}.member-copy{text-align:left;flex:auto;justify-items:start;gap:2px;min-width:0;display:grid}.member-copy strong{overflow-wrap:anywhere}.member-copy small{text-align:left;justify-self:start}.member-group-legend{color:var(--muted);align-items:center;gap:6px;margin:-6px 0 10px;font-size:12px;line-height:1.35;display:inline-flex}.icon-chip{width:21px;height:21px;color:var(--primary);background:var(--primary-soft);vertical-align:middle;border-radius:999px;place-items:center;display:inline-grid}.manager-shield-chip{color:#235b63;background:#dcefeb;border:1px solid #235b6329;width:24px;height:24px;box-shadow:inset 0 1px #ffffffb8}.icon-chip-svg{width:13px;height:13px}.member-group-list{margin-top:0}.member-group-row{cursor:pointer;background:0 0;border:0;width:100%}.member-group-row-manager{flex:none;margin-left:auto}.member-group-row.has-manager-chip .row-chevron{margin-left:2px}.create-member-group-form{gap:18px;display:grid}.create-member-group-section{gap:10px;display:grid}.create-member-group-section h2{color:#17181c;margin:0;font-size:15px;font-weight:900}.initial-member-row{cursor:pointer;width:100%}.member-group-initial-member-picker{margin-top:4px}.management-note,.subtle-page-subtitle{color:var(--muted);margin:-8px 0 14px;font-size:13px}.member-group-tabs{background:#ffffffa3;border:1px solid #235b631a;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:4px;margin:6px 0 14px;padding:4px;display:grid}.member-group-tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:9px 0;font-size:13px;font-weight:800}.member-group-tab.active{color:#235b63;background:#dcefeb;font-weight:900;box-shadow:inset 0 0 0 1px #235b6314,0 1px 2px #182a2e0f}.member-group-empty{text-align:center;place-items:center;gap:12px;min-height:360px;display:grid}.member-group-empty p{max-width:260px}.member-group-member-list{margin-top:0}.member-group-detail-list.prototype-list{box-shadow:none;border-color:#235b6324;gap:0}.member-group-detail-list .prototype-list-row{min-height:66px;box-shadow:none;background:#fff;border-bottom:1px solid #235b631a;border-radius:0}.member-group-detail-list .prototype-list-row:last-child{border-bottom:0}.manage-row{align-items:stretch;padding:0}.manage-row-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:auto;align-items:center;gap:12px;padding:12px 14px;display:flex}.manage-row-main:hover{background:#235b630b}.manage-row-main:active{background:#e6f0ef}.delete-icon{color:#b42318;cursor:pointer;background:#faebe8;border:0;border-radius:999px;flex:none;align-self:center;place-items:center;width:44px;min-height:44px;margin-right:10px;padding:0;display:grid}.edit-icon{color:#235b63;cursor:pointer;background:#e6f0ef;border:0;border-radius:999px;flex:none;align-self:center;place-items:center;width:44px;min-height:44px;margin-right:8px;padding:0;display:grid}.edit-icon:hover{background:#d8e8e6}.edit-icon:active{transform:scale(.96)}.delete-icon:hover{background:#f7ded9}.delete-icon:active{transform:scale(.96)}.delete-icon-svg,.edit-icon-svg{width:18px;height:18px}.confirm-card{background:#ffffffeb;border:1px solid #b4231824;border-radius:8px;align-self:center;gap:14px;margin-top:32px;padding:20px;display:grid;box-shadow:0 18px 42px #182a2e13}.confirm-card h2{color:#b42318;font-size:20px}.confirm-card p{color:var(--muted)}.confirm-card .secondary-button:hover,.confirm-card .danger-button:hover{filter:saturate(1.04)brightness(.985)}.confirm-card .secondary-button:active,.confirm-card .danger-button:active{transform:translateY(1px)}.inline-member-picker{margin-top:12px}.compact-note{color:var(--muted);box-shadow:none;margin:8px 2px 12px;font-size:12px;line-height:1.45}.switch{appearance:none;box-sizing:border-box;cursor:pointer;background:#d5ddd9;border:0;border-radius:999px;flex:none;justify-content:flex-start;align-items:center;width:46px;height:27px;min-height:27px;padding:3px;display:inline-flex;position:relative;box-shadow:inset 0 0 0 1px #235b6324}.switch-knob{pointer-events:none;background:#fff;border-radius:50%;flex:none;width:21px;height:21px;transition:transform .16s;transform:translate(0);box-shadow:0 2px 6px #182a2e2e}.switch.on{background:var(--primary);box-shadow:inset 0 0 0 1px #235b6333}.switch.on .switch-knob{transform:translate(19px)}.switch.readonly{cursor:default}.footer-actions{gap:10px;margin-top:auto;padding-top:18px;display:grid}.action-card{color:#17181c;cursor:pointer;text-align:left;background:#fff;border:1px solid #235b6324;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:68px;padding:14px 16px;display:flex;box-shadow:0 12px 28px #182a2e0e}.action-card-copy{gap:4px;min-width:0;display:grid}.action-card-copy strong{color:#17181c;font-size:16px}.action-card-copy small{line-height:1.35}.action-card-arrow{color:#6f817c;flex:none;font-size:24px;font-weight:900;line-height:1;display:block}.entry-info-card{background:#fff;border:1px solid #235b631f;border-radius:8px;gap:4px;padding:14px 16px;display:grid;box-shadow:0 12px 28px #182a2e0e}.entry-info-card strong{color:#17181c;font-size:16px}.entry-info-card small{color:#6f817c;font-size:13px}.entry-result{text-align:center;align-content:center;place-items:center;gap:10px;min-height:420px;display:grid}.entry-result-icon{color:#235b63;background:#e6f0ef;border-radius:999px;place-items:center;width:72px;height:72px;display:grid}.entry-result-svg{width:30px;height:30px}.entry-result h2{font-size:22px}.entry-result p{max-width:260px;line-height:1.55}.management-action-list{margin-top:2px}.setting-row{color:#17181c;cursor:pointer;width:100%;box-shadow:none;text-align:left;background:#fff;border:0;border-bottom:1px solid #235b631a;border-radius:0;justify-content:flex-start;align-items:center;gap:12px;padding:12px 14px;display:flex}.setting-row-icon{color:#235b63;background:#e6f0ef;border-radius:999px;flex:none;place-items:center;width:40px;height:40px;display:grid}.setting-row-svg{width:20px;height:20px}.setting-row-copy{flex:auto;gap:2px;min-width:0;display:grid}.setting-row-copy strong{color:#17181c}.approval-badge{color:#fff;background:#b42318;border-radius:999px;flex:none;place-items:center;min-width:24px;height:24px;padding:0 7px;font-size:12px;font-weight:900;line-height:1;display:grid}.action-hint{font-size:13px;line-height:1.45}.code-card,.request-card{gap:10px;padding:16px;display:grid}.code-card{grid-template-columns:1fr auto;align-items:center}.code-card strong{grid-area:1/1}.code-card small{grid-area:2/1}.code-card .delete-icon{grid-area:1/2/span 2;justify-self:end;margin-right:0}.code-list.prototype-list .code-card,.status-list.prototype-list .request-card{box-shadow:none;border:0;border-bottom:1px solid #235b631a;border-radius:0}.code-list.prototype-list .code-card:last-child,.status-list.prototype-list .request-card:last-child{border-bottom:0}.request-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}label{color:#17181c;gap:7px;font-size:14px;font-weight:700;display:grid}input,textarea,select{color:#17181c;background:#fff;border:1px solid #c9d3cf;border-radius:8px;width:100%;padding:12px 13px}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible{outline-offset:2px;outline:3px solid #33798138}button{min-height:40px}.primary-button,.secondary-button,.danger-button{cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;width:100%;padding:11px 14px;font-weight:800;display:inline-flex}.primary-button{color:#fff;background:#235b63}.secondary-button{color:#235b63;background:#e6f0ef}.danger-button{color:#b42318;background:#faebe8}.bottom-nav{z-index:10;width:100%;padding:7px 8px calc(12px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #235b631f;grid-template-columns:repeat(5,1fr);display:grid;position:absolute;bottom:0;left:0;right:0;box-shadow:0 -12px 28px #182a2e0e}.bottom-nav-item{color:#667085;cursor:pointer;background:0 0;border:0;border-radius:14px;place-items:center;gap:3px;padding:7px 4px 6px;display:grid}.bottom-nav-item.active{color:#235b63;background:#e6f0ef}.bottom-nav-icon{width:21px;height:21px}.bottom-nav-label{font-size:11px;font-weight:900;line-height:1.1}.error{color:#8b1d13;background:#faebe8;border-color:#b4231847}h1,h2,h3,p,ul{margin:0}h1{font-size:28px;line-height:1.12}h2{font-size:20px;line-height:1.2}h3{font-size:16px;line-height:1.25}p,small,li{color:#4f5f5b}.error p,.error small,.error li{color:inherit}ul{gap:10px;padding:0;list-style:none;display:grid}li{overflow-wrap:anywhere;min-width:0}.panel.error{border:1px solid #b4231847;border-radius:8px;gap:14px;padding:16px;display:grid}button:disabled{cursor:not-allowed;opacity:.55}input[type=checkbox]{width:auto}fieldset{border:1px solid #235b631f;border-radius:8px;gap:10px;min-width:0;margin:0;padding:12px;display:grid}fieldset label{align-items:center;display:flex}@media (width>=860px){body{background:linear-gradient(135deg,#f7f8f6 0%,#eef3f2 48%,#fbfbf8 100%)}.mobile-app{border:1px solid #235b631f;border-radius:24px;height:min(844px,100svh - 48px);min-height:min(620px,100svh - 48px);margin-block:24px;overflow:hidden;box-shadow:0 24px 70px #10171324}}
