:root{--bg: #f8fafc;--paper: #ffffff;--muted-paper: #f9fafb;--line: #e5e7eb;--line-strong: #d1d5db;--text: #374151;--heading: #1f2937;--muted: #6b7280;--teal: #0f766e;--teal-strong: #0d5f59;--blue: #2563eb;--blue-soft: #dbeafe;--yellow: #facc15;--yellow-strong: #eab308;--orange: #f97316;--green: #16a34a;--red: #dc2626;--red-soft: #fef2f2;--shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 8px 28px rgba(15, 23, 42, .04);font-family:Microsoft YaHei,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}input,select,textarea{width:100%;border:1px solid var(--line-strong);border-radius:4px;background:#fff;color:var(--text);padding:9px 10px;outline:none;transition:border-color .16s ease,box-shadow .16s ease}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #0f766e24}textarea{min-height:150px;resize:vertical;line-height:1.55}.app-page{min-height:100vh;background:var(--bg);color:var(--text)}.center-page{display:grid;place-items:center;padding:24px}.topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(220px,auto) minmax(0,1fr) auto;gap:18px;align-items:center;width:100%;padding:10px 24px;border-bottom:1px solid var(--line);background:var(--paper);box-shadow:0 1px 3px #0f172a0f}.brand{display:flex;align-items:center;gap:10px;min-width:0}.logo-brand{gap:0}.brand-logo{display:block;width:220px;height:auto;object-fit:contain;object-position:left center}.brand-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:4px;background:var(--teal);color:#fff;font-weight:800}.brand h1{margin:0;color:var(--heading);font-size:20px;line-height:1.15}.brand span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.top-actions{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}.primary-nav{align-self:center;justify-content:center;padding-top:0}.topbar-account-area{align-self:stretch;position:relative;display:grid;grid-template-columns:auto auto;grid-template-rows:1fr;column-gap:20px;align-items:center;justify-content:flex-end;min-width:max-content}.secondary-nav{grid-column:1;grid-row:1;align-self:center;justify-content:flex-end;padding-top:0}.top-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:6px;background:transparent;color:var(--muted);padding:0 14px;font-size:15px;font-weight:600;line-height:1;transition:background-color .16s ease,color .16s ease}.auth-switch button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border-radius:4px;background:transparent;color:var(--muted);padding:0 10px;line-height:1;transition:background-color .16s ease,color .16s ease}.top-actions button:hover,.top-actions .nav-active,.auth-switch .active{background:#eef2f7;color:var(--heading)}.top-actions .plugin-nav-button{background:var(--blue);color:#fff;box-shadow:0 8px 22px #2563eb2e}.top-actions .plugin-nav-button:hover,.top-actions .plugin-nav-button.nav-active{background:#1d4ed8;color:#fff;box-shadow:0 10px 26px #2563eb3d}.welcome-text{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:var(--muted);white-space:nowrap}.account-menu{display:contents}.topbar-account-area .welcome-text{grid-column:2;grid-row:1;align-self:center;align-items:center;justify-content:flex-end}.welcome-balance-stack{display:grid;gap:6px;justify-items:start;transform:none}.welcome-name{display:block;color:var(--muted);line-height:1.2}.header-balances{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}.topbar-account-area .green-small,.topbar-account-area .link-btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center}.guest-account-area{min-width:max-content}.guest-account-menu{display:flex;align-items:center;justify-content:flex-end}.link-btn{background:transparent;color:var(--blue);padding:0}.workspace{width:100%;padding:16px 24px 28px}.loading-card,.tracker-card,.auth-card{border:1px solid var(--line);border-radius:3px;background:var(--paper);box-shadow:var(--shadow)}.loading-card{min-width:min(460px,90vw);padding:28px}.loading-card p{margin:18px 0 0;color:var(--muted)}.login-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:stretch;width:min(1120px,calc(100vw - 48px));margin:48px auto}.login-copy{display:flex;flex-direction:column;justify-content:center;min-height:420px;border:1px solid var(--line);border-radius:3px;background:linear-gradient(135deg,rgba(15,118,110,.08),transparent 45%),linear-gradient(180deg,#fff,#f8fafc);padding:40px;box-shadow:var(--shadow)}.login-copy p{margin:0 0 8px;color:var(--teal);font-weight:700;text-transform:uppercase;letter-spacing:.08em}.login-copy h2{max-width:680px;margin:0;color:var(--heading);font-size:clamp(32px,5vw,58px);line-height:1.05;letter-spacing:-.05em}.login-copy span{max-width:620px;margin-top:18px;color:var(--muted);font-size:16px;line-height:1.8}.guide-list{display:grid;gap:14px;max-width:720px;margin:22px 0 0;padding:0;list-style:none;counter-reset:guide-step}.guide-list li{position:relative;counter-increment:guide-step;border:1px solid rgba(15,118,110,.16);border-radius:6px;background:#ffffffad;padding:13px 16px 13px 54px}.guide-list li:before{content:counter(guide-step);position:absolute;top:14px;left:16px;display:grid;place-items:center;width:26px;height:26px;border-radius:999px;background:var(--teal);color:#fff;font-weight:800}.guide-list strong{display:block;color:var(--heading);font-size:16px;line-height:1.35}.guide-list span{display:block;margin-top:5px;color:var(--muted);font-size:14px;line-height:1.7}.guest-page{display:flex;flex-direction:column}.guest-home{position:relative;display:grid;width:min(1040px,calc(100vw - 48px));margin:58px auto 82px}.guest-home:before{content:"";position:absolute;inset:-50px 6% auto;height:240px;z-index:0;border-radius:999px;background:radial-gradient(circle at 18% 28%,rgba(37,99,235,.14),transparent 34%),radial-gradient(circle at 82% 30%,rgba(15,118,110,.12),transparent 36%);filter:blur(4px);pointer-events:none}.guest-feature-panel{position:relative;z-index:1;display:block;min-height:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.guest-feature-copy{position:relative;display:flex;flex-direction:column;justify-content:center;max-width:780px;margin:0 auto;padding:54px 42px 56px;border-left:5px solid var(--blue);border-radius:0 28px 28px 0;background:linear-gradient(90deg,#2563eb14,#0f766e0a 58%,#fff0)}.guest-feature-copy>span{color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.guest-feature-copy h2{max-width:560px;margin:16px 0 0;color:var(--heading);font-size:clamp(34px,4.7vw,58px);line-height:1.08;letter-spacing:-.06em}.guest-feature-copy ol{display:grid;gap:10px;margin:22px 0 0;padding:0;color:var(--text);list-style:none;counter-reset:feature-point}.guest-feature-copy li{position:relative;counter-increment:feature-point;padding-left:34px;font-size:17px;line-height:1.7}.guest-feature-copy li:before{content:counter(feature-point);position:absolute;left:0;top:4px;display:grid;place-items:center;width:22px;height:22px;border-radius:999px;background:var(--blue);color:#fff;font-size:12px;font-weight:900}.guest-cta-btn{width:fit-content;min-height:42px;margin-top:28px;border-radius:4px;background:var(--teal);color:#fff;padding:0 26px;font-weight:900;box-shadow:0 14px 34px #0f766e47;transition:background-color .16s ease,box-shadow .16s ease}.guest-cta-btn:hover{background:#0d5f59;box-shadow:0 18px 42px #0f766e57}.auth-modal{width:min(560px,calc(100vw - 32px));animation:zoom-in .18s ease}.auth-modal-card{width:100%;overflow:hidden;border-radius:10px;padding:0;box-shadow:0 28px 100px #0f172a5c}.auth-modal-card .modal-title-row{padding:28px 32px 22px;background:linear-gradient(135deg,rgba(15,118,110,.08),transparent 52%),var(--muted-paper)}.auth-modal-card .modal-title-row h3{font-size:26px;letter-spacing:-.03em}.auth-modal-card .auth-title-actions{gap:14px}.auth-modal-card .auth-switch button{min-height:44px;border-radius:8px;padding:0 18px;font-size:18px}.auth-modal-card .icon-btn{width:44px;height:44px;font-size:34px}.auth-modal-card .form-row{margin:0 32px 14px;gap:8px}.auth-modal-card .form-row:first-of-type{margin-top:24px}.auth-modal-card .form-row span{font-size:17px}.auth-modal-card input{min-height:54px;border-radius:8px;padding:0 16px;font-size:20px}.auth-modal-card .notice{margin:0 32px 14px}.auth-modal-card .primary-btn{width:calc(100% - 64px);min-height:54px;margin:4px 32px 32px;border-radius:7px;font-size:20px}.site-footer{margin-top:auto;border-top:1px solid #4b5563;background:#374151;color:#f3f4f6;padding:12px 24px 14px;font-size:14px;line-height:1.7}.site-footer-inner{display:grid;gap:2px;justify-items:center;width:min(1120px,calc(100vw - 48px));margin:0 auto;text-align:center}.site-footer p{margin:0}.site-footer a{color:#f3f4f6;text-decoration:none}.site-footer a:hover{color:#bfdbfe}.auth-card{align-self:center;display:grid;gap:16px;padding:22px}.auth-card .modal-title-row{margin:-22px -22px 0;border-radius:3px 3px 0 0}.toolbar{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.toolbar-spacer{flex:1}.btn-icon{display:inline-grid;place-items:center;width:16px;height:16px;margin-right:5px;font-weight:800}.yellow-btn,.blue-btn,.soft-btn,.green-btn,.primary-btn,.yellow-small,.green-small{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:3px;padding:0 14px;font-weight:600;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.yellow-btn,.yellow-small{background:var(--yellow);color:#1f2937}.yellow-btn:hover,.yellow-small:hover{background:var(--yellow-strong)}.blue-btn{background:var(--blue);color:#fff}.blue-btn:hover{background:#1d4ed8}.soft-btn{border:1px solid var(--line);background:#f3f4f6;color:var(--text)}.soft-btn:hover{background:#e5e7eb}.green-btn,.green-small,.primary-btn{background:var(--teal);color:#fff}.green-btn:hover,.green-small:hover,.primary-btn:hover{background:var(--teal-strong)}.yellow-small,.green-small{min-height:28px;padding:0 9px;font-size:13px}.wide{width:100%}.balance-chip{display:inline-flex;align-items:center;min-height:28px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);padding:0 10px;font-size:12px}.bulk-action-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-bottom:1px solid var(--line);background:#f8fafc;padding:10px 16px}.bulk-action-bar strong{color:var(--heading);margin-right:4px}.stats-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 16px 0}.stats-strip article{border:1px solid var(--line);border-radius:4px;background:var(--muted-paper);padding:12px}.stats-strip strong{display:block;color:var(--heading);font-size:24px;line-height:1.1}.stats-strip span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.table-shell{overflow-x:auto}.tracker-table{width:100%;min-width:980px;border-collapse:collapse;text-align:left;font-size:14px}.tracker-table th{border-bottom:1px solid var(--line);background:#f3f4f6;color:#4b5563;font-weight:700;padding:12px}.tracker-table td{border-bottom:1px solid var(--line);color:var(--muted);padding:12px;vertical-align:top}.tracker-table tbody tr:hover{background:#f9fafb}.tracker-table td strong{color:var(--heading);font-weight:700}.tracker-table td span{display:block;margin-top:3px;font-size:12px}.checkbox-col,.index-col{width:48px;text-align:center}.progress-col{width:190px}.actions-col{width:260px}.progress-wrap{display:flex;align-items:center;gap:8px}.progress-track{flex:1;height:8px;overflow:hidden;border-radius:999px;background:#e5e7eb}.progress-track span{display:block;height:100%;background:var(--orange);transition:width .24s ease}.progress-wrap b{min-width:36px;color:var(--orange);font-size:12px}.row-actions{display:flex;flex-wrap:wrap;gap:8px}.empty-cell{padding:32px!important;text-align:center;color:#9ca3af!important}.notice{display:flex;align-items:center;min-height:36px;border:1px solid #bfdbfe;border-radius:4px;background:#eff6ff;color:#1d4ed8;padding:8px 12px;margin-bottom:12px}.notice.error{border-color:#fecaca;background:var(--red-soft);color:var(--red)}.detail-card{animation:slide-in .22s ease}.detail-head,.modal-title-row,.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.detail-head{border-bottom:1px solid var(--line);background:var(--muted-paper);padding:14px 16px}.detail-title{display:flex;align-items:center;gap:12px;min-width:0}.detail-title h2,.section-head h2{margin:0;color:var(--heading);font-size:17px}.section-head{padding:18px 18px 0}.section-head p{margin:5px 0 0;color:var(--muted)}.back-btn{background:transparent;color:var(--blue);padding:0}.divider{color:#9ca3af}.courier-pill{display:inline-flex;align-items:center;border-radius:999px;background:var(--blue-soft);color:#1e40af;padding:3px 9px;font-size:12px}.tabs{display:flex;gap:24px;overflow-x:auto;border-bottom:1px solid var(--line);padding:14px 16px 0}.tabs button{min-height:38px;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:0 0 10px;font-weight:700}.tabs button:hover,.tabs .tab-active{border-color:var(--blue);color:var(--blue)}.tabs span{margin-left:4px;color:inherit}.detail-table{min-width:900px}.detail-text{display:flex;gap:6px;color:#4b5563;font-size:12px;line-height:1.5}.detail-text span:last-child{min-width:0}.truck-icon{color:var(--teal);font-weight:900}.expand-btn{margin-top:8px;border:1px solid #99f6e4;border-radius:3px;background:#f0fdfa;color:var(--teal);padding:4px 8px;font-size:12px;font-weight:700}.expand-btn:hover{background:#ccfbf1}.timeline-row td{background:#fbfdff;padding:0 12px 14px!important}.timeline-panel{margin:0 0 0 44px;border:1px solid #dbeafe;border-radius:4px;background:linear-gradient(180deg,#fff,#f8fafc);padding:12px 14px}.timeline-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.timeline-meta span{display:inline-flex!important;align-items:center;min-height:24px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);padding:0 9px;font-size:12px}.timeline-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.timeline-list li{position:relative;display:grid;grid-template-columns:160px 54px minmax(0,1fr);gap:10px;align-items:start;padding-left:14px}.timeline-list li:before{content:"";position:absolute;left:0;top:7px;width:7px;height:7px;border-radius:999px;background:var(--teal);box-shadow:0 0 0 4px #ccfbf1}.timeline-list time{color:var(--muted);font-size:12px}.timeline-list strong{color:var(--teal);font-size:12px}.timeline-list p{margin:0;color:var(--text);font-size:13px;line-height:1.55}.timeline-empty{color:var(--muted);font-size:13px}.status-badge{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:4px;background:#f3f4f6;padding:3px 8px;color:#4b5563;font-weight:700}.status-badge.in_transit,.status-badge.queued{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.status-badge.signed,.status-badge.collection_pending{color:var(--green);background:#f0fdf4;border-color:#bbf7d0}.status-badge.no_trace{color:var(--red);background:#fef2f2;border-color:#fecaca}.status-badge.exception{color:#ea580c;background:#fff7ed;border-color:#fed7aa}.empty-panel{padding:36px;text-align:center}.empty-panel h2{margin:0;color:var(--heading)}.empty-panel p{color:var(--muted)}.account-view{padding-bottom:18px}.account-stats{padding-top:16px}.quick-cards,.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 18px 0}.quick-cards button,.pricing-card{min-height:120px;border:1px solid var(--line);border-radius:4px;background:var(--muted-paper);padding:16px;text-align:left}.quick-cards button:hover{border-color:var(--teal);background:#f0fdfa}.quick-cards strong,.pricing-card strong{display:block;color:var(--heading);font-size:17px}.quick-cards span,.pricing-card p{display:block;margin:8px 0 0;color:var(--muted);line-height:1.6}.pricing-copy{display:grid!important;gap:2px;margin-top:8px;color:var(--muted);line-height:1.6}.pricing-copy b{color:var(--heading)}.pricing-copy span{margin:0!important;color:inherit;font-size:inherit}.pricing-card .primary-btn{margin-top:16px}.narrow-card{width:min(560px,100%);max-width:560px;margin:48px auto 0;padding-bottom:18px}.feature-gated-shell{position:relative;min-height:520px}.feature-gate-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:8;display:grid;place-items:start center;border-radius:6px;background:#f8fafcc7;padding-top:min(24vh,180px);pointer-events:auto;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.feature-gate-overlay strong{border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:14px 28px;font-size:22px;box-shadow:var(--shadow)}.strategy-workbench{display:grid;gap:16px}.strategy-workbench .primary-btn{background:#155be8;color:#fff}.strategy-workbench .primary-btn:hover{background:#0f3fa8}.strategy-workbench input:focus,.strategy-workbench textarea:focus{border-color:#155be8;box-shadow:0 0 0 3px #155be824}.strategy-hero,.strategy-tab-panel{border:1px solid #fed7aa;border-radius:6px;background:linear-gradient(135deg,rgba(249,115,22,.12),transparent 46%),linear-gradient(180deg,#fff,#fff7ed);box-shadow:var(--shadow)}.strategy-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:stretch;padding:20px}.strategy-kicker{display:block;color:#155be8;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.strategy-hero h2,.tab-panel-head h2,.plugin-download-card h2{margin:6px 0 0;color:#431407;font-size:28px;line-height:1.15}.strategy-hero p,.tab-panel-head p,.plugin-download-card p,.checkup-safety-note{max-width:780px;margin:8px 0 0;color:#7c2d12;line-height:1.7}.strategy-account-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.strategy-account-panel article{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:12px}.strategy-account-panel span{display:block;color:#6b7280;font-size:12px;font-weight:800}.strategy-account-panel strong{display:block;margin-top:6px;color:#111827;font-size:24px;line-height:1}.strategy-account-actions{grid-column:1 / -1;display:flex;gap:10px}.orange-soft-btn{min-height:34px;border:1px solid #d6d3d1;border-radius:6px;background:#fff;color:#155be8;padding:0 12px;font-weight:700}.orange-soft-btn:hover{border-color:#155be8;background:#eef5ff;color:#0f3fa8}.strategy-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid #bfdbfe;border-radius:6px;background:#fff;padding:6px;box-shadow:var(--shadow)}.strategy-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:4px;background:transparent;color:#155be8;font-weight:800;transition:background-color .16s ease,color .16s ease}.strategy-tabs button:hover,.strategy-tabs button.active{background:#155be8;color:#fff}.strategy-tabs span{border-radius:999px;background:#ffffff3d;padding:2px 7px;font-size:12px}.orange-strategy-page{align-items:start}.orange-strategy-rail,.orange-strategy-editor{border-color:#bfdbfe}.strategy-workbench .strategy-list-item:hover,.strategy-workbench .strategy-list-item.active{border-color:#155be8;background:#eef5ff}.strategy-workbench .strategy-dashboard article,.strategy-workbench .strategy-summary-panel,.strategy-workbench .strategy-empty,.strategy-workbench .recent-task-strip{border-color:#bfdbfe;background:#eef5ff}.strategy-workbench .strategy-dashboard strong,.strategy-workbench .strategy-summary-panel strong{color:#0f172a}.strategy-workbench .strategy-dashboard span,.strategy-workbench .strategy-summary-panel>span,.strategy-workbench .strategy-eyebrow,.strategy-workbench .strategy-field span{color:#155be8}.strategy-tab-panel{display:grid;gap:16px;padding:18px}.tab-panel-head,.plugin-download-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.checkup-grid,.plugin-guide-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;align-items:start}.checkup-input-card,.checkup-output-card,.plugin-step-list,.plugin-safety-card{border:1px solid #fed7aa;border-radius:6px;background:#fff;padding:14px}.checkup-output-card{display:grid;gap:12px}.checkup-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.checkup-stat-grid article{border-radius:5px;background:#fff7ed;padding:12px}.checkup-stat-grid span{display:block;color:#9a3412;font-size:12px;font-weight:800}.checkup-stat-grid strong{display:block;margin-top:5px;color:#431407;font-size:22px}.plugin-download-card{border:1px solid #fed7aa;border-radius:6px;background:#fff;padding:16px}.plugin-download-btn{flex:0 0 auto;min-width:170px;text-decoration:none}.plugin-step-list{display:grid;gap:12px;margin:0;padding-left:0;list-style:none;counter-reset:plugin-step}.plugin-step-list li{position:relative;counter-increment:plugin-step;min-height:58px;border-bottom:1px solid #ffedd5;padding:0 0 12px 48px}.plugin-step-list li:last-child{border-bottom:0;padding-bottom:0}.plugin-step-list li:before{content:counter(plugin-step);position:absolute;left:0;top:0;display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:var(--orange);color:#fff;font-weight:900}.plugin-step-list strong,.plugin-safety-card h3{display:block;color:#431407;font-size:16px}.plugin-step-list span{display:block;margin-top:5px;color:#7c2d12;line-height:1.65}.plugin-safety-card{display:grid;gap:12px}.plugin-safety-card h3{margin:0}.plugin-safety-card ul{display:grid;gap:8px;margin:0;padding-left:18px;color:#7c2d12;line-height:1.6}.strategy-page{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;align-items:start}.strategy-rail,.strategy-editor-shell{border:1px solid var(--line);border-radius:3px;background:var(--paper);box-shadow:var(--shadow)}.strategy-rail{position:sticky;top:84px;display:grid;gap:14px;padding:16px}.strategy-rail-head,.strategy-editor-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.strategy-rail-head h2,.strategy-editor-head h2{margin:0;color:var(--heading);font-size:20px;line-height:1.2}.strategy-rail-head span,.strategy-eyebrow{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:700}.strategy-balance-grid,.strategy-dashboard{display:grid;gap:10px}.strategy-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-balance-grid article,.strategy-dashboard article,.strategy-summary-panel,.strategy-empty,.recent-task-strip{border:1px solid var(--line);border-radius:4px;background:var(--muted-paper);padding:12px}.strategy-balance-grid span,.strategy-dashboard span,.strategy-summary-panel>span{display:block;color:var(--muted);font-size:12px;font-weight:700}.strategy-balance-grid strong,.strategy-dashboard strong{display:block;margin-top:6px;color:var(--heading);font-size:22px;line-height:1}.strategy-summary-panel strong{display:block;margin-top:6px;color:var(--heading);font-size:16px}.strategy-summary-panel p,.strategy-empty span{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.strategy-list{display:grid;gap:8px}.strategy-list-item{width:100%;border:1px solid var(--line);border-radius:4px;background:#fff;padding:12px;text-align:left;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.strategy-list-item:hover,.strategy-list-item.active{border-color:var(--teal);background:#f0fdfa}.strategy-list-item strong,.strategy-empty strong{display:block;color:var(--heading);font-size:14px}.strategy-list-item span{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.4;word-break:break-all}.strategy-editor-shell{display:grid;gap:14px;padding:18px}.strategy-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.strategy-dashboard{grid-template-columns:repeat(5,minmax(0,1fr))}.strategy-checkup-status{border-color:#bfdbfe;background:#eff6ff}.strategy-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.strategy-field{display:grid;gap:7px;min-width:0}.strategy-field.span-2{grid-column:1 / -1}.strategy-field span{color:var(--muted);font-size:13px;font-weight:700}.strategy-field textarea{min-height:0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.55}.recent-task-strip{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}.recent-task-strip strong{color:var(--heading)}.recent-task-strip span{border-radius:999px;background:#fff;color:var(--muted);padding:5px 9px;font-size:12px}.stack-form{display:grid;gap:14px;padding:18px}.form-row,.form-line{display:grid;gap:7px}.form-row span,.form-line span,.file-box span,.payment-box>span{color:var(--muted);font-weight:700;font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#00000080;padding:16px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.task-modal{width:min(760px,100%);max-height:min(90vh,840px);overflow:auto;border-radius:4px;background:#fff;box-shadow:0 24px 80px #0f172a59;animation:zoom-in .18s ease}.recharge-modal{width:min(460px,100%);overflow:hidden;border-radius:4px;background:#fff;box-shadow:0 24px 80px #0f172a59;animation:zoom-in .18s ease}.retry-modal{width:min(800px,100%);max-height:min(92vh,860px);overflow:auto;border-radius:4px;background:#fff;box-shadow:0 24px 80px #0f172a59;animation:zoom-in .18s ease}.recharge-body{gap:14px}.coin-rate-card,.coin-preview,.qr-pay-panel{border:1px solid var(--line);border-radius:4px;background:linear-gradient(135deg,rgba(15,118,110,.08),transparent 55%),var(--muted-paper);padding:14px}.coin-rate-card span,.coin-preview span,.qr-pay-panel span{display:block;color:var(--muted);font-size:12px}.coin-rate-card strong,.coin-preview strong,.qr-pay-panel strong{display:block;margin-top:4px;color:var(--heading);font-size:20px}.coin-rate-card p{margin:8px 0 0;color:var(--muted);line-height:1.65}.coin-rate-card .pricing-copy,.payment-box .pricing-copy,.retry-price-line .pricing-copy{font-size:14px}.coin-rate-card .pricing-copy span,.payment-box .pricing-copy span,.retry-price-line .pricing-copy span{display:block;color:inherit;font-size:inherit;font-weight:400}.coin-preview{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:baseline}.coin-preview strong{color:var(--teal);font-size:28px;line-height:1}.coin-preview em{color:var(--muted);font-style:normal;font-weight:700}.qr-pay-panel{display:grid;gap:12px;justify-items:center;text-align:center}.qr-pay-panel canvas{width:220px;height:220px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:8px}.modal-title-row{border-bottom:1px solid var(--line);background:var(--muted-paper);padding:14px 16px}.modal-title-row h3{margin:0;color:var(--heading);font-size:17px}.icon-btn{width:32px;height:32px;border-radius:4px;background:transparent;color:var(--muted);font-size:24px}.icon-btn:hover{background:#e5e7eb;color:var(--heading)}.modal-body{display:grid;gap:16px;padding:22px}.retry-body{gap:18px}.retry-fieldset{display:grid;gap:18px;margin:0;border:1px solid var(--line-strong);border-radius:3px;padding:18px 22px 22px}.retry-fieldset legend{padding:0 10px;color:var(--heading);font-size:20px}.retry-form-line{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center}.retry-form-line>span{color:var(--heading);font-weight:700;text-align:right}.retry-form-line>b{color:var(--muted);font-weight:500}.retry-form-line input:disabled{background:#f9fafb;color:#9ca3af}.retry-task-list{display:grid;gap:6px;border:1px solid var(--line);border-radius:4px;background:#f9fafb;padding:10px 12px}.retry-task-list span{color:var(--muted);line-height:1.5}.retry-scope-options{display:flex;flex-wrap:wrap;gap:14px 18px}.retry-scope-options label{display:inline-flex;align-items:center;gap:8px;color:var(--text)}.retry-scope-options input{width:18px;height:18px;accent-color:var(--teal)}.retry-scope-options span{display:inline-flex;align-items:baseline;gap:1px}.retry-scope-options em{color:var(--red);font-style:normal;font-weight:700}.retry-scope-options .scope-disabled{color:#9ca3af}.retry-payment-choice{display:grid;gap:5px}.retry-payment-choice strong{color:var(--heading)}.retry-payment-choice span,.retry-price-line span{color:var(--muted);line-height:1.65}.retry-price-line{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start;padding:0 22px}.retry-price-line strong{color:var(--heading);text-align:right}.retry-footer{gap:12px}.modal-split{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px}.file-box,.preflight,.payment-box,.hint-box{border:1px solid var(--line);border-radius:4px;background:var(--muted-paper);padding:12px}.file-box input{margin-top:8px}.file-box-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.file-box p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.mini-btn{min-height:28px;padding:0 8px;font-size:12px}.preflight{display:grid;gap:4px;color:var(--muted);font-size:13px}.preflight strong{color:var(--heading)}.hint-box{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}.payment-box{display:grid;gap:9px}.payment-box label{display:flex;align-items:center;gap:8px;color:var(--text)}.payment-box input{width:auto}.modal-footer{display:flex;justify-content:center;border-top:1px solid var(--line);background:var(--muted-paper);padding:16px}.modal-footer .primary-btn{min-width:190px}.auth-switch{display:flex;gap:4px}.auth-title-actions{display:flex;align-items:center;gap:8px}.auth-method-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;border:1px solid var(--line);border-radius:6px;background:#f8fafc;padding:4px}.auth-method-switch button{min-height:36px;border-radius:4px;background:transparent;color:var(--muted);font-weight:700;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.auth-method-switch button:hover{color:var(--heading)}.auth-method-switch .active{background:#fff;color:var(--teal);box-shadow:0 1px 3px #0f172a14}.phone-code-row{display:grid;grid-template-columns:minmax(0,1fr) 126px;gap:10px;align-items:end}.phone-code-row .form-row{min-width:0}.code-btn{min-height:39px;white-space:nowrap}.auth-helper{margin:-4px 0 0;color:var(--muted);font-size:13px;line-height:1.65}@keyframes slide-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes zoom-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@media (max-width: 1080px){.topbar,.login-layout{grid-template-columns:1fr}.top-actions,.welcome-text{justify-content:flex-start;flex-wrap:wrap}.primary-nav,.secondary-nav,.account-menu{padding-top:0}.topbar-account-area{min-width:0;grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-content:flex-start}.account-menu{display:contents}.guest-account-menu{display:flex;justify-content:flex-start}.secondary-nav,.topbar-account-area .welcome-text,.header-balances{grid-column:1}.secondary-nav{grid-row:1;justify-content:flex-start}.topbar-account-area .welcome-text{grid-row:2;justify-content:flex-start}.welcome-balance-stack{transform:none}.header-balances{position:static;grid-row:3;justify-content:flex-start}.brand-logo{width:190px}.stats-strip,.quick-cards,.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-hero,.checkup-grid,.plugin-guide-grid,.strategy-page{grid-template-columns:1fr}.strategy-rail{position:static}.toolbar{flex-wrap:wrap}.toolbar-spacer{display:none}}@media (max-width: 700px){.workspace,.topbar{padding-left:12px;padding-right:12px}.login-layout{width:calc(100vw - 24px);margin:18px auto}.guest-home{width:calc(100vw - 24px);margin:18px auto 28px}.guest-feature-copy{padding:34px 24px 36px;border-left-width:4px;border-radius:0 18px 18px 0}.guest-feature-copy li{font-size:15px}.auth-modal-card .modal-title-row,.login-copy,.auth-card{padding:20px}.auth-modal-card{padding:0}.auth-modal-card .form-row,.auth-modal-card .auth-method-switch,.auth-modal-card .notice,.auth-modal-card .auth-helper{margin-left:20px;margin-right:20px}.auth-modal-card .primary-btn{width:calc(100% - 40px);margin-left:20px;margin-right:20px}.auth-card .modal-title-row{margin:-20px -20px 0}.phone-code-row,.stats-strip,.quick-cards,.pricing-grid,.strategy-tabs,.strategy-account-panel,.strategy-dashboard,.strategy-form-grid,.modal-split{grid-template-columns:1fr}.tab-panel-head,.plugin-download-card,.strategy-hero{align-items:flex-start;flex-direction:column}.strategy-account-actions,.plugin-download-btn{width:100%}.strategy-field.span-2{grid-column:auto}.strategy-editor-head,.strategy-rail-head{align-items:flex-start;flex-direction:column}.strategy-actions{width:100%;justify-content:flex-start}.narrow-card{margin-top:18px}.detail-head,.detail-title{align-items:flex-start;flex-direction:column}.retry-form-line,.retry-price-line{grid-template-columns:1fr;gap:7px;padding-left:0;padding-right:0}.retry-form-line>span,.retry-price-line strong{text-align:left}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.fhn-config-shell{--fhn-blue: #155be8;--fhn-blue-dark: #0f3fa8;--fhn-blue-soft: #eef5ff;--fhn-blue-line: #bfdbfe;--fhn-orange: #f59e0b;--fhn-orange-dark: #c2410c;--fhn-orange-soft: #fff7ed;--fhn-line: #e5e7eb;--fhn-line-strong: #d6d3d1;--fhn-text: #292524;--fhn-muted: #78716c;color:var(--fhn-text)}.fhn-config-shell .btn,.fhn-config-shell .btn-sm{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid var(--fhn-line-strong);border-radius:6px;background:#fff;color:#44403c;font-weight:700;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.fhn-config-shell .btn{padding:0 14px}.fhn-config-shell .btn-sm{min-height:28px;padding:0 9px;font-size:12px}.fhn-config-shell .btn:hover,.fhn-config-shell .btn-sm:hover{border-color:#a8a29e;background:#f9fafb;color:#1c1917}.fhn-config-shell .btn:disabled,.fhn-config-shell .btn-sm:disabled{cursor:not-allowed;opacity:.45;transform:none}.fhn-config-shell .btn-primary{border-color:var(--fhn-blue);background:var(--fhn-blue);color:#fff}.fhn-config-shell .btn-primary:hover{border-color:var(--fhn-blue-dark);background:var(--fhn-blue-dark);color:#fff}.fhn-page-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:24px;align-items:stretch;border:1px solid var(--fhn-blue-line);border-radius:14px;background:linear-gradient(135deg,#155be814,#fff0 46%),#fff;padding:18px 22px}.fhn-page-header h2{margin:4px 0 8px;color:#0f172a;font-size:30px;letter-spacing:0}.fhn-page-header p{margin:0;color:var(--fhn-muted);font-size:14px;line-height:1.65}.fhn-config-page{display:grid;gap:16px;margin-top:16px}.strategy-subtabs{display:inline-flex;width:fit-content;gap:6px;border:1px solid var(--fhn-blue-line);border-radius:10px;background:var(--fhn-blue-soft);padding:4px}.strategy-subtabs button{min-height:38px;border:0;border-radius:8px;background:transparent;color:#4b5563;padding:0 16px;font-weight:800;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}.strategy-subtabs button.active{background:#fff;color:var(--fhn-blue-dark);box-shadow:0 1px 4px #155be824}.strategy-folder-page{gap:0;margin-top:-16px;padding-top:0}.strategy-folder-surface{position:relative;display:grid;gap:0;overflow:visible;border:0;border-radius:0;background:transparent;padding:0 0 24px;box-shadow:none}.strategy-folder-shape{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:100%;height:100%;overflow:visible;pointer-events:none;filter:drop-shadow(0 24px 52px rgba(21,91,232,.08)) drop-shadow(0 2px 6px rgba(15,23,42,.04))}.strategy-folder-shape path{fill:url(#strategyFolderSurfaceFill);stroke:var(--fhn-blue-line);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.2;vector-effect:non-scaling-stroke}.strategy-card-deck{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;overflow:visible;border:0;border-radius:0;background:transparent;padding:0 22px;box-shadow:none}.strategy-card-viewport{min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 0;margin-bottom:0;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-color:var(--fhn-blue-line) transparent;scrollbar-width:thin}.strategy-card-viewport::-webkit-scrollbar{height:8px}.strategy-card-viewport::-webkit-scrollbar-track{background:transparent}.strategy-card-viewport::-webkit-scrollbar-thumb{border-radius:999px;background:var(--fhn-blue-line)}.strategy-card-strip{display:flex;width:max-content;min-width:100%;gap:10px;align-items:stretch;padding:0 4px}.strategy-rail-arrow{position:relative;z-index:5;align-self:center;margin-top:-8px;display:inline-grid;width:38px;height:38px;place-items:center;border:1px solid #e7e5e4;border-radius:999px;background:#fff;color:#57534e;font-size:30px;line-height:1;box-shadow:0 1px 2px #0f172a14;transition:border-color .16s ease,color .16s ease,box-shadow .16s ease}.strategy-rail-arrow:hover{border-color:var(--fhn-blue);color:var(--fhn-blue);box-shadow:0 2px 8px #155be824}.strategy-scroll-indicator{display:none}.strategy-scroll-indicator span{display:block;width:44%;height:100%;border-radius:inherit;background:#a8a29e}.strategy-policy-card{position:relative;flex:0 0 240px;display:flex;flex-direction:column;justify-content:flex-start;min-width:0;height:172px;gap:8px;align-items:stretch;overflow:visible;border:1px solid #dbeafe;border-radius:16px 16px 10px 10px;background:#f8fbff;color:#1c1917;margin-bottom:0;padding:18px 16px 24px;text-align:left;cursor:pointer;scroll-snap-align:center;box-shadow:0 8px 20px #155be80a;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}.strategy-policy-card:focus-visible{outline:3px solid rgba(21,91,232,.22);outline-offset:3px}.strategy-policy-card:hover{border-color:var(--fhn-blue-line);background:#fff;box-shadow:0 10px 24px #155be814}.strategy-policy-card.active{z-index:6;margin-bottom:0;border:1px solid transparent;border-radius:18px;background:transparent;box-shadow:none}.strategy-policy-card.is-new{flex-basis:160px;align-items:center;justify-content:center;border-style:dashed;color:var(--fhn-blue);padding:14px 12px;text-align:center}.strategy-policy-card strong{color:#1c1917;font-size:18px;line-height:1.2}.strategy-policy-card>span:not(.strategy-policy-name-row),.strategy-policy-card small{color:#78716c;font-size:12px}.strategy-policy-name-row{display:grid;min-width:0;min-height:44px;grid-template-columns:minmax(0,1fr) 36px;gap:6px;align-items:center}.strategy-policy-name-row strong{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.strategy-policy-name-input{width:100%;min-width:0;height:36px;border:1px solid var(--fhn-blue-line);border-radius:8px;background:#fff;color:#1c1917;padding:0 9px;font-size:14px;font-weight:800;line-height:1.2}.strategy-card-icon-btn{display:inline-grid;width:36px;height:36px;place-items:center;border:1px solid transparent;border-radius:9px;background:var(--fhn-blue-soft);color:var(--fhn-blue);cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.strategy-card-icon-btn:hover,.strategy-card-icon-btn:focus-visible{border-color:var(--fhn-blue-line);background:#fff}.strategy-card-icon-btn.danger{background:#fff7ed;color:#c2410c}.strategy-card-delete-btn{position:absolute;top:14px;right:14px;z-index:2}.strategy-card-icon-btn.danger:hover,.strategy-card-icon-btn.danger:focus-visible{border-color:#fed7aa;background:#fff;color:#9a3412}.strategy-card-icon-btn:disabled{cursor:not-allowed;opacity:.55}.strategy-card-icon-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.strategy-policy-topline{display:flex;min-height:22px;gap:8px;align-items:center;font-weight:800}.strategy-policy-badge{display:inline-flex;min-height:22px;align-items:center;border-radius:7px;background:var(--fhn-orange);color:#fff!important;padding:0 8px;font-size:12px!important}.strategy-card-menu{display:none}.strategy-new-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:10px;background:var(--fhn-blue-soft);color:var(--fhn-blue)!important;font-size:27px!important;font-weight:500}.strategy-policy-card.is-new strong{color:var(--fhn-blue);font-size:14px}.strategy-policy-card.is-new span:last-child{font-size:11px;line-height:1.35}.strategy-folder-panel{position:relative;z-index:1;display:grid;gap:18px;margin-top:0;border:0;border-radius:0;background:transparent;padding:28px 18px 0;overflow:visible;box-shadow:none}.strategy-folder-head{display:block;min-width:0}.strategy-folder-head h2{margin:4px 0 0;color:#1c1917;font-size:27px;line-height:1.2}.strategy-title-row{display:grid;grid-template-columns:minmax(0,max-content) auto;gap:18px;align-items:center}.strategy-title-actions{display:inline-flex;align-items:center;gap:10px}.strategy-default-star{display:inline-grid;width:42px;height:42px;place-items:center;border:1px solid #bfdbfe;border-radius:10px;background:#fff;color:#2563eb;cursor:pointer}.strategy-default-star svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linejoin:round;stroke-width:1.9}.strategy-default-star svg .filled{fill:currentColor}.strategy-default-star.active{border-color:#f59e0b;background:#fff7ed;color:#f59e0b}.strategy-default-star:disabled{cursor:not-allowed;opacity:.55}.strategy-notice{justify-self:start;width:min(100%,720px)}.strategy-folder-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.strategy-folder-metrics article{border:1px solid #dbeafe;border-radius:8px;background:#fff;padding:11px 14px}.strategy-folder-metrics span{display:block;color:#78716c;font-size:12px;font-weight:800}.strategy-folder-metrics strong{display:block;margin-top:4px;color:#1c1917;font-size:14px}.strategy-folder-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.config-status-row,.steps-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid var(--fhn-line);border-radius:8px;background:#fff;padding:10px 12px}.config-status-row select{min-width:260px;border:1px solid var(--line);border-radius:5px;padding:8px 10px}.config-status-row span{color:var(--fhn-muted);font-size:13px}.steps-bar{justify-content:space-between;background:#f9fafb}.step-indicator{display:inline-flex;align-items:center;gap:8px;color:#44403c;font-size:13px;font-weight:800}.step-num{display:inline-grid;width:22px;height:22px;place-items:center;border-radius:50%;background:var(--fhn-blue);color:#fff;font-size:12px}.config-card{display:grid;gap:16px;border:1px solid var(--fhn-line);border-radius:8px;background:#fff;padding:18px;box-shadow:none}.config-card h2{display:flex;gap:10px;align-items:center;margin:0;color:#292524;font-size:21px}.step-tag{display:inline-flex;min-height:24px;align-items:center;border-radius:999px;background:var(--fhn-blue);color:#fff;padding:0 10px;font-size:12px;font-weight:800}.muted-line{margin:0;color:var(--fhn-muted);font-size:13px;line-height:1.7}.import-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:16px}.upload-zone{display:grid;min-height:210px;place-items:center;align-content:center;gap:8px;border:1px dashed var(--fhn-line-strong);border-radius:8px;background:#f9fafb;color:#44403c;text-align:center;cursor:pointer}.upload-zone strong,.upload-zone p{margin:0}.upload-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:10px;background:#fff;color:var(--fhn-blue);font-size:28px;font-weight:900}.upload-hint{color:var(--fhn-muted);font-size:12px}.template-preview{overflow:auto;border:1px solid var(--fhn-line);border-radius:8px;background:#f9fafb;padding:14px}.template-preview h3,.config-subtitle{margin:0 0 12px;color:#292524;font-size:15px}.template-table,.config-table{width:100%;border-collapse:collapse;min-width:720px}.template-table th,.template-table td,.config-table th,.config-table td{border:1px solid #e7e5e4;padding:9px 10px;text-align:left;vertical-align:middle}.template-table th,.config-table th{position:relative;min-width:72px;overflow:hidden;resize:horizontal}.template-table th:after,.config-table th:after{display:none}.template-table th,.config-table th{background:#f9fafb;color:#374151;font-size:12px;white-space:nowrap}.template-table td,.config-table td{color:#44403c;font-size:13px}.config-table tbody tr:hover{background:#f9fafb}.badge{display:inline-flex;align-items:center;border-radius:999px;background:#f3f4f6;color:#44403c;padding:3px 9px;font-size:12px}.status-msg{border-radius:6px;padding:10px 12px;font-size:13px;font-weight:700}.status-msg.info{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8}.status-msg.success{border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d}.status-msg.error{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c}.strategy-preview-page{display:grid;gap:16px}.strategy-bottom-actions{display:flex;justify-content:flex-start;align-items:center;padding:2px 0 0}.preview-hero-card{grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);align-items:center;background:#fff}.preview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.preview-metrics article{border:1px solid var(--fhn-line);border-radius:8px;background:#f9fafb;padding:14px}.preview-metrics span{display:block;color:#6b7280;font-size:12px;font-weight:800}.preview-metrics strong{display:block;margin-top:5px;color:#1c1917;font-size:22px}.preview-metrics strong.preview-read-time{font-size:16px;line-height:1.35;white-space:normal}.preview-controls{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:10px;align-items:end}.strategy-field select{min-height:40px;border:1px solid #d6d3d1;border-radius:6px;background:#fff;color:#292524;padding:8px 10px}.preview-table td strong,.preview-table td small{display:block}.preview-table td small{margin-top:4px;color:var(--fhn-muted)}.preview-address-cell{min-width:220px;white-space:normal;line-height:1.55}.preview-strategy-cell{min-width:320px;max-width:420px;white-space:normal;line-height:1.55}.preview-strategy-title{color:#155be8!important}.preview-strategy-title.pending{color:#78716c!important}.preview-strategy-title.error{color:#b91c1c!important}.preview-ok,.preview-error{display:inline-flex;align-items:center;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:900}.preview-ok{background:#dcfce7;color:#166534}.preview-error{background:#fee2e2;color:#991b1b}.regions-list,.region-rules,.weight-rule-list{display:grid;gap:10px}.priority-container{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}.weight-rule-list{grid-template-columns:repeat(4,minmax(200px,1fr));align-items:stretch}.priority-item,.region-group,.weight-rule-item,.quota-rule-item,.strategy-prompt-box{border:1px solid #e7e5e4;border-radius:8px;background:#fff;padding:12px}.weight-rule-item{display:grid;gap:8px;align-content:start;padding:10px}.priority-item{display:inline-grid;grid-template-columns:auto minmax(72px,1fr);flex:0 1 154px;min-height:48px;gap:10px;align-items:center;border-color:#bfdbfe;cursor:grab;-webkit-user-select:none;user-select:none;transition:border-color .16s ease,box-shadow .16s ease,opacity .16s ease,background .16s ease}.priority-item:hover{border-color:#93c5fd;box-shadow:0 8px 18px #155be814}.priority-item:active{cursor:grabbing}.priority-item.is-dragging{border-style:dashed;background:#eff6ff;opacity:.62}.priority-drop-indicator{flex:0 0 4px;align-self:stretch;min-height:48px;border-radius:999px;background:var(--fhn-blue);box-shadow:0 0 0 3px #155be824}.priority-rank{display:inline-grid;min-width:40px;min-height:28px;place-items:center;border-radius:999px;background:#f3f4f6;color:#44403c;font-weight:900}.priority-name,.sugg-carrier{font-weight:800}.priority-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-actions,.export-actions,.toolbar,.checkup-actions,.region-group-header,.quota-rule-row,.rule-row,.mapping-header,.drilldown-header{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.region-group-header input,.quota-rule-row input,.quota-rule-row select,.rule-row input,.rule-row select,.mapping-row input,.product-weight-control select,.config-status-row select,.strategy-field input,.checkup-period select{border:1px solid #d6d3d1;border-radius:6px;background:#fff;color:#292524;padding:8px 10px}.region-group-header input{min-width:220px;font-weight:800}.quota-rule-row>span:first-child,.rule-row label{min-width:72px;color:#57534e;font-size:13px;font-weight:800}.weight-rule-item .rule-row{display:grid;gap:6px;align-items:start}.weight-rule-item .rule-row label{min-width:0}.weight-rule-item .rule-row select{width:100%;min-width:0}.tag-input-wrapper{display:flex;flex:1;flex-wrap:wrap;gap:8px;align-items:center}.tag-container{display:flex;flex-wrap:wrap;gap:6px}.tag{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--fhn-line-strong);border-radius:999px;background:#f3f4f6;color:#44403c;padding:4px 8px;font-size:12px;font-weight:800}.tag span{color:#c2410c}.mapping-config{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.mapping-row{display:grid;gap:6px}.mapping-row label{color:#57534e;font-size:13px;font-weight:800}.snapshot-section-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.mapping-keyword-title-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.mapping-keyword-title-actions h2{margin:0}.strategy-mapping-stack{display:grid;gap:18px;min-width:0}.mapping-card{min-width:0;border-color:var(--fhn-line);border-radius:10px;background:#fff;box-shadow:none}.mapping-card .table-wrapper{min-width:0;border:1px solid var(--fhn-line);border-radius:8px}.price-preview-card{min-width:0;overflow:hidden}.price-preview-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden}.price-preview-table{width:max-content;min-width:1360px}.shipping-template-workbench{display:grid;gap:14px;border:1px solid #dbeafe;border-radius:10px;background:linear-gradient(180deg,#f8fbff,#fff);padding:14px}.shipping-template-card{display:grid;gap:14px;border:1px solid #dbeafe;border-radius:10px;background:#fff;padding:14px;box-shadow:0 10px 24px #155be80d}.shipping-template-card-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}.shipping-template-card-head h3{margin:0;color:#1c1917;font-size:17px;line-height:1.25}.shipping-template-card-head p{margin:4px 0 0;color:var(--fhn-muted);font-size:12px;line-height:1.45}.template-index-badge{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:10px;background:var(--fhn-blue);color:#fff;font-size:14px;font-weight:900}.template-carrier-pill{display:inline-flex;min-height:28px;align-items:center;border:1px solid #bfdbfe;border-radius:999px;background:var(--fhn-blue-soft);color:var(--fhn-blue);padding:0 10px;font-size:12px;font-weight:900;white-space:nowrap}.template-carrier-pill.muted{border-color:#e7e5e4;background:#f9fafb;color:#78716c}.shipping-template-card-grid{display:grid;grid-template-columns:minmax(300px,340px) minmax(520px,1fr);gap:14px;align-items:stretch;justify-content:start}.shipping-template-card-grid.has-price-preview{grid-template-columns:minmax(300px,340px) minmax(420px,1fr);align-items:start}.shipping-template-card-grid.has-price-preview .template-map-pane{grid-column:1;grid-row:1}.shipping-template-card-grid.has-price-preview .template-price-preview-pane{grid-column:2;grid-row:1}.shipping-template-card-grid.has-price-preview .template-remote-pane{grid-column:1 / -1;grid-row:2}.template-map-pane,.template-remote-pane{display:grid;align-content:start;gap:12px;border:1px solid #e7e5e4;border-radius:8px;background:#fff;padding:12px}.template-remote-pane{width:100%;max-width:none;border-color:#bfdbfe;background:#f8fbff}.template-price-preview-pane{min-width:0}.template-field{display:grid;gap:6px}.template-field>span,.template-remote-head strong{color:#292524;font-size:13px;font-weight:900}.template-field select{width:100%;min-height:40px;border:1px solid var(--fhn-line);border-radius:7px;background:#fff;color:#1c1917;padding:8px 10px;font-size:13px}.template-field small,.template-upload-meta span{color:var(--fhn-muted);font-size:12px;line-height:1.45}.template-upload-block{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}.template-upload-meta{display:grid;gap:4px;min-width:0}.template-upload-meta strong{color:#1c1917;font-size:13px}.template-remote-head{display:flex;align-items:center;justify-content:flex-start;gap:12px}.template-remote-title-actions{display:inline-flex;flex-wrap:wrap;gap:10px;align-items:center}.remote-quota-presets{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.remote-quota-presets button{min-height:30px;border:1px solid #dbeafe;border-radius:999px;background:#fff;color:var(--fhn-blue);padding:0 12px;font-size:12px;font-weight:900;cursor:pointer}.remote-quota-presets button:hover:not(:disabled){border-color:var(--fhn-blue);background:var(--fhn-blue-soft)}.remote-quota-presets button:disabled{cursor:not-allowed;opacity:.45}.remote-quota-list{display:flex;flex-wrap:nowrap;gap:10px;align-items:stretch;overflow-x:auto;overflow-y:hidden;padding-bottom:6px;scrollbar-gutter:stable}.remote-quota-row{position:relative;display:grid;flex:0 0 220px;min-width:0;grid-template-columns:minmax(0,1fr);gap:10px;align-content:start;border:1px solid #dbeafe;border-radius:8px;background:#fff;padding:12px 34px 12px 12px}.remote-quota-close{position:absolute;top:8px;right:8px;display:grid;width:22px;height:22px;place-items:center;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#c2410c;padding:0;font-size:15px;font-weight:900;line-height:1;cursor:pointer}.remote-quota-main{display:grid;min-width:0;gap:10px}.remote-quota-title-line{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) 84px;gap:8px;align-items:center}.remote-quota-type-toggle{display:inline-flex;justify-self:start;overflow:hidden;border:1px solid #dbeafe;border-radius:999px;background:#f8fbff}.remote-quota-type-toggle button{min-height:24px;border:0;background:transparent;color:#64748b;padding:0 8px;font-size:11px;font-weight:900;cursor:pointer}.remote-quota-type-toggle button.active{background:var(--fhn-blue);color:#fff}.remote-quota-row strong,.remote-quota-row small{display:block}.remote-quota-row strong{min-width:0;overflow:hidden;color:#1c1917;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.remote-quota-row small{margin-top:2px;color:var(--fhn-muted);display:-webkit-box;overflow:hidden;font-size:11px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.remote-province-add{display:grid}.remote-province-add select{width:100%;min-height:34px;border:1px solid #dbeafe;border-radius:7px;background:#fff;color:#1c1917;padding:6px 9px;font-size:13px}.remote-selected-provinces{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;min-height:28px;max-height:62px;overflow:auto}.remote-selected-provinces button{min-height:28px;border:1px solid #bfdbfe;border-radius:999px;background:#fff;color:var(--fhn-blue);padding:0 10px;font-size:12px;font-weight:800;cursor:pointer}.remote-selected-provinces button:after{content:" ×";font-weight:900}.template-price-result{display:grid;max-height:214px;min-height:0;overflow:hidden;gap:8px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;padding:10px}.template-price-result-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.template-price-result-head strong{color:#1c1917;font-size:13px}.template-price-result-head span{border-radius:999px;background:#fff;color:var(--fhn-blue);padding:3px 8px;font-size:12px;font-weight:900}.template-price-table-scroll{overflow:auto}.template-price-mini-table{min-width:760px}.price-preview-card{border-color:#dbeafe;background:#fbfdff}.snapshot-title{margin:0 0 6px;color:#292524;font-size:14px}.erp-snapshot-block{display:grid;gap:12px;border:1px solid var(--fhn-line);border-radius:8px;background:#f9fafb;padding:14px}.template-quota-panel{display:grid;gap:12px;border:1px solid #dbeafe;border-radius:8px;background:#f8fbff;padding:14px}.template-quota-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.template-quota-head h3{margin:0 0 4px;color:#1c1917;font-size:16px}.template-regions-list .region-group{border-color:#dbeafe}.carrier-price-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#57534e;font-size:12px;font-weight:800}.carrier-price-title strong{border-radius:999px;background:#f3f4f6;color:#44403c;padding:3px 8px}.compact-table-wrapper{max-height:240px;overflow:auto}.carrier-price-table{min-width:520px}.shipping-template-table{min-width:1180px}.shipping-template-name-col{width:28%}.shipping-template-carrier-col{width:19%}.shipping-template-quota-col{width:14%}.shipping-template-price-col{width:39%}.shipping-template-table td{vertical-align:top}.shipping-template-table td>strong,.product-weight-table td strong,.preview-table td strong{display:block;color:#1c1917;font-size:13px}.shipping-template-table td>small,.shipping-template-table td span+small,.product-weight-table td small,.preview-table td small{display:block;margin-top:4px;color:var(--fhn-muted)}.shipping-template-table td span{color:#44403c;font-size:13px}.template-price-upload{display:grid;grid-template-columns:auto minmax(120px,160px) minmax(240px,1fr);gap:8px;align-items:start;min-width:360px}.template-price-upload span{display:block;max-width:160px;color:var(--fhn-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-quota-control{display:grid;width:100%;gap:5px}.template-quota-input-wrap{display:flex;min-width:0;gap:6px;align-items:center}.template-quota-control input,.product-origin-select{width:100%;border:1px solid var(--fhn-line);border-radius:7px;background:#fff;color:#1c1917;padding:8px 10px;font-size:13px}.template-quota-control span{color:var(--fhn-muted);font-size:12px;font-weight:800}.template-quota-input-wrap input{min-width:0}.template-quota-control em{color:var(--fhn-muted);font-size:12px;font-style:normal;font-weight:900}.template-price-dropzone{display:grid;width:108px;height:70px;place-items:center;align-content:center;gap:3px;border:1px dashed var(--fhn-line-strong);border-radius:7px;background:#fff;color:#44403c;cursor:pointer;text-align:center;transition:border-color .16s ease,background .16s ease}.template-price-dropzone:hover{border-color:var(--fhn-blue);background:var(--fhn-blue-soft)}.template-price-dropzone input{display:none}.mini-upload-icon{display:grid;width:22px;height:22px;place-items:center;border-radius:7px;background:#f3f4f6;color:var(--fhn-blue);font-size:17px;font-weight:900;line-height:1}.template-price-dropzone strong{color:#44403c;font-size:12px;line-height:1.1}.template-price-dropzone small{color:var(--fhn-muted);font-size:10px;line-height:1.1}.product-weight-control{display:inline-flex;align-items:center;gap:6px;width:150px;max-width:100%}.product-weight-control select{min-width:0;flex:1 1 auto}.product-weight-control em{color:var(--fhn-muted);font-size:12px;font-style:normal;font-weight:900}.product-origin-select{min-width:150px}.soft-rule{width:100%;border:0;border-top:1px solid var(--fhn-line)}.toggle-switch{width:48px;height:28px;border:0;border-radius:999px;background:#d6d3d1;padding:3px;cursor:pointer}.toggle-switch:before{display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 8px #0000002e;content:"";transition:transform .16s ease}.toggle-switch.on{background:var(--fhn-blue)}.toggle-switch.on:before{transform:translate(20px)}.smart-toggle-area{display:grid;gap:10px}.smart-toggle-header{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.toggle-label{color:#292524;font-weight:900}.smart-toggle-status,.smart-data-info{width:fit-content;border-radius:999px;background:#f3f4f6;color:#44403c;padding:5px 10px;font-size:12px;font-weight:800}.smart-toggle-desc{margin:0;color:var(--fhn-muted);font-size:13px;line-height:1.7}.strategy-field{display:grid;gap:6px}.strategy-field span{color:#57534e;font-size:13px;font-weight:800}.strategy-dashboard,.checkup-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.strategy-dashboard article,.checkup-overview article{border:1px solid var(--fhn-line);border-radius:7px;background:#fffaf5;padding:12px}.strategy-dashboard span,.checkup-overview span{display:block;color:#9a3412;font-size:12px;font-weight:800}.strategy-dashboard strong,.checkup-overview strong{display:block;margin-top:5px;color:#1c1917;font-size:22px}.json-preview{display:grid;gap:8px;border:1px solid #e7e5e4;border-radius:8px;background:#1c1917;color:#ffedd5;padding:14px}.json-preview pre{max-height:340px;overflow:auto;margin:0}.json-preview p{margin:0;color:#fed7aa;font-size:12px}.checkup-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;align-items:end}.checkup-period{display:grid;gap:6px;color:#57534e;font-size:13px;font-weight:800}.progress-bar-wrap{overflow:hidden;height:12px;border-radius:999px;background:#ffedd5}.progress-bar{height:100%;border-radius:inherit;background:var(--fhn-orange);transition:width .2s ease}.progress-text{margin:0;color:var(--fhn-muted)}.view-toggle{display:inline-flex;width:fit-content;border:1px solid var(--fhn-blue-line);border-radius:999px;background:var(--fhn-blue-soft);padding:4px}.toggle-btn-view{border-radius:999px;background:transparent;color:var(--fhn-blue);min-height:32px;padding:0 14px}.toggle-btn-view.active{background:var(--fhn-blue);color:#fff}.orange-text{color:var(--fhn-blue)}.route-row{cursor:pointer}.fastest-cell{background:#fff7ed;color:#c2410c;font-weight:900}.fastest-badge{display:inline-flex;border-radius:999px;background:var(--fhn-orange);color:#fff;padding:4px 8px;font-size:12px;font-weight:900}.drilldown-area,.priority-suggestion{display:grid;gap:10px;border:1px solid var(--fhn-line);border-radius:8px;background:#fffaf5;padding:12px}.strategy-checkbox{display:inline-flex;gap:8px;align-items:center}.strategy-checkbox input{width:18px;height:18px;accent-color:var(--fhn-orange)}.sugg-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;border-top:1px solid var(--fhn-line);padding-top:8px}.sugg-detail,.priority-suggestion small{color:var(--fhn-muted);font-size:12px}.plugin-download-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.plugin-download-card h2,.plugin-download-card p{margin:0}.plugin-guide-grid{grid-template-columns:minmax(0,1fr) 320px}.plugin-safety-card{border:1px solid var(--fhn-line);border-radius:8px;background:#fffaf5;padding:16px}.plugin-safety-card h3{margin:0 0 10px;color:#7c2d12}.plugin-safety-card ul{margin:0 0 14px;padding-left:18px;color:#57534e;line-height:1.8}@media (max-width: 1080px){.fhn-page-header,.import-layout,.plugin-guide-grid,.plugin-download-card,.preview-hero-card,.preview-controls,.shipping-template-card-grid,.strategy-folder-head{grid-template-columns:1fr}.strategy-dashboard,.checkup-overview,.preview-metrics,.strategy-folder-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.strategy-folder-actions{justify-content:flex-start}.weight-rule-list{grid-template-columns:repeat(2,minmax(200px,1fr))}}@media (max-width: 700px){.steps-bar,.config-status-row,.checkup-controls{align-items:stretch;flex-direction:column}.strategy-dashboard,.checkup-overview,.preview-metrics,.strategy-folder-metrics,.weight-rule-list{grid-template-columns:1fr}.strategy-folder-surface{border-radius:18px;padding:16px}.strategy-card-deck{padding:0}.strategy-policy-card{min-width:220px}.strategy-subtabs{width:100%}.strategy-subtabs button{flex:1}.snapshot-section-header{align-items:stretch;flex-direction:column}.shipping-template-workbench{padding:10px}.shipping-template-card-head,.template-remote-head,.template-upload-block{grid-template-columns:1fr}.template-carrier-pill{justify-self:start}.product-weight-control,.product-origin-select{width:100%}}
