:root{--bg:#f7f9fc;--surface:#fff;--ink:#172138;--sub:#68758a;--line:#e6eaf1;--accent:#4c5dde;--accent-deep:#3b49be;--soft:#eef0ff;--shadow:0 9px 38px rgba(31,48,83,.04);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh;font-size:14px}button,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}button:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #bac4ff;outline-offset:3px}
.site-header{height:74px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.95)}.header-inner{max-width:1290px;padding:0 30px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;display:flex;align-items:center;gap:12px}.brand-symbol{width:41px;height:41px;background:linear-gradient(135deg,#626bf3,#3844bf);color:white;border-radius:13px;display:grid;place-items:center;box-shadow:0 7px 20px rgba(87,102,233,.25)}.brand-symbol svg{width:25px;height:25px}.brand strong{display:block;font-size:15px;letter-spacing:-.2px}.brand small{font-size:9px;color:#9aa3b5;letter-spacing:1.3px;font-weight:750}.header-right{display:flex;gap:12px;align-items:center}.connection-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #e3e9f1;border-radius:30px;padding:8px 11px;color:#647287;background:#fff;font-size:12px;font-weight:650}.conn-dot{width:8px;height:8px;border-radius:100%;background:#afb8c8}.connection-chip.online .conn-dot{background:#17a26d;box-shadow:0 0 0 3px #daf8e9}.connection-chip.offline .conn-dot{background:#e17f58}.version-tag{font-size:11px;color:#8994a7;font-weight:650}
.main{max-width:1290px;padding:28px 30px 50px;margin:auto}.breadcrumbs{display:flex;gap:10px;align-items:center;font-size:12px;color:#8a95a8;margin-bottom:23px}.breadcrumbs strong{color:#55627a;font-weight:700}.chev{color:#b7bfcd}
.hero{min-height:225px;border-radius:20px;background:linear-gradient(110deg,#18284c 2%,#222d6c 62%,#3a3db0 100%);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:35px 44px;margin-bottom:21px;color:white}.hero:before{content:"";position:absolute;right:-85px;top:-130px;width:500px;height:500px;border:1px solid rgba(255,255,255,.1);border-radius:50%}.hero:after{content:"";position:absolute;right:20px;top:-60px;width:365px;height:365px;border:1px solid rgba(255,255,255,.09);border-radius:50%}.hero-left{position:relative;z-index:2}.eyebrow{display:flex;align-items:center;gap:9px;color:#bac7ff;font-size:11px;letter-spacing:2px;font-weight:700;margin-bottom:11px}.eyebrow-line{display:inline-block;width:16px;height:2px;background:#9cafff}.hero h1{font-size:29px;line-height:1.48;letter-spacing:-1.2px;margin:0 0 11px;font-weight:760}.hero h1 span{color:#cbd5ff}.hero p{color:#b6c2e3;font-size:13px;line-height:1.85;margin:0}.hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.hero-tags span{font-size:11px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.14);padding:5px 10px;border-radius:6px;color:#e6eaff}
.hero-decor{display:flex;align-items:center;gap:24px;position:relative;z-index:2;margin:0 35px 0 18px}.decor-document{background:white;width:142px;height:170px;border-radius:13px;padding:19px;box-shadow:0 18px 35px rgba(6,14,48,.19);transform:rotate(-8deg)}.decor-handle{display:flex;gap:4px;margin-bottom:16px}.decor-handle span{width:8px;height:8px;border-radius:50%;background:#c9d0e9}.decor-row{height:12px;width:100%;margin:10px 0;border-radius:3px;background:linear-gradient(90deg,#dce2f2 46%,#f0f3fb 46%)}.decor-row.short{width:74%}.decor-badge{width:49px;height:26px;margin:14px 0 0 auto;background:#e9eeff;border-radius:5px;color:#5764c8;font-weight:850;font-size:13px;text-align:center;line-height:26px}.decor-arrow{color:#9cafff;font-size:37px;font-weight:300}.decor-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:19px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.18);font-size:35px;font-weight:850;color:#fff;transform:rotate(8deg)}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:19px}.stat-card{padding:19px 22px;border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:var(--shadow)}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.stat-label{font-size:12px;color:#717e93;font-weight:700}.stat-symbol{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;font-size:18px;font-weight:700}.is-indigo{color:#5769e0;background:#ecedff}.is-blue{color:#418cca;background:#e8f5ff}.is-teal{color:#279a8a;background:#e5f8f1}.is-purple{color:#9462bb;background:#f3edff}.stat-number{font-size:29px;font-weight:780;letter-spacing:-1px;margin:4px 0}.stat-number span{font-size:12px;letter-spacing:normal;color:#8290a4;margin-left:7px;font-weight:620}.stat-caption{color:#99a3b3;font-size:11px}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(350px,.85fr);gap:18px;margin-bottom:19px}.panel{border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow)}.input-panel,.export-panel{padding:25px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:24px}.section-identity{display:flex;gap:12px;align-items:flex-start}.step-marker{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:9px;background:#eef0ff;color:#4d59d0;font-size:12px;font-weight:780}.panel h2{font-size:17px;margin:0 0 6px;letter-spacing:-.3px}.panel-head p{font-size:11.5px;color:#8490a3;margin:0;line-height:1.7}.small-pill{font-size:11px;padding:7px 9px;border-radius:30px;background:#f5f7fa;color:#7b879a;white-space:nowrap;font-weight:650}.field-label{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;color:#46556d;font-weight:720}.field-label>span{font-size:11px;color:#9ea8b6}.url-textarea{width:100%;min-height:230px;resize:vertical;border:1px solid #dfe5f0;border-radius:10px;padding:17px 18px;background:#fbfcff;color:#2b3750;font-family:ui-monospace,SFMono-Regular,Consolas,"Yu Gothic",monospace;line-height:1.9;font-size:12.5px;transition:border-color .18s,box-shadow .18s;outline:0}.url-textarea:focus{border-color:#8e9af1;box-shadow:0 0 0 3px #e9edff}.url-textarea::placeholder{color:#abb7ca}.field-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;color:#9ca7b9;font-size:11px;line-height:1.5}.text-button,.linklike-button{border:0;padding:0;background:transparent;color:#5869d9;font-weight:650;white-space:nowrap;font-size:11px}.text-button:hover,.linklike-button:hover{text-decoration:underline}.inline-message{margin-top:14px;padding:12px;border-radius:8px;font-size:12px;line-height:1.6;white-space:pre-wrap}.inline-message.error{color:#aa4141;background:#fff1f1;border:1px solid #f7d8d8}.actions{display:flex;gap:12px;align-items:center;margin-top:20px}.primary-button{height:45px;padding:0 19px;border:0;border-radius:9px;background:linear-gradient(95deg,#5664e5,#4353cf);box-shadow:0 8px 16px rgba(73,87,208,.16);color:white;font-size:13px;font-weight:750;display:flex;align-items:center;gap:10px}.primary-button:hover:not(:disabled){background:linear-gradient(95deg,#4a57dc,#3544c6)}.primary-button svg{width:15px;height:15px}.primary-button:disabled{opacity:.55}.secondary-button{height:45px;border:1px solid #dce2ec;border-radius:9px;padding:0 16px;background:#fff;color:#57657a;font-size:12px;font-weight:700}.hint-box{border-radius:9px;background:#f6f8fc;padding:13px;display:flex;align-items:flex-start;gap:10px;margin-top:24px;color:#758196;font-size:11px;line-height:1.8}.hint-icon{border:1.5px solid #98a3b8;flex:none;width:15px;height:15px;font-weight:760;font-size:10px;display:grid;place-items:center;border-radius:50%;margin-top:2px}.progress-wrap{margin-top:20px;border:1px solid #e8ebff;background:#f8f9ff;padding:15px;border-radius:10px}.progress-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:750;color:#3d4b8e}.progress-track{height:7px;margin-top:10px;background:#e2e8fc;border-radius:9px;overflow:hidden}.progress-fill{height:100%;width:0%;background:linear-gradient(95deg,#707ef0,#4b5de0);transition:width .2s;border-radius:9px}.progress-wrap p{margin:8px 0 0;font-size:11px;color:#8190ac}
.download-status{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f9fafe;border:1px dashed #dce3ef;min-height:178px;border-radius:11px;text-align:center;margin-bottom:25px;padding:18px}.status-icon{width:44px;height:44px;border-radius:13px;background:#eef1fd;display:grid;place-items:center;color:#7c87b0;font-size:24px;margin-bottom:12px}.download-status strong{font-size:14px;font-weight:750;color:#657187;margin-bottom:6px}.download-status>span:last-child{color:#a2adbb;font-size:11px}.download-status.ready{background:#f1fbf5;border-color:#bdebd0}.download-status.ready .status-icon{background:#ddf7e6;color:#1c9a64}.download-status.ready strong{color:#247b52}.export-label{margin-top:0}.field-select{width:100%;height:45px;border:1px solid #e0e6f0;border-radius:9px;color:#38455d;background:#fff;padding:0 13px;font-size:12px;outline:0}.export-note{font-size:11px;color:#929cae;line-height:1.7;margin:11px 0 20px}.download-button{display:flex;align-items:center;justify-content:center;gap:10px;background:#25386d;color:#fff;border:0;height:48px;border-radius:10px;width:100%;font-weight:730;font-size:12px}.download-button:hover:not(:disabled){background:#344a8b}.download-button:disabled{background:#d8deea;color:#a3aec2}.download-button svg{width:18px;height:18px}.feedback-line{min-height:30px;margin:9px 0 0;font-size:11px;color:#43825f;line-height:1.6}.feedback-line.warn{color:#bb6e25}.divider{border-top:1px solid var(--line);margin:17px 0 5px}.columns-details summary{list-style:none;cursor:pointer;font-size:12px;font-weight:700;color:#627086;padding:9px 0;display:flex;justify-content:space-between}.columns-details summary::-webkit-details-marker{display:none}.columns-details summary span{color:#a8b0bd}.detail-body{border-top:1px dashed #e3e8ef;padding-top:9px;color:#77859a;font-size:11px;line-height:1.65}.detail-body p{margin:7px 0}.detail-body b{color:#4f5f77}.detail-body .linklike-button{margin-top:8px}
.results-panel{overflow:hidden}.results-panel .panel-head{padding:24px 25px 0;margin-bottom:20px}.result-counter{font-size:11px;color:#8794a7;background:#f5f7fb;border-radius:8px;padding:7px 10px}.table-container{overflow:auto}.results-table{border-collapse:collapse;width:100%;min-width:680px;text-align:left}.results-table th{padding:13px 25px;font-weight:730;font-size:11px;background:#fafbfe;color:#7f8b9e;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.results-table td{padding:16px 25px;border-bottom:1px solid #eef1f6;color:#58667c;font-size:12px;vertical-align:top}.results-table tr:last-child td{border-bottom:0}.results-table .col-product{font-weight:740;color:#28364f;max-width:420px}.product-link{display:block;font-weight:500;color:#8a94a8;font-size:11px;text-decoration:none;margin-top:5px;overflow-wrap:anywhere}.product-link:hover{text-decoration:underline;color:#4f60d0}.row-status{display:inline-flex;border-radius:6px;padding:5px 9px;background:#e6f7ef;color:#188e63;font-weight:720;font-size:11px;white-space:nowrap}.row-status.error{background:#fff0ee;color:#b35448}.row-status.pending{background:#edf1ff;color:#6a79ac}.row-status.warn{background:#fff6e6;color:#ad782f}.row-notes{margin-top:6px;font-size:10px;color:#8a96a9;line-height:1.6;max-width:350px;white-space:normal}.empty-table{text-align:center!important;padding:55px 20px!important}.empty-graphic{width:46px;height:46px;border-radius:14px;background:#f1f4fa;color:#9ea9be;display:grid;place-items:center;margin:0 auto 10px;font-size:27px}.empty-table strong{color:#768397;font-size:13px}.empty-table p{font-size:11px;color:#aab4c1;margin:8px 0 0}.footer{display:flex;justify-content:space-between;gap:12px;color:#a1acbd;font-size:11px;margin-top:25px;line-height:1.7}
@media(max-width:1010px){.workspace-grid{grid-template-columns:1fr}.hero-decor{margin-right:0}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:660px){.header-inner{padding:0 17px}.site-header{height:68px}.brand-symbol{width:36px;height:36px}.brand small{font-size:8px}.brand strong{font-size:13px}.version-tag{display:none}.connection-chip{font-size:10px;padding:6px 8px}.main{padding:18px 13px 35px}.breadcrumbs{margin-bottom:16px}.hero{padding:29px 22px;min-height:auto}.hero-decor{display:none}.hero h1{font-size:23px}.hero p{font-size:11.5px}.desktop-only{display:none}.hero-tags{margin-top:14px}.hero-tags span{font-size:10px;padding:5px 8px}.stats-grid{gap:9px}.stat-card{padding:15px 13px}.stat-number{font-size:25px}.stat-caption{font-size:10px}.stat-label{font-size:11px}.stat-symbol{width:24px;height:24px}.input-panel,.export-panel{padding:19px 16px}.panel h2{font-size:15px}.panel-head p{font-size:10.5px}.step-marker{width:31px;height:31px}.small-pill{font-size:9px}.url-textarea{min-height:210px;font-size:11px;padding:12px}.field-foot{align-items:flex-start}.primary-button{width:100%;justify-content:center;font-size:12px}.actions{align-items:stretch;flex-direction:column}.footer{flex-direction:column;gap:4px}.results-panel .panel-head{padding:19px 16px 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* v1.1: startup check prevents false Rakuten 404 failures on static-only Workers */
.deploy-notice{border:1px solid #edc99d;background:#fff9f0;border-radius:11px;padding:16px 18px;margin:0 0 20px;color:#5e492b;font-size:12px;line-height:1.75}
.deploy-notice .deploy-title{font-weight:800;font-size:13px;color:#8c5717;margin-bottom:5px}
.deploy-notice p{margin:5px 0 12px}.deploy-notice p#deployReason{color:#995824;font-size:11px;overflow-wrap:anywhere}
.deploy-notice button{height:34px;margin-right:14px}.deploy-notice a{font-size:11px;color:#4456c1;text-decoration:underline}.deploy-notice code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
