:root{font-family:'Yu Gothic UI','Yu Gothic',Meiryo,system-ui,sans-serif;color:#183247;background:#f3f6fa;font-synthesis:none;--ink:#183247;--muted:#667b8c;--line:#dce5ee;--accent:#086d80;--soft:#e8f4f5}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}a{color:#086d80;text-underline-offset:3px}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #4aa8c3;outline-offset:4px}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{height:100%;max-width:1360px;padding:0 42px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:17px;font-weight:700;letter-spacing:.025em}.brand-mark{width:35px;height:38px;border-radius:9px;background:var(--ink);color:#fff;display:grid;place-items:center}.brand-mark svg{width:25px}.local-badge{display:flex;gap:8px;align-items:center;font-size:12px;color:#506879;background:#f2f6f8;padding:7px 12px;border-radius:30px}.local-badge i{width:7px;height:7px;border-radius:50%;background:#279480}main{max-width:1360px;padding:42px 42px 20px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:.19em;font-weight:800;color:#468797;margin:0 0 10px}h1{font-size:clamp(25px,2.5vw,34px);font-weight:750;letter-spacing:.025em;margin:0 0 12px;line-height:1.35}.intro-copy{font-size:14px;color:var(--muted);line-height:1.8;margin:0}.mobile-break{display:none}.intro-note{font-size:12px;line-height:1.8;color:var(--muted);display:flex;gap:12px;align-items:center;padding:0 15px}.intro-note strong{font-weight:600;color:#3e5b6d}.intro-note svg{width:27px;color:#4e918b}.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);max-width:740px;gap:22px;margin:32px 0}.steps li{display:flex;gap:12px;align-items:center;position:relative}.steps li>span{font-size:13px;font-weight:700;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e8edf3;color:#718496}.steps .active>span{background:var(--ink);color:white}.steps strong{font-size:13px;display:block;font-weight:650}.steps small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px;align-items:start}.intake{display:grid;gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 12px #18324703;overflow:hidden}.upload-card{padding:23px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}h2{font-size:16px;line-height:1.5;margin:0;font-weight:700}.quiet-label{font-size:10px;color:#677f8f}.drop-zone{border:1.5px dashed #acc2d3;background:#f8fafc;border-radius:11px;display:flex;align-items:center;flex-direction:column;text-align:center;padding:28px 12px 20px;transition:background .15s,border-color .15s,box-shadow .15s}.drop-zone.dragging{background:#e0f3f6;border-color:#086d80;box-shadow:0 0 0 4px #0a81951a}.drop-zone>strong{font-size:14px;font-weight:600}.upload-icon{width:53px;height:57px;display:grid;place-items:center;color:#4d7b95;margin-bottom:14px}.upload-icon svg{width:37px;height:43px}.drop-or{font-size:11px;color:#7f909e;margin:10px 0}.button{border:1px solid transparent;border-radius:8px;min-height:42px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:14px;text-decoration:none;font-size:13px;font-weight:650;line-height:1.5;transition:background .15s,transform .15s}.button svg{height:18px;width:18px}.button.primary{color:white;background:var(--accent);box-shadow:0 3px 5px #086d8013}.button.primary:hover:not(:disabled){background:#075a69}.button.outline{background:#fff;border-color:var(--line);color:#476578}.button.outline:hover{background:#f1f6fa}.button.subtle{background:#f0f4f7;color:#476578}.file-hint{font-size:10px;color:#718697;margin:15px 0 0}.small-note{font-size:11px;color:var(--muted);margin:15px 0 0;line-height:1.8}.files-card{padding:23px 0 14px}.files-card .section-title{padding:0 23px;margin-bottom:8px}.count{font:600 11px system-ui;background:#eef3f7;padding:4px 8px;border-radius:5px;color:#687e8f}.queue-summary{color:var(--muted);font-size:11px;margin:0 23px 14px;line-height:1.8}.file-list{display:grid;gap:4px;padding:0 10px;max-height:390px;overflow:auto}.file-item{border:1px solid transparent;border-radius:9px;width:100%;padding:13px 11px;background:white;display:grid;grid-template-columns:33px minmax(0,1fr) 12px;align-items:center;gap:10px;text-align:left;color:var(--ink)}.file-item:hover{background:#f5f8fb}.file-item.selected{background:#edf5f8;border-color:#cfe3eb}.pdf-icon{font:700 8px system-ui;border:1px solid #d8e1e9;border-radius:5px;display:grid;place-items:center;width:30px;height:37px;color:#607f92;background:white}.file-name{font-size:12px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;margin-bottom:5px}.file-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.file-status:before{content:'';display:block;width:5px;height:5px;border-radius:50%;background:#8e9daa}.file-status.review:before{background:#d4a148}.file-status.completed:before{background:#239584}.file-status.failed:before{background:#c05751}.file-chevron{font-size:19px;color:#7391a3}.list-empty{padding:23px 15px 30px;text-align:center;color:#93a3af;font-size:11px}.empty-lines{font-size:29px;color:#bccbd7}.review-panel{min-height:582px}.review-header{padding:23px 27px 19px;border-bottom:1px solid #e6edf3;display:flex;align-items:start;justify-content:space-between;gap:14px}.review-header .review-file{font-size:12px;color:var(--muted);margin:7px 0 0;overflow-wrap:anywhere}.badge{white-space:nowrap;font-size:10px;font-weight:600;padding:5px 10px;border-radius:20px;background:#f8f1df;color:#8e6c22}.badge.done{background:#e8f5ef;color:#2d7f64}.review-body{padding:24px 27px 27px}.empty-review{min-height:580px;padding:70px 25px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column}.empty-art{position:relative;width:144px;height:122px;margin-bottom:24px;display:grid;place-items:center}.empty-art:before{content:'';position:absolute;width:130px;height:100px;background:#f0f5f9;border-radius:50%;transform:rotate(-16deg)}.empty-art svg{width:80px;height:94px;position:relative;color:#8ba5b6;stroke-width:1.2}.empty-review h2{font-size:18px}.empty-review p{font-size:13px;line-height:1.9;color:var(--muted);margin:12px 0 0}.empty-chips{display:flex;gap:8px;margin-top:26px}.empty-chips span{font-size:11px;padding:6px 16px;border:1px solid #e0e8f0;color:#7f91a0;border-radius:6px}.preview-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:12px}.preview-bar p{font-size:11px;color:var(--muted);margin:0}.text-button{border:0;background:none;padding:5px 0;color:#097289;font-size:11px;cursor:pointer}.preview-frame{height:270px;border:1px solid #e1e7ed;background:#f6f8fa;border-radius:9px;padding:12px;display:flex;justify-content:center;align-items:center;cursor:zoom-in;width:100%;overflow:hidden}.preview-frame img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 1px 6px #18324713}.form-help{font-size:12px;color:var(--muted);margin:20px 0 16px;line-height:1.7}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.field:last-child{grid-column:1/-1}.field input{border:1px solid #c8d6e1;border-radius:7px;min-height:43px;padding:10px 12px;width:100%;color:#1f3b4e;background:#fff;font-size:14px;font-variant-numeric:tabular-nums}.field input:read-only{background:#f5f8fa;color:#496776}.field input[aria-invalid=true]{border-color:#ca675e;background:#fffafa}.hint{font-size:10px;font-weight:400;color:#7e8f9c}.notice{font-size:12px;line-height:1.8;padding:12px 15px;border-radius:8px;margin:15px 0;border:1px solid #e7dfc9;background:#fffbef;color:#82692d;overflow-wrap:anywhere}.notice.error{background:#fff3f1;color:#a24942;border-color:#f1d5d0}.notice ul{padding-left:17px;margin:0}.review-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e5ecf2;margin-top:22px;padding-top:20px}.review-actions .quiet{font-size:10px;color:#7c8f9b;line-height:1.7;max-width:190px}.complete-banner{display:flex;align-items:center;gap:11px;background:#eef8f3;color:#2d7f64;font-size:13px;line-height:1.7;border:1px solid #dceee5;border-radius:8px;padding:14px 17px;margin-bottom:20px}.complete-tick{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#318c73;color:#fff}.spinner{width:30px;height:30px;border:3px solid #dce9ef;border-top-color:#086d80;border-radius:50%;animation:spin 1s linear infinite;margin:0 0 25px}@keyframes spin{to{transform:rotate(360deg)}}.progress-note{font-size:11px!important;margin-top:20px!important;color:#8a9eac!important}footer{display:flex;justify-content:space-between;gap:20px;color:#8496a4;font-size:10px;padding:23px 2px;line-height:1.7}.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}dialog{border:0;padding:0;border-radius:14px;width:min(1150px,96vw);height:min(850px,94vh);max-height:94vh;box-shadow:0 20px 90px #071c3a55;color:var(--ink)}dialog::backdrop{background:#0d243d9c}.dialog-top{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.zoom-tools{display:flex;gap:15px;align-items:center;padding:12px 24px}.zoom-tools .button{min-height:32px;padding:3px 12px;font-size:18px}.zoom-tools output{font-size:12px;min-width:40px;text-align:center}.zoom-tools a{font-size:12px;margin-left:auto}.zoom-canvas{height:calc(100% - 135px);overflow:auto;background:#e8eef3;padding:20px;text-align:center}.zoom-canvas img{width:100%;max-width:none;vertical-align:top}.uploading-note{padding:12px 3px;color:#53758a;font-size:12px}.error-heading{color:#a44940}.progress-file{max-width:100%;overflow-wrap:anywhere}
@media(max-width:1000px){.topbar-inner{padding:0 25px}main{padding:30px 25px 15px}.workspace{grid-template-columns:300px minmax(0,1fr);gap:18px}.upload-card{padding:19px}.review-header{padding:20px}.review-body{padding:20px}.intro-note{display:none}.review-actions{align-items:stretch;flex-direction:column}.review-actions .quiet{max-width:none}.preview-frame{height:245px}}
@media(max-width:720px){.topbar{height:64px}.topbar-inner{padding:0 18px}.brand{font-size:14px;gap:8px}.brand-mark{width:30px;height:33px}.local-badge{font-size:10px;padding:6px 9px}main{padding:27px 16px 8px}h1{font-size:25px}.eyebrow{font-size:9px}.intro-copy{font-size:12px}.mobile-break{display:initial}.steps{gap:8px;margin:24px 0}.steps li{gap:7px}.steps li>span{width:27px;height:27px;font-size:10px;flex-shrink:0}.steps strong{font-size:10px}.steps small{display:none}.workspace{grid-template-columns:1fr}.intake{gap:16px}.drop-zone{padding:23px 12px 18px}.upload-icon{margin-bottom:10px;height:42px}.upload-icon svg{width:29px;height:35px}.review-panel{min-height:420px}.empty-review{min-height:420px;padding:40px 20px}.preview-frame{height:255px}.fields{grid-template-columns:1fr}.field:last-child{grid-column:auto}.review-header{gap:8px}.review-header h2{font-size:15px}.file-list{max-height:240px}.review-actions .button{width:100%}footer{font-size:9px;align-items:start}footer span:first-child{max-width:235px}dialog{width:96vw;height:90vh}.dialog-top{padding:14px}.dialog-top h2{font-size:14px}.zoom-tools{padding:10px 14px;gap:10px}.zoom-tools a{font-size:10px}.zoom-canvas{padding:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation-duration:2s}}

.download-result{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;background:#eef8f3;border:1px solid #cee8de;border-radius:10px;padding:16px 20px;margin-bottom:20px;color:#2d715e;font-size:12px}.download-result strong{font-size:14px}.download-result small{flex-basis:100%;font-size:11px;color:#59786b}
