/* 電子發票服務申請（單頁）
   由 step1~4.html 合併：每一步原本的樣式原封不動，只把選擇器掛到 #reg-step-N 底下，
   避免四頁同名 class（.header/.page/.footer-action/.btn…）互相覆蓋。
   :root / body 的規則改掛在該步驟外框上（變數、字型、底色照樣繼承）。 */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#F8FAFF}
.reg-step[hidden]{display:none !important}

/* ===== 第 1 步：電子發票服務申請｜第二版 UIUX ===== */
#reg-step-1{--navy:#17324d;--blue:#2563eb;--blue2:#1d4ed8;--sky:#eff6ff;
  --ink:#172033;--muted:#657084;--line:#dfe5ec;--bg:#F8FAFF;--white:#fff;
  --green:#15803d;--greenbg:#eefbf2;--amber:#9a6700;--amberbg:#fff9e8;
  --red:#d92d20;--shadow:0 14px 36px rgba(23,50,77,.08);--radius:18px}
#reg-step-1 *{box-sizing:border-box}
#reg-step-1{scroll-behavior:smooth}
#reg-step-1{margin:0;background:var(--bg);font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.65}
#reg-step-1 button,#reg-step-1 input,#reg-step-1 textarea{font:inherit}
#reg-step-1 .header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1000;box-shadow:0 4px 14px rgba(23,50,77,.06)}
#reg-step-1 .header-inner{max-width:1280px;margin:auto;padding:18px 64px;display:flex;align-items:center;justify-content:space-between;gap:20px}
#reg-step-1 .brand{display:flex;align-items:center;gap:13px}
#reg-step-1 .logo{width:48px;height:48px;border-radius:14px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900}
#reg-step-1 .brand h1{font-size:21px;margin:0}
#reg-step-1 .brand p{margin:1px 0 0;color:var(--muted);font-size:14px}
#reg-step-1 .help{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;color:var(--navy);font-weight:700}
#reg-step-1 .step-wrap{background:#fff}
#reg-step-1 .steps{max-width:1120px;margin:auto;padding:18px 40px 22px;display:grid;grid-template-columns:repeat(4,1fr)}
#reg-step-1 .step{position:relative;text-align:center}
#reg-step-1 .step:not(:last-child):after{content:"";position:absolute;top:19px;left:58%;right:-42%;height:3px;background:#e6ebf1}
#reg-step-1 .step.done:not(:last-child):after,#reg-step-1 .step.active:not(:last-child):after{background:#93b4ff}
#reg-step-1 .dot{width:40px;height:40px;border-radius:50%;margin:auto;display:grid;place-items:center;background:#eef1f5;color:#98a2b3;font-weight:900;position:relative;z-index:1}
#reg-step-1 .step.active .dot{background:var(--blue);color:#fff;box-shadow:0 0 0 6px #eaf1ff}
#reg-step-1 .step.done .dot{background:#dff6e6;color:var(--green)}
#reg-step-1 .step strong{display:block;margin-top:8px;font-size:14px}
#reg-step-1 .step span{display:block;color:var(--muted);font-size:12px}
#reg-step-1 .step.active strong{color:var(--blue2)}
#reg-step-1 .page{max-width:1280px;margin:auto;padding:28px 64px 72px}
#reg-step-1 .layout{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
#reg-step-1 .content{min-width:0}
#reg-step-1 .side{position:sticky;top:18px;align-self:start}
#reg-step-1 .side-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow);margin-bottom:14px}
#reg-step-1 .side-card h3{margin:0 0 14px;font-size:16px}
#reg-step-1 .check{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f4}
#reg-step-1 .check:last-child{border-bottom:0}
#reg-step-1 .check i{width:24px;height:24px;border-radius:50%;background:#edf2f7;display:grid;place-items:center;font-style:normal;color:#8490a3;font-size:12px;font-weight:900;flex:none}
#reg-step-1 .check.active i{background:#dbeafe;color:var(--blue)}
#reg-step-1 .check strong{font-size:14px;display:block}
#reg-step-1 .check span{font-size:12px;color:var(--muted)}
#reg-step-1 .support{background:var(--sky);border-color:#cfe0ff}
#reg-step-1 .support p{font-size:14px;color:#475467;margin:0 0 12px}
#reg-step-1 .support a{color:var(--blue2);font-weight:800;text-decoration:none}
#reg-step-1 .card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:18px}
#reg-step-1 .card-head{padding:21px 24px;border-bottom:1px solid #d8e5f3;display:flex;gap:14px;align-items:flex-start;background:linear-gradient(135deg,#eef4f9,#e4edf7)}
#reg-step-1 .card-no{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#17324d,#255985);color:#fff;display:grid;place-items:center;font-weight:900;flex:none;box-shadow:0 4px 10px rgba(23,50,77,.14)}
#reg-step-1 .card-head h3{margin:0;font-size:20px;color:#17324d}
#reg-step-1 .card-head p{margin:3px 0 0;color:#5c7087;font-size:14px}
#reg-step-1 .card-body{padding:23px 24px}
#reg-step-1 .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#reg-step-1 .full{grid-column:1/-1}
#reg-step-1 .field-group label{display:block;font-weight:800;font-size:14px;margin-bottom:7px;color:#344054}
#reg-step-1 .req{color:var(--red)}
#reg-step-1 .input{width:100%;height:48px;border:1px solid #cfd6df;border-radius:11px;padding:10px 12px;background:#fff;outline:none}
#reg-step-1 .input:hover{border-color:#98a2b3}
#reg-step-1 .input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.12)}
#reg-step-1 .input::placeholder{color:#a0a9b6}
#reg-step-1 .hint{font-size:12px;color:var(--muted);margin-top:6px}
#reg-step-1 .inline{display:flex;gap:8px;align-items:center}
#reg-step-1 .inline .input:first-child{max-width:88px}
#reg-step-1 .inline .ext{max-width:90px}
#reg-step-1 .small-text{font-size:14px;color:var(--muted);white-space:nowrap}
#reg-step-1 .identity-main,#reg-step-1 .identity-sub{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
#reg-step-1 .identity-sub{margin-top:14px}
#reg-step-1 .section-label{font-size:14px;font-weight:900;color:#20324b;margin:0 0 14px}
#reg-step-1 .branch-box{margin-top:16px;padding:24px;border:1px dashed #c9ddff;border-radius:16px;background:#fbfdff}
#reg-step-1 .branch-box[hidden]{display:none !important}
#reg-step-1 .mini-note{margin-top:22px;font-size:14px;color:#60748c}
#reg-step-1 .select-card .tag{display:none}
#reg-step-1 .status-choice,#reg-step-1 .service-choice{position:relative;display:block;cursor:pointer}
#reg-step-1 .status-choice input,#reg-step-1 .service-choice input{position:absolute;opacity:0;pointer-events:none}
#reg-step-1 .status-panel{display:flex;min-height:200px;border:1px solid #c9cfd8;border-radius:14px;background:#fff;align-items:center;justify-content:center;flex-direction:column;padding:24px 18px;text-align:center;transition:.18s}
#reg-step-1 .status-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin-bottom:18px;font-size:42px;font-weight:900;line-height:1}
#reg-step-1 .status-panel strong{display:block;font-size:24px;line-height:1.35;margin-bottom:10px}
#reg-step-1 .status-panel small{display:block;font-size:14px;line-height:1.6}
#reg-step-1 .status-choice.new .status-icon{background:#f7a03a;color:#fff}
#reg-step-1 .status-choice.new .status-panel strong{color:#17324d}
#reg-step-1 .status-choice.new .status-panel small{color:#5c7087}
#reg-step-1 .status-choice.new input:checked + .status-panel{background:#edf2fb;border-color:#2857e2;box-shadow:0 0 0 1px #2857e2 inset}
#reg-step-1 .status-choice.new input:checked + .status-panel strong,#reg-step-1 .status-choice.new input:checked + .status-panel small{color:#2457e0}
#reg-step-1 .status-choice.qualified .status-panel{background:#fff}
#reg-step-1 .status-choice.qualified .status-icon{background:#d3d3d3;color:#fff}
#reg-step-1 .status-choice.qualified .status-panel strong,#reg-step-1 .status-choice.qualified .status-panel small{color:#c9c9c9}
#reg-step-1 .status-choice.qualified input:checked + .status-panel{background:#edf2fb;border-color:#2857e2;box-shadow:0 0 0 1px #2857e2 inset}
#reg-step-1 .status-choice.qualified input:checked + .status-panel .status-icon{background:#255985;color:#fff}
#reg-step-1 .status-choice.qualified input:checked + .status-panel strong,#reg-step-1 .status-choice.qualified input:checked + .status-panel small{color:#2457e0}
#reg-step-1 .service-panel{display:grid;grid-template-columns:160px 1fr;align-items:center;min-height:184px;border:1px solid #cfcfcf;border-radius:14px;background:#fff;padding:18px 22px;transition:.18s}
#reg-step-1 .service-visual{display:flex;align-items:center;justify-content:center;position:relative;padding-right:20px}
#reg-step-1 .service-visual::after{content:"";position:absolute;right:0;top:10px;bottom:10px;width:4px;border-radius:4px;background:#123e91}
#reg-step-1 .service-choice.agent .service-visual::after{background:#f2a11f}
#reg-step-1 .service-content{padding-left:20px}
#reg-step-1 .service-content strong{display:block;font-size:24px;line-height:1.35;margin-bottom:10px;color:#333333}
#reg-step-1 .service-content small{display:block;font-size:14px;line-height:1.75;color:#6b7280}
#reg-step-1 .service-choice input:checked + .service-panel{background:#edf2fb;border-color:#2b58e8;box-shadow:0 0 0 1px #2b58e8 inset}
#reg-step-1 .service-choice input:checked + .service-panel .service-content small{color:#2457e0}
#reg-step-1 .service-doc svg,#reg-step-1 .service-agent svg{display:block;max-width:100%;height:auto}
#reg-step-1 .identity-card-body{padding-top:30px}
#reg-step-1 .tipline{margin-top:18px;padding-top:18px;border-top:1px solid #eef2f6;font-size:14px;color:#6b7c93}
#reg-step-1 .eligibility-wrap{margin-bottom:18px}
#reg-step-1 .eligibility-intro{padding:2px 2px 16px 2px}
#reg-step-1 .eligibility-intro h2{margin:0 0 6px;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .eligibility-intro p{margin:0;color:#6b7c93;font-size:14px}
#reg-step-1 .eligibility-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);padding:28px 28px 32px}
#reg-step-1 .eligibility-title{margin:0 0 14px;font-size:20px;line-height:1.4;color:#1C5EB3;font-weight:900}
#reg-step-1 .eligibility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;margin-bottom:24px;align-items:stretch}
#reg-step-1 .eligibility-choice{position:relative;display:flex;cursor:pointer;min-width:0}
#reg-step-1 .eligibility-choice input{position:absolute;opacity:0;pointer-events:none}
#reg-step-1 .eligibility-panel{position:relative;overflow:hidden;width:100%;height:100%;min-height:124px;box-sizing:border-box;border:1px solid #c9cdd3;border-radius:12px;background:#fff;box-shadow:0 4px 8px rgba(17,24,39,.14);padding:18px 30px 16px 30px;text-align:left;transition:.18s}
#reg-step-1 .eligibility-title-main{display:block;font-size:18px;line-height:1.4;color:#333333;font-weight:900;margin-bottom:12px}
#reg-step-1 .eligibility-simple-panel{display:flex;align-items:center;justify-content:center;min-height:92px;text-align:center}
#reg-step-1 .eligibility-simple-panel .eligibility-title-main{margin-bottom:0;text-align:center;width:100%}
#reg-step-1 .eligibility-choice:hover .eligibility-panel{background:#EFF6FF;border:2px solid #1D4ED8;padding:17px 29px 15px 29px}
#reg-step-1 .eligibility-choice:hover .eligibility-title-main{color:#1D4ED8}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel{border:2px solid #1D4ED8;box-shadow:0 0 0 1px rgba(29,78,216,.06), 0 4px 8px rgba(17,24,39,.14);background:#EFF6FF;padding:17px 29px 15px 29px}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel .eligibility-title-main{color:#1D4ED8}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::before{content:"";position:absolute;top:0;right:0;width:0;height:0;border-top:40px solid #2B58E8;border-left:40px solid transparent}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::after{content:"✓";position:absolute;top:5px;right:7px;font-size:19px;line-height:1;color:#fff;font-weight:900}
#reg-step-1 .eligibility-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
#reg-step-1 .eligibility-list li{position:relative;padding-left:16px;font-size:16px;line-height:1.45;color:#697b95}
#reg-step-1 .eligibility-list li::before{content:"●";position:absolute;left:0;top:0;color:#667a95;font-size:12px;line-height:1.8}
#reg-step-1 .eligibility-note-red{margin-top:auto;padding-top:18px;font-size:16px;line-height:1.4;color:#ff5173}
#reg-step-1 .eligibility-panel{display:flex;flex-direction:column}
#reg-step-1 .eligibility-panel.flex-bottom{display:flex;flex-direction:column}
#reg-step-1 .eligibility-tip{padding:14px 18px;border:1px solid #EFD993;border-radius:12px;background:#FFF9E8;color:#6F5300;font-size:14px;line-height:1.7}
#reg-step-1 .eligibility-tip strong{font-weight:800;color:#6F5300}
#reg-step-1 .eligibility-apply{margin-top:26px}
#reg-step-1 .eligibility-apply[hidden]{display:none !important}
#reg-step-1 .eligibility-apply-title{margin:0 0 14px;font-size:18px;line-height:1.4;color:#1C5EB3;font-weight:900}
#reg-step-1 .eligibility-apply-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
#reg-step-1 .eligibility-apply-has-single{grid-template-columns:1fr}
#reg-step-1 .eligibility-apply-has-direct{width:calc(50% - 5px);margin:0 0 18px auto}
#reg-step-1 .b2c-apply-hint{padding:14px 16px;border:1px solid #D8E5FF;border-radius:12px;background:#F5F8FF;color:#49637F;font-size:14px;line-height:1.75}
#reg-step-1 .b2c-apply-hint[hidden]{display:none !important}
#reg-step-1 .b2c-apply-direct{width:100%;box-shadow:0 4px 8px rgba(17,24,39,.08)}
#reg-step-1 .b2c-apply-option{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:700}
#reg-step-1 .b2c-apply-option input[type="checkbox"]{width:18px;height:18px;accent-color:#1D4ED8;flex:0 0 18px;margin:0}
#reg-step-1 .apply-choice{position:relative;display:block;cursor:pointer}
#reg-step-1 .apply-choice input{position:absolute;opacity:0;pointer-events:none}
#reg-step-1 .apply-panel{position:relative;overflow:hidden;min-height:122px;border:1px solid #c9cdd3;border-radius:12px;background:#fff;box-shadow:0 4px 8px rgba(17,24,39,.14);padding:18px 30px 16px 30px;text-align:center;transition:.18s;display:flex;flex-direction:column;align-items:center;justify-content:center}
#reg-step-1 .apply-title-main{display:block;width:100%;font-size:18px;line-height:1.4;color:#333333;font-weight:900;text-align:center}
#reg-step-1 .apply-note-red{margin-top:auto;padding-top:18px;font-size:16px;line-height:1.4;color:#ff5173}
#reg-step-1 .apply-choice:hover .apply-panel{background:#EFF6FF;border:2px solid #1D4ED8;padding:17px 29px 15px 29px}
#reg-step-1 .apply-choice:hover .apply-title-main{color:#1D4ED8}
#reg-step-1 .apply-choice input:checked + .apply-panel{border:2px solid #1D4ED8;box-shadow:0 0 0 1px rgba(29,78,216,.06), 0 4px 8px rgba(17,24,39,.14);background:#EFF6FF;padding:17px 29px 15px 29px}
#reg-step-1 .apply-choice input:checked + .apply-panel .apply-title-main{color:#1D4ED8}
#reg-step-1 .apply-choice input:checked + .apply-panel::before{content:"";position:absolute;top:0;right:0;width:0;height:0;border-top:40px solid #2B58E8;border-left:40px solid transparent}
#reg-step-1 .apply-choice input:checked + .apply-panel::after{content:"✓";position:absolute;top:5px;right:7px;font-size:19px;line-height:1;color:#fff;font-weight:900}
#reg-step-1 .apply-list{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
#reg-step-1 .apply-list li{position:relative;padding-left:16px;font-size:16px;line-height:1.45;color:#666}
#reg-step-1 .apply-list li::before{content:"●";position:absolute;left:0;top:0;color:#667a95;font-size:12px;line-height:1.8}
#reg-step-1 .eligibility-service{margin-top:30px;padding-top:0;border-top:0}
#reg-step-1 .eligibility-service[hidden]{display:none !important}
#reg-step-1 .eligibility-service-title{margin:0 0 18px;font-size:18px;line-height:1.4;color:#1C5EB3;font-weight:900}
#reg-step-1 .service-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#reg-step-1 .service-mode{position:relative;display:block;cursor:pointer}
#reg-step-1 .service-mode input{position:absolute;opacity:0;pointer-events:none}
#reg-step-1 .service-mode-panel{position:relative;overflow:hidden;display:grid;grid-template-columns:288px 1fr;align-items:stretch;min-height:240px;border:2px solid #c9cdd3;border-radius:18px;background:#fff;box-shadow:0 6px 14px rgba(17,24,39,.16);padding:0;transition:.18s}
#reg-step-1 .service-mode:hover .service-mode-panel{background:#F8FBFF;border-color:#1D4ED8;box-shadow:0 10px 20px rgba(29,78,216,.14)}
#reg-step-1 .service-mode input:checked + .service-mode-panel{background:#EDF3FF;border-color:#2754E6;box-shadow:0 10px 20px rgba(29,78,216,.18)}
#reg-step-1 .service-mode:hover .service-mode-list,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-list{color:#2457E0}
#reg-step-1 .service-mode:hover .service-mode-list li::marker,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-list li::marker{color:#2457E0}
#reg-step-1 .service-mode input:checked + .service-mode-panel::before{content:"";position:absolute;top:0;right:0;width:0;height:0;border-top:96px solid #2B58E8;border-left:96px solid transparent}
#reg-step-1 .service-mode input:checked + .service-mode-panel::after{content:"✓";position:absolute;top:14px;right:15px;font-size:30px;line-height:1;color:#fff;font-weight:900}
#reg-step-1 .service-mode-badge-top{position:absolute;top:18px;left:16px;display:inline-flex;align-items:center;justify-content:center;min-width:94px;height:44px;padding:0 14px;border:2px solid #2754E6;border-radius:999px;background:#fff;color:#2754E6;font-size:17px;font-weight:800;z-index:1}
#reg-step-1 .service-mode-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:34px 28px 26px;height:100%;text-align:center}
#reg-step-1 .service-mode-visual::after{content:"";position:absolute;right:0;top:36px;bottom:36px;width:4px;border-radius:4px;background:#123E91}
#reg-step-1 .service-mode.agent .service-mode-visual::after{background:#F2A11F}
#reg-step-1 .service-mode-icon{display:flex;align-items:center;justify-content:center;margin-bottom:18px}
#reg-step-1 .service-mode-icon svg{display:block;max-width:100%;height:auto}
#reg-step-1 .service-mode-visual-title{display:block;font-size:28px;line-height:1.25;color:#333;font-weight:900;letter-spacing:.02em}
#reg-step-1 .service-mode-price-row{display:flex;align-items:flex-end;gap:10px;justify-content:center;margin-top:10px;flex-wrap:wrap}
#reg-step-1 .service-mode-price-label{font-size:18px;line-height:1.2;color:#333}
#reg-step-1 .service-mode-price{font-size:36px;line-height:1;color:#333;font-weight:900}
#reg-step-1 .service-mode-body{display:flex;align-items:center;padding:26px 28px 26px 34px}
#reg-step-1 .service-mode-list{margin:0;padding-left:26px;color:#787878;font-size:16px;line-height:1.5}
#reg-step-1 .service-mode-list li::marker{color:#787878}
#reg-step-1 .service-mode.self .service-mode-list{color:#7B7B7B}
#reg-step-1 .service-mode.self .service-mode-panel{background:#fff}
#reg-step-1 .service-mode.self:hover .service-mode-panel{background:#F8FBFF}
#reg-step-1 .service-mode:hover .service-mode-visual-title,#reg-step-1 .service-mode:hover .service-mode-price-label,#reg-step-1 .service-mode:hover .service-mode-price,#reg-step-1 .service-mode:hover .service-mode-list,#reg-step-1 .service-mode:hover .service-mode-list li::marker,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-visual-title,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-price-label,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-price,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-list,#reg-step-1 .service-mode input:checked + .service-mode-panel .service-mode-list li::marker{color:#2457E0;}
@media(max-width:980px){
#reg-step-1 .eligibility-grid,#reg-step-1 .eligibility-apply-grid,#reg-step-1 .service-mode-grid{grid-template-columns:1fr}
#reg-step-1 .eligibility-panel,#reg-step-1 .apply-panel{min-height:118px}
#reg-step-1 .service-mode-panel{grid-template-columns:240px 1fr;min-height:220px}
#reg-step-1 .eligibility-apply-has-direct{width:100%;margin:0 0 16px}
}
@media(max-width:680px){
#reg-step-1 .eligibility-intro h2{font-size:20px}
#reg-step-1 .eligibility-card{padding:20px 16px 22px}
#reg-step-1 .eligibility-panel,#reg-step-1 .apply-panel{padding:16px 18px}
#reg-step-1 .eligibility-choice:hover .eligibility-panel,#reg-step-1 .eligibility-choice input:checked + .eligibility-panel,#reg-step-1 .apply-choice:hover .apply-panel,#reg-step-1 .apply-choice input:checked + .apply-panel{padding:15px 17px}
#reg-step-1 .eligibility-title-main,#reg-step-1 .apply-title-main{font-size:17px}
#reg-step-1 .eligibility-list li,#reg-step-1 .eligibility-note-red,#reg-step-1 .apply-note-red{font-size:15px}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::before,#reg-step-1 .apply-choice input:checked + .apply-panel::before{border-top-width:36px;border-left-width:36px}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::after,#reg-step-1 .apply-choice input:checked + .apply-panel::after{top:4px;right:6px;font-size:18px}
#reg-step-1 .eligibility-service{margin-top:32px;padding-top:0}
#reg-step-1 .service-mode-panel{grid-template-columns:120px 1fr;padding:16px 14px;min-height:180px}
#reg-step-1 .service-mode:hover .service-mode-panel,#reg-step-1 .service-mode input:checked + .service-mode-panel{padding:15px 13px}
#reg-step-1 .service-mode-body{padding-left:16px}
#reg-step-1 .service-mode-title{font-size:22px}
#reg-step-1 .service-mode-list{font-size:15px;line-height:1.75}
#reg-step-1 .service-mode input:checked + .service-mode-panel::before{border-top-width:48px;border-left-width:48px}
#reg-step-1 .service-mode input:checked + .service-mode-panel::after{top:6px;right:8px;font-size:22px}
}
#reg-step-1 .company-wrap{margin-bottom:18px}
#reg-step-1 .company-intro{padding:2px 2px 16px 2px}
#reg-step-1 .company-intro h2{margin:0 0 6px;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .company-intro p{margin:0;color:#6b7c93;font-size:14px}
#reg-step-1 .company-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);padding:34px 70px 36px}
#reg-step-1 .company-form{display:flex;flex-direction:column;gap:38px}
#reg-step-1 .company-row{display:grid;grid-template-columns:132px minmax(0,690px);align-items:center;column-gap:30px}
#reg-step-1 .company-label{font-size:16px;font-weight:800;color:#222;line-height:1.4}
#reg-step-1 .company-control{max-width:690px}
#reg-step-1 .company-input{width:100%;height:48px;border:1px solid #cfd6df;border-radius:12px;padding:0 16px;background:#fff;outline:none;color:#172033;font-size:16px}
#reg-step-1 .company-input:hover{border-color:#98a2b3}
#reg-step-1 .company-input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.12)}
#reg-step-1 .company-input::placeholder{color:#b8c1cf}
#reg-step-1 .company-inline{display:flex;align-items:center;gap:16px}
#reg-step-1 #company-tax-id.has-lookup-btn{width:calc(100% - 150px)}
#reg-step-1 #company-tax-id-lookup-btn{flex:none;white-space:nowrap;height:48px;min-height:48px}
#reg-step-1 .company-inline .company-input.area{width:94px}
#reg-step-1 .company-inline .company-input.number{width:236px}
#reg-step-1 .company-sep{font-size:22px;line-height:1;color:#222}
#reg-step-1 .company-address-fields{display:grid;grid-template-columns:140px 160px 170px minmax(0,1fr);gap:10px;align-items:center}
#reg-step-1 .company-address-postal{background:#f3f6fa;color:#49637f;font-weight:700;cursor:not-allowed}
#reg-step-1 .company-address-postal.is-empty{color:#a4afbd;font-weight:400}
#reg-step-1 .company-address-select{appearance:auto;padding-right:12px}
#reg-step-1 .company-address-hint{margin-top:7px;color:#6b7c93;font-size:14px;line-height:1.5}
#reg-step-1 .company-address-hint.is-error{color:#d14343}
@media(max-width:980px){
#reg-step-1 .company-address-fields{grid-template-columns:140px 1fr 1fr}
#reg-step-1 .company-address-detail{grid-column:1/-1}
}
@media(max-width:760px){
#reg-step-1 .company-address-fields{grid-template-columns:1fr}
#reg-step-1 .company-address-detail{grid-column:auto}
}
@media(max-width:980px){
#reg-step-1 .company-card{padding:28px 28px 30px}
#reg-step-1 .company-row{grid-template-columns:120px minmax(0,1fr)}
#reg-step-1 .company-control{max-width:none}
}
@media(max-width:680px){
#reg-step-1 .company-intro h2{font-size:20px}
#reg-step-1 .company-card{padding:20px 16px 22px}
#reg-step-1 .company-form{gap:22px}
#reg-step-1 .company-row{grid-template-columns:1fr;row-gap:10px}
#reg-step-1 .company-label{font-size:15px}
#reg-step-1 .company-inline{gap:10px}
#reg-step-1 .company-inline .company-input.area{width:86px}
#reg-step-1 .company-inline .company-input.number{width:calc(100% - 96px)}
}
@media(max-width:980px){
#reg-step-1 .service-mode-grid{grid-template-columns:1fr}
#reg-step-1 .service-mode-panel{grid-template-columns:240px 1fr;min-height:220px}
}
@media(max-width:680px){
#reg-step-1 .eligibility-service{margin-top:34px;padding-top:0}
#reg-step-1 .service-mode-panel{grid-template-columns:1fr}
#reg-step-1 .service-mode-visual{padding:58px 20px 18px}
#reg-step-1 .service-mode-visual::after{top:auto;left:24px;right:24px;bottom:0;width:auto;height:4px}
#reg-step-1 .service-mode-body{padding:20px 20px 22px}
#reg-step-1 .service-mode-list{font-size:15px;line-height:1.75}
#reg-step-1 .service-mode input:checked + .service-mode-panel::before{border-top-width:64px;border-left-width:64px}
#reg-step-1 .service-mode input:checked + .service-mode-panel::after{top:9px;right:10px;font-size:24px}
}
#reg-step-1 .identity-wrap{margin-bottom:18px}
#reg-step-1 .identity-intro{padding:2px 2px 16px 2px}
#reg-step-1 .identity-intro h2{margin:0 0 6px;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .identity-intro p{margin:0;color:#6b7c93;font-size:14px}
#reg-step-1 .identity-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);overflow:hidden}
#reg-step-1 .identity-card .card-body{padding:28px 30px 26px}
#reg-step-1 .identity-card .section-label{font-size:16px;margin-bottom:18px}
#reg-step-1 .identity-card .req{margin-left:4px}
#reg-step-1 .identity-card .identity-main{gap:28px}
#reg-step-1 .identity-card .identity-sub{gap:20px}
#reg-step-1 .identity-card .status-panel{min-height:200px;border-color:#c7ccd4;border-radius:12px;padding:26px 18px}
#reg-step-1 .identity-card .status-choice.new input:checked + .status-panel{background:#eef3fb;border-color:#2b58e8;box-shadow:0 0 0 1px #2b58e8 inset}
#reg-step-1 .identity-card .status-choice.new input:checked + .status-panel strong,#reg-step-1 .identity-card .status-choice.new input:checked + .status-panel small{color:#2457e0}
#reg-step-1 .identity-card .status-choice.qualified .status-panel strong{font-size:22px}
#reg-step-1 .identity-card .branch-box{margin-top:18px;padding:18px 18px 22px;background:#fbfcff;border:1px dashed #c8d9ff;border-radius:14px}
#reg-step-1 .identity-card .branch-box .section-label{font-size:16px;margin:2px 0 16px;color:#333}
#reg-step-1 .identity-card .service-panel{min-height:180px;padding:18px 20px;border-radius:12px}
#reg-step-1 .identity-card .service-content strong{font-size:22px}
#reg-step-1 .identity-card .service-content small{font-size:14px;line-height:1.85}
#reg-step-1 .identity-card .tipline{margin-top:28px;padding-top:10px;border-top:0;color:#707b8c;font-size:14px}
@media(max-width:680px){
#reg-step-1 .identity-intro h2{font-size:20px}
#reg-step-1 .identity-card .card-body{padding:20px 16px}
#reg-step-1 .identity-card .identity-main,#reg-step-1 .identity-card .identity-sub{grid-template-columns:1fr}
}
#reg-step-1 .agent-application-wrap{margin-bottom:18px;max-height:2600px;opacity:1;transform:translateY(0);overflow:hidden;transition:max-height .35s ease,opacity .25s ease,transform .25s ease,margin-bottom .35s ease}
#reg-step-1 .agent-application-wrap.is-hidden{max-height:0;opacity:0;transform:translateY(-10px);margin-bottom:0;pointer-events:none}
#reg-step-1 .agent-application-intro{padding:2px 2px 16px}
#reg-step-1 .agent-application-intro h2{margin:0 0 6px;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .agent-application-intro p{margin:0;color:#6b7c93;font-size:14px}
#reg-step-1 .agent-application-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);padding:34px 68px 42px}
#reg-step-1 .agent-form{display:flex;flex-direction:column;gap:34px}
#reg-step-1 .agent-row{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start;column-gap:28px}
#reg-step-1 .agent-label{padding-top:10px;font-size:16px;font-weight:800;color:#222;line-height:1.5}
#reg-step-1 .agent-control{max-width:820px}
#reg-step-1 .agent-inline{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#reg-step-1 .agent-input,#reg-step-1 .agent-select{height:46px;border:1px solid #cfd6df;border-radius:10px;background:#fff;padding:0 10px;font-size:15px;color:#172033;outline:none}
#reg-step-1 .agent-input:hover,#reg-step-1 .agent-select:hover{border-color:#98a2b3}
#reg-step-1 .agent-input:focus,#reg-step-1 .agent-select:focus{border-color:#1D4ED8;box-shadow:0 0 0 4px rgba(29,78,216,.1)}
#reg-step-1 .agent-input::placeholder{color:#b8c1cf}
#reg-step-1 .agent-select{min-width:124px}
#reg-step-1 .agent-address{color:#1C5EB3;font-size:14px;font-weight:700}
#reg-step-1 .agent-helper{margin-top:6px;color:#6B7C93;font-size:14px}
#reg-step-1 .agent-toggle{position:relative;display:inline-block;cursor:pointer}
#reg-step-1 .agent-toggle input{position:absolute;opacity:0}
#reg-step-1 .agent-toggle span{display:flex;align-items:center;justify-content:center;min-width:114px;min-height:46px;padding:11px 22px;border:1px solid #cfd6df;border-radius:10px;background:#fff;box-shadow:0 3px 7px rgba(17,24,39,.12);font-size:16px;line-height:1.5;text-align:center;white-space:normal}
#reg-step-1 .agent-toggle:hover span{background:#EFF6FF;border:2px solid #1D4ED8;color:#1D4ED8;font-weight:800}
#reg-step-1 .agent-toggle input:checked+span{background:#EFF6FF;border:2px solid #1D4ED8;color:#1D4ED8;font-weight:800}
#reg-step-1 .agent-row[hidden],#reg-step-1 .agent-count-toggle[hidden],#reg-step-1 .agent-count-select-wrap[hidden]{display:none !important}
#reg-step-1 .agent-count-toggle{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#reg-step-1 .agent-count-select-wrap{margin-top:10px}
#reg-step-1 .agent-tip{margin-top:8px;padding:12px 16px;border:1px solid #D8E5FF;border-radius:10px;background:#F5F8FF;color:#49637F;font-size:14px;line-height:1.7}
#reg-step-1 .allocation-hint{margin-top:10px;padding:10px 14px;border:1px solid #D8E5FF;border-radius:10px;background:#F5F8FF;color:#49637F;font-size:14px;line-height:1.6}
#reg-step-1 .allocation-hint[hidden]{display:none !important}
#reg-step-1 .allocation-year-hint{margin-top:10px;padding:14px 16px;border:1px solid #D8E5FF;border-radius:10px;background:#F5F8FF;color:#49637F;font-size:14px;line-height:1.75}
#reg-step-1 .allocation-year-hint[hidden]{display:none !important}
#reg-step-1 .allocation-year-hint strong{display:block;margin-bottom:10px}
#reg-step-1 .allocation-year-list{display:flex;flex-direction:column;gap:10px}
#reg-step-1 .allocation-option{display:flex;align-items:flex-start;gap:10px;color:#49637F}
#reg-step-1 .allocation-option input[type="checkbox"]{width:18px;height:18px;accent-color:#1D4ED8;flex:0 0 18px;margin-top:2px}
#reg-step-1 .allocation-option-text{flex:1 1 auto}
#reg-step-1 .allocation-market-input{display:inline-block;width:180px;height:34px;margin:0 4px;border:1px solid #cfd6df;border-radius:8px;padding:4px 8px;background:#fff;color:#172033;vertical-align:middle}
#reg-step-1 .allocation-market-input:hover{border-color:#98a2b3}
#reg-step-1 .allocation-market-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
#reg-step-1 .allocation-franchise-upload,#reg-step-1 .allocation-other-upload{margin:8px 0 2px 28px;padding:16px 18px;border:1px solid #cfd6df;border-radius:10px;background:#fff;max-width:560px}
#reg-step-1 .allocation-franchise-upload[hidden],#reg-step-1 .allocation-other-upload[hidden]{display:none !important}
#reg-step-1 .allocation-franchise-upload-title,#reg-step-1 .allocation-other-upload-title{margin-bottom:12px;color:#333;font-size:14px;line-height:1.6}
#reg-step-1 .allocation-franchise-upload-btn,#reg-step-1 .allocation-other-upload-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 22px;border:1px solid #cfd6df;border-radius:10px;background:#fff;box-shadow:0 3px 7px rgba(17,24,39,.12);color:#222;font-size:15px;font-weight:700;cursor:pointer}
#reg-step-1 .allocation-franchise-upload-btn[hidden],#reg-step-1 .allocation-other-upload-btn[hidden]{display:none !important}
#reg-step-1 .allocation-franchise-upload small,#reg-step-1 .allocation-other-upload small{display:block;margin-top:10px;color:#787878;font-size:14px}
#reg-step-1 .scanner-device-box{margin-top:12px;padding:16px 18px;border:1px solid #D8E5FF;border-radius:12px;background:#F5F8FF;max-width:820px}
#reg-step-1 .scanner-device-box[hidden]{display:none !important}
#reg-step-1 .scanner-device-title{font-size:16px;font-weight:800;color:#17324d;margin-bottom:6px}
#reg-step-1 .scanner-device-note{font-size:14px;line-height:1.7;color:#6B7C93;margin-bottom:14px}
#reg-step-1 .scanner-device-actions{display:flex;flex-wrap:wrap;gap:12px}
#reg-step-1 .agent-upload[hidden],#reg-step-1 .agent-note-box.scanner-note[hidden]{display:none !important}
#reg-step-1 .agent-upload{margin-top:10px;border:1px solid #aeb8c6;border-radius:10px;padding:28px 32px 20px;max-width:650px}
#reg-step-1 .agent-upload-title{font-size:15px;color:#344054;margin-bottom:18px}
#reg-step-1 .agent-upload-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 28px;border:1px solid #cfd6df;border-radius:10px;background:#fff;box-shadow:0 3px 7px rgba(17,24,39,.12);font-size:16px;font-weight:700;cursor:pointer}
#reg-step-1 .agent-upload-btn[hidden]{display:none !important}
#reg-step-1 .asset-preview-remove{display:inline-flex}
#reg-step-1 .asset-preview-remove[hidden]{display:none !important}
#reg-step-1 .agent-upload small{display:block;margin-top:14px;color:#6b7c93;font-size:14px}
#reg-step-1 .agent-note-box{margin-top:10px;padding:14px 18px;border:1px solid #D8E5FF;border-radius:10px;background:#F5F8FF;color:#49637F;font-size:14px;line-height:1.7;max-width:820px}
#reg-step-1 .agent-phone .area{width:86px}
#reg-step-1 .agent-phone .number{width:210px}
#reg-step-1 .agent-email,#reg-step-1 .agent-address-input{width:100%;max-width:820px}
#reg-step-1 .agent-count{width:124px}
#reg-step-1 .agent-ext{width:90px}
#reg-step-1 .group-company-control{max-width:none;width:100%}
#reg-step-1 .group-company-wrap{margin-top:14px;width:100%;max-width:none}
#reg-step-1 .group-company-wrap[hidden]{display:none !important}
#reg-step-1 .group-company-card{margin-top:14px;border:1px solid #cfd6df;border-radius:16px;background:#fff;padding:14px;box-shadow:0 3px 7px rgba(17,24,39,.08)}
#reg-step-1 .group-company-stack{display:flex;flex-direction:column;gap:12px}
#reg-step-1 .group-company-block{border:1px solid #cfd6df;border-radius:14px;background:#fff;padding:14px 16px}
#reg-step-1 .group-company-badge{display:inline-flex;align-items:center;justify-content:center;min-width:86px;height:36px;padding:0 14px;border-radius:999px;background:#55708d;color:#fff;font-size:16px;font-weight:800;white-space:nowrap;margin-bottom:12px}
#reg-step-1 .group-company-badge.primary{background:#2B58E8}
#reg-step-1 .group-company-grid{display:grid;gap:12px}
#reg-step-1 .group-company-grid.hq-grid{grid-template-columns:210px minmax(0,1fr) 220px}
#reg-step-1 .group-company-grid.branch-grid{grid-template-columns:210px minmax(0,1fr) 220px}
#reg-step-1 .group-company-field label{display:block;margin-bottom:8px;font-size:14px;font-weight:800;color:#333;line-height:1.4}
#reg-step-1 .group-company-field.span-2{grid-column:span 2}
#reg-step-1 .group-company-input,#reg-step-1 .group-company-select{width:100%;height:56px;border:1px solid #cfd6df;border-radius:12px;background:#fff;padding:0 18px;font-size:16px;color:#172033;outline:none;box-shadow:0 3px 7px rgba(17,24,39,.12)}
#reg-step-1 .group-company-input:not(.group-company-readonly):hover,#reg-step-1 .group-company-select:hover{border-color:#98a2b3}
#reg-step-1 .group-company-input:focus,#reg-step-1 .group-company-select:focus{border-color:#1D4ED8;box-shadow:0 0 0 4px rgba(29,78,216,.1)}
#reg-step-1 .group-company-readonly{background:#f3f6fa;color:#49637f;font-weight:700;cursor:not-allowed;box-shadow:none}
#reg-step-1 .group-company-readonly::placeholder{color:#a4afbd;font-weight:400;opacity:1}
#reg-step-1 .group-company-readonly:hover{border-color:#cfd6df}
#reg-step-1 .group-company-readonly:focus{border-color:#cfd6df;box-shadow:none}
#reg-step-1 .group-company-actions{margin-top:12px}
#reg-step-1 .group-company-add{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 20px;border:1px solid #cfd6df;border-radius:999px;background:#fff;box-shadow:0 3px 7px rgba(17,24,39,.12);font-size:16px;font-weight:700;color:#333;cursor:pointer}
#reg-step-1 .group-company-add .icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1.5px solid #333;border-radius:999px;font-size:20px;line-height:1}
@media(max-width:1200px){
#reg-step-1 .group-company-grid.hq-grid,#reg-step-1 .group-company-grid.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#reg-step-1 .group-company-field.span-2{grid-column:span 1}
}
@media(max-width:760px){
#reg-step-1 .group-company-card{padding:12px}
#reg-step-1 .group-company-block{padding:12px 14px}
#reg-step-1 .group-company-grid.hq-grid,#reg-step-1 .group-company-grid.branch-grid{grid-template-columns:1fr}
#reg-step-1 .group-company-field.span-2{grid-column:span 1}
#reg-step-1 .group-company-input,#reg-step-1 .group-company-select{height:52px}
}
@media(max-width:980px){
#reg-step-1 .agent-application-card{padding:28px}
#reg-step-1 .agent-row{grid-template-columns:170px minmax(0,1fr)}
}
@media(max-width:680px){
#reg-step-1 .agent-application-intro h2{font-size:20px}
#reg-step-1 .agent-application-card{padding:20px 16px}
#reg-step-1 .agent-form{gap:24px}
#reg-step-1 .agent-row{grid-template-columns:1fr;row-gap:8px}
#reg-step-1 .agent-label{padding-top:0}
#reg-step-1 .agent-control{max-width:none}
#reg-step-1 .agent-inline{gap:10px}
#reg-step-1 .agent-select{min-width:110px}
#reg-step-1 .agent-address{width:100%}
#reg-step-1 .agent-upload{padding:20px 16px}
#reg-step-1 .agent-phone .number{width:calc(100% - 110px)}
#reg-step-1 .agent-email,#reg-step-1 .agent-address-input{max-width:none}
#reg-step-1 .agent-toggle{width:100%}
#reg-step-1 .agent-toggle span{width:100%;min-width:0}
}
#reg-step-1 .pricing-wrap{margin-bottom:18px}
#reg-step-1 .pricing-intro{padding:4px 2px 16px 2px}
#reg-step-1 .pricing-intro h2{margin:0 0 6px;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .pricing-intro p{margin:0;color:#6b7c93;font-size:14px}
#reg-step-1 .pricing-intro a{color:#2b58e8;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#reg-step-1 .pricing-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);padding:20px 28px}
#reg-step-1 .pricing-options{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
#reg-step-1 .price-choice{position:relative;display:block;cursor:pointer}
#reg-step-1 .price-choice input{position:absolute;opacity:0;pointer-events:none}
#reg-step-1 .price-panel{position:relative;overflow:hidden;display:block;min-height:128px;border:1px solid #c7ccd4;border-radius:12px;background:#fff;padding:24px 20px;transition:.18s}
#reg-step-1 .price-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
#reg-step-1 .price-title-row strong{font-size:26px;line-height:1.3;color:#333333}
#reg-step-1 .price-badge{display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:999px;border:1px solid #d3d3d3;color:#666;font-size:14px;font-weight:700;background:#fff}
#reg-step-1 .price-panel small{display:block;font-size:14px;line-height:1.7;color:#8b8b8b}
#reg-step-1 .price-choice:hover .price-panel{background:#EFF6FF;border:2px solid #1D4ED8;padding:23px 19px}
#reg-step-1 .price-choice:hover .price-title-row strong,#reg-step-1 .price-choice:hover .price-panel small{color:#2457e0}
#reg-step-1 .price-choice:hover .price-badge{border-color:#1D4ED8;color:#2457e0}
#reg-step-1 .price-choice input:checked + .price-panel{background:#EFF6FF;border:2px solid #1D4ED8;padding:23px 19px;box-shadow:0 0 0 1px rgba(29,78,216,.06)}
#reg-step-1 .price-choice input:checked + .price-panel .price-title-row strong{color:#2457e0}
#reg-step-1 .price-choice input:checked + .price-panel .price-badge{border-color:#1D4ED8;color:#2457e0;background:#fff}
#reg-step-1 .price-choice input:checked + .price-panel small{color:#2457e0}
#reg-step-1 .price-choice input:checked + .price-panel::before{content:"";position:absolute;top:0;right:0;width:0;height:0;border-top:58px solid #2B58E8;border-left:58px solid transparent}
#reg-step-1 .price-choice input:checked + .price-panel::after{content:"✓";position:absolute;top:7px;right:10px;font-size:26px;line-height:1;color:#fff;font-weight:900}
@media(max-width:680px){
#reg-step-1 .pricing-intro h2{font-size:20px}
#reg-step-1 .pricing-card{padding:16px}
#reg-step-1 .pricing-options{grid-template-columns:1fr;gap:16px}
#reg-step-1 .price-panel{min-height:auto;padding:18px 16px}
#reg-step-1 .price-choice:hover .price-panel,#reg-step-1 .price-choice input:checked + .price-panel{padding:17px 15px}
#reg-step-1 .price-title-row strong{font-size:22px}
#reg-step-1 .price-choice input:checked + .price-panel::before{border-top-width:48px;border-left-width:48px}
#reg-step-1 .price-choice input:checked + .price-panel::after{top:6px;right:8px;font-size:22px}
}
#reg-step-1 .plan-grid,#reg-step-1 .option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
#reg-step-1 .select-card{position:relative;cursor:pointer}
#reg-step-1 .select-card input{position:absolute;opacity:0}
#reg-step-1 .select-card span{display:block;border:1px solid var(--line);border-radius:13px;padding:15px 16px;min-height:88px;background:#fff;transition:.18s}
#reg-step-1 .select-card strong{display:block;margin-bottom:3px}
#reg-step-1 .select-card small{display:block;color:var(--muted);font-size:14px;font-weight:400}
#reg-step-1 .select-card input:checked+span{border:2px solid var(--blue);background:var(--sky);padding:14px 15px;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
#reg-step-1 .select-card input:checked+span strong{color:var(--blue2)}
#reg-step-1 .info-box{border-radius:13px;padding:14px 15px;font-size:14px}
#reg-step-1 .info-box.blue{background:#f5f8ff;border:1px solid #dbe7ff;color:#475467}
#reg-step-1 .info-box.yellow{background:var(--amberbg);border:1px solid #efd993;color:#6f5300}
#reg-step-1 .info-box strong{display:block;margin-bottom:4px}
#reg-step-1 .subhead{font-size:15px;font-weight:900;margin:4px 0 11px}
#reg-step-1 .divider{height:1px;background:var(--line);margin:22px 0}
#reg-step-1 .footer-action{position:sticky;bottom:0;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:16px;padding:14px 16px;box-shadow:0 -8px 30px rgba(23,50,77,.08);display:flex;justify-content:space-between;align-items:center;gap:15px}
#reg-step-1 .footer-action strong{display:block;font-size:15px}
#reg-step-1 .footer-action span{font-size:14px;color:var(--muted)}
#reg-step-1 .actions{display:flex;gap:9px}
#reg-step-1 .btn{border-radius:10px;padding:11px 18px;font-weight:800;cursor:pointer}
#reg-step-1 .btn.secondary{border:1px solid #cfd6df;background:#fff;color:#475467}
#reg-step-1 .btn.primary{border:1px solid var(--blue);background:var(--blue);color:#fff;min-width:165px}
#reg-step-1 .btn.primary:hover{background:var(--blue2)}
#reg-step-1 .contact-wrap{margin-bottom:18px}
#reg-step-1 .contact-intro{padding:2px 2px 16px 2px}
#reg-step-1 .contact-intro h2{margin:0 0 6px;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .contact-intro p{margin:0;color:#ff4d4f;font-size:14px;font-weight:500}
#reg-step-1 .contact-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);padding:28px 60px 36px}
#reg-step-1 .contact-form{display:flex;flex-direction:column;gap:38px}
#reg-step-1 .contact-row{display:grid;grid-template-columns:108px minmax(0,760px);align-items:center;column-gap:30px}
#reg-step-1 .contact-row[hidden]{display:none !important}
#reg-step-1 .contact-label{font-size:16px;font-weight:800;color:#222;line-height:1.4}
#reg-step-1 .contact-control{max-width:760px}
#reg-step-1 .contact-input{width:100%;height:48px;border:1px solid #cfd6df;border-radius:12px;padding:0 16px;background:#fff;outline:none;color:#172033;font-size:16px}
#reg-step-1 .contact-input:hover{border-color:#98a2b3}
#reg-step-1 .contact-input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.12)}
#reg-step-1 .contact-input::placeholder{color:#b8c1cf}
#reg-step-1 .contact-inline{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#reg-step-1 .contact-inline .contact-input.area{width:96px}
#reg-step-1 .contact-inline .contact-input.number{width:238px}
#reg-step-1 .contact-inline .contact-input.ext{width:94px}
#reg-step-1 .contact-sep{font-size:22px;line-height:1;color:#222}
#reg-step-1 .contact-ext-label{font-size:16px;color:#222;line-height:1.4}
#reg-step-1 .contact-hint{margin-top:7px;color:#6B7C93;font-size:14px;line-height:1.5}
@media(max-width:980px){
#reg-step-1 .contact-card{padding:24px 28px 30px}
#reg-step-1 .contact-row{grid-template-columns:100px minmax(0,1fr)}
#reg-step-1 .contact-control{max-width:none}
}
@media(max-width:680px){
#reg-step-1 .contact-intro h2{font-size:20px}
#reg-step-1 .contact-card{padding:20px 16px 22px}
#reg-step-1 .contact-form{gap:22px}
#reg-step-1 .contact-row{grid-template-columns:1fr;row-gap:10px}
#reg-step-1 .contact-label{font-size:15px}
#reg-step-1 .contact-inline{gap:10px}
#reg-step-1 .contact-inline .contact-input.area{width:86px}
#reg-step-1 .contact-inline .contact-input.number{width:calc(100% - 96px)}
#reg-step-1 .contact-inline .contact-input.ext{width:86px}
#reg-step-1 .contact-ext-label{font-size:15px}
#reg-step-1 .contact-hint{font-size:15px}
}
#reg-step-1 .invoice-related-wrap{margin-bottom:18px}
#reg-step-1 .invoice-related-intro{padding:2px 2px 16px}
#reg-step-1 .invoice-related-intro h2{margin:0;font-size:22px;line-height:1.4;color:#17324d}
#reg-step-1 .invoice-related-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.12);padding:28px 60px 34px}
#reg-step-1 .invoice-related-form{display:flex;flex-direction:column;gap:34px}
#reg-step-1 .invoice-related-row{display:grid;grid-template-columns:108px minmax(0,760px);align-items:start;column-gap:30px}
#reg-step-1 .invoice-related-row[hidden]{display:none !important}
#reg-step-1 .invoice-related-label{padding-top:10px;font-size:16px;font-weight:800;color:#222;line-height:1.4}
#reg-step-1 .invoice-related-control{max-width:760px}
#reg-step-1 .invoice-related-input{width:100%;height:48px;border:1px solid #cfd6df;border-radius:12px;padding:0 16px;background:#fff;outline:none;color:#172033;font-size:16px}
#reg-step-1 .invoice-related-input:hover{border-color:#98a2b3}
#reg-step-1 .invoice-related-input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.12)}
#reg-step-1 .invoice-related-input::placeholder{color:#b8c1cf}
#reg-step-1 .invoice-related-hint{margin-top:7px;color:#6B7C93;font-size:14px;line-height:1.5}
#reg-step-1 .invoice-related-hint a{color:#1D4ED8;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#reg-step-1 .invoice-related-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#reg-step-1 .invoice-related-option{position:relative;display:inline-block;cursor:pointer}
#reg-step-1 .invoice-related-option input{position:absolute;opacity:0;pointer-events:none}
#reg-step-1 .invoice-related-option span{display:flex;align-items:center;justify-content:center;min-width:150px;height:46px;padding:0 22px;border:1px solid #cfd6df;border-radius:10px;background:#fff;box-shadow:0 3px 7px rgba(17,24,39,.12);font-size:16px;color:#333}
#reg-step-1 .invoice-related-option:hover span,#reg-step-1 .invoice-related-option input:checked+span{background:#EFF6FF;border:2px solid #1D4ED8;color:#1D4ED8;font-weight:800}
#reg-step-1 .invoice-related-note{margin-top:14px;padding:16px 18px;border:1px solid #D8E5FF;border-radius:12px;background:#F5F8FF;color:#49637F;font-size:14px;line-height:1.75}
#reg-step-1 .invoice-related-note[hidden]{display:none !important}
#reg-step-1 .invoice-related-note strong{display:block;margin-bottom:6px;color:#17324d}
#reg-step-1 .invoice-related-note .warning{display:block;margin-top:8px;color:#ff5a78;font-weight:700}
#reg-step-1 .invoice-related-note ol{margin:6px 0 0;padding-left:22px}
#reg-step-1 .invoice-related-mail-note{margin-top:16px;padding:22px 24px;border:1px solid #cfd9e6;border-radius:16px;background:#f4f7fb;color:#49637F;font-size:15px;line-height:1.9}
#reg-step-1 .invoice-related-mail-note strong{display:block;margin-bottom:8px;font-size:18px;color:#49637F}
#reg-step-1 .invoice-related-mail-note .danger{display:block;margin-top:12px;color:#ff5a78;font-weight:700}
@media(max-width:980px){
#reg-step-1 .invoice-related-card{padding:24px 28px 30px}
#reg-step-1 .invoice-related-row{grid-template-columns:100px minmax(0,1fr)}
#reg-step-1 .invoice-related-control{max-width:none}
}
@media(max-width:680px){
#reg-step-1 .invoice-related-intro h2{font-size:20px}
#reg-step-1 .invoice-related-card{padding:20px 16px 22px}
#reg-step-1 .invoice-related-form{gap:24px}
#reg-step-1 .invoice-related-row{grid-template-columns:1fr;row-gap:10px}
#reg-step-1 .invoice-related-label{padding-top:0;font-size:15px}
#reg-step-1 .invoice-related-option span{min-width:0;width:100%;padding:0 14px}
#reg-step-1 .invoice-related-actions{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:1200px){
#reg-step-1 .header-inner,#reg-step-1 .page{padding-left:40px;padding-right:40px}
#reg-step-1 .steps{padding-left:24px;padding-right:24px}
}
@media(max-width:980px){
#reg-step-1 .header-inner,#reg-step-1 .page{padding-left:24px;padding-right:24px}
}
@media(max-width:980px){
#reg-step-1 .layout{grid-template-columns:1fr}
#reg-step-1 .side{position:static;display:grid;grid-template-columns:1fr 1fr;gap:14px}
#reg-step-1 .side-card{margin:0}
}
@media(max-width:680px){
#reg-step-1{font-size:15px}
#reg-step-1 .header-inner,#reg-step-1 .page{padding-left:12px;padding-right:12px}
#reg-step-1 .brand p,#reg-step-1 .help,#reg-step-1 .step span{display:none}
#reg-step-1 .steps{padding-left:8px;padding-right:8px}
#reg-step-1 .step strong{font-size:12px}
#reg-step-1 .form-grid,#reg-step-1 .plan-grid,#reg-step-1 .option-grid,#reg-step-1 .identity-main,#reg-step-1 .identity-sub,#reg-step-1 .side{grid-template-columns:1fr}
#reg-step-1 .card-head,#reg-step-1 .card-body{padding-left:16px;padding-right:16px}
#reg-step-1 .footer-action{display:block}
#reg-step-1 .actions{margin-top:10px}
#reg-step-1 .btn{flex:1}
#reg-step-1 .inline{flex-wrap:wrap}
#reg-step-1 .inline .input:first-child,#reg-step-1 .inline .ext{max-width:none}
#reg-step-1 .small-text{white-space:normal}
#reg-step-1 .steps .step:not(:last-child):after{left:62%;right:-38%}
}
#reg-step-1 .eligibility-choice .eligibility-panel,#reg-step-1 .apply-choice .apply-panel,#reg-step-1 .price-choice .price-panel,#reg-step-1 .agent-toggle span,#reg-step-1 .invoice-related-option span{position:relative;
  overflow:hidden;
  border:2px solid #c9cdd3;
  background:#fff;
  box-shadow:0 6px 14px rgba(17,24,39,.16);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;}
