@charset "UTF-8";
:root{color-scheme:light;--ink:#17283c;--muted:#687687;--blue:#2458e6;--line:#e1e7ed;--green:#087b54;--surface:#fff;--bg:#f4f7fa;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,select,input,textarea{border-radius:9px}button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:.9375rem;font-weight:650;min-height:46px;padding:11px 19px;transition:background .15s,transform .15s}button:active{transform:translateY(1px)}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #85a4ff;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #9db6fc;outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:2.125rem;letter-spacing:.025em;line-height:1.5}h2{font-size:1.25rem;line-height:1.55}svg{flex-shrink:0}a{color:inherit}.site-header{height:91px;max-width:1320px;padding:0 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:1.6rem;letter-spacing:-.05em;font-weight:750}.brand>svg{width:37px;height:37px;fill:var(--ink);stroke:white;stroke-width:1.2}.brand-ja{font-size:.75rem;font-weight:500;letter-spacing:.06em;margin-left:17px;vertical-align:middle;color:var(--muted)}.header-actions{display:flex;gap:15px;align-items:center}.private-label{display:flex;align-items:center;gap:5px;font-size:.8125rem;color:#5c6b7c}.private-label svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}main{max-width:1320px;padding:0 48px;margin:auto}.page-intro{padding:41px 0 29px;display:flex;justify-content:space-between;align-items:center}.eyebrow{display:block;font-size:.6875rem;letter-spacing:.15em;color:#66758b;font-weight:750;margin-bottom:8px}.page-intro p{font-size:.9375rem;color:var(--muted);margin-top:9px;line-height:1.8}.collection-total{display:flex;align-items:baseline;gap:9px;color:var(--muted);font-size:.875rem}.collection-total strong{font-size:2.25rem;font-weight:550;color:var(--ink)}.panel{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 5px 15px #21354d03}.capture-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:29px}.section-bar{display:flex;justify-content:space-between;align-items:center;padding:18px 23px;border-bottom:1px solid var(--line)}.section-bar h2{display:flex;gap:9px;align-items:center;font-size:1rem}.section-bar svg{height:20px;width:20px;fill:none;stroke:var(--ink);stroke-width:1.5}.tiny-label{font-size:.75rem;color:var(--muted)}.viewfinder{position:relative;aspect-ratio:1.65;background:#142336;overflow:hidden;margin:0;color:#fff}.viewfinder::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 70px #050e1b24;pointer-events:none}.viewfinder video{width:100%;height:100%;object-fit:cover;display:block}.camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 35%,#243b56,#142336);gap:12px}.camera-placeholder svg{height:67px;width:83px;stroke:#7e99b9;fill:none;stroke-width:1.5;margin-bottom:7px}.camera-placeholder strong{font-size:1.0625rem;font-weight:550}.camera-placeholder span{font-size:.8125rem;color:#a2b3c8}.guide{position:absolute;left:9%;top:50%;width:82%;aspect-ratio:1.68;transform:translateY(-50%);box-shadow:0 0 0 1000px #06101c45;border:1px solid #ffffff4d;border-radius:5px}.guide i{position:absolute;width:24px;height:24px;border:3px solid #ffffffd9}.guide i:nth-child(1){top:-2px;left:-2px;border-right:0;border-bottom:0;border-radius:5px 0 0}.guide i:nth-child(2){top:-2px;right:-2px;border-left:0;border-bottom:0;border-radius:0 5px 0 0}.guide i:nth-child(3){bottom:-2px;right:-2px;border-left:0;border-top:0;border-radius:0 0 5px}.guide i:nth-child(4){bottom:-2px;left:-2px;border-right:0;border-top:0;border-radius:0 0 0 5px}.guide-line{position:absolute;bottom:0;height:3px;background:#a5beff;width:0%;transition:width .2s}.frame-label{position:absolute;bottom:17px;text-align:center;left:10px;right:10px;font-size:.75rem;text-shadow:0 1px 8px #000}.saved-mark{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#073a2bd9;backdrop-filter:blur(3px);gap:10px}.saved-mark>span{display:flex;justify-content:center;align-items:center;background:#c8f8df;color:#075d3e;font-size:2rem;width:62px;height:62px;border-radius:50%}.saved-mark strong{font-size:1.375rem}.saved-mark small{font-size:.875rem;color:#cce9dc}.scan-status{padding:21px 23px;display:flex;align-items:center;gap:13px;min-height:99px}.scan-icon{height:36px;width:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f0f3f8;border-radius:50%;color:#758598}.scan-status strong{font-size:.9375rem;font-weight:650}.scan-status p{margin-top:5px;font-size:.8125rem;line-height:1.6;color:var(--muted)}.scan-icon.success{background:#e2f5eb;color:var(--green)}.scan-icon.error{background:#fff0e9;color:#b34616}.session-count{margin-left:auto;white-space:nowrap;font-size:.75rem;color:var(--muted)}.camera-actions{border-top:1px solid var(--line);padding:16px 23px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.primary{background:var(--blue);color:white;box-shadow:0 2px 4px #2458e617}.primary:hover{background:#1747cc}.secondary{background:#eef2f7;color:var(--ink);border:1px solid #dce3ec}.secondary:hover{background:#e3eaf3}.quiet{background:transparent;color:#5f6f83;padding-left:10px;padding-right:10px;font-size:.8125rem}.quiet:hover{background:#e8edf4}.small{min-height:35px;font-size:.75rem}.capture-aside{display:flex;flex-direction:column;gap:23px}.guide-card{border:1px solid #dce4ef;border-radius:15px;padding:29px 26px;background:#eaf0f8;flex:1}.guide-card .eyebrow{font-size:.625rem;color:#617490}.guide-card h2{font-size:1.65rem;line-height:1.7;margin-top:16px;letter-spacing:.07em}.guide-card>p{font-size:.875rem;line-height:1.9;color:#576a80;margin-top:15px}.save-cue{display:flex;gap:10px;border-top:1px solid #d2ddea;padding-top:24px;margin-top:27px}.cue-check{background:#d9eee4;color:#08754e;flex-shrink:0;width:25px;height:25px;border-radius:50%;display:flex;justify-content:center;align-items:center;font-weight:750;font-size:.875rem}.save-cue strong{font-size:.8125rem;line-height:1.7;display:block}.save-cue p{font-size:.8125rem;line-height:1.8;color:#5f7185;margin-top:6px}.guide-card .aside-foot{font-size:.75rem;margin-top:21px;line-height:1.85}.sync-note{display:flex;gap:12px;padding:0 6px}.sync-note>svg{fill:none;stroke:#79899b;stroke-width:1.4;width:25px;height:25px;margin-top:2px}.sync-note strong{font-size:.875rem}.sync-note p{font-size:.75rem;color:var(--muted);line-height:1.85;margin-top:6px}.collection{margin-top:43px}.collection-heading{display:flex;align-items:center;justify-content:space-between}.collection-heading h2{font-size:1.45rem}.collection-heading h2 span{font-size:.8125rem;background:#e4eaf1;color:#576b82;border-radius:20px;padding:4px 10px;vertical-align:middle;margin-left:8px}.list-tools{display:flex;gap:12px;margin:20px 0 16px}.search-field{flex:1;display:flex;align-items:center;background:white;border:1px solid #dce3eb;border-radius:9px;position:relative}.search-field svg{width:19px;height:19px;stroke:#8794a6;stroke-width:1.6;fill:none;margin-left:15px}.search-field input{border:0;background:none;min-width:0;width:100%;padding:13px 12px;font-size:.875rem;height:48px}.list-tools select{appearance:none;min-width:180px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23687788' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 15px center;border:1px solid #dce3eb;padding:11px 39px 11px 15px;font-size:.875rem;color:#506176}.empty-state{border:1px dashed #d1dbe7;border-radius:13px;padding:44px 20px;text-align:center;background:#f9fbfd}.empty-icon{display:flex;align-items:center;justify-content:center;width:65px;height:54px;background:#edf2f8;border-radius:10px;margin:0 auto 18px}.empty-icon svg{width:38px;height:33px;stroke:#91a3b9;fill:none;stroke-width:1.3}.empty-state h3{font-size:.9375rem;font-weight:600;color:#52657d}.empty-state p{margin-top:10px;font-size:.8125rem;color:#7c8b9d;line-height:1.9}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-align:left;width:100%;padding:0;display:block;color:var(--ink);min-height:0;font-weight:400}.card:hover{border-color:#9db2d1;box-shadow:0 3px 13px #17283c0b}.card-image{height:144px;background:#eaf0f7;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:contain}.card-image svg{height:42px;width:50px;fill:none;stroke:#a1b2c7;stroke-width:1.1}.card-content{padding:16px 17px}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.card-date{font-size:.6875rem;color:#7e8c9d}.status-badge{display:inline-block;font-size:.6875rem;font-weight:550;line-height:1.5;border-radius:5px;padding:4px 7px;color:#4a648d;background:#eef3fb}.status-badge.reviewed{background:#e8f5ee;color:#2a7655}.status-badge.failed{background:#fff0e9;color:#b2582d}.card h3{font-size:1.0625rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:7px}.card-company{font-size:.8125rem;color:#65768c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice{background:#fff4e8;border:1px solid #eed4b5;padding:13px 17px;border-radius:9px;font-size:.875rem;line-height:1.8;margin-bottom:20px;color:#805127}.notice.error{background:#fff0ed;color:#a54029;border-color:#efcbbf}.signin{max-width:650px;padding:65px 50px;margin:70px auto;text-align:center}.signin h1{margin:18px 0}.signin>p{line-height:2;color:var(--muted);font-size:.9375rem}.signin button{margin-top:28px}.signin .muted{font-size:.8125rem;margin-top:24px}.error-text{color:#a9462b;font-size:.8125rem;line-height:1.7}footer{display:flex;justify-content:space-between;color:#8a97a6;font-size:.6875rem;padding:34px 0;margin-top:10px;letter-spacing:.04em}footer>span{font-size:.9375rem;letter-spacing:-.025em;font-weight:650}dialog{border:0;border-radius:16px;max-width:900px;width:calc(100% - 40px);padding:0;box-shadow:0 20px 90px #0b1f3c44;color:var(--ink)}dialog::backdrop{background:#12223891;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;padding:25px 28px;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:1.25rem}.close-button{width:38px;height:38px;min-height:38px;padding:0;font-size:1.8rem;background:#f0f3f8;color:#5c6b7d}.editor-body{display:grid;grid-template-columns:290px minmax(0,1fr);gap:27px;padding:26px 28px;max-height:65vh;overflow:auto}.editor-photo img{width:100%;border-radius:8px;display:block;background:#edf2f6;min-height:120px;object-fit:contain}.editor-photo .status-badge{margin:13px 0}.editor-photo button{font-size:.8125rem;width:100%;padding:10px;margin-top:8px}.editor-fields label{display:flex;flex-direction:column;gap:7px;font-size:.8125rem;margin-bottom:15px;color:#617185}.editor-fields input,.editor-fields textarea{border:1px solid #d5dfea;padding:10px;color:var(--ink);width:100%;font-size:1rem;min-width:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.editor-fields details{font-size:.8125rem;margin-top:5px;color:#62748c}.editor-fields summary{cursor:pointer;padding:6px 0}.editor-fields pre{font-family:inherit;white-space:pre-wrap;background:#f1f5f9;border-radius:6px;padding:14px;line-height:1.8;max-height:250px;overflow:auto}.dialog-footer{border-top:1px solid var(--line);padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-footer span{font-size:.8125rem;color:#596d86}body:has(dialog[open]){overflow:hidden}[hidden]{display:none!important}
@media(min-width:1100px){.viewfinder{aspect-ratio:1.65}.guide{width:76%;left:12%}}
@media(max-width:1000px){.site-header,main{padding-left:28px;padding-right:28px}.capture-layout{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.guide-card{padding:23px 20px}.guide-card h2{font-size:1.4rem}.save-cue{margin-top:20px;padding-top:20px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-ja{display:none}}
@media(max-width:760px){.site-header{height:73px;padding:0 20px}.brand{font-size:1.4rem}.brand>svg{width:31px;height:31px}.private-label{font-size:.6875rem}.header-actions{gap:5px}.header-actions button{font-size:.6875rem;padding:8px}.private-label svg{width:15px}.page-intro{padding:28px 0 22px;gap:10px}.page-intro h1{font-size:1.7rem}.eyebrow{font-size:.625rem}.page-intro p{font-size:.8125rem;max-width:260px;line-height:1.9;margin-top:8px}main{padding:0 18px}.collection-total{flex-direction:column;gap:1px;align-items:center;flex-shrink:0;font-size:.6875rem}.collection-total strong{font-size:1.8rem}.capture-layout{display:block}.capture-aside{display:none}.section-bar{padding:16px 17px}.viewfinder{aspect-ratio:1.2}.guide{width:86%;left:7%}.frame-label{font-size:.6875rem;bottom:25px;left:13px;right:13px}.camera-placeholder svg{width:71px;height:57px}.camera-placeholder strong{font-size:.9375rem}.camera-placeholder span{font-size:.75rem}.scan-status{padding:17px 16px;gap:10px;min-height:99px}.scan-status strong{font-size:.875rem}.scan-status p{font-size:.75rem}.scan-icon{height:31px;width:31px}.session-count{font-size:.625rem}.camera-actions{padding:14px 16px;gap:8px}.camera-actions>.primary,.camera-actions>.secondary{flex:1}.camera-actions .quiet{font-size:.75rem}.collection{margin-top:32px}.collection-heading h2{font-size:1.25rem}.list-tools{gap:9px;margin-top:17px;flex-wrap:wrap}.search-field{flex-basis:100%}.search-field input{font-size:.8125rem;height:46px}.list-tools select{min-width:150px;padding-top:10px;padding-bottom:10px;font-size:.8125rem;margin-left:auto}.cards{grid-template-columns:1fr;gap:11px}.card{display:flex;align-items:stretch}.card-image{height:auto;min-height:130px;width:122px;flex-shrink:0}.card-content{padding:14px;min-width:0;flex:1}.card-meta{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:8px}.card h3{font-size:.9375rem;margin-bottom:6px}.card-company{font-size:.75rem}.status-badge{font-size:.625rem}.card-date{font-size:.625rem}.empty-state{padding:33px 18px}.empty-state h3{font-size:.875rem}.empty-state p{font-size:.75rem}footer{font-size:.625rem;padding:26px 1px;gap:12px;align-items:center}.signin{padding:40px 23px;margin:40px 0}.signin h1{font-size:1.65rem}.signin>p{font-size:.8125rem}.editor-body{display:block;padding:20px;max-height:65dvh}.editor-photo{margin-bottom:25px}.editor-photo img{max-height:210px}.editor-photo button{width:auto;margin:0 0 0 10px;font-size:.75rem;padding:8px}.dialog-heading{padding:20px}.dialog-heading h2{font-size:1.05rem}.dialog-footer{padding:15px 20px;align-items:stretch;flex-direction:column}.dialog-footer span:empty{display:none}dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.saved-mark strong{font-size:1.2rem}.saved-mark small{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep task-critical guidance and status readable on both phone and desktop. */
.tiny-label,.scan-status p,.camera-placeholder span,.frame-label,.status-badge,.card-company,.guide-card .aside-foot,.save-cue strong,.save-cue p,.sync-note p,.empty-state p,.editor-fields label,.editor-fields details,.dialog-footer span,.list-tools select,.search-field input{font-size:.875rem}
.card-date{font-size:.75rem}

/* Mirror the preview only. Canvas exports retain the source image orientation. */
.viewfinder video.is-mirrored{transform:scaleX(-1)}
#mirror-camera[aria-pressed="true"]{background:#e8edf9;color:#244ea0}
.diagnostic-copy{display:block;width:calc(100% - 46px);height:160px;margin:0 23px 20px;padding:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font: .8125rem/1.5 monospace}

.collection-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.warning-badge{display:inline-block;white-space:nowrap;background:#fff3cd;color:#815b0a;border-radius:5px;padding:4px 7px;font-size:.6875rem;font-weight:600}.card-meta{flex-wrap:wrap}.field-warning{background:#fff7d9;border:1px solid #ebd794;border-radius:6px;padding:8px 10px;color:#79550c;font-size:.8125rem;line-height:1.6;white-space:pre-line}.extra-section{border-top:1px solid var(--line);padding:18px 0;margin-top:10px}.extra-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.extra-heading h3{font-size:.9375rem}.extra-heading span,.extra-help{font-size:.75rem;color:var(--muted);line-height:1.7}.extra-help{margin:8px 0 14px}.extra-field{border:1px solid var(--line);padding:12px;border-radius:9px;margin-bottom:12px}.extra-field label{margin-bottom:10px}.extra-field>.field-warning{margin-bottom:8px}.extra-field button{min-height:36px}.editor-photo #restore-card{margin-left:0}@media(max-width:760px){.collection-heading{align-items:flex-start;gap:12px}.collection-actions{max-width:220px;gap:3px}.collection-actions button{font-size:.6875rem;padding:7px 9px;min-height:36px}.warning-badge{font-size:.625rem}}
