:root{font-family:Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;color:#242924;background:#f4f1ea;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--paper: #fcfbf8;--ink: #242924;--muted: #747b72;--line: #e4e2d8;--green: #255b4a;--mint: #d9eadc;--orange: #c8753f;--red: #a94f40;--shadow: 0 16px 45px rgba(45, 49, 42, .055)}*{box-sizing:border-box}body{min-width:320px;margin:0;background:radial-gradient(circle at 2% 12%,rgba(226,217,197,.28),transparent 22rem),#f4f1ea}button,input{font:inherit}button{cursor:pointer}.app-shell{width:min(1120px,calc(100% - 44px));margin:0 auto}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(76,82,70,.12)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:700;letter-spacing:.01em}.brand-mark{display:grid;grid-template-columns:repeat(3,5px);gap:3px;align-items:center;height:26px;padding:0 6px;border-radius:8px;background:#255b4a}.brand-mark span{display:block;width:5px;height:5px;border-radius:50%;background:#f4f1ea}.brand-mark span:nth-child(2){transform:translateY(-5px)}.intro-panel{display:flex;justify-content:space-between;align-items:center;min-height:122px;padding:24px 30px;margin:20px 0 15px;border:1px solid #e6e3d8;border-radius:16px;background:linear-gradient(112deg,#fbfaf6 2%,#f8f6ef 55%,#f0efe5);overflow:hidden;position:relative}.intro-copy{position:relative;z-index:1;max-width:560px}.eyebrow{margin:0 0 8px;color:#7c866d;font-size:9px;font-weight:700;letter-spacing:.17em}h1,h2,h3,p{margin-top:0}.intro-panel h1{margin:0;color:#27352d;font-size:clamp(25px,3.4vw,35px);line-height:1.3;letter-spacing:-.04em;font-weight:600}.mobile-break{display:none}.intro-description{max-width:490px;margin:7px 0 0;color:#6f766c;font-size:12px;line-height:1.65}.stage-illustration{position:relative;width:250px;height:158px;margin-right:32px;flex:none;opacity:.86}.stage-front-label,.stage-center-label{position:absolute;color:#888c7e;font-size:9px;font-weight:600;letter-spacing:.04em}.stage-front-label{top:3px;left:calc(50% - 17px)}.stage-center-label{left:calc(50% - 38px);bottom:0}.stage-grid{position:absolute;inset:22px 4px 23px;border:1px solid #b7bbac;border-radius:44% 44% 4px 4px/18% 18% 4px 4px;background-image:linear-gradient(rgba(125,139,116,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(125,139,116,.16) 1px,transparent 1px);background-size:25px 25px;background-position:center}.stage-grid:before{content:"";position:absolute;top:0;bottom:0;left:50%;border-left:1px dashed #8f9f88}.stage-grid i{position:absolute;width:7px;height:7px;border:1px solid #c0c4b8;border-radius:50%;background:#fbfaf6}.stage-grid i:nth-child(1){left:21%;top:26%}.stage-grid i:nth-child(2){left:33%;top:26%}.stage-grid i:nth-child(3){left:45%;top:26%}.stage-grid i:nth-child(4){left:57%;top:26%}.stage-grid i:nth-child(5){left:69%;top:26%}.stage-grid i:nth-child(6){left:27%;top:49%}.stage-grid i:nth-child(7){left:39%;top:49%}.stage-grid i:nth-child(8){left:61%;top:49%}.stage-grid i:nth-child(9){left:73%;top:49%}.stage-dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#255b4a;box-shadow:0 0 0 4px #255b4a1f}.dot-one{left:49%;top:24%}.dot-two{left:36%;top:48%;background:#d47a48;box-shadow:0 0 0 4px #d47a481f}.dot-three{left:62%;top:71%;background:#6b8270;box-shadow:0 0 0 4px #6b82701f}.stage-route{position:absolute;width:54px;height:35px;left:39%;top:40%;border-right:1px solid #c8753f;border-bottom:1px solid #c8753f;transform:skew(-35deg) rotate(-13deg)}.stage-route:after{content:"";position:absolute;width:6px;height:6px;right:-3px;bottom:-4px;border-top:1px solid #c8753f;border-right:1px solid #c8753f;transform:rotate(45deg)}.workflow-guide{position:sticky;top:0;z-index:10;margin:0 0 13px;padding:7px 0 9px;background:#f4f1ea}.workflow-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.workflow-step{position:relative;display:flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:6px 9px;border:1px solid #e5e4dc;border-radius:10px;background:#fcfbf89e;color:#90968c;font-size:10px;font-weight:600;transition:background .18s,border-color .18s,color .18s}.workflow-step-mark{display:grid;place-items:center;width:21px;height:21px;flex:none;border:1px solid #d7ddd3;border-radius:50%;color:#92988e;font-size:9px}.workflow-step-current{border-color:#527f5d;background:#e8f1e5;color:#244d36;box-shadow:0 0 0 2px #4f825b26}.workflow-step-current .workflow-step-mark,.workflow-step-complete .workflow-step-mark{border-color:#4d7d5b;background:#4d7d5b;color:#fff}.workflow-step-complete{color:#4b6b50}.workflow-step-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.workflow-instruction{display:flex;min-height:31px;align-items:center;gap:8px;margin:7px 0 0;padding:5px 10px;border:1px solid #cfddce;border-radius:9px;background:#eaf3e8;color:#244d36;font-size:11px;font-weight:650;line-height:1.4}.workflow-instruction-mark{display:grid;place-items:center;width:17px;height:17px;flex:none;border-radius:50%;background:#4d7d5b;color:#fff;font-size:16px;line-height:1}.workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workspace-grid.is-upload-only{grid-template-columns:minmax(0,1fr)}.surface-card{background:var(--paper);border:1px solid #e7e5dc;border-radius:14px;box-shadow:var(--shadow)}.input-card,.search-card{min-height:0;padding:20px 22px 17px}.workflow-target{scroll-margin-block:18vh}.workflow-target.is-current-step{border-color:#5f8a65;box-shadow:0 0 0 3px #59895f24,var(--shadow)}.upload-zone{display:flex;min-height:105px;flex-direction:column;align-items:center;justify-content:center;padding:12px;border:1px dashed #cbd3c8;border-radius:11px;background:#f8faf6;text-align:center;cursor:pointer;transition:border-color .16s,background .16s}.upload-zone:hover,.upload-zone:focus-within{border-color:#689177;background:#f3f8f1}.upload-zone.is-loaded{min-height:54px;flex-direction:row;gap:8px;border-style:solid;border-color:#9eb8a0;background:#f4f8f1;text-align:left}.upload-zone.is-busy{opacity:.72;cursor:wait}.upload-zone input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.upload-icon{display:grid;place-items:center;width:25px;height:25px;margin-bottom:5px;color:#547d5f}.upload-icon svg{width:23px;height:23px}.upload-title{color:#34453a;font-size:12px;font-weight:600}.file-name{min-width:0;margin-top:6px;color:#40684a;font-size:10px;font-weight:600}.upload-zone.is-loaded .file-name{flex:1;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-zone.is-loaded .upload-title{flex:none;font-size:10px}.check-mark{display:inline-grid;place-items:center;width:14px;height:14px;margin-right:4px;border-radius:50%;background:#d9ebd7;font-size:9px}.privacy-note{display:flex;gap:8px;align-items:flex-start;margin-top:13px;color:#7d8279}.lock-icon{display:grid;place-items:center;width:15px;height:15px;flex:none;color:#64806b;font-size:14px}.privacy-note p{margin:0;font-size:9px;line-height:1.65}.text-button{border:0;padding:0;background:transparent;color:#587461;font-size:10px;font-weight:600}.clear-button{margin:10px 0 0 23px}.notice{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding:9px 11px;border-radius:8px;font-size:9px;line-height:1.6}.notice-warning{color:#765526;background:#fbf3e3;border:1px solid #efdfb6}.notice-error{color:#8d3c34;background:#fbefed;border:1px solid #efd5d0}.import-review-notice{margin:14px 0 0;padding:13px 15px;font-size:11px}.import-review-notice p{margin:0;font-size:10px}.import-review-notice>summary{display:grid;gap:3px;cursor:pointer;list-style:none}.import-review-notice>summary::-webkit-details-marker{display:none}.import-review-notice>summary strong{color:#704f23;font-size:11px}.import-review-notice>summary span{color:#846a3c;font-size:10px}.import-review-content{display:grid;gap:5px;margin-top:10px}.import-review-confirm{display:flex;align-items:center;gap:7px;margin-top:4px;color:#4f623f;font-size:10px;font-weight:600}.import-review-confirm input{accent-color:#416c50}.import-review-confirm input:disabled{cursor:not-allowed}.import-review-confirm-help{color:#805d37;font-size:9px!important}.field-label{display:block;margin:2px 0 7px;color:#6e756d;font-size:10px;font-weight:600}.search-field-wrap{display:flex;align-items:center;height:43px;padding:0 12px;border:1px solid #dfe3da;background:#fff;border-radius:9px;transition:border .15s,box-shadow .15s}.search-field-wrap:focus-within{border-color:#699078;box-shadow:0 0 0 3px #6990781f}.search-field-wrap input{min-width:0;flex:1;height:100%;padding:0 9px;border:0;outline:none;background:transparent;color:#28332c;font-size:13px}.search-field-wrap input:disabled{cursor:not-allowed}.search-field-wrap input::placeholder{color:#b0b5ac}.search-icon{width:17px;height:17px;color:#90978d;flex:none}.input-clear{display:grid;place-items:center;width:23px;height:23px;border:0;border-radius:50%;background:#eef0eb;color:#6e756d;font-size:17px;line-height:1}.field-help{margin:5px 0 15px;color:#9a9f96;font-size:9px}.field-warning{margin:8px 0 15px;padding:10px 12px;color:#7c341b;background:#fff0e8;border:1px solid #efc2a8;border-radius:12px;font-size:13px;font-weight:650;line-height:1.5}.coordinate-key{padding:12px 13px;border-radius:9px;background:#f5f5ef}.key-title{margin:0 0 8px;color:#747c70;font-size:9px;font-weight:700}.key-row{display:grid;grid-template-columns:42px 1fr auto;gap:8px;align-items:center;color:#5e685f;font-size:9px}.key-row+.key-row{margin-top:7px}.axis-tag{color:#48614b;font-weight:700}.axis-example{color:#888f84;font-size:8px}.secondary-details{margin-top:12px;color:#6d756b;font-size:10px}.secondary-details>summary{display:inline-flex;align-items:center;gap:7px;min-height:27px;color:#60735f;cursor:pointer;font-size:10px;font-weight:600;list-style:none}.secondary-details>summary::-webkit-details-marker{display:none}.secondary-details>summary:before{content:"＋";display:grid;place-items:center;width:17px;height:17px;border:1px solid #d6ddd2;border-radius:50%;font-size:10px}.secondary-details[open]>summary:before{content:"−"}.secondary-details>p{max-width:620px;margin:5px 0 0 24px;color:#858c82;font-size:9px;line-height:1.7}.coordinate-details{margin-top:12px}.coordinate-details .coordinate-key{margin:5px 0 0 24px}.ready-state{display:flex;gap:13px;align-items:center;margin-top:17px;padding:15px 18px}.ready-icon{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;background:#e3f0e2;color:#4e8659;font-weight:700}.ready-state strong{color:#34463a;font-size:12px}.ready-state p{margin:3px 0 0;color:#848b82;font-size:10px}.ready-file{margin-left:auto;color:#899087;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results-section{margin:22px 0 0}.results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.results-heading h2{margin:0;color:#28342c;font-size:20px;font-weight:600;letter-spacing:-.025em}.results-count{color:#7e867a;font-size:10px}.results-count strong{color:#2e5f49;font-size:15px}.pdf-export-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:17px 19px;border-color:#dce6d9;background:linear-gradient(110deg,#f8faf5,#fdfbf7)}.results-section.is-current-step .pdf-export-card{border-color:#92b398;box-shadow:0 0 0 3px #59895f1f,0 8px 22px #2d312a0f}.pdf-export-copy{min-width:0}.pdf-export-copy strong{color:#304537;font-size:13px;font-weight:650}.pdf-export-copy p:last-child{margin:4px 0 0;color:#7d857a;font-size:10px;line-height:1.6}.pdf-export-actions{display:flex;flex:none;flex-direction:column;align-items:flex-end;gap:6px}.primary-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:0 17px;border:1px solid #255b4a;border-radius:9px;background:#255b4a;color:#fff;font-size:11px;font-weight:700;text-decoration:none;box-shadow:0 4px 12px #255b4a1f}.primary-button:hover:not(:disabled){border-color:#194939;background:#194939}.primary-button:focus-visible{outline:3px solid rgba(37,91,74,.28);outline-offset:2px}.primary-button:disabled{border-color:#b9c5b8;background:#c4cec2;color:#f9fbf8;box-shadow:none;cursor:not-allowed}.export-help{max-width:390px;margin:0;color:#81887d;font-size:9px;line-height:1.5;text-align:right;overflow-wrap:anywhere}.export-error{max-width:420px;margin:0;color:#923f35;font-size:10px;line-height:1.55;text-align:right}.pdf-preview-card{margin:0 0 14px;padding:14px}.pdf-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#34463a;font-size:11px}.pdf-preview-heading a{color:#3c7252;font-size:10px;font-weight:650}.pdf-preview{display:flex;min-height:420px;max-height:76vh;flex-direction:column;align-items:center;gap:12px;overflow:auto;padding:12px;border:1px solid #e3e2db;border-radius:8px;background:#f1f0ec}.pdf-preview-controls{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:5px;border-radius:8px;background:#f8f7f3f5;color:#596258;font-size:10px}.pdf-preview-controls button{min-height:32px;padding:0 10px;border:1px solid #d8ddd5;border-radius:7px;background:#fff;color:#35533f;font-size:10px}.pdf-preview-controls button:disabled{color:#a7ada4;cursor:not-allowed}.pdf-preview-canvas{display:block;flex:none;max-width:100%;height:auto;background:#fff;box-shadow:0 2px 12px #282c251f}.pdf-preview-message{margin:auto;padding:24px 12px;color:#657064;font-size:12px}.pdf-preview-error{color:#923f35}.results-details{margin-top:14px;padding:12px 15px;border:1px solid #e5e4dc;border-radius:12px;background:#fcfbf8ad}.results-details[open]>.scene-list{margin-top:13px}.results-details>.results-footnote{margin-bottom:0}.movement-planner-disclosure{margin:14px 0 0}.movement-disclosure-help{margin:10px 0 0 24px;color:#7c8579;font-size:11px;line-height:1.6}.howto-disclosure{margin-top:18px;padding:3px 0}.scene-list{display:grid;gap:9px}.scene-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;padding:16px 18px;box-shadow:0 5px 17px #2d312a09}.scene-title-row{display:flex;align-items:center;gap:9px}.scene-status{display:inline-flex;align-items:center;min-height:20px;padding:3px 8px;border-radius:100px;font-size:9px;font-weight:700}.status-found{color:#315f42;background:#e6f0e3}.status-not-listed{color:#788074;background:#eeefe9}.status-ambiguous{color:#7c5a2b;background:#f9efd9}.status-needs-review{color:#884d33;background:#f7e8dd}.scene-page{color:#a0a49b;font-size:9px}.scene-card h3{margin:6px 0 5px;color:#2d3830;font-size:17px;font-weight:600}.scene-coordinate{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;color:#46594b;font-size:12px;font-weight:600}.coordinate-separator{color:#b0b5aa;font-size:10px;font-weight:400}.scene-message{max-width:680px;margin:0;color:#848a80;font-size:10px;line-height:1.75}.movement-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px;color:#656f64;font-size:10px}.movement-label{min-width:73px;color:#8a9086;font-size:9px}.movement-arrow{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#edf2e9;color:#365f46;font-size:13px;font-weight:700}.movement-target{color:#92988e;font-size:9px}.movement-occupant{color:#748064;font-size:9px}.next-movement{color:#355d43;font-weight:600}.movement-muted{color:#999e94;font-size:9px}.movement-muted .movement-label{min-width:73px}.scene-caveat{margin-top:9px;color:#997046;font-size:9px}.scene-actions{grid-column:2;grid-row:1;align-self:center}.outline-button{min-height:33px;padding:0 12px;border:1px solid #d7ded4;border-radius:8px;background:#fff;color:#4e6b53;font-size:9px;font-weight:600;white-space:nowrap}.outline-button:hover{border-color:#8eab91;background:#f7faf5}.scene-art-section{grid-column:1/-1;padding-top:12px;border-top:1px solid #eeeee8}.chart-hint{margin:0 0 8px;color:#888e84;font-size:9px}.chart-scroll{max-width:100%;overflow:auto;border:1px solid #e2e1d9;border-radius:7px;background:#f7f5ef;scrollbar-color:#c2c8bc #efeee8}.chart-crop{position:relative;width:max-content;max-width:none}.chart-crop canvas{display:block;max-width:none;height:auto}.chart-crop-interactive{cursor:crosshair}.review-position-marker{position:absolute;width:13px;height:13px;transform:translate(-50%,-50%);border:2px solid #315f49;border-radius:50%;background:#ffffffb8;pointer-events:none}.review-candidate-marker{position:absolute;display:grid;place-items:center;width:19px;height:19px;transform:translate(-50%,-50%);border:2px solid #bd654d;border-radius:50%;background:#fff8f0ed;color:#873d2e;font-size:11px;font-weight:750;pointer-events:none}.movement-vector{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.movement-vector line{stroke:#ef674d;stroke-width:1.7;stroke-dasharray:3 2;vector-effect:non-scaling-stroke}.movement-vector marker path{fill:#ef674d}.person-highlight{position:absolute;width:27px;height:27px;transform:translate(-50%,-50%);border:2px solid #ef674d;border-radius:50%;background:#ffffff2e;box-shadow:0 0 0 4px #ef674d38,0 2px 9px #33241c4d;pointer-events:none}.destination-highlight{position:absolute;width:19px;height:19px;transform:translate(-50%,-50%);border:2px solid #387c59;border-radius:50%;box-shadow:0 0 0 3px #387c5930;pointer-events:none}.chart-error{padding:16px;border-radius:8px;color:#8d3c34;background:#fbefed;font-size:10px}.results-footnote{margin:11px 2px 0;color:#8f958b;font-size:9px}.empty-state{display:flex;gap:12px;align-items:center;padding:18px}.empty-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#f0f0e9;color:#777f72;font-weight:700}.empty-state strong{color:#4d594e;font-size:12px}.empty-state p{margin:4px 0 0;color:#8c9289;font-size:10px}@media(max-width:760px){.app-shell{width:min(100% - 30px,540px)}.topbar{height:65px}.brand{font-size:12px}.intro-panel{min-height:0;padding:20px 18px;margin-top:13px}.intro-panel h1{font-size:25px}.intro-description{max-width:330px;font-size:11px}.stage-illustration{position:absolute;width:195px;height:124px;right:-58px;bottom:-5px;margin:0;opacity:.34}.mobile-break{display:block}.workspace-grid{grid-template-columns:1fr;gap:11px}.workspace-grid.is-upload-only{grid-template-columns:1fr}.input-card,.search-card{min-height:auto;padding:16px}.upload-zone{min-height:100px}.upload-zone.is-loaded{min-height:50px;padding:9px 10px}.workflow-guide{margin-bottom:10px;padding:6px 0 8px}.workflow-progress{gap:5px}.workflow-step{min-height:43px;flex-direction:column;gap:3px;padding:5px 3px;font-size:9px;text-align:center}.workflow-step-mark{width:18px;height:18px;font-size:8px}.workflow-instruction{min-height:33px;margin-top:6px;font-size:10px}.coordinate-key{margin-top:2px}.ready-state{align-items:flex-start;flex-wrap:wrap}.ready-file{width:100%;margin-left:44px}.results-section{margin-top:25px}.results-heading{align-items:flex-start;flex-direction:column;gap:6px}.results-heading h2{font-size:17px}.pdf-export-card{align-items:stretch;flex-direction:column;gap:13px;padding:15px}.pdf-export-copy strong{font-size:12px}.pdf-export-actions{align-items:stretch}.primary-button{width:100%;min-height:46px}.export-help,.export-error{max-width:none;text-align:left}.pdf-preview-card{padding:10px}.pdf-preview{min-height:360px;max-height:70vh}.results-details{padding:10px 12px}.scene-card{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}.scene-actions{grid-column:1;grid-row:auto}.scene-actions .outline-button{width:100%}.scene-card h3{font-size:16px}.scene-coordinate{gap:5px;font-size:11px}.scene-art-section{grid-column:1}.chart-crop canvas{image-rendering:auto}.person-highlight{width:28px;height:28px}}@media(max-width:380px){.app-shell{width:calc(100% - 22px)}.intro-panel{padding-left:18px}.intro-panel h1{font-size:27px}.key-row{grid-template-columns:37px 1fr}.axis-example{grid-column:2}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
