:root{--bg:#f4f6f1;--surface:#fffef9;--surface-strong:#fff;--ink:#171a16;--muted:#697064;--line:#dce2d5;--green:#1f6b43;--green-dark:#155334;--green-soft:#e5f2e8;--amber:#c7771b;--protect:#b95f00;--protect-dark:#733900;--protect-soft:#fff2cf;--protect-line:#e8b04a;--warning:#9a4f11;--shadow:0 18px 50px #1c2b1e1f;--radius:8px;color:var(--ink);background:var(--bg);font-synthesis:none;letter-spacing:0;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,system-ui,sans-serif}*,:before,:after{box-sizing:border-box;min-width:0}html,body,#app{width:100%;max-width:100%;min-height:100svh;overflow-x:hidden}body{min-width:320px;margin:0}button,input,select,textarea{width:auto;max-width:100%;font:inherit;border-radius:0}button,select,input{appearance:none}button{-webkit-tap-highlight-color:transparent}select,input,textarea,button,video{display:block}p,h1,h2,h3,span,strong,small,dt,dd,label,button{overflow-wrap:anywhere}.app-shell{width:100%;max-width:100%;min-height:100svh;padding:max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));background:linear-gradient(180deg, #1f6b431f, #1f6b4300 260px), var(--bg);overflow-x:hidden}.phone-frame{width:100%;max-width:430px;min-height:calc(100svh - 28px);box-shadow:var(--shadow);background:#fffef9c7;border:1px solid #1f6b4329;border-radius:22px;margin:0 auto;padding:18px 14px 24px;overflow:hidden}.app-header{justify-content:space-between;align-items:flex-start;gap:10px;padding:4px 4px 14px;display:flex}.title-block{min-width:0}.header-actions{flex:0 118px;justify-items:end;gap:8px;display:grid}.records-link,.text-action{width:fit-content;color:var(--green);text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:13px;font-weight:900;text-decoration:underline}.eyebrow{color:var(--green);letter-spacing:.04em;text-transform:uppercase;margin:0 0 5px;font-size:12px;font-weight:800}h1,h2,h3,p{margin:0}h1{color:var(--ink);font-size:27px;font-weight:900;line-height:1.12}h2{font-size:18px;font-weight:900;line-height:1.3}h3{font-size:16px;font-weight:900;line-height:1.35}.depot-badge{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);text-align:right;width:100%;min-width:0;padding:8px 10px}.depot-badge span{color:var(--muted);font-size:11px;font-weight:700;display:block}.depot-badge strong{margin-top:2px;font-size:15px;display:block}.status-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px;display:grid}.status-strip span{border:1px solid var(--line);border-radius:var(--radius);min-height:34px;color:var(--muted);background:#ffffffb3;place-items:center;font-size:12px;font-weight:800;display:grid}.status-strip .active{background:var(--green);color:#fff;border-color:#1f6b435c}.panel{border:1px solid var(--line);background:var(--surface);border-radius:18px;width:100%;max-width:100%;padding:14px}.flow-panel,.review-panel,.complete-panel,.records-panel,.mode-select-panel,.draft-resume-panel,.guided-panel,.check-screen{gap:16px;display:grid}.mode-select-panel{gap:12px}.mode-choice{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;color:var(--ink);text-align:left;gap:5px;padding:16px;display:grid}.mode-choice.recommended{background:var(--green-soft);border-color:#1f6b436b}.mode-choice span{background:var(--green);color:#fff;border-radius:999px;width:fit-content;padding:3px 8px;font-size:11px;font-weight:900}.mode-choice strong{font-size:20px;font-weight:900}.mode-choice small{color:var(--muted);font-size:13px;font-weight:800}.mode-switch-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fffef9c7;gap:8px;padding:10px;display:grid}.mode-switch-panel>span{color:var(--muted);font-size:12px;font-weight:900}.mode-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.mode-switch button{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;min-height:44px;color:var(--ink);font-weight:900}.mode-switch .selected{border-color:var(--green);background:var(--green);color:#fff}.reset-action{justify-self:end}.field-block{border:0;gap:8px;width:100%;margin:0;padding:0;display:grid}.field-label{color:var(--muted);font-size:13px;font-weight:900}.field-help{color:var(--ink);margin:0;font-size:13px;font-weight:800;line-height:1.45}.field-help--subtle{color:var(--muted);font-size:12px}.course-select-field{gap:10px}.course-button-grid,.support-mode-grid{flex-wrap:wrap;gap:8px;display:flex}.support-scope-panel{border:1px solid var(--line);border-radius:var(--radius);background:#f8faf5;gap:9px;padding:10px;display:grid}.course-choice,.support-mode-choice{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:auto;min-height:48px;color:var(--ink);justify-content:center;align-items:center;gap:7px;padding:10px 12px;font-size:14px;font-weight:900;line-height:1.2;display:inline-flex}.course-choice.selected,.support-mode-choice.selected{border-color:var(--green);background:var(--green-soft);color:var(--green-dark);box-shadow:inset 0 0 0 1px #1f6b4324}.course-choice:disabled{color:#8b9585;background:#f1f4ed;border-color:#d7ddd2}.course-choice small{color:inherit;font-size:11px;font-weight:900}.choice-check{border:2px solid;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:12px;font-weight:900;line-height:1;display:inline-grid}.select-input,.text-input,.count-input{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;min-width:0;min-height:52px;color:var(--ink);outline:none;font-size:18px;font-weight:800}.select-input{background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 19px) 22px,calc(100% - 13px) 22px;background-repeat:no-repeat;background-size:6px 6px;padding:0 38px 0 14px}.text-input{padding:0 14px}.select-input:focus,.text-input:focus,.count-input:focus{border-color:var(--green);box-shadow:0 0 0 4px #1f6b4324}.error-banner,.hint-banner{border-radius:var(--radius);text-align:left;margin:0;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.error-banner{color:#8a2d19;background:#fff4ef;border:1px solid #b8442552;margin-bottom:12px}.hint-banner{color:var(--warning);background:#fff8ea;border:1px solid #9a4f1142}.draft-save-status{border:1px solid var(--line);color:var(--muted);background:#fffef9d6;border-radius:999px;justify-self:end;padding:4px 9px;font-size:11px;font-weight:900}.draft-save-status.saving{color:var(--warning)}.draft-save-status.error{color:#8a2d19;background:#fff4ef;border-color:#b8442552}.draft-resume-panel{gap:14px}.segmented-field legend{margin-bottom:8px}.segmented-control{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.segmented-control button{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;min-height:52px;color:var(--ink);font-weight:900}.segmented-control .selected{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.count-input-wrap{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);grid-template-columns:minmax(0,1fr) 42px;align-items:center;width:100%;display:grid}.count-input-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 4px #1f6b4324}.count-input{background:0 0;border:0;padding:0 14px}.count-input-wrap span{color:var(--muted);font-size:16px;font-weight:900}.checklist{gap:10px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading span{color:var(--green);flex:none;font-size:13px;font-weight:900}.progress-heading{align-items:flex-start}.progress-pair{text-align:right;flex:none;gap:3px;display:grid}.progress-pair span{color:var(--green);font-size:12px}.check-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;color:var(--ink);text-align:left;gap:12px;padding:12px;display:grid}.check-card.checked{background:var(--green-soft);border-color:#1f6b4361}.check-card-main{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.check-copy{gap:3px;display:grid}.check-copy p,.detail-video-card p{color:var(--muted);font-size:12px;font-weight:800}.check-toggle{border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:44px;color:var(--ink);background:#f8faf5;justify-content:flex-start;align-items:center;gap:8px;padding:8px 10px;font-weight:900;display:flex}.check-toggle.checked{border-color:var(--green);color:var(--green-dark)}.check-mark{color:#fff;border:2px solid #b7c2af;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:17px;font-weight:900;display:grid}.check-toggle.checked .check-mark{border-color:var(--green);background:var(--green)}.item-video-block{gap:8px;display:grid}.video-status-row{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:13px;font-weight:900;display:flex}.ready-text{color:var(--green)}.pending-text{color:var(--warning)}.video-capture{border-radius:var(--radius);background:var(--surface-strong);width:100%;min-height:84px;color:var(--green-dark);text-align:center;border:2px dashed #aeb9a7;place-items:center;padding:14px;font-size:16px;font-weight:900;display:grid}.compact-capture{border-style:solid;min-height:52px;font-size:15px}.video-capture input{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.inline-video-preview{gap:8px;display:grid}.inline-video-preview video,.detail-video-card video,.saved-video{border:1px solid var(--line);border-radius:var(--radius);background:#111;width:100%;max-width:100%;max-height:280px}.video-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:800;display:flex}.video-meta span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.primary-action,.secondary-action{border-radius:var(--radius);width:100%;min-height:56px;font-weight:900}.primary-action{background:var(--green);color:#fff;border:0}.primary-action:disabled{color:#fffc;background:#b9c3b3}.secondary-action{border:1px solid var(--line);background:var(--surface-strong);color:var(--ink)}.secondary-action:disabled{color:#9aa394}.compact-action{min-height:44px}.danger-clear{background:var(--amber)}.summary-list{gap:8px;margin:0;display:grid}.summary-list div,.review-checks article{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-height:44px;display:flex}.summary-list dt{color:var(--muted);flex:none;font-size:13px;font-weight:900}.summary-list dd{text-align:right;margin:0;font-size:16px;font-weight:900}.record-protection-panel{border-radius:var(--radius);text-align:center;background:#fff9e8;border:1px solid #e8b04a9e;gap:12px;padding:10px;display:grid}.record-protection-panel.protected{border-color:var(--protect-line);background:var(--protect-soft);box-shadow:inset 5px 0 0 var(--protect)}.protection-status-card p{color:var(--muted);margin:0;font-size:14px;font-weight:800;line-height:1.5}.protection-primary-action{border-radius:var(--radius);color:#211100;text-align:center;background:linear-gradient(#ffffff6b,#fff0),linear-gradient(#f7bc45,#de8511);border:1px solid #73390038;place-items:center;gap:8px;width:100%;min-height:170px;padding:18px 14px;display:grid;box-shadow:0 10px 22px #b95f002e}.protection-primary-action strong,.protection-status-card strong{color:var(--protect-dark);font-size:20px;font-weight:900;line-height:1.25}.protection-primary-action small{color:#4a2800;font-size:14px;font-weight:900;line-height:1.35}.protection-primary-action:hover:not(:disabled){background:linear-gradient(#ffffff7a,#fff0),linear-gradient(#fac85a,#e18d18)}.protection-primary-action:active:not(:disabled){transform:translateY(1px);box-shadow:0 6px 14px #b95f0029}.protection-primary-action:disabled{opacity:.62;box-shadow:none}.protection-status-card{place-items:center;gap:8px;padding:16px 12px 12px;display:grid}.protection-status-card .secondary-action{width:100%;margin-top:4px}.lock-icon{filter:drop-shadow(0 8px 12px #7339002e);place-items:center;width:78px;height:78px;display:grid}.lock-icon svg{width:100%;height:100%;display:block}.lock-shackle,.lock-body{stroke:#6f3a00;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round}.lock-shackle{fill:none}.lock-body{fill:#f5b93f}.lock-keyhole{fill:none;stroke:#26211a;stroke-width:4px;stroke-linecap:round}.lock-icon--open .lock-shackle{transform-origin:30px 30px;transform:rotate(-18deg)translate(-8px,4px)}.record-tags-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);gap:12px;padding:12px;display:grid}.record-tags-heading{gap:4px;display:grid}.record-tags-heading h3,.record-tags-heading p,.record-tags-heading small{margin:0}.record-tags-heading h3{color:var(--ink);font-size:16px;font-weight:900}.record-tags-heading p{color:var(--ink);font-size:14px;font-weight:800;line-height:1.45}.record-tags-heading small{color:var(--muted);font-size:12px;font-weight:800;line-height:1.45}.record-tag-actions,.record-tag-list{flex-wrap:wrap;gap:8px;display:flex}.record-tag-button{border:1px solid var(--line);width:auto;min-height:46px;color:var(--ink);white-space:nowrap;background:#fff;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:10px 12px;font-size:14px;font-weight:900;line-height:1.2;display:inline-flex}.record-tag-button.is-selected{border-width:2px;padding:9px 11px;box-shadow:inset 0 0 0 1px #ffffffad}.record-tag-button:disabled{opacity:.62}.record-tag-check{width:18px;height:18px;color:inherit;border:1px solid;border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:900;line-height:1;display:inline-grid}.record-tag-button--important.is-selected{color:#5b3c00;background:#fff3bd;border-color:#c18700}.record-tag-button--nearMiss.is-selected{color:#693400;background:#ffe8cd;border-color:#cf7b1a}.record-tag-button--accident.is-selected{color:#782a1b;background:#ffe1dc;border-color:#d67868}.record-tag-button--customerSupport.is-selected,.record-tag-button--postOfficeSupport.is-selected{color:#123e6e;background:#e3f0ff;border-color:#5c90c9}.record-tag-button--evidence.is-selected{color:#3d326b;background:#ece8f7;border-color:#8d80b7}.review-checks{gap:0;display:grid}.review-checks article{color:var(--ink);font-size:14px;font-weight:900}.review-checks article>div{text-align:right;flex:none;gap:2px;display:grid}.review-checks time{color:var(--green);flex:none;font-size:13px}.review-checks strong{color:var(--muted);font-size:11px}.action-row{grid-template-columns:92px minmax(0,1fr);gap:10px;display:grid}.complete-panel{text-align:center}.complete-mark{background:var(--green);color:#fff;border-radius:50%;justify-self:center;place-items:center;width:58px;height:58px;font-size:30px;font-weight:900;display:grid}.complete-actions{gap:10px;display:grid}.share-message{border:1px solid var(--line);border-radius:var(--radius);color:var(--muted);text-align:left;background:#f8faf5;padding:10px 12px;font-size:13px;font-weight:900;line-height:1.45}.share-message.done,.share-message.copied{background:var(--green-soft);color:var(--green-dark);border-color:#1f6b4342}.share-message.cancelled{color:var(--warning);background:#fff8ea;border-color:#9a4f1142}.share-message.error,.share-message.unavailable,.share-message.copyError{color:#8a2d19;background:#fff4ef;border-color:#b8442552}.empty-state{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);color:var(--muted);text-align:center;padding:16px;font-size:14px;font-weight:800}.record-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;color:var(--ink);text-align:left;gap:4px;padding:12px;display:grid}.record-card--protected{border-color:var(--protect-line);background:linear-gradient(90deg, #fff2cffa, var(--surface-strong) 52%);box-shadow:inset 5px 0 0 var(--protect);position:relative}.record-card span{color:var(--muted);font-size:12px;font-weight:800}.record-card strong{font-size:16px;font-weight:900}.record-card small{color:var(--green);font-size:13px;font-weight:900}.record-card .record-course-line{color:var(--muted);overflow-wrap:anywhere;font-size:12px;font-weight:900;line-height:1.35}.record-card--protected small{color:var(--protect-dark)}.record-protection-chip{width:fit-content;max-width:100%;color:var(--protect-dark);white-space:nowrap;background:#fffaf0;border:1px solid #b95f0052;border-radius:999px;align-items:center;gap:6px;padding:4px 9px;font-size:13px;font-weight:900;line-height:1.2;display:inline-flex}.record-protection-chip-mark{flex:none;width:13px;height:14px;position:relative}.record-protection-chip-mark:before{content:"";border:2px solid #7a4200;border-bottom:0;border-radius:7px 7px 0 0;width:9px;height:8px;position:absolute;top:0;left:2px}.record-protection-chip-mark:after{content:"";background:#f5b93f;border:1px solid #7a4200;border-radius:3px;width:11px;height:8px;position:absolute;bottom:0;left:1px}.record-tag-list--compact{margin-top:2px}.record-card .record-tag-chip{border:1px solid var(--line);width:fit-content;max-width:100%;color:var(--ink);white-space:nowrap;background:#fff;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:900;line-height:1.25}.record-card .record-tag-chip--important{color:#5b3c00;background:#fff5c9;border-color:#d2a12a}.record-card .record-tag-chip--nearMiss{color:#693400;background:#fff0de;border-color:#e0a060}.record-card .record-tag-chip--accident{color:#782a1b;background:#ffe9e6;border-color:#e19a90}.record-card .record-tag-chip--customerSupport,.record-card .record-tag-chip--postOfficeSupport{color:#123e6e;background:#edf6ff;border-color:#89b1dd}.record-card .record-tag-chip--evidence{color:#3d326b;background:#f2eff9;border-color:#aaa0cc}.detail-video-list{gap:12px;display:grid}.detail-video-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);text-align:left;gap:8px;padding:12px;display:grid}.muted-note{color:var(--muted);font-size:13px;font-weight:800}.guided-progress{gap:9px;display:grid}.guided-progress>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.guided-progress span{color:var(--green);font-size:13px;font-weight:900}.guided-progress strong{color:var(--ink);font-size:13px;font-weight:900}.progress-track{background:#dbe4d6;border-radius:999px;height:8px;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--green);height:100%;display:block}.guided-step{gap:16px;display:grid}.guided-location-list{gap:10px;display:grid}.location-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-strong);width:100%;min-height:76px;color:var(--ink);text-align:left;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px;display:grid}.location-card.partial{background:#fff8ea;border-color:#9a4f1157}.location-card.complete{background:var(--green-soft);border-color:#1f6b4361}.location-check{color:#fff;border:2px solid #b7c2af;border-radius:50%;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.location-card.complete .location-check{border-color:var(--green);background:var(--green)}.location-copy{gap:3px;display:grid}.location-copy strong{font-size:16px;font-weight:900;line-height:1.35}.location-copy small{color:var(--muted);font-size:13px;font-weight:900}.location-copy time{color:var(--green);font-size:12px;font-weight:900}.location-action{color:var(--green-dark);grid-column:2;font-size:13px;font-weight:900}.guided-back{justify-self:start}.guided-item-title{font-size:30px;line-height:1.18}.guided-instruction{color:var(--muted);font-size:16px;font-weight:800;line-height:1.55}.guided-status-card{border:1px solid var(--line);border-radius:var(--radius);background:#f8faf5;justify-content:space-between;align-items:center;gap:12px;padding:12px;font-weight:900;display:flex}.guided-status-card span{color:var(--muted)}.guided-status-card strong{color:var(--green)}.guided-capture{border-style:solid;min-height:96px;font-size:18px}.guided-video-preview video{max-height:340px}.guided-bottom-action{min-height:60px}@media (width>=380px){.check-card-main{grid-template-columns:122px minmax(0,1fr);align-items:center}}@media (width<=360px){.app-shell{padding:8px}.phone-frame{border-radius:16px;min-height:calc(100svh - 16px);padding:14px 10px 18px}h1{font-size:24px}.panel{padding:12px}.app-header{gap:8px}.header-actions{flex-basis:104px}}
