@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root{font-family:"DM Sans","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif;color:#192622;background:#f6f7f5;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#192622;--muted:#79837e;--line:#e6eae6;--green:#1f765f;--green-dark:#185c4a;--green-soft:#e5f3ec;--amber:#a36518;--amber-soft:#fff4df;--red:#b44e46;--red-soft:#fff0ee;--card:#fff;--shadow:0 8px 28px rgba(33,54,43,.055)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app-shell{min-height:100vh}.topbar{height:76px;padding:0 max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9ede9;background:rgba(255,255,255,.9);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--green);color:white;font-weight:700;font-size:17px;box-shadow:0 4px 10px #1f765f30}.brand strong,.brand small{display:block}.brand strong{font-size:14px;letter-spacing:.02em}.brand small{color:var(--muted);font-size:11px;margin-top:2px}.session-tools{display:flex;align-items:center;gap:12px}.user-badge{border:1px solid var(--line);padding:8px 12px;border-radius:999px;color:#42514a;font-size:12px;font-weight:600}.main-content{max-width:1240px;margin:0 auto;padding:38px 26px 70px}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.eyebrow{margin:0 0 7px;color:var(--green);font-weight:700;letter-spacing:.15em;font-size:10px}.welcome-row h1,.login-intro h1{font-size:30px;line-height:1.25;letter-spacing:-.04em;margin:0 0 8px}.welcome-row p.muted{margin:0}.muted{color:var(--muted);font-size:13px;line-height:1.65}.small-text{font-size:11px}.panel{background:var(--card);border:1px solid #e9ede9;border-radius:18px;box-shadow:var(--shadow)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 17px;border-radius:11px;border:1px solid transparent;font-weight:700;font-size:13px;transition:transform .15s ease,background .15s ease,border-color .15s ease}.button:active{transform:translateY(1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button-primary{background:var(--green);color:#fff;box-shadow:0 5px 12px #1f765f21}.button-primary:hover{background:var(--green-dark)}.button-outline{background:white;border-color:#d8e0da;color:#345247}.button-outline:hover,.button-quiet:hover{background:#f3f7f4}.button-quiet{background:#f4f6f4;color:#506057;border-color:#edf0ed}.button-small{min-height:34px;padding:0 12px;font-size:11px}.button-wide{width:100%;min-height:52px;font-size:14px}.text-button{border:0;background:transparent;color:var(--green);padding:9px 0;font-size:12px;font-weight:700}.text-button:hover{text-decoration:underline}.tab-bar{display:flex;gap:5px;padding:4px;background:#eaeeeb;border-radius:12px}.tab-button{border:0;border-radius:9px;background:transparent;color:#68746d;padding:10px 14px;font-size:12px;font-weight:700}.tab-button.active{color:var(--green-dark);background:white;box-shadow:0 2px 7px #1d3b2a10}.rollcall-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.rollcall-panel{padding:24px 26px 22px}.selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.selection-field{min-width:0}.field-label{display:block;margin-bottom:8px;font-size:11px;font-weight:700;color:#56645c;letter-spacing:.02em}.select-control,input[type=email],input[type=password],.checkpoint-input,.search-box input{width:100%;height:46px;border:1px solid #e1e7e2;border-radius:10px;background:#fff;padding:0 12px;color:var(--ink);outline:none;font-size:13px}.select-control:focus,input:focus,.search-box:focus-within{border-color:#7fb29e;box-shadow:0 0 0 3px #dff1e8}.field-hint{margin:7px 0 0;color:#89928d;font-size:10px;line-height:1.6}.rollcall-meta{margin-top:18px;display:flex;align-items:center;gap:9px;min-height:26px}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700}.status-empty{background:#f0f2f0;color:#69756e}.status-draft{background:var(--amber-soft);color:var(--amber)}.status-complete{background:var(--green-soft);color:var(--green-dark)}.progress-card{margin-top:12px;padding:16px 17px 12px;background:#f7faf8;border:1px solid #edf1ed;border-radius:13px}.progress-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px}.progress-heading strong{font-size:19px;letter-spacing:-.03em}.progress-remaining{font-size:10px;color:#7e8a82}.progress-track{height:7px;border-radius:10px;background:#e8ece9;margin-top:12px;overflow:hidden}.progress-track span{height:100%;display:block;width:0;border-radius:10px;background:#3a9b78;transition:width .25s ease}.progress-legend{display:flex;gap:15px;margin-top:10px;color:#7f8983;font-size:9px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;background:#3a9b78}.legend-dot.missing{background:#d4dcd6}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 11px}.list-heading h2,.side-card h2,.overview-panel h2,.settings-panel h2{font-size:14px;letter-spacing:-.02em;margin:0}.list-heading p{margin:3px 0 0}.search-box{display:flex;align-items:center;width:154px;height:38px;position:relative}.search-box input{height:38px;padding-right:30px;font-size:11px;background:#fbfcfb}.search-box span:not(.sr-only){position:absolute;right:10px;color:#7e8b83;font-size:21px;line-height:1}.roster-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:430px;overflow:auto;padding:2px 4px 3px 0}.person-row{min-height:54px;width:100%;display:flex;align-items:center;gap:11px;padding:8px 11px;border:1px solid #e7ebe7;border-radius:11px;background:white;text-align:left;color:var(--ink);transition:background .12s,border-color .12s}.person-row:hover{border-color:#bfd8cb}.person-row.selected{background:#f0f8f3;border-color:#acd0bd}.person-row:disabled{cursor:default}.person-check{width:22px;height:22px;flex:0 0 22px;border:1.5px solid #d3dcd5;border-radius:7px;display:grid;place-items:center;color:white;background:#fff;font-size:13px;font-weight:700}.person-row.selected .person-check{background:var(--green);border-color:var(--green)}.person-name{font-size:12px;font-weight:600;line-height:1.4}.person-code{display:block;color:#9aa39d;font-size:9px;margin-top:1px}.empty-roster{grid-column:1/-1;padding:22px;text-align:center;border:1px dashed #dce4de;border-radius:12px;color:#758078;font-size:12px;line-height:1.7}.missing-panel{margin-top:15px;padding:13px 15px;border-radius:12px;background:#fff8eb;border:1px solid #f6e6c4}.missing-heading{display:flex;align-items:center;gap:9px}.missing-heading strong{display:block;font-size:11px;color:#78521e}.missing-heading .muted{display:block;margin-top:1px;color:#a58b61}.missing-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f6e2b7;color:#946311;font-size:12px;font-weight:800}.missing-panel ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:10px 0 0;padding:0}.missing-panel li{padding:5px 8px;border-radius:7px;background:#fff;border:1px solid #f2e6d0;color:#735b35;font-size:10px}.action-area{margin-top:18px}.action-area .field-hint{text-align:center}.save-error{margin-top:14px;background:var(--red-soft);border:1px solid #f1d0cc;color:#923d37;padding:11px 13px;border-radius:10px;font-size:11px;line-height:1.6}.action-area .text-button{display:block;margin:7px auto 0}.side-column{display:grid;gap:13px}.side-card{padding:17px;display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}.side-card p{margin:6px 0 0;font-size:11px}.side-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--green-soft);color:var(--green);font-weight:700;font-size:12px}.side-card-icon.soft{background:#f1f4f1;color:#738178;font-size:16px}.quick-status-card{grid-template-columns:1fr auto;align-items:center}.quick-status-card h2{font-size:13px}.quick-status-card p{margin-top:4px}.mini-progress-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin-top:5px}.mini-slot{height:19px;border-radius:6px;display:grid;place-items:center;font-size:8px;color:#718078;background:#eff2ef}.mini-slot.done{color:#21674f;background:#dff2e8}.mini-slot.in-progress{color:#91611a;background:#fff1d9}.overview-panel,.settings-panel{padding:24px}.section-heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.section-heading-row h2{margin-bottom:6px}.section-heading-row p{margin:0}.button-row{display:flex;gap:8px;flex-wrap:wrap}.summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:21px 0}.summary-card{padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fbfcfb}.summary-card span{display:block;color:#748078;font-size:10px}.summary-card strong{display:block;font-size:22px;letter-spacing:-.04em;margin-top:4px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}.status-table{border-collapse:collapse;width:100%;min-width:720px;font-size:11px}.status-table th{background:#f7f9f7;color:#738078;text-align:left;font-weight:700;font-size:10px}.status-table th,.status-table td{padding:12px 14px;border-bottom:1px solid #edf0ed;white-space:nowrap}.status-table tbody tr:last-child td{border-bottom:0}.status-table td:first-child{font-weight:700}.table-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:700}.table-status.done{background:#e4f3eb;color:#247153}.table-status.draft{background:#fff1d9;color:#926019}.table-status.none{background:#f0f2f0;color:#77827b}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.settings-panel{min-width:0}.settings-panel .section-heading-row{margin-bottom:17px}.checkpoint-label-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checkpoint-label-item{display:flex;align-items:center;gap:8px;padding:8px;border-radius:10px;border:1px solid #edf0ed;background:#fcfdfc}.checkpoint-index{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#edf5f0;color:var(--green);font-size:10px;font-weight:700}.checkpoint-input{height:36px;padding:0 9px;font-size:11px}.upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:136px;border:1px dashed #bfd2c5;border-radius:13px;background:#f8fbf8;color:#52645a;cursor:pointer;text-align:center;gap:4px}.upload-zone:hover{background:#f1f8f3;border-color:#82ad94}.upload-zone input{display:none}.upload-zone strong{font-size:12px}.upload-zone span:not(.upload-symbol){color:#87938b;font-size:10px}.upload-symbol{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#e3f1e8;color:var(--green);font-size:18px;margin-bottom:5px}.import-workspace{margin-top:14px;padding-top:15px;border-top:1px solid var(--line)}.import-mapping-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.import-mapping-grid .selection-field:last-child{grid-column:1/-1}.radio-option{display:flex;align-items:flex-start;gap:9px;padding:10px 9px;border:1px solid #e9eeea;border-radius:10px;margin-top:6px;cursor:pointer}.radio-option input{margin-top:3px;accent-color:var(--green)}.radio-option strong,.radio-option small{display:block}.radio-option strong{font-size:11px}.radio-option small{margin-top:3px;color:#87928a;font-size:9px;line-height:1.5}.import-preview{margin:11px 0;padding:10px 12px;border-radius:10px;background:#f7f9f7;border:1px solid #ebefeb;font-size:10px;line-height:1.6;color:#617067}.import-preview strong{color:#37483e}.form-message{min-height:16px;margin:0;color:var(--red);font-size:10px;line-height:1.5}.roster-summary{margin-top:13px;padding:11px 12px;border:1px solid #edf0ed;background:#fafbfa;border-radius:10px;color:#738078;font-size:10px;line-height:1.7}.access-panel{grid-column:1/-1;display:flex;gap:13px;align-items:flex-start}.access-panel p{margin:7px 0 0}.inline-link{display:inline-block;margin-top:8px;color:var(--green);font-size:11px;font-weight:700}.app-footer{display:flex;justify-content:space-between;padding:24px 4px 0;color:#9aa39d;font-size:10px}.notice-panel{margin-bottom:20px;padding:15px 17px;border-radius:12px;background:#fff4df;border:1px solid #eeddb9;color:#6f501e;font-size:12px;line-height:1.7}.login-layout{min-height:calc(100vh - 170px);display:grid;grid-template-columns:1.1fr minmax(340px,.8fr);gap:60px;align-items:center;max-width:920px;margin:auto}.login-intro h1{font-size:42px;line-height:1.35;margin-bottom:15px}.login-intro .muted{max-width:370px;font-size:14px}.login-card{padding:29px;display:grid;gap:11px}.login-card h2{margin:0;font-size:19px}.login-card .muted{margin:5px 0 4px}.login-card .field-label{margin-bottom:-5px}.login-card input{height:48px}.login-card .button{margin-top:6px}.login-card .text-button{justify-self:center}.toast{position:fixed;z-index:40;bottom:22px;left:50%;transform:translateX(-50%);max-width:min(560px,calc(100% - 28px));padding:12px 17px;border-radius:11px;background:#20362d;color:white;box-shadow:0 8px 28px #10281d32;font-size:12px;line-height:1.5}.toast.error{background:#8c3b34}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(max-width:900px){.main-content{padding:30px 20px 58px}.rollcall-layout{grid-template-columns:minmax(0,1fr) 250px}.settings-grid{grid-template-columns:1fr}.access-panel{grid-column:auto}.side-card{padding:14px}.welcome-row h1{font-size:27px}}
@media(max-width:680px){.topbar{height:64px;padding:0 15px}.brand-mark{width:35px;height:35px;border-radius:12px}.user-badge{font-size:10px;padding:7px 9px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-tools{gap:7px}.main-content{padding:24px 13px 48px}.welcome-row{display:block;margin-bottom:15px}.welcome-row h1{font-size:25px}.tab-bar{display:flex;width:100%;margin-top:17px}.tab-button{flex:1;padding:10px 6px;font-size:11px}.rollcall-layout{display:flex;flex-direction:column;gap:12px}.rollcall-panel{width:100%;padding:17px 14px 16px;border-radius:15px}.selection-grid{gap:9px}.field-label{font-size:10px;margin-bottom:6px}.select-control{height:44px;padding:0 8px;font-size:12px}.rollcall-meta{margin-top:13px}.progress-card{padding:13px}.progress-heading strong{font-size:18px}.list-heading{margin:19px 0 10px}.search-box{width:126px}.roster-list{grid-template-columns:1fr;max-height:48vh;gap:6px}.person-row{min-height:53px;padding:8px 10px}.person-name{font-size:12px}.person-check{width:23px;height:23px;flex-basis:23px}.side-column{width:100%;grid-template-columns:1fr 1fr}.side-card{grid-template-columns:30px 1fr;gap:8px;padding:12px}.side-card-icon{width:30px;height:30px;border-radius:10px;font-size:10px}.side-card h2{font-size:11px}.side-card p{font-size:9px;line-height:1.5}.quick-status-card{grid-column:1/-1;grid-template-columns:1fr auto}.mini-progress-grid{grid-template-columns:repeat(8,1fr)}.overview-panel,.settings-panel{padding:17px 13px}.section-heading-row{display:block}.section-heading-row>.button,.section-heading-row>.button-row{margin-top:13px}.button-row .button{flex:1;padding:0 10px;font-size:10px}.summary-cards{grid-template-columns:1fr 1fr;gap:7px;margin:15px 0}.summary-card{padding:11px}.summary-card strong{font-size:19px}.checkpoint-label-grid{gap:6px}.checkpoint-label-item{padding:6px;gap:5px}.checkpoint-index{width:26px;height:27px;flex-basis:26px}.checkpoint-input{padding:0 6px;font-size:10px}.import-mapping-grid{grid-template-columns:1fr}.import-mapping-grid .selection-field:last-child{grid-column:auto}.login-layout{min-height:initial;display:flex;flex-direction:column;align-items:stretch;gap:19px;margin:7vh auto 0}.login-intro h1{font-size:31px}.login-intro .muted{font-size:12px}.login-card{padding:21px}.app-footer{font-size:9px}.access-panel{display:block}.access-panel .side-card-icon{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