#reg-step-1 .eligibility-choice .eligibility-panel,#reg-step-1 .eligibility-choice:hover .eligibility-panel,#reg-step-1 .eligibility-choice input:checked + .eligibility-panel{padding:17px 29px 15px 29px;}
#reg-step-1 .apply-choice .apply-panel,#reg-step-1 .apply-choice:hover .apply-panel,#reg-step-1 .apply-choice input:checked + .apply-panel{padding:17px 29px 15px 29px;}
#reg-step-1 .price-choice .price-panel,#reg-step-1 .price-choice:hover .price-panel,#reg-step-1 .price-choice input:checked + .price-panel{padding:23px 19px;}
#reg-step-1 .eligibility-choice:hover .eligibility-panel,#reg-step-1 .apply-choice:hover .apply-panel,#reg-step-1 .price-choice:hover .price-panel,#reg-step-1 .agent-toggle:hover span,#reg-step-1 .invoice-related-option:hover span{background:#F8FBFF;
  border-color:#1D4ED8;
  box-shadow:0 10px 20px rgba(29,78,216,.14);}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel,#reg-step-1 .apply-choice input:checked + .apply-panel,#reg-step-1 .price-choice input:checked + .price-panel,#reg-step-1 .agent-toggle input:checked + span,#reg-step-1 .invoice-related-option input:checked + span{background:#EDF3FF;
  border-color:#2754E6;
  box-shadow:0 10px 20px rgba(29,78,216,.18);}
