:root{color:#172033;font-synthesis:none;background:#f3f6fb;font-family:Inter,Noto Sans JP,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}main{max-width:1500px;margin:auto;padding:24px}header{border-left:6px solid #2563eb;padding-left:16px}h1{margin:0}header p{color:#526070}.controls{flex-wrap:wrap;align-items:end;gap:16px;margin:24px 0;display:flex}.controls label{gap:6px;font-weight:600;display:grid}.controls .checkbox-label{align-items:center;gap:8px;display:flex}.controls .checkbox-label input{width:auto}.template-start-actions>button,.template-start-actions>.file-button{width:240px;min-height:42px}button{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:6px;padding:10px 16px;font-weight:700;transition:background .15s,box-shadow .15s,transform .15s}button:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 12px #2563eb33}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.48}details{background:#fff;border-radius:8px;padding:12px}textarea{width:100%;min-height:270px;margin-top:12px;font-family:ui-monospace,monospace}.status{background:#e8f0ff;border-radius:6px;padding:12px}.canvases{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}figure{background:#fff;border-radius:8px;margin:0;padding:12px;overflow:auto}figcaption{margin-bottom:8px;font-weight:700}canvas{border:1px solid #cbd5e1;max-width:100%;height:auto}table{border-collapse:collapse;background:#fff}th,td{text-align:left;border:1px solid #cbd5e1;padding:7px 12px}nav{z-index:50;background:linear-gradient(110deg,#082b59,#0a3974);justify-content:space-between;align-items:center;gap:24px;min-height:64px;padding:8px 24px;display:flex;position:relative;box-shadow:0 1px #ffffff1a}.app-brand{color:#fff;white-space:nowrap;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:11px;padding:0;display:flex}.app-brand:hover:not(:disabled){box-shadow:none;background:0 0}.app-brand-mark{letter-spacing:-.02em;background:linear-gradient(135deg,#60a5fa,#2563eb);border-radius:10px;place-items:center;width:38px;height:38px;font-size:13px;font-weight:900;display:grid}.app-brand strong,.app-brand small{display:block}.app-brand strong{letter-spacing:.02em;font-size:14px}.app-brand small{color:#9fb0ca;margin-top:1px;font-size:10px}.app-nav-tabs{align-items:center;gap:4px;display:flex}.app-nav-tabs button{color:#aebbd0;background:0 0;border:1px solid #0000;font-size:13px}.app-nav-tabs button:hover:not(:disabled){box-shadow:none;color:#fff;background:#ffffff0d}.app-nav-tabs button:disabled{color:#718096;opacity:.55;box-shadow:none;background:0 0;border-color:#0000}.app-nav-tabs button.active{color:#fff;background:#ffffff14;border-color:#ffffff14}.app-nav-tabs .license-nav-button{color:#e5edf9;border-color:#ffffff2b;margin-left:8px}.app-nav-tabs .license-nav-button.pro{color:#dbeafe;background:#2563eb33;border-color:#60a5fa}.license-modal-backdrop{z-index:10000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#071426b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.license-modal{background:#fff;border:1px solid #d5dfec;border-radius:18px;width:min(560px,100%);max-height:calc(100dvh - 40px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #07142666}.license-modal-heading,.license-modal-heading>div{align-items:center;display:flex}.license-modal-heading{justify-content:space-between;gap:16px;margin-bottom:22px}.license-modal-heading>div{gap:10px}.license-modal-heading h2{color:#10213b;margin:0;font-size:22px}.license-plan-badge{color:#475569;background:#e8edf4;border-radius:999px;justify-content:center;min-width:48px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.license-plan-badge.pro{color:#1d4ed8;background:#dbeafe}.modal-close-button{color:#53637a;background:#fff;border:1px solid #d8e0eb;border-radius:50%;width:36px;height:36px;padding:0;font-size:22px;line-height:1}.license-registration{gap:16px;display:grid}.license-registration p{color:#53637a;margin:0;line-height:1.7}.license-registration label{color:#334155;gap:7px;font-size:16px;font-weight:700;display:grid}.license-registration textarea{box-sizing:border-box;resize:vertical;overflow-wrap:anywhere;border:1px solid #bdc9d9;border-radius:10px;width:100%;padding:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;line-height:1.5}.license-registration>button,.free-license-request>button{color:#fff;background:#1d4ed8;border:1px solid #1d4ed8;font-weight:800;box-shadow:0 5px 14px #1d4ed829}.license-registration>button:hover:not(:disabled),.free-license-request>button:hover:not(:disabled){background:#1e40af;border-color:#1e40af}.license-registration>button:disabled,.free-license-request>button:disabled{color:#64748b;box-shadow:none;background:#e2e8f0;border-color:#cbd5e1}.free-license-request{border-top:1px solid #dbe3ee;gap:12px;margin-top:8px;padding-top:18px;display:grid}.free-license-request h2,.free-license-request h3{color:#17233a;margin:0;font-size:18px}.free-license-request input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #bdc9d9;border-radius:10px;padding:11px}.license-current dl{background:#dbe3ee;border:1px solid #dbe3ee;border-radius:12px;gap:1px;margin:0 0 18px;display:grid;overflow:hidden}.license-current dl>div{background:#f8fafc;grid-template-columns:120px 1fr;gap:14px;padding:12px 14px;display:grid}.license-current dt{color:#64748b;font-size:14px}.license-current dd{color:#17233a;overflow-wrap:anywhere;margin:0;font-weight:700}.danger-outline-button{color:#b91c1c;background:#fff;border-color:#ef4444}.license-message{color:#1e40af;background:#eff6ff;border-radius:9px;margin:16px 0 0;padding:10px 12px;font-size:16px;line-height:1.6}.license-storage-note{color:#7b8799;margin:18px 0 0;font-size:14px;line-height:1.6}.terms-consent-notice{color:#475569;background:#f1f5f9;border-radius:8px;margin:0;padding:10px 12px;font-size:16px;line-height:1.7}.terms-consent-notice a{color:#1d4ed8;margin:0 3px;font-weight:800}.terms-page{max-width:980px;padding-top:42px;padding-bottom:70px}.terms-hero{padding-top:8px;padding-bottom:20px}.terms-hero h1{color:#10213b;margin:6px 0 12px;font-size:clamp(28px,4vw,42px)}.terms-hero p{max-width:760px;line-height:1.8}.terms-hero small{color:#64748b}.terms-important{background:#fffbeb;border:1px solid #fbbf24;border-radius:12px;margin:22px 0;padding:18px 20px}.terms-important strong{color:#92400e}.terms-important p{color:#78350f;margin:7px 0 0;line-height:1.8}.terms-content{gap:16px;display:grid}.terms-content section{background:#fff;border:1px solid #dbe4f0;border-radius:12px;padding:22px 24px}.terms-content h2{color:#17233a;margin:0 0 12px;font-size:18px}.terms-content p,.terms-content li{color:#475569;font-size:16px;line-height:1.85}.terms-content p{margin:8px 0}.terms-content ul{gap:5px;margin:8px 0;padding-left:22px;display:grid}.terms-content a{color:#1d4ed8;font-weight:800}.license-page{max-width:1120px;padding-top:42px;padding-bottom:64px}.license-page-hero{color:#fff;background:linear-gradient(135deg,#102a56,#153d78);border-radius:22px;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:36px;padding:38px 42px;display:grid;box-shadow:0 18px 45px #102a5624}.license-page-hero h1{color:#fff;margin:8px 0 12px;font-size:clamp(28px,4vw,42px)}.license-page-hero p{color:#d7e4f7;max-width:680px;margin:0;line-height:1.8}.license-page-status{background:#ffffff12;border:1px solid #ffffff38;border-radius:16px;gap:5px;padding:20px;display:grid}.license-page-status span,.license-page-status small{color:#d7e4f7}.license-page-status strong{font-size:28px}.license-page-status.pro{background:#2563eb33;border-color:#60a5fa}.license-page-status.unlicensed{background:#78350f33;border-color:#fcd34d}.license-plan-comparison{margin-top:42px}.license-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.license-plan-grid.single-column,.license-page-actions.single-column{grid-template-columns:1fr}.license-plan-grid article{background:#fff;border:1px solid #dbe3ee;border-radius:16px;padding:26px;position:relative}.license-plan-grid article.pro{background:#f8fbff;border:2px solid #2563eb}.license-plan-grid article.temporarily-disabled{box-shadow:none;background:#f1f5f9;border-color:#cbd5e1}.license-plan-grid article.temporarily-disabled h3,.license-plan-grid article.temporarily-disabled>strong,.license-plan-grid article.temporarily-disabled ul{color:#64748b}.license-paused{color:#475569;background:#e2e8f0;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;position:absolute;top:18px;right:18px}.home-plan-temporary-notice{color:#1e3a8a;background:#eff6ff;border-left:4px solid #2563eb;border-radius:8px;margin:14px 0 20px;padding:12px 16px;font-weight:800}.license-plan-grid article.selected{box-shadow:0 0 0 3px #2563eb1f}.license-plan-grid h3{color:#10213b;margin:0 0 6px;font-size:20px}.license-plan-grid article>strong{color:#1d4ed8;font-size:26px}.license-plan-grid ul{color:#53637a;margin:18px 0 0;padding-left:20px;line-height:1.9}.license-plan-grid article>a{color:#1d4ed8;margin-top:16px;font-weight:800;display:inline-block}.license-plan-grid .license-request-card .free-license-request{border-top:0;margin-top:0;padding-top:0}.license-recommended{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;position:absolute;top:18px;right:18px}.license-page-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;margin-top:30px;display:grid}.license-page-card{background:#fff;border:1px solid #dbe3ee;border-radius:16px;padding:26px;box-shadow:0 10px 26px #10213b0a}.license-page-card h2{color:#10213b;margin:0 0 18px;font-size:20px}.license-page-card .free-license-request{border-top:0;margin-top:0;padding-top:0}.license-current-actions{flex-wrap:wrap;gap:10px;display:flex}.license-external-link{color:#fff;background:#2563eb;border-radius:8px;margin-top:8px;padding:11px 16px;font-weight:800;text-decoration:none;display:inline-flex}.home-page{max-width:1220px;padding-top:46px;padding-bottom:56px}.home-hero{grid-template-columns:minmax(0,1fr);align-items:center;gap:48px;padding:20px 4px 42px;display:grid}.home-hero h1{color:#11213b;letter-spacing:-.045em;max-width:760px;margin:5px 0 12px;font-size:clamp(27px,3.4vw,43px);line-height:1.18}.home-hero>div>p{color:#5b6b82;max-width:720px;margin:0;font-size:16px;line-height:1.8}.home-plan-status{color:#526077;background:#edf1f6;border-radius:999px;align-items:center;gap:9px;margin-top:13px;padding:7px 12px;font-size:12px;display:inline-flex}.home-plan-status.pro{color:#1e40af;background:#dbeafe}.home-plan-status.unlicensed{color:#9a3412;background:#fff7ed}.home-plan-status strong{font-size:13px}.home-license-choice{margin-bottom:32px}.home-data-loss-warning{background:#fffbeb;border:1px solid #f59e0b;border-radius:14px;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:14px;margin:0 0 28px;padding:18px 20px;display:grid}.home-data-loss-warning>div:first-child{color:#fff;background:#f59e0b;border-radius:50%;place-items:center;width:38px;height:38px;font-size:24px;font-weight:900;display:grid}.home-data-loss-warning h2{color:#78350f;margin:0 0 5px;font-size:18px}.home-data-loss-warning p{color:#92400e;margin:0;line-height:1.7}.home-data-loss-warning small{color:#a16207;margin-top:6px;line-height:1.6;display:block}.home-warning-close{color:#92400e;background:#ffffffb8;border:1px solid #f2c66d;border-radius:50%;width:36px;min-width:36px;height:36px;padding:0;font-size:24px;line-height:1}.home-warning-close:hover{background:#fff}.home-license-choice .license-plan-grid article{flex-direction:column;display:flex}.home-license-choice .license-plan-grid button{align-self:flex-start;margin-top:auto}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.home-action-card{background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:28px;position:relative;overflow:hidden;box-shadow:0 8px 30px #1720330a}.home-action-card.primary-card{background:linear-gradient(145deg,#fff,#f4f8ff);border-color:#bcd3f3}.home-card-number{color:#dbe5f2;letter-spacing:-.06em;font-size:42px;font-weight:900;position:absolute;top:20px;right:24px}.home-card-icon{color:#2563eb;background:#e8f0ff;border-radius:12px;place-items:center;width:44px;height:44px;font-size:22px;font-weight:900;display:grid}.home-action-card h2{color:#172033;margin:18px 0 8px;font-size:21px}.home-action-card>p{color:#64748b;min-height:48px;margin:0;font-size:16px;line-height:1.7}.home-action-card ul{color:#46556b;gap:7px;margin:18px 0 22px;padding:0;font-size:16px;list-style:none;display:grid}.home-action-card li:before{color:#22a06b;content:"✓";margin-right:8px;font-weight:900}.home-action-card>button{justify-content:space-between;align-items:center;width:100%;display:flex}.home-guide{background:#fff;border:1px solid #e0e7f0;border-radius:18px;margin-top:48px;padding:30px}.home-section-heading>span{color:#2563eb;letter-spacing:.14em;font-size:9px;font-weight:900}.home-section-heading h2{margin:4px 0 22px;font-size:20px}.home-guide ol{grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:0;list-style:none;display:grid}.home-guide li{gap:11px;padding-right:22px;display:flex;position:relative}.home-guide li:not(:last-child):after{content:"";border-top:1px solid #cbd5e1;width:18px;position:absolute;top:15px;right:8px}.home-guide li>span{color:#fff;background:#123d75;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:12px;font-weight:800;display:grid}.home-guide strong{color:#263348;font-size:16px}.home-guide p{color:#718096;margin:4px 0 0;font-size:16px;line-height:1.55}.home-manual-link{justify-content:space-between;align-items:center;width:100%;margin-top:24px;display:flex}.home-sample-download{margin-top:24px}.home-sample-download>p{color:#64748b;margin:-10px 0 12px;font-size:16px;line-height:1.7}.home-sample-download>button{cursor:not-allowed}.home-sheet-spec{background:#f8fafc;border:1px solid #cbd5e1;margin-top:18px}.home-sheet-spec summary{cursor:pointer;color:#1f3f68;font-size:16px;font-weight:800}.home-sheet-spec-content{border-top:1px solid #dbe4f0;margin-top:14px;padding-top:14px}.home-sheet-spec-content h3{color:#263348;margin:18px 0 6px;font-size:18px}.home-sheet-spec-content h3:first-child{margin-top:0}.home-sheet-spec .home-sheet-spec-content p,.home-sheet-spec .home-sheet-spec-content li{color:#526070;font-size:16px;line-height:1.75}.home-sheet-spec .home-sheet-spec-content p{margin:5px 0}.home-sheet-spec .home-sheet-spec-content ul{margin:7px 0 0;padding-left:22px}.home-sheet-spec .home-sheet-spec-content li{padding:0;display:list-item}.home-sheet-spec .home-sheet-spec-content li:after{display:none}.diagnostic-entry{color:#526070;border:1px dashed #b9c6d8;border-radius:12px;justify-content:space-between;align-items:center;gap:24px;margin-top:18px;padding:18px 22px;display:flex}.diagnostic-entry strong{color:#334155;font-size:16px}.diagnostic-entry p{margin:3px 0 0;font-size:16px}.diagnostic-entry button{flex:none}.manual-page{max-width:1100px;padding-top:42px;padding-bottom:70px}.manual-hero{justify-content:space-between;align-items:flex-end;gap:30px;padding:8px 0 28px 18px;display:flex}.manual-hero h1{color:#11213b;letter-spacing:-.035em;margin:5px 0 10px;font-size:clamp(26px,3vw,38px)}.manual-hero p{max-width:720px;margin:0;line-height:1.7}.manual-hero button{flex:none}.manual-toc{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff2;border:1px solid #dbe4f0;border-radius:12px;gap:5px;margin-bottom:22px;padding:9px;display:flex;position:sticky;top:0;overflow-x:auto;box-shadow:0 6px 20px #1720330d}.manual-toc a{color:#46556b;text-align:center;border-radius:7px;flex:1;min-width:max-content;padding:8px 12px;font-size:14px;font-weight:700;text-decoration:none}.manual-toc a:hover{color:#1d4ed8;background:#eaf2ff}.manual-section{background:#fff;border:1px solid #dce5f0;border-radius:16px;grid-template-columns:48px minmax(0,1fr);gap:20px;margin-bottom:16px;padding:28px;scroll-margin-top:70px;display:grid;box-shadow:0 5px 20px #17203308}.manual-step{color:#fff;background:#123d75;border-radius:12px;place-items:center;width:42px;height:42px;font-size:12px;font-weight:900;display:grid}.manual-section h2{color:#1f2f46;margin:4px 0 12px;font-size:20px}.manual-section h3{color:#263348;margin:0 0 7px;font-size:18px}.manual-section>div>p,.manual-section li,.manual-section dd{color:#56667c;font-size:16px;line-height:1.75}.manual-section ul,.manual-section ol{gap:6px;margin:14px 0;padding-left:23px;display:grid}.manual-note{background:#eff6ff;border-left:4px solid #2563eb;border-radius:0 9px 9px 0;margin-top:16px;padding:14px 16px}.manual-note strong{color:#1e40af;font-size:16px}.manual-note p{color:#3f5878;margin:4px 0 0;font-size:16px;line-height:1.7}.manual-note.warning{background:#fffbeb;border-left-color:#f59e0b}.manual-note.warning strong,.manual-note.warning p{color:#854d0e}.manual-status-grid,.manual-save-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.manual-status{border:1px solid;border-radius:10px;padding:13px}.manual-status strong,.manual-status span{display:block}.manual-status strong{margin-bottom:4px;font-size:16px}.manual-status span{font-size:15px;line-height:1.55}.manual-status.review{color:#854d0e;background:#fef3c7;border-color:#f59e0b}.manual-status.error{color:#991b1b;background:#fee2e2;border-color:#ef4444}.manual-status.corrected{color:#166534;background:#dcfce7;border-color:#22c55e}.manual-save-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-save-grid article{background:#f8fafc;border:1px solid #dbe4f0;border-radius:11px;padding:18px}.manual-save-grid p{color:#64748b;margin:0;font-size:16px;line-height:1.7}.manual-faq{gap:9px;margin:0;display:grid}.manual-faq>div{border:1px solid #e2e8f0;border-radius:9px;padding:14px 16px}.manual-faq dt{color:#263348;font-size:16px;font-weight:800}.manual-faq dd{margin:5px 0 0}.template-guide{background:#fff;border:1px solid #dbe4f0;border-radius:18px;margin-top:22px;padding:30px;box-shadow:0 8px 30px #1720330a}.template-guide-heading>span{color:#2563eb;letter-spacing:.14em;font-size:9px;font-weight:900}.template-guide-heading h2{margin:4px 0 6px;font-size:21px}.template-guide-heading p{color:#64748b;margin:0;font-size:16px}.template-guide ol{grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0;padding:0;list-style:none;display:grid}.template-guide li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;min-width:0;padding:18px}.template-guide li>span{color:#fff;background:#123d75;border-radius:8px;place-items:center;width:28px;height:28px;margin-bottom:13px;font-size:11px;font-weight:800;display:grid}.template-guide li strong{color:#263348;font-size:16px}.template-guide li p{color:#718096;margin:7px 0 0;font-size:16px;line-height:1.65}.template-guide-note{background:#fffbeb;border-left:4px solid #f59e0b;border-radius:0 8px 8px 0;padding:15px 18px}.template-guide-note strong{color:#92400e;font-size:16px}.template-guide-note p{color:#854d0e;margin:4px 0 0;font-size:16px;line-height:1.65}.template-list{gap:12px;display:grid}.template-list article{background:#fff;border:1px solid #d9e2ec;border-radius:8px;padding:16px}.template-list h2{margin:0}.template-list button{margin:4px}.danger{background:#b91c1c}.file-button{color:#fff;cursor:pointer;background:#2563eb;border-radius:6px;padding:10px 16px;font-weight:700}.file-button input{display:none}.editor-grid{grid-template-columns:minmax(230px,360px) minmax(0,1fr);gap:22px;display:grid}.template-editor-header{grid-template-columns:minmax(260px,.7fr) minmax(560px,1.3fr);align-items:end;gap:28px;margin-bottom:24px;display:grid}.template-editor-heading p{margin-bottom:0}.template-editor-header-actions{grid-template-columns:minmax(170px,.8fr) minmax(250px,1.2fr);align-items:end;gap:10px 14px;display:grid}.template-editor-header-actions label{gap:5px;min-width:0;font-weight:600;display:grid}.template-editor-header-actions input{width:100%;min-width:0}.template-editor-header-buttons{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.template-editor-header-buttons button{margin:0}.template-editor-field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.template-editor-sidebar>h2,.template-editor-sidebar>details{border-top:1px solid #dbe4f0;margin:28px 0 10px;padding-top:22px}.template-editor-sidebar>h2:first-child,.template-editor-sidebar>details:first-child{border-top:0;margin-top:0;padding-top:0}.template-editor-sidebar>details{background:0 0;border-radius:8px}.template-editor-sidebar>details>summary{cursor:pointer;color:#263348}.template-editor-sidebar>details>summary h2{margin:0;font-size:20px;display:inline}.template-editor-field-row label{min-width:0}.template-editor-field-row input{width:100%;min-width:0}.editor-grid label{gap:5px;margin:10px 0;display:grid}.editor-grid button{margin:4px}.template-selection-mode-actions{gap:8px;margin:8px 0;display:flex}.template-selection-mode-actions button{flex:1;min-width:0}.selected{background:#f59e0b}.image-editor{background:#fff;border-radius:8px;padding:12px;overflow:auto}.image-wrap{max-width:100%;line-height:0;display:inline-block;position:relative}.image-wrap img{-webkit-user-select:none;user-select:none;max-width:100%;display:block}.image-wrap i{pointer-events:none;display:block;position:absolute}.ref{background:#ef4444;border:2px solid #fff;border-radius:50%;width:14px;height:14px;transform:translate(-50%,-50%)}.reference-size-preview{background:#67e8f933;border:3px dashed #06b6d4;border-radius:50%;box-shadow:0 0 0 2px #fffc}.option{border:2px solid #16a34a}.draft{border:2px dashed #f59e0b}.chip{background:#dcfce7;border-radius:12px;align-items:center;gap:3px;margin:3px;padding:3px 6px;display:inline-flex}.chip button{color:#14532d;background:0 0;padding:0 4px;font-size:15px}@media (width<=1000px){.template-editor-header{grid-template-columns:1fr;align-items:start}}@media (width<=800px){.template-editor-header,.template-editor-header-actions{grid-template-columns:1fr}.template-editor-header-buttons{grid-column:auto;justify-content:stretch}.template-editor-header-buttons button{flex:1}.editor-grid{grid-template-columns:1fr}}.diagnostics{color:#d1fae5;background:#111827;max-height:180px;padding:12px 28px;font:12px ui-monospace,monospace;overflow:auto}.diagnostic-guide{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin:22px 0;padding:20px 22px}.diagnostic-guide h2{color:#1e3a8a;margin:0 0 14px;font-size:20px}.diagnostic-guide ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.diagnostic-guide li{background:#fff;border-radius:8px;gap:6px;padding:13px;display:grid}.diagnostic-guide li strong{color:#1d4ed8}.diagnostic-guide li span,.diagnostic-guide-note{color:#475569;font-size:16px;line-height:1.7}.diagnostic-guide-note{background:#fffbeb;border-left:4px solid #f59e0b;margin:14px 0 0;padding:8px 12px}@media (width<=800px){.diagnostic-guide ol{grid-template-columns:1fr}}.diagnostics time{color:#93c5fd}.diagnostics strong{color:#fbbf24}.image-editor{overflow:hidden}.template-image-zoom-controls{z-index:5;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:8px;display:flex;position:relative}.template-image-zoom-controls input[type=range]{accent-color:#2563eb;flex:180px;min-width:120px;margin:0}.template-image-zoom-controls strong{color:#1e3a5f;font-variant-numeric:tabular-nums;text-align:center;min-width:48px}.template-image-zoom-controls button{white-space:nowrap;margin:0}@media (width<=800px){.template-image-zoom-controls button{flex:110px}}.template-image-canvas-scroll{background:#eef2f7;border:1px solid #dbe4f0;width:100%;overflow:auto}.image-wrap{width:var(--template-image-width,900px);max-width:none}.image-wrap img{cursor:crosshair;touch-action:manipulation;-webkit-user-drag:none;width:100%;max-width:none;max-height:none}.range-start{border:3px solid #f59e0b;border-radius:50%}.range-end{border:3px solid #2563eb;border-radius:50%}.generated-option{color:#111;background:#f97316a8;border:0;border-radius:50%;place-items:center;font:700 14px system-ui;display:grid}.editor-grid hr{border:0;border-top:1px solid #cbd5e1;margin:18px 0}.click-dot{border:2px solid #fff;border-radius:50%;width:14px;height:14px;margin:-7px}.start-dot{background:#f59e0b}.end-dot{background:#2563eb}.preview-option{background:#c4b5fd66;border:2px dashed #7c3aed;border-radius:50%}.question-guide{color:#7c2d12;white-space:nowrap;pointer-events:none;background:#fffbebcc;border-radius:4px;padding:2px 5px;font:700 13px/1 system-ui;position:absolute;transform:translate(calc(-100% - 12px))}.thresholds{background:#fff;border-radius:8px;flex-wrap:wrap;align-items:end;gap:14px;margin:16px 0;padding:14px;display:flex}.thresholds h2{width:100%;margin:0;font-size:16px}.thresholds label{gap:5px;font-weight:600;display:grid}.thresholds input{width:100px}.thresholds p{color:#526070;width:100%;margin:0;font-size:13px}.review-table{scrollbar-gutter:stable;scrollbar-color:#64748b #e2e8f0;scrollbar-width:auto;background:#fff;border:1px solid #cbd5e1;width:100%;height:max(300px,100dvh - 410px);overflow:auto}.review-table-shell{width:100%;min-width:0;max-width:100%}.review-table-viewport{position:relative}.review-table::-webkit-scrollbar{width:14px;height:14px}.review-table::-webkit-scrollbar-track{background:#e2e8f0}.review-table::-webkit-scrollbar-thumb{background:#64748b;border:3px solid #e2e8f0;border-radius:999px}.review-table::-webkit-scrollbar-thumb:hover{background:#475569}.review-scroll-control{background:#e2e8f0;border:1px solid #cbd5e1;align-items:center;gap:8px;width:100%;padding:3px 8px;display:flex}.review-scroll-control span{color:#334155;font-size:12px;font-weight:800}.review-scroll-control input[type=range]{accent-color:#1d4ed8;cursor:ew-resize;width:100%;height:18px;margin:0}.review-scroll-control input[type=range]:disabled{cursor:default;opacity:.55}.review-scroll-control-vertical{z-index:6;accent-color:#1d4ed8;cursor:ns-resize;writing-mode:vertical-lr;direction:ltr;background:#e2e8f0;border:1px solid #94a3b8;border-radius:999px;width:18px;height:calc(100% - 16px);margin:0;position:absolute;top:8px;right:4px}.review-scroll-control-vertical:disabled{opacity:.55;cursor:default}.review-table table{width:max-content;min-width:100%;font-size:calc(14px * var(--table-zoom,1))}.review-table th,.review-table td{padding:calc(7px * var(--table-zoom,1)) calc(12px * var(--table-zoom,1))}.review-table th{z-index:2;background:#f8fafc;position:sticky;top:0}.review-table td{cursor:pointer;min-width:calc(64px * var(--table-zoom,1))}.review-table th:first-child,.review-table td:first-child{z-index:1;min-width:calc(220px * var(--table-zoom,1));max-width:calc(420px * var(--table-zoom,1));white-space:nowrap;background:#fff;position:sticky;left:0}.review-table th:first-child{z-index:3;background:#f8fafc}.review-needs_review,.review-blank{color:#854d0e;background:#fef3c7}.review-multiple,.review-error{color:#991b1b;background:#fee2e2}.review-table .review-corrected{color:#166534;background:#dcfce7;font-weight:700;box-shadow:inset 0 0 0 2px #22c55e}.review-count-button{color:#422006;background:#f59e0b;border-radius:999px;min-width:30px;padding:4px 8px;font-size:12px}.review-count-button:hover:not(:disabled){background:#d97706;box-shadow:0 3px 9px #f59e0b4d}.review-table .review-focused{z-index:1;outline-offset:-3px;outline:3px solid #2563eb;animation:.8s ease-out review-focus-pulse;position:relative}@keyframes review-focus-pulse{0%{box-shadow:inset 0 0 0 2px #2563eb,0 0 0 8px #60a5fa66}to{box-shadow:inset 0 0 0 2px #2563eb,0 0 #60a5fa00}}.batch-page{width:100%;max-width:none;padding:18px 24px 24px}.batch-header{border:0;justify-content:space-between;align-items:center;min-height:66px;padding:0;display:flex}.batch-plan-summary.pro{color:#1d4ed8}.batch-over-limit-note{color:#854d0e;background:#fefce8;border-left:4px solid #eab308;border-radius:6px;margin:10px 0 0;padding:9px 11px;font-size:12px;line-height:1.6}.batch-header h1{letter-spacing:-.025em;font-size:clamp(21px,2vw,28px)}.batch-header p{margin:4px 0 0;font-size:13px}.eyebrow{color:#2563eb;letter-spacing:.14em;margin-bottom:2px;font-size:10px;font-weight:800;display:block}.batch-summary{background:#fff;border:1px solid #dbe3ef;border-radius:10px;display:flex;overflow:hidden;box-shadow:0 2px 8px #1720330a}.batch-summary span{color:#64748b;text-align:center;min-width:92px;padding:8px 15px;font-size:11px;display:grid}.batch-summary-review{color:#64748b;text-align:center;background:#fff;border:0;border-left:1px solid #e2e8f0;border-radius:0;min-width:92px;padding:8px 15px;font-size:11px;display:grid}.batch-summary-review:hover:not(:disabled){color:#1d4ed8;box-shadow:none;background:#eff6ff}.batch-summary-review:disabled{cursor:default;opacity:1}.batch-summary-review strong{color:#172033;font-size:20px;line-height:1.1}.batch-summary span+span{border-left:1px solid #e2e8f0}.batch-summary strong{color:#172033;font-size:20px;line-height:1.1}.batch-settings-grid{grid-template-columns:minmax(500px,1.35fr) minmax(420px,1fr);gap:12px;margin:12px 0;display:grid}.batch-settings-toggle-row{justify-content:flex-end;margin:8px 0;display:flex}.batch-settings-toggle{padding:7px 12px;font-size:11px;font-weight:700}.batch-card{background:#fff;border:1px solid #dde5f0;border-radius:12px;min-width:0;padding:13px 15px;box-shadow:0 3px 12px #1720330a}.batch-card-title{align-items:center;gap:9px;margin-bottom:10px;display:flex}.batch-card-title>span{color:#2563eb;background:#e8f0ff;border-radius:8px;flex:none;place-items:center;width:25px;height:25px;font-size:12px;font-weight:800;display:grid}.batch-card-title h2,.batch-card-title p{margin:0}.batch-card-title h2{font-size:14px}.batch-card-title p{color:#718096;margin-top:1px;font-size:10px}.batch-file-fields,.threshold-fields{gap:10px;display:grid}.batch-file-fields{grid-template-columns:1fr 1fr}.threshold-fields{grid-template-columns:repeat(3,1fr)}.batch-card label{color:#46546a;gap:4px;min-width:0;font-size:11px;font-weight:700;display:grid}.batch-card input[type=file],.batch-card input[type=number]{color:#263348;background:#fbfcfe;border:1px solid #cfd9e7;border-radius:7px;width:100%;min-width:0;height:34px}.batch-card input[type=number]{font:inherit;padding:5px 9px;font-size:13px}.batch-card input[type=file]{padding:4px;font-size:11px}.batch-card input[type=file]::file-selector-button{color:#334155;background:#e8eef8;border:0;border-radius:5px;height:24px;margin-right:8px;font-weight:700}.batch-card-footer{justify-content:space-between;align-items:end;gap:12px;margin-top:10px;display:flex}.batch-progress{color:#29405f;align-items:center;gap:12px;margin-top:12px;font-size:.88rem;font-weight:700;display:flex}.batch-progress progress{accent-color:#173b6c;width:min(320px,70%);height:10px}.batch-limit-note{color:#66758a;margin:10px 0 0;font-size:.78rem;line-height:1.5}.duplicate-file-option{align-items:center;gap:7px;margin-top:8px;display:flex!important}.duplicate-file-option input{width:auto;height:auto}.loaded-template{color:#64748b;align-items:center;gap:7px;min-width:0;margin:0;font-size:11px;display:flex}.loaded-template strong,.loaded-template small{text-overflow:ellipsis;white-space:nowrap;max-width:280px;display:block;overflow:hidden}.loaded-template strong{color:#263348}.ready-dot{background:#22c55e;border-radius:50%;flex:none;width:8px;height:8px;box-shadow:0 0 0 3px #dcfce7}.batch-actions{flex:none;gap:7px;display:flex}.batch-actions button{padding:8px 12px;font-size:11px}.secondary-button{color:#334155;background:#fff;border:1px solid #cbd5e1}.append-button{background:#0f766e}.append-button:hover:not(:disabled){background:#115e59;box-shadow:0 4px 12px #0f766e33}.secondary-button:hover:not(:disabled){box-shadow:none;background:#f1f5f9}.batch-settings-grid .thresholds{margin:0;display:block}.batch-settings-grid .thresholds .checkbox-label{align-items:center;gap:7px;margin-top:11px;display:flex}.batch-settings-grid .thresholds .checkbox-label input{width:auto;height:auto}.batch-result-heading{justify-content:space-between;align-items:center;gap:16px;min-height:48px;display:flex}.batch-result-actions{align-items:center;gap:16px;display:flex}.table-zoom-controls{color:#526070;font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:5px;font-size:10px;display:flex}.table-zoom-controls button{place-items:center;width:28px;height:26px;padding:0;font-size:17px;line-height:1;display:grid}.table-zoom-controls span{text-align:center;min-width:36px}.result-pagination{color:#526070;font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:7px;font-size:11px;display:flex}.result-pagination button{padding:5px 9px;font-size:10px}.batch-result-actions>button{flex:none;padding:7px 12px;font-size:11px}.archive-download-button{background:#0f766e;flex:none;padding:7px 12px;font-size:11px}.archive-download-button:hover:not(:disabled){background:#115e59}.batch-page.settings-collapsed .review-table{height:max(420px,100dvh - 235px)}.batch-result-heading h2,.batch-result-heading p{margin:0}.batch-result-heading h2{font-size:15px}.batch-result-heading p{color:#64748b;text-overflow:ellipsis;white-space:nowrap;max-width:70vw;margin-top:2px;font-size:11px;overflow:hidden}.result-legend{color:#64748b;white-space:nowrap;gap:12px;font-size:10px;display:flex}.result-legend span:before{content:"";vertical-align:-1px;border-radius:3px;width:9px;height:9px;margin-right:5px;display:inline-block}.legend-review:before{background:#fef3c7;border:1px solid #f59e0b}.legend-error:before{background:#fee2e2;border:1px solid #ef4444}.legend-corrected:before{background:#dcfce7;border:1px solid #22c55e}.review-panel{z-index:2000;background:#fff;border:1px solid #94a3b8;border-radius:10px;width:min(520px,90vw);max-height:80vh;padding:16px;position:fixed;bottom:24px;right:24px;overflow:auto;box-shadow:0 24px 80px #0f172a66}.review-panel img{border:1px solid #cbd5e1;width:100%}.review-panel label{gap:5px;margin:12px 0;display:grid}.review-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.review-panel-heading h2{margin:0}.review-crop{object-fit:contain;background:#f8fafc;border:1px solid #cbd5e1;width:100%;max-height:300px;margin:12px 0;display:block}.review-scores{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:6px 14px;display:flex}.review-confirm-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.review-confirm-button,.review-confirm-next-button,.review-next-button{flex:1;min-width:0}.review-confirm-button{background:#173b6c}.review-confirm-next-button{background:#0f766e}.review-next-button{background:#475569;flex-basis:150px}.review-confirm-note{color:#64748b;margin:7px 0 0;font-size:11px;line-height:1.5}.image-adjustment{color:#1e3a8a;background:#eff6ff;border-radius:6px;padding:8px 10px}.file-preview-button{color:#1d4ed8;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.sheet-overlay{z-index:3000;background:#0f172acc;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.sheet-overlay-content{background:#fff;border-radius:12px;flex-direction:column;width:min(1280px,96vw);max-height:94vh;padding:16px;display:flex;overflow:hidden;box-shadow:0 24px 70px #0008}.sheet-overlay-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.sheet-overlay-heading h2,.sheet-overlay-heading p{margin:0}.sheet-overlay-heading p{color:#526070}.sheet-overlay-content img{object-fit:contain;width:100%;height:auto;min-height:0;overflow:auto}.rotation-preview{background:#eef2f7;border:1px solid #dbe4f0;border-radius:8px;flex:1;place-items:center;min-height:0;display:grid;overflow:hidden}.rotation-preview img{object-fit:contain;max-width:88%;max-height:70vh;transition:transform .2s}.rotation-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding-top:12px;display:flex}.rotation-actions span{color:#526070;text-align:center;min-width:72px;font-size:12px}.sheet-analysis-grid{flex:1;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;min-height:0;display:grid;overflow:auto}.sheet-analysis-grid>section{flex-direction:column;min-width:0;min-height:0;display:flex}.sheet-analysis-grid h3{color:#263348;margin:0 0 8px;font-size:14px}.image-settings{background:#f8fafc;border:1px solid #dbe4f0;border-radius:8px;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px;margin-top:12px;padding:12px;display:grid}.image-settings h3,.image-settings>p,.image-setting-actions{grid-column:1/-1}.image-settings label{color:#46556b;gap:5px;font-size:12px;font-weight:700;display:grid}.image-settings input[type=number]{width:100%}.image-settings .checkbox-label{align-items:center;display:flex}.image-settings .checkbox-label input{width:auto}.image-settings>p{color:#64748b;margin:0;font-size:11px}.image-setting-actions{flex-wrap:wrap;gap:8px;display:flex}.recognition-preview{background:#eef2f7;border:1px solid #dbe4f0;border-radius:8px;flex:1;place-items:center;min-height:280px;display:grid;overflow:auto}.recognition-image-wrap{width:min(100%,720px);line-height:0;display:inline-block;position:relative}.recognition-image-wrap img{width:100%;height:auto;display:block}.recognition-option{pointer-events:none;background:#22c55e14;border:1px solid #16a34a;position:absolute}.recognition-option.recognized{background:#ef44442b;border-width:2px;border-color:#dc2626;box-shadow:0 0 0 1px #fff8}@media (width<=1050px){.home-hero{grid-template-columns:1fr;gap:22px}.home-guide ol{grid-template-columns:repeat(2,1fr);gap:22px}.home-guide li:nth-child(2):after{display:none}.template-guide ol{grid-template-columns:repeat(2,1fr)}.batch-settings-grid,.sheet-analysis-grid{grid-template-columns:1fr}.review-table{height:max(300px,100dvh - 560px)}.batch-page.settings-collapsed .review-table{height:max(380px,100dvh - 245px)}}@media (width<=720px){nav{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 14px}.app-nav-tabs{width:100%;overflow-x:auto}.app-nav-tabs button{flex:none}.batch-page{padding:14px}.license-page{padding:28px 14px 40px}.license-page-hero,.license-plan-grid,.license-page-actions{grid-template-columns:1fr}.license-page-hero{gap:22px;padding:28px 22px}.home-page{padding:28px 14px 40px}.home-hero{padding:8px 0 28px}.home-actions{grid-template-columns:1fr}.home-action-card{padding:22px}.home-guide{margin-top:28px;padding:22px}.home-guide ol{grid-template-columns:1fr}.home-guide li:after{display:none}.template-guide{padding:22px}.template-guide ol{grid-template-columns:1fr}.diagnostic-entry{flex-direction:column;align-items:stretch}.manual-page{padding:24px 14px 50px}.manual-hero{flex-direction:column;align-items:flex-start;padding-bottom:20px}.manual-hero button{width:100%}.manual-section{grid-template-columns:1fr;gap:12px;padding:20px}.manual-status-grid,.manual-save-grid{grid-template-columns:1fr}.batch-header{flex-direction:column;align-items:flex-start;gap:10px}.batch-summary{width:100%}.batch-summary span{flex:1}.batch-settings-grid,.batch-file-fields,.threshold-fields{grid-template-columns:1fr}.batch-card-footer,.batch-result-heading{flex-direction:column;align-items:flex-start}.batch-result-actions{justify-content:space-between;width:100%}.batch-actions{width:100%}.batch-actions button{flex:1}.result-legend{width:100%;overflow-x:auto}.review-table{scrollbar-gutter:auto;height:55dvh}.batch-page.settings-collapsed .review-table{height:calc(100dvh - 300px)}.review-panel{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);bottom:10px;right:10px}.image-settings{grid-template-columns:1fr}}