#reg-step-1 .eligibility-choice:hover .eligibility-title-main,#reg-step-1 .eligibility-choice input:checked + .eligibility-panel .eligibility-title-main,#reg-step-1 .apply-choice:hover .apply-title-main,#reg-step-1 .apply-choice input:checked + .apply-panel .apply-title-main,#reg-step-1 .price-choice:hover .price-title-row strong,#reg-step-1 .price-choice:hover .price-panel small,#reg-step-1 .price-choice input:checked + .price-panel .price-title-row strong,#reg-step-1 .price-choice input:checked + .price-panel small,#reg-step-1 .agent-toggle:hover span,#reg-step-1 .agent-toggle input:checked + span,#reg-step-1 .invoice-related-option:hover span,#reg-step-1 .invoice-related-option input:checked + span{color:#2457E0;}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::before,#reg-step-1 .apply-choice input:checked + .apply-panel::before,#reg-step-1 .price-choice input:checked + .price-panel::before{content:"";
  position:absolute;
  top:0;
  right:0;
  width:0;
  height:0;
  border-top:58px solid #2B58E8;
  border-left:58px solid transparent;}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::after,#reg-step-1 .apply-choice input:checked + .apply-panel::after,#reg-step-1 .price-choice input:checked + .price-panel::after{content:"✓";
  position:absolute;
  top:7px;
  right:10px;
  font-size:26px;
  line-height:1;
  color:#fff;
  font-weight:900;}
#reg-step-1 .agent-toggle span,#reg-step-1 .invoice-related-option span{min-height:46px;}
#reg-step-1 .agent-toggle input:checked + span::before,#reg-step-1 .invoice-related-option input:checked + span::before{content:"";
  position:absolute;
  top:0;
  right:0;
  width:0;
  height:0;
  border-top:34px solid #2B58E8;
  border-left:34px solid transparent;}
#reg-step-1 .agent-toggle input:checked + span::after,#reg-step-1 .invoice-related-option input:checked + span::after{content:"✓";
  position:absolute;
  top:4px;
  right:5px;
  font-size:15px;
  line-height:1;
  color:#fff;
  font-weight:900;}
#reg-step-1 .help,#reg-step-1 .btn,#reg-step-1 .agent-upload-btn,#reg-step-1 .allocation-franchise-upload-btn,#reg-step-1 .allocation-other-upload-btn,#reg-step-1 .group-company-add{border:2px solid #c9cdd3;
  background:#fff;
  color:#333;
  box-shadow:0 6px 14px rgba(17,24,39,.14);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .08s ease;}
#reg-step-1 .help:hover,#reg-step-1 .btn:hover,#reg-step-1 .agent-upload-btn:hover,#reg-step-1 .allocation-franchise-upload-btn:hover,#reg-step-1 .allocation-other-upload-btn:hover,#reg-step-1 .group-company-add:hover{background:#F8FBFF;
  border-color:#1D4ED8;
  color:#2457E0;
  box-shadow:0 10px 20px rgba(29,78,216,.14);}
#reg-step-1 .help:active,#reg-step-1 .btn:active,#reg-step-1 .agent-upload-btn:active,#reg-step-1 .allocation-franchise-upload-btn:active,#reg-step-1 .allocation-other-upload-btn:active,#reg-step-1 .group-company-add:active{background:#EDF3FF;
  border-color:#2754E6;
  color:#2457E0;
  box-shadow:0 6px 14px rgba(29,78,216,.18);
  transform:translateY(1px);}
#reg-step-1 .btn.primary{border:2px solid #2754E6;
  background:#2754E6;
  color:#fff;
  box-shadow:0 6px 14px rgba(29,78,216,.22);}
#reg-step-1 .btn.primary:hover{border-color:#1D4ED8;
  background:#1D4ED8;
  color:#fff;
  box-shadow:0 10px 20px rgba(29,78,216,.24);}
#reg-step-1 .btn.primary:active{border-color:#173FBF;
  background:#173FBF;
  color:#fff;
  box-shadow:0 6px 14px rgba(29,78,216,.2);}
@media(max-width:680px){
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::before,#reg-step-1 .apply-choice input:checked + .apply-panel::before,#reg-step-1 .price-choice input:checked + .price-panel::before{border-top-width:48px;
    border-left-width:48px;}
#reg-step-1 .eligibility-choice input:checked + .eligibility-panel::after,#reg-step-1 .apply-choice input:checked + .apply-panel::after,#reg-step-1 .price-choice input:checked + .price-panel::after{top:6px;
    right:8px;
    font-size:22px;}
}
#reg-step-1 .agent-remark-wrap{margin-bottom:18px}
#reg-step-1 .company-label-with-action{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#reg-step-1 .same-address-btn[hidden]{display:none !important}
#reg-step-1 .same-address-btn{display:inline-flex;align-items:center;justify-content:center;
  min-height:38px;padding:7px 12px;border:2px solid #c9cdd3;border-radius:9px;
  background:#fff;color:#333;box-shadow:0 4px 10px rgba(17,24,39,.12);
  font-size:13px;font-weight:800;line-height:1.35;cursor:pointer;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,transform .08s ease}
#reg-step-1 .same-address-btn:hover{background:#F8FBFF;border-color:#1D4ED8;color:#2457E0;box-shadow:0 8px 16px rgba(29,78,216,.14)}
#reg-step-1 .same-address-btn:active{background:#EDF3FF;border-color:#2754E6;color:#2457E0;box-shadow:0 4px 10px rgba(29,78,216,.16);transform:translateY(1px)}
@media(max-width:680px){
#reg-step-1 .company-label-with-action{gap:7px}
#reg-step-1 .same-address-btn{font-size:13px}
}
#reg-step-1 #invoice-sample-mail-row{align-items:start}
#reg-step-1 #invoice-sample-mail-row .contact-label{padding-top:10px}
#reg-step-1 .agent-count-input{width:180px;max-width:100%}
#reg-step-1 .section-number{display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-right:10px;
  border-radius:10px;
  background:linear-gradient(135deg,#17324d,#255985);
  color:#fff;
  font-size:17px;
  font-weight:900;
  line-height:1;
  vertical-align:middle;
  box-shadow:0 4px 10px rgba(23,50,77,.14);}
@media(max-width:680px){
#reg-step-1 .section-number{width:30px;height:30px;margin-right:8px;border-radius:9px;font-size:15px}
}
@media(min-width:981px){
#reg-step-1 .service-mode-panel{grid-template-columns:minmax(0,1fr) minmax(0,2fr);
    min-height:190px;}
#reg-step-1 .service-mode-visual{padding:24px 16px 20px;}
#reg-step-1 .service-mode-visual::after{right:0;
    top:24px;
    bottom:24px;
    width:3px;}
#reg-step-1 .service-mode-icon{margin-bottom:10px;}
#reg-step-1 .service-mode-icon svg{width:82px;
    height:82px;}
#reg-step-1 .service-mode-visual-title{font-size:24px;
    line-height:1.3;
    white-space:nowrap;}
#reg-step-1 .service-mode-price-row{gap:6px;
    margin-top:7px;
    flex-wrap:nowrap;}
#reg-step-1 .service-mode-price-label{font-size:14px;
    white-space:nowrap;}
#reg-step-1 .service-mode-price{font-size:26px;
    white-space:nowrap;}
#reg-step-1 .service-mode-body{padding:22px 22px 22px 30px;
    min-width:0;}
#reg-step-1 .service-mode-list{width:100%;
    margin:0;
    padding-left:22px;
    font-size:16px;
    line-height:1.75;
    white-space:nowrap;}
#reg-step-1 .service-mode-list li{white-space:nowrap;}
#reg-step-1 .service-mode-badge-top{top:12px;
    left:10px;
    min-width:66px;
    height:32px;
    padding:0 10px;
    font-size:13px;}
#reg-step-1 .service-mode input:checked + .service-mode-panel::before{border-top-width:68px;
    border-left-width:68px;}
#reg-step-1 .service-mode input:checked + .service-mode-panel::after{top:10px;
    right:11px;
    font-size:22px;}
}
#reg-step-1 .company-card,#reg-step-1 .contact-card,#reg-step-1 .invoice-related-card{padding:34px 68px 42px;}
#reg-step-1 .company-row,#reg-step-1 .contact-row,#reg-step-1 .invoice-related-row{grid-template-columns:190px minmax(0,1fr);
  column-gap:28px;
  align-items:start;}
#reg-step-1 .company-label,#reg-step-1 .contact-label,#reg-step-1 .invoice-related-label{padding-top:10px;
  font-size:16px;
  font-weight:800;
  color:#222;
  line-height:1.5;}
#reg-step-1 .company-control,#reg-step-1 .contact-control,#reg-step-1 .invoice-related-control{width:100%;
  max-width:820px;}
#reg-step-1 .company-input,#reg-step-1 .contact-input,#reg-step-1 .invoice-related-input{height:46px;
  border:1px solid #cfd6df;
  border-radius:10px;
  padding:0 10px;
  font-size:15px;}
#reg-step-1 .company-control > .company-input,#reg-step-1 .contact-control > .contact-input,#reg-step-1 .invoice-related-control > .invoice-related-input{width:100%;
  max-width:820px;}
#reg-step-1 .company-address-fields{width:100%;
  max-width:820px;}
#reg-step-1 .company-inline,#reg-step-1 .contact-inline,#reg-step-1 .invoice-related-actions{gap:12px;}
#reg-step-1 .same-address-btn{min-height:46px;
  height:46px;
  padding:0 22px;
  border-radius:10px;
  font-size:16px;}
#reg-step-1 .invoice-related-option span{height:46px;
  min-height:46px;
  padding:0 22px;
  border-radius:10px;
  font-size:16px;}
#reg-step-1 #invoice-sample-recipient-row,#reg-step-1 #invoice-sample-mail-row{grid-template-columns:190px minmax(0,1fr);
  column-gap:28px;
  align-items:start;}
#reg-step-1 #invoice-sample-recipient-row .contact-label,#reg-step-1 #invoice-sample-mail-row .contact-label{padding-top:10px;}
@media(max-width:980px){
#reg-step-1 .company-card,#reg-step-1 .contact-card,#reg-step-1 .invoice-related-card{padding:28px;}
#reg-step-1 .company-row,#reg-step-1 .contact-row,#reg-step-1 .invoice-related-row,#reg-step-1 #invoice-sample-recipient-row,#reg-step-1 #invoice-sample-mail-row{grid-template-columns:170px minmax(0,1fr);
    column-gap:28px;}
#reg-step-1 .company-control,#reg-step-1 .contact-control,#reg-step-1 .invoice-related-control{max-width:none;}
}
@media(max-width:680px){
#reg-step-1 .company-card,#reg-step-1 .contact-card,#reg-step-1 .invoice-related-card{padding:20px 16px;}
#reg-step-1 .company-row,#reg-step-1 .contact-row,#reg-step-1 .invoice-related-row,#reg-step-1 #invoice-sample-recipient-row,#reg-step-1 #invoice-sample-mail-row{grid-template-columns:1fr;
    row-gap:8px;}
#reg-step-1 .company-label,#reg-step-1 .contact-label,#reg-step-1 .invoice-related-label,#reg-step-1 #invoice-sample-recipient-row .contact-label,#reg-step-1 #invoice-sample-mail-row .contact-label{padding-top:0;}
}

/* ===== 第 2 步：電子發票服務申請｜確認資料 ===== */
#reg-step-2{--navy:#17324d;--blue:#2563eb;--blue2:#1d4ed8;--ink:#172033;--muted:#657084;--line:#dfe5ec;--bg:#F8FAFF;--white:#fff;--shadow:0 14px 36px rgba(23,50,77,.08)}
#reg-step-2 *{box-sizing:border-box}
#reg-step-2{margin:0;background:var(--bg);font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.65}
#reg-step-2 button{font:inherit}
#reg-step-2 .header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1000;box-shadow:0 4px 14px rgba(23,50,77,.06)}
#reg-step-2 .header-inner{max-width:1280px;margin:auto;padding:18px 64px;display:flex;align-items:center;justify-content:space-between;gap:20px}
#reg-step-2 .brand{display:flex;align-items:center;gap:13px}
#reg-step-2 .logo{width:48px;height:48px;border-radius:14px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:900}
#reg-step-2 .brand h1{font-size:21px;margin:0}
#reg-step-2 .brand p{margin:1px 0 0;color:var(--muted);font-size:14px}
#reg-step-2 .help{border:2px solid #c9cdd3;background:#fff;border-radius:999px;padding:9px 14px;color:var(--navy);font-weight:700;box-shadow:0 6px 14px rgba(17,24,39,.12)}
#reg-step-2 .step-wrap{background:#fff}
#reg-step-2 .steps{max-width:1120px;margin:auto;padding:18px 40px 22px;display:grid;grid-template-columns:repeat(4,1fr)}
#reg-step-2 .step{position:relative;text-align:center}
#reg-step-2 .step:not(:last-child):after{content:"";position:absolute;top:19px;left:58%;right:-42%;height:3px;background:#e6ebf1}
#reg-step-2 .step.done:not(:last-child):after,#reg-step-2 .step.active:not(:last-child):after{background:#93b4ff}
#reg-step-2 .dot{width:40px;height:40px;border-radius:50%;margin:auto;display:grid;place-items:center;background:#eef1f5;color:#98a2b3;font-weight:900;position:relative;z-index:1}
#reg-step-2 .step.active .dot{background:var(--blue);color:#fff;box-shadow:0 0 0 6px #eaf1ff}
#reg-step-2 .step strong{display:block;margin-top:8px;font-size:14px}
#reg-step-2 .step span{display:block;color:var(--muted);font-size:12px}
#reg-step-2 .step.active strong{color:var(--blue2)}
#reg-step-2 .page{max-width:1280px;margin:auto;padding:28px 64px 110px}
#reg-step-2 .confirm-intro{margin-bottom:20px}
#reg-step-2 .confirm-intro h2{margin:0 0 4px;font-size:26px;color:#17324d}
#reg-step-2 .confirm-intro p{margin:0;color:#6b7c93;font-size:14px}
#reg-step-2 .confirm-card{background:#fff;border:1px solid #d8dee8;border-radius:16px;box-shadow:0 4px 12px rgba(23,50,77,.13);padding:28px 58px 42px}
#reg-step-2 .confirm-section{padding-bottom:30px}
#reg-step-2 .confirm-section:last-child{padding-bottom:0}
#reg-step-2 .confirm-section-title{margin:0 0 16px;font-size:20px;color:#1d5ee9;font-weight:900}
#reg-step-2 .confirm-list{display:flex;flex-direction:column;gap:10px}
#reg-step-2 .confirm-row{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:28px;align-items:start}
#reg-step-2 .confirm-label{padding-left:42px;color:#222;font-size:16px;font-weight:800;line-height:1.5}
#reg-step-2 .confirm-value{color:#3f3f46;font-size:16px;line-height:1.5;min-height:24px;word-break:break-word}
#reg-step-2 .muted{color:#98a2b3}
#reg-step-2 .confirm-inline{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
#reg-step-2 .attachment-link{color:#2457e0;text-decoration:underline;text-underline-offset:3px;font-weight:700}
#reg-step-2 .footer-action{position:fixed;left:12px;right:12px;bottom:10px;z-index:900;max-width:1256px;margin:auto;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:16px;padding:14px 16px;box-shadow:0 -8px 30px rgba(23,50,77,.08);display:flex;justify-content:space-between;align-items:center;gap:15px}
#reg-step-2 .footer-action strong{display:block;font-size:15px}
#reg-step-2 .footer-action span{font-size:14px;color:var(--muted)}
#reg-step-2 .actions{display:flex;gap:9px}
#reg-step-2 .btn{border-radius:10px;padding:11px 18px;font-weight:800;cursor:pointer;min-height:46px}
#reg-step-2 .btn.secondary{border:2px solid #c9cdd3;background:#fff;color:#475467;box-shadow:0 6px 14px rgba(17,24,39,.12);min-width:112px}
#reg-step-2 .btn.primary{border:2px solid #2754E6;background:#2754E6;color:#fff;min-width:180px;box-shadow:0 6px 14px rgba(29,78,216,.22)}
#reg-step-2 .btn.secondary:hover{background:#F8FBFF;border-color:#1D4ED8;color:#2457E0}
#reg-step-2 .btn.primary:hover{background:#1D4ED8;border-color:#1D4ED8}
@media(max-width:980px){
#reg-step-2 .header-inner,#reg-step-2 .page{padding-left:24px;padding-right:24px}
#reg-step-2 .confirm-card{padding:28px}
#reg-step-2 .confirm-row{grid-template-columns:170px minmax(0,1fr)}
#reg-step-2 .confirm-label{padding-left:10px}
}
@media(max-width:680px){
#reg-step-2{font-size:15px}
#reg-step-2 .header-inner,#reg-step-2 .page{padding-left:12px;padding-right:12px}
#reg-step-2 .brand p,#reg-step-2 .help,#reg-step-2 .step span{display:none}
#reg-step-2 .steps{padding-left:8px;padding-right:8px}
#reg-step-2 .step strong{font-size:12px}
#reg-step-2 .confirm-card{padding:22px 16px 28px}
#reg-step-2 .confirm-intro h2{font-size:22px}
#reg-step-2 .confirm-section-title{font-size:18px}
#reg-step-2 .confirm-row{grid-template-columns:1fr;row-gap:3px;padding:5px 0}
#reg-step-2 .confirm-label{padding-left:0;font-size:14px;}
#reg-step-2 .confirm-value{font-size:15px}
#reg-step-2 .footer-action{display:block;left:8px;right:8px;bottom:8px}
#reg-step-2 .actions{margin-top:10px}
#reg-step-2 .btn{flex:1}
}

/* ===== 第 3 步：電子發票服務申請｜確認合約 ===== */
#reg-step-3{--navy:#17324d;
  --blue:#2563eb;
  --blue2:#1d4ed8;
  --ink:#172033;
  --muted:#657084;
  --line:#dfe5ec;
  --bg:#F8FAFF;
  --white:#fff;
  --shadow:0 14px 36px rgba(23,50,77,.08)}
#reg-step-3 *{box-sizing:border-box}
#reg-step-3{scroll-behavior:smooth}
#reg-step-3{margin:0;
  background:var(--bg);
  font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;
  color:var(--ink);
  font-size:16px;
  line-height:1.65;}
#reg-step-3 button{font:inherit}
#reg-step-3 .header{background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 4px 14px rgba(23,50,77,.06);}
#reg-step-3 .header-inner{max-width:1280px;
  margin:auto;
  padding:18px 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;}
#reg-step-3 .brand{display:flex;align-items:center;gap:13px}
#reg-step-3 .logo{width:48px;
  height:48px;
  border-radius:14px;
  background:var(--navy);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;}
#reg-step-3 .brand h1{font-size:21px;margin:0}
#reg-step-3 .brand p{margin:1px 0 0;color:var(--muted);font-size:14px}
#reg-step-3 .help{border:2px solid #c9cdd3;
  background:#fff;
  border-radius:999px;
  padding:9px 14px;
  color:var(--navy);
  font-weight:700;
  box-shadow:0 6px 14px rgba(17,24,39,.12);
  cursor:pointer;}
#reg-step-3 .step-wrap{background:#fff}
#reg-step-3 .steps{max-width:1120px;
  margin:auto;
  padding:18px 40px 22px;
  display:grid;
  grid-template-columns:repeat(4,1fr);}
#reg-step-3 .step{position:relative;text-align:center}
#reg-step-3 .step:not(:last-child):after{content:"";
  position:absolute;
  top:19px;
  left:58%;
  right:-42%;
  height:3px;
  background:#e6ebf1;}
#reg-step-3 .step.done:not(:last-child):after,#reg-step-3 .step.active:not(:last-child):after{background:#93b4ff;}
#reg-step-3 .dot{width:40px;
  height:40px;
  border-radius:50%;
  margin:auto;
  display:grid;
  place-items:center;
  background:#eef1f5;
  color:#98a2b3;
  font-weight:900;
  position:relative;
  z-index:1;}
#reg-step-3 .step.active .dot{background:var(--blue);
  color:#fff;
  box-shadow:0 0 0 6px #eaf1ff;}
#reg-step-3 .step strong{display:block;margin-top:8px;font-size:14px}
#reg-step-3 .step span{display:block;color:var(--muted);font-size:12px}
#reg-step-3 .step.active strong{color:var(--blue2)}
#reg-step-3 .page{max-width:1280px;
  margin:auto;
  padding:28px 64px 112px;}
#reg-step-3 .contract-intro{margin-bottom:18px;}
#reg-step-3 .contract-intro h2{margin:0 0 4px;
  font-size:26px;
  color:#17324d;}
#reg-step-3 .contract-intro p{margin:0;
  color:#6b7c93;
  font-size:14px;}
#reg-step-3 .contract-card{background:#fff;
  border:1px solid #d8dee8;
  border-radius:16px;
  box-shadow:0 4px 12px rgba(23,50,77,.13);
  padding:14px 54px 24px;}
#reg-step-3 .contract-card h3{margin:0;
  padding:0 0 16px;
  text-align:center;
  font-size:26px;
  color:#000;
  font-weight:900;}
#reg-step-3 .contract-scroll{height:500px;
  overflow-y:auto;
  border-top:4px solid #c6c6c6;
  border-left:4px solid #c6c6c6;
  background:#fff;
  padding:18px 22px;
  color:#333;
  font-size:17px;
  line-height:1.22;
  box-shadow:inset 0 2px 8px rgba(0,0,0,.08);
  scrollbar-width:thin;}
#reg-step-3 .contract-scroll::-webkit-scrollbar{width:10px}
#reg-step-3 .contract-scroll::-webkit-scrollbar-thumb{background:#d4d4d4;
  border-radius:10px;}
#reg-step-3 .contract-scroll p{margin:0 0 14px;}
#reg-step-3 .contract-scroll h4{margin:18px 0 6px;
  font-size:18px;
  color:#333;}
#reg-step-3 .contract-scroll ol{margin:4px 0 14px 28px;
  padding-left:18px;}
#reg-step-3 .contract-scroll ol.alpha{list-style-type:lower-alpha}
#reg-step-3 .contract-scroll ol.roman{list-style-type:lower-roman}
#reg-step-3 .contract-scroll li{margin-bottom:4px}
#reg-step-3 .footer-action{position:fixed;
  left:12px;
  right:12px;
  bottom:10px;
  z-index:900;
  max-width:1256px;
  margin:auto;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 -8px 30px rgba(23,50,77,.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;}
#reg-step-3 .footer-action strong{display:block;font-size:15px}
#reg-step-3 .footer-action span{font-size:14px;color:var(--muted)}
#reg-step-3 .actions{display:flex;gap:9px}
#reg-step-3 .btn{border-radius:10px;
  padding:11px 18px;
  font-weight:800;
  cursor:pointer;
  min-height:46px;}
#reg-step-3 .btn.secondary{border:2px solid #c9cdd3;
  background:#fff;
  color:#475467;
  box-shadow:0 6px 14px rgba(17,24,39,.12);
  min-width:130px;}
#reg-step-3 .btn.primary{border:2px solid #2754E6;
  background:#2754E6;
  color:#fff;
  min-width:165px;
  box-shadow:0 6px 14px rgba(29,78,216,.22);}
#reg-step-3 .btn.secondary:hover{background:#F8FBFF;
  border-color:#1D4ED8;
  color:#2457E0;}
#reg-step-3 .btn.primary:hover{background:#1D4ED8;
  border-color:#1D4ED8;}
@media(max-width:980px){
#reg-step-3 .header-inner,#reg-step-3 .page{padding-left:24px;padding-right:24px}
#reg-step-3 .contract-card{padding:14px 28px 24px}
}
@media(max-width:680px){
#reg-step-3{font-size:15px}
#reg-step-3 .header-inner,#reg-step-3 .page{padding-left:12px;padding-right:12px}
#reg-step-3 .brand p,#reg-step-3 .help,#reg-step-3 .step span{display:none}
#reg-step-3 .steps{padding-left:8px;padding-right:8px}
#reg-step-3 .step strong{font-size:12px}
#reg-step-3 .contract-intro h2{font-size:22px}
#reg-step-3 .contract-card{padding:14px 14px 22px}
#reg-step-3 .contract-card h3{font-size:22px}
#reg-step-3 .contract-scroll{height:470px;
    padding:15px;
    font-size:15px;}
#reg-step-3 .footer-action{display:block;
    left:8px;
    right:8px;
    bottom:8px;}
#reg-step-3 .actions{margin-top:10px}
#reg-step-3 .btn{flex:1}
}

/* ===== 第 4 步：電子發票服務申請｜申請完成 ===== */
#reg-step-4{--navy:#17324d;
  --blue:#2563eb;
  --blue2:#1d4ed8;
  --ink:#172033;
  --muted:#657084;
  --line:#dfe5ec;
  --bg:#F8FAFF;
  --white:#fff;}
#reg-step-4 *{box-sizing:border-box}
#reg-step-4{scroll-behavior:smooth}
#reg-step-4{margin:0;
  background:var(--bg);
  font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;
  color:var(--ink);
  font-size:16px;
  line-height:1.65;}
#reg-step-4 button{font:inherit}
#reg-step-4 .header{background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 4px 14px rgba(23,50,77,.06);}
#reg-step-4 .header-inner{max-width:1280px;
  margin:auto;
  padding:18px 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;}
#reg-step-4 .brand{display:flex;align-items:center;gap:13px}
#reg-step-4 .logo{width:48px;
  height:48px;
  border-radius:14px;
  background:var(--navy);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;}
#reg-step-4 .brand h1{font-size:21px;margin:0}
#reg-step-4 .brand p{margin:1px 0 0;color:var(--muted);font-size:14px}
#reg-step-4 .help{border:2px solid #c9cdd3;
  background:#fff;
  border-radius:999px;
  padding:9px 14px;
  color:var(--navy);
  font-weight:700;
  box-shadow:0 6px 14px rgba(17,24,39,.12);
  cursor:pointer;}
#reg-step-4 .step-wrap{background:#fff}
#reg-step-4 .steps{max-width:1120px;
  margin:auto;
  padding:18px 40px 22px;
  display:grid;
  grid-template-columns:repeat(4,1fr);}
#reg-step-4 .step{position:relative;text-align:center}
#reg-step-4 .step:not(:last-child):after{content:"";
  position:absolute;
  top:19px;
  left:58%;
  right:-42%;
  height:3px;
  background:#e6ebf1;}
#reg-step-4 .step.done:not(:last-child):after,#reg-step-4 .step.active:not(:last-child):after{background:#93b4ff;}
#reg-step-4 .dot{width:40px;
  height:40px;
  border-radius:50%;
  margin:auto;
  display:grid;
  place-items:center;
  background:#eef1f5;
  color:#98a2b3;
  font-weight:900;
  position:relative;
  z-index:1;}
#reg-step-4 .step.active .dot{background:var(--blue);
  color:#fff;
  box-shadow:0 0 0 6px #eaf1ff;}
#reg-step-4 .step strong{display:block;margin-top:8px;font-size:14px}
#reg-step-4 .step span{display:block;color:var(--muted);font-size:12px}
#reg-step-4 .step.active strong{color:var(--blue2)}
#reg-step-4 .page{max-width:1280px;
  min-height:calc(100vh - 192px);
  margin:auto;
  padding:90px 64px 120px;
  display:flex;
  align-items:flex-start;
  justify-content:center;}
#reg-step-4 .complete-wrap{width:100%;
  max-width:900px;
  text-align:center;
  padding-top:70px;}
#reg-step-4 .complete-icon{width:86px;
  height:86px;
  margin:0 auto 32px;
  border-radius:50%;
  background:#173b5e;
  display:flex;
  align-items:center;
  justify-content:center;}
#reg-step-4 .complete-icon::before{content:"";
  width:33px;
  height:18px;
  border-left:7px solid #fff;
  border-bottom:7px solid #fff;
  transform:rotate(-45deg) translateY(-3px);
  border-radius:2px;}
#reg-step-4 .complete-title{margin:0;
  color:#17324d;
  font-size:30px;
  line-height:1.4;
  font-weight:900;}
#reg-step-4 .complete-description{max-width:760px;
  margin:44px auto 0;
  color:#667a95;
  font-size:17px;
  line-height:1.75;}
#reg-step-4 .complete-description strong{color:#667a95;
  font-weight:800;}
#reg-step-4 .close-btn{margin-top:110px;
  min-width:164px;
  height:56px;
  padding:0 30px;
  border:0;
  border-radius:10px;
  background:#667f9b;
  color:#fff;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(23,50,77,.12);
  transition:background .18s ease,box-shadow .18s ease,transform .08s ease;}
#reg-step-4 .close-btn:hover{background:#506b88;
  box-shadow:0 10px 20px rgba(23,50,77,.16);}
#reg-step-4 .close-btn:active{transform:translateY(1px);}
@media(max-width:980px){
#reg-step-4 .header-inner,#reg-step-4 .page{padding-left:24px;padding-right:24px}
#reg-step-4 .page{padding-top:70px}
}
@media(max-width:680px){
#reg-step-4{font-size:15px}
#reg-step-4 .header-inner,#reg-step-4 .page{padding-left:12px;padding-right:12px}
#reg-step-4 .brand p,#reg-step-4 .help,#reg-step-4 .step span{display:none}
#reg-step-4 .steps{padding-left:8px;padding-right:8px}
#reg-step-4 .step strong{font-size:12px}
#reg-step-4 .page{padding-top:50px}
#reg-step-4 .complete-wrap{padding-top:40px}
#reg-step-4 .complete-icon{width:76px;height:76px;margin-bottom:26px}
#reg-step-4 .complete-icon::before{width:29px;height:16px;border-left-width:6px;border-bottom-width:6px}
#reg-step-4 .complete-title{font-size:25px}
#reg-step-4 .complete-description{margin-top:32px;font-size:15px;line-height:1.8}
#reg-step-4 .close-btn{margin-top:70px;width:100%;max-width:220px;height:52px;font-size:16px}
}

/* ===== 品牌 logo（2026-10-03）=====
   頁首原本是深藍底的「LOGO」佔位方塊；換成速買配 logo 圖，拿掉底色（藍 logo 疊深藍底會看不清），尺寸位置不變 */
#reg-step-1 .logo,#reg-step-2 .logo,#reg-step-3 .logo,#reg-step-4 .logo{background:none;border-radius:0}
#reg-step-1 .logo img,#reg-step-2 .logo img,#reg-step-3 .logo img,#reg-step-4 .logo img{display:block;width:100%;height:100%;object-fit:contain}
