﻿/* Shared quotation controls: a single thin focus border and consistent select menus. */
.quote-controls :focus-visible { outline:1px solid #008740; outline-offset:2px; }
.quote-controls input:focus, .quote-controls textarea:focus, .quote-controls select:focus,
.quote-controls .quote-select-trigger:focus {
    border-color:#008740 !important; outline:none; box-shadow:none;
}
.quote-controls .list:focus-visible, .quote-controls .iterm:focus-visible { outline-offset:-1px; }

/* Lanhu dimensions: 104x30 fields, 30x30 separators, 22x22 artwork, shared 1px borders. */
.quote-controls .order-item .quote-dimension-group { display:flex; align-items:center; float:left; width:auto; max-width:100%; gap:0; }
.quote-controls .quote-dimension-control { position:relative; display:block; flex:0 0 104px; width:104px; height:30px; border:1px solid #d9d9d9; border-radius:0; background:#fff; box-sizing:border-box; }
.quote-controls .quote-dimension-control:focus-within { z-index:1; border-color:#00863e; }
.quote-controls .order-box .quote-dimension-control > input { float:none; display:block; width:100%; min-width:0; height:28px; margin:0; padding:0 28px 0 10px; border:0; border-radius:0; background:transparent; box-shadow:none; text-indent:0; color:#404751; font:14px/28px "Microsoft YaHei",Arial,sans-serif; }
.quote-controls .quote-dimension-control > input::placeholder { color:#a5aeb9; }
.quote-controls .quote-dimension-stepper { position:absolute; z-index:4; top:3px; right:3px; width:22px; height:22px; background:url(/img/images/pcb-quote/dimension-stepper.png?v=20261013) center/22px 22px no-repeat; }
.quote-controls .quote-dimension-stepper button { display:block; width:22px; height:11px; margin:0; padding:0; border:0; border-radius:0; background:transparent; cursor:pointer; }
.quote-controls .quote-dimension-stepper button:hover:not(:disabled) { background:rgba(96,104,117,.08); }
.quote-controls .quote-dimension-stepper button:disabled { cursor:default; background:rgba(255,255,255,.6); }
.quote-controls .order-box .quote-dimension-group > .quote-dimension-unit { display:block; float:none; flex:0 0 30px; width:30px; height:30px; margin:0; padding:0; border:1px solid #d9d9d9; background:#f1f2f4; color:#606875; font:14px/28px "Microsoft YaHei",Arial,sans-serif; text-align:center; box-sizing:border-box; }
.quote-controls .order-box .quote-dimension-group > .quote-dimension-separator { font-size:20px; }
.quote-controls .quote-dimension-group > :not(:first-child) { margin-left:-1px !important; }
.quote-controls .file-number .quote-file-count-control { width:139px; background:#fff; color:#404751; cursor:text; transition:none; font:400 14px/21px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; }
.quote-controls .file-number .quote-dimension-stepper { float:none; border:0; background-color:transparent; color:inherit; transition:none; }
.quote-controls .order-box .quote-file-count-control > input { text-align:left; font:inherit; }

/* Extend the panel background to the inside of the card, keeping labels aligned. */
.pcb-quote-page .orders-right, .fpc-quote-page .orders-right { --quote-gutter:30px; }
.pcb-quote-page .orders-right > .delivery-box, .pcb-quote-page .orders-right > .line-process,
.fpc-quote-page .orders-right > .delivery-box, .fpc-quote-page .orders-right > .line-process {
    width:auto; margin:0 calc(-1 * var(--quote-gutter)); padding:0 var(--quote-gutter);
}
@media(max-width:1500px) {
    .fpc-quote-page .orders-right { --quote-gutter:24px; }
}
@media(max-width:760px) {
    .pcb-quote-page .orders-right { --quote-gutter:16px; }
}

.quote-controls select.quote-native-select { display:none !important; }
.quote-controls .quote-select { position:relative; display:inline-block; width:100%; max-width:100%; min-width:0; vertical-align:middle; }
.quote-controls .quote-select.is-open { z-index:50; }
.quote-controls .quote-select-trigger {
    display:flex; align-items:center; gap:8px; width:100%; min-width:0; height:30px; margin:0;
    padding:0 10px; border:1px solid #dee1e5; border-radius:3px; background:#fff;
    color:#606875; font:13px/28px "Microsoft YaHei",Arial,sans-serif; text-align:left; cursor:pointer;
}
.quote-controls .quote-select-trigger:hover, .quote-controls .quote-select.is-open .quote-select-trigger { border-color:#008740; }
.quote-controls .quote-select-trigger:disabled { background:#f5f6f7; color:#a5aeb9; border-color:#e4e7ea; cursor:not-allowed; }
.quote-select-value { display:block; min-width:0; flex:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.quote-select-arrow { width:6px; height:6px; margin:0 2px 4px 0; border-right:1px solid #8d97a5; border-bottom:1px solid #8d97a5; transform:rotate(45deg); flex-shrink:0; }
.quote-select.is-open .quote-select-arrow { transform:rotate(225deg); margin-top:4px; margin-bottom:0; border-color:#008740; }
.quote-controls .quote-select-menu {
    display:none; position:absolute; top:calc(100% + 5px); left:0; z-index:100; width:100%; min-width:190px;
    max-height:244px; margin:0; padding:5px; overflow-y:auto; list-style:none; background:#fff;
    border:1px solid #dfe7e2; border-radius:5px; box-shadow:0 6px 20px rgba(31,63,45,.12);
}
.quote-controls .quote-select.is-open .quote-select-menu { display:block; }
.quote-controls .quote-select.opens-up .quote-select-menu { top:auto; bottom:calc(100% + 5px); }
.quote-controls .quote-select-option {
    position:relative; display:block; float:none; width:auto; height:auto; min-height:32px; margin:0; padding:6px 28px 6px 10px;
    border:0; border-radius:3px; background:#fff; color:#606875; font:13px/20px "Microsoft YaHei",Arial,sans-serif;
    text-align:left; white-space:normal; overflow-wrap:break-word; cursor:pointer;
}
.quote-controls .quote-select-option.is-active { background:#f1f8f4; color:#008740; }
.quote-controls .quote-select-option[aria-selected="true"] { background:#eaf6ef; color:#008740; }
.quote-controls .quote-select-option[aria-selected="true"]:after {
    content:""; position:absolute; right:11px; top:11px; width:5px; height:9px;
    border-right:1px solid #008740; border-bottom:1px solid #008740; transform:rotate(45deg);
}
.quote-controls .quote-select-option[aria-disabled="true"] { color:#b2bac2; background:#fff; cursor:not-allowed; }
.quote-controls .side-box .quote-select { float:left; width:115px; margin-right:14px; }
.quote-controls .process-options-box .quote-select { display:block; }
.quote-controls .quote-select[data-select-id="SpecsId"] { width:430px; }
.quote-controls #form_data[data-stencil-type="阶梯钢网"] .quote-select[data-select-id="SpecsId"],
.quote-controls #form_data[data-stencil-type="双工艺钢网"] .quote-select[data-select-id="SpecsId"] { width:550px; }

/* Lanhu examples use the supplied artwork at its original aspect ratio. */
.quote-controls .quote-example { display:inline-block; float:left; margin-left:10px; }
.quote-controls .quote-example-trigger { display:block; height:30px; padding:0; border:0; background:transparent; color:#168cff; font:13px/30px "Microsoft YaHei",Arial,sans-serif; cursor:pointer; }
.quote-controls .quote-example-panel { display:none; position:fixed; z-index:100000; width:460px; max-width:calc(100vw - 24px); border-radius:5px; background:#fff; box-shadow:0 4px 20px rgba(36,48,59,.16); overflow:hidden; }
.quote-controls .quote-example.is-open .quote-example-panel { display:block; }
.quote-controls .quote-example-panel img { display:block; width:100%; height:auto; }

/* Seven presets per row; the custom quantity occupies the end of the last row. */
.quote-controls .board-nums { top:30px; left:0; width:560px; max-width:calc(100vw - 32px); height:auto; padding:18px 20px; border:1px solid #eceef0; border-radius:4px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.16); }
.quote-controls .quote-quantity-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:12px; }
.quote-controls .boardnumber { display:contents; margin:0; padding:0; }
.quote-controls .boardnumber:after { display:none; }
.quote-controls .boardnumber > li { float:none; display:block; min-width:0; width:auto; height:30px; line-height:28px; padding:0; margin:0; border:1px solid #d5d8dd; border-radius:3px; color:#606875; background:#fff; font-size:14px; }
.quote-controls .boardnumber > li:hover, .quote-controls .boardnumber > li[aria-pressed="true"] { border-color:#389451; color:#389451; background:#f7fdf9; }
.quote-controls .board-nums .other-box { grid-column:span 4; display:flex; align-items:center; gap:8px; width:auto; height:30px; padding:0; margin:0; background:none; font-size:13px; white-space:nowrap; }
.quote-controls .other-box label { flex-shrink:0; }
.quote-controls .board-nums .other-input { float:none; flex:1; min-width:0; width:0; height:30px; padding:0 8px; margin:0; border:1px solid #d5d8dd; border-radius:4px; text-indent:0; font-size:12px; }
.quote-controls .board-nums .confirm-btn { flex-shrink:0; height:30px; padding:0 9px; margin:0; border:0; border-radius:4px; background:#008740; color:#fff; font:12px/30px "Microsoft YaHei",Arial,sans-serif; cursor:pointer; }
.quote-controls .board-nums .confirm-btn:disabled { background:#f1f2f4; color:#b5bdc8; cursor:default; }
@media(max-width:760px) {
    .quote-controls .board-nums { width:calc(100vw - 32px); padding:14px; }
    .quote-controls .quote-quantity-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
    .quote-controls .board-nums .other-box { grid-column:1 / -1; }
}

/* Shared Lanhu audit corrections: reference typography, units and report fields. */
.quote-controls .quote-select-trigger { border-color:#d9d9d9; border-radius:0; color:#404751; font-size:14px; font-family:"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; }
.quote-controls input[type="number"]::-webkit-inner-spin-button { opacity:1; }
.pcb-quote-page .item-right.pcb_thickness { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.pcb-quote-page .pcb_thickness .list { flex:0 0 50px; width:50px; min-width:50px; margin:0; padding:0; }
.pcb-quote-page .pcb_thickness .unit-mm { display:none; }
.pcb-quote-page .pcb-thickness-note { line-height:30px; color:#a9b1bc; font-size:12px; }
.pcb-quote-page .pcb-special-count { text-align:left; padding-left:10px; }
.fpc-quote-page .color-box .list { display:inline-flex; align-items:center; justify-content:center; }
.fpc-quote-page .color-box .list i { flex:0 0 14px; width:14px; height:14px; margin:0 5px 0 0; border:0; border-radius:2px; vertical-align:middle; }
.fpc-quote-page .color-box .list i.yellow { background-color:#ffcf0d; }
.fpc-quote-page .color-box .list i.white { background-color:#fff; border:1px solid #d9d9d9; }
.fpc-quote-page .color-box .list i.black { background-color:#000; }
.quote-controls .quote-test-info { color:#0d7eff; font-size:12px; margin-left:6px; white-space:nowrap; }
.quote-controls .multiple-report .input-list { display:flex; align-items:center; gap:0; }
.quote-controls .multiple-report .input-list .report-input { float:none; width:170px !important; margin:0; border-radius:0; }
.quote-controls .quote-report-separator { flex:0 0 30px; height:30px; margin:0 -1px; border:1px solid #d9d9d9; background:#f1f2f4; color:#606875; line-height:28px; text-align:center; }

/* Reference spacing: 44px parameter rows; 12px horizontal and 13px wrap gaps. */
.pcb-quote-page .order-item, .pcb-quote-page .special-right .order-item, .fpc-quote-page .order-item, .fpc-quote-page .special-process .special-right .order-item { padding-top:7px; padding-bottom:7px; }
.pcb-quote-page .order-item .item-right:has(> .list) { display:flex; flex-wrap:wrap; align-items:flex-start; gap:13px 0; }
.pcb-quote-page .order-item .item-right > .list { margin-bottom:0; margin-right:12px; }
.pcb-quote-page .item-right .list, .pcb-quote-page .special-right .other-element .list, .fpc-quote-page .item-right .list { padding-left:15px; padding-right:15px; }
.pcb-quote-page .js-board-type > .list { padding:0; }
.pcb-quote-page .js-board-type > .list[data="单片"] { width:64px; }
.pcb-quote-page .js-board-type > .list[data="按客户文件拼版出货"] { width:166px; }
.pcb-quote-page .js-board-type > .list[data="指定出货方式"] { width:110px; }
.pcb-quote-page .js-boards .list[data="1"], .pcb-quote-page .js-boards .list[data="2"], .pcb-quote-page .js-boards .list[data="4"], .pcb-quote-page .js-boards .list[data="6"], .pcb-quote-page .js-boards .list[data="8"] { width:55px; padding:0; }
.pcb-quote-page .js-boards .list[data="10"], .pcb-quote-page .js-boards .list[data="12"], .pcb-quote-page .js-boards .list[data="14"], .pcb-quote-page .js-boards .list[data="16"], .pcb-quote-page .js-boards .list[data="18"] { width:63px; padding:0; }
.pcb-quote-page .js-boards .list[data="20"] { width:105px; padding:0; }
.pcb-quote-page .material-tips { margin:0; }
.pcb-quote-page .pcb-material-types button { height:30px; padding:0 16px; font-size:14px; border-color:#d9d9d9; }
.pcb-quote-page .pcb-material-types button[aria-pressed="true"] { border-color:#00863e; }
.pcb-quote-page .order-item .item-right.pcb_thickness { gap:13px 12px; align-items:center; }
.pcb-quote-page .order-item .item-right.pcb_thickness > .list { flex-basis:52px; min-width:52px; width:52px; margin:0; padding:0; }
.pcb-quote-page .js-line-width > .list { width:76px; padding:0; }
.pcb-quote-page .js-line-width > .list[data="6/6mil"] { width:93px; }
.pcb-quote-page .js-min-hole > .list { width:87px; padding:0; }
.pcb-quote-page .js-min-hole > .list[data="0.3"] { width:99px; }
.pcb-quote-page .color-box .list, .pcb-quote-page .item-right.js-character-color > .list { padding:0 12px; }
.pcb-quote-page .color-box .list i[class=""], .pcb-quote-page .js-character-color .list i[class=""] { display:none; }
.pcb-quote-page .color-box .list[data="无"], .pcb-quote-page .js-character-color .list[data="无"] { min-width:46px; width:46px; padding:0; }
.pcb-quote-page .js-gold-finger .list[data="Yes"] { min-width:46px; width:46px; padding:0; }
.pcb-quote-page .js-gold-finger .list[data="No"] { min-width:60px; width:60px; padding:0; }
.pcb-quote-page .pcb-ink-download { margin-bottom:5px; }
.fpc-quote-page .item-right:has(.list) { gap:14px 0; }
.smt-quote-page .order-item .item-right { column-gap:12px; }
.smt-quote-page .order-item .item-right:has(> label), .smt-quote-page .the-smt-area .orders-right .order-type-row.multiple .smt-pad-count { column-gap:0; }

.pcb-quote-page .js-welding-color .list[data="绿色"], .pcb-quote-page .js-welding-color .list[data="红色"], .pcb-quote-page .js-welding-color .list[data="黄色"], .pcb-quote-page .js-welding-color .list[data="蓝色"], .pcb-quote-page .js-welding-color .list[data="白色"], .pcb-quote-page .js-welding-color .list[data="紫色"], .pcb-quote-page .js-welding-color .list[data="黑色"], .pcb-quote-page .item-right.js-character-color > .list:not([data="无"]) { width:79px; min-width:79px; }
.pcb-quote-page .js-welding-color .list[data="哑光黑"], .pcb-quote-page .js-welding-color .list[data="哑光绿"] { width:93px; }
.pcb-quote-page .js-welding-color .list[data="哑绿(PSR-400 SN10)"] { width:195px; }
.pcb-quote-page .js-welding-color .list[data="蓝油(松田PSM900 EB-50A)"] { width:243px; }
.pcb-quote-page .js-welding-color .list[data="哑蓝(容大H-8100BL3)"] { width:209px; }
.pcb-quote-page .js-welding-color .list[data="白油(美开美LE600 XZ)"] { width:211px; }
.pcb-quote-page .js-welding-color .list[data="白油(太阳WT03)"], .pcb-quote-page .js-welding-color .list[data="白油(积水B2-R802)"], .pcb-quote-page .js-welding-color .list[data="白油(積水B2-R603)"] { width:174px; }
.pcb-quote-page .js-welding-color .list[data="白油(蓝邦LB-1900W-16H-1)"] { width:257px; }
.pcb-quote-page .order-item .material-tips { margin-left:auto; }
.pcb-quote-page .pcb-quote-result .delivery-rules { margin:8px 0 0; }

/* The reference materials retain their measured widths; additional supported FR-4 options stay on a separate row. */
.pcb-quote-page .js-material .list[data="【无品牌要求】TG130"] { width:173px; }
.pcb-quote-page .js-material .list[data="建滔KB6160 TG130"] { width:153px; }
.pcb-quote-page .js-material .list[data="建滔KB6165F TG150"] { width:165px; }
.pcb-quote-page .js-material .list[data="建滔KB(无卤料) TG150"] { width:176px; }
.pcb-quote-page .js-material .list[data="建滔KB6167F TG170"] { width:161px; }
.pcb-quote-page .js-material .list[data="建滔KB(无卤料) TG170"] { width:172px; }
.pcb-quote-page .js-material .list[data="生益S1000H TG150"] { width:159px; }
.pcb-quote-page .js-material .list[data="生益S1000-2M TG170"] { width:176px; }
.pcb-quote-page .js-material .list[data="生益S1150(无卤料) TG150"] { width:195px; }
.pcb-quote-page .js-material .list[data="生益S1170G(无卤料) TG170"] { width:206px; }
.pcb-quote-page .js-material .list[data="国纪GF212 TG130"] { width:145px; }
.pcb-quote-page .order-item .material-tips { margin-left:0; }
.pcb-quote-page .js-material .pcb-extra-materials { display:none; flex:0 0 100%; }
.pcb-quote-page .js-material[data-material-group="fr4"] .pcb-extra-materials { display:flex; flex-wrap:wrap; }
.pcb-quote-page .pcb-extra-materials .list { margin:0 12px 0 0; }

/* Lanhu shared-border fields: 135px quantity group and 310px report name/model group. */
.pcb-quote-page .item-right .js-quantity, .fpc-quote-page .item-right .js-quantity { width:106px; }
.pcb-quote-page .js-single > .take-flag, .fpc-quote-page .fpc-quantity-unit { width:30px; margin-left:-1px; padding:0; font-size:14px; text-align:center; }
.quote-controls .multiple-report .input-list #QAReportProductName { width:135px !important; }
.quote-controls .multiple-report .input-list #QAReportProductNo { width:147px !important; }

/* PCB v14 / SMT v3 manufacturing: shared measured positions and exact design fills. */
.quote-controls .the-smt-area .orders-right .order-type-row.quote-manufacturing { background:#f8f8f8; margin:12px -30px 0; padding:16px 30px 24px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-order-item { display:flex; align-items:flex-start; margin:0; padding:0; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-order-item > .item-left { float:none; flex:0 0 130px; width:130px; margin:0; padding:0; line-height:20px; color:#404751; font-size:14px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-order-item > .item-right { display:block; float:none; flex:1; width:0; min-width:0; padding:0; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .smt-process-intro { margin:3px 0 13px; padding:0; color:#00863e; font:400 12px/15px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-options-box { display:flex; flex-wrap:wrap; align-items:flex-start; gap:13px 12px; width:100%; margin:0; padding:0; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-options-box .provided-box { float:none; flex:0 0 calc((100% - 36px)/4); width:calc((100% - 36px)/4); margin:0; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-options-box .quote-select-trigger,
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-options-box select { background:transparent; border-color:#d9d9d9; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .process-options-box .iterm { float:none; width:auto; min-width:0; height:30px; margin:0; padding:0 15px; font-size:14px; line-height:28px; background:transparent; overflow:visible; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report { margin-top:13px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .report-box { float:none; border:0; padding:0; background:transparent; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .report-box label { display:block; width:100%; height:auto; margin:0; padding:0; border:0; background:transparent; cursor:default; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .report-title { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:0; padding:0; color:#404751; font-size:12px; line-height:15px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .way-label { float:none; margin:0; color:#404751; font-size:12px; line-height:15px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .report-box .download,
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .report-box .download:hover { margin:0; color:#ed8f27; font-size:12px; line-height:15px; text-decoration:none; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .input-list { margin-top:13px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing .multiple-report .report-input { background:transparent; border-color:#d9d9d9; }

.quote-controls .the-smt-area .orders-right .quote-manufacturing > .order-item:not(.process-order-item) { padding-top:13px; padding-bottom:0; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing > .order-item > .item-left { width:130px; }
.quote-controls .the-smt-area .orders-right .quote-manufacturing > .order-item > .item-right { width:calc(100% - 130px); }
.quote-controls .the-smt-area .orders-right .quote-manufacturing textarea { height:103px; min-height:103px; border-color:#d9d9d9; }

/* PCB v14 / FPC v3 testing: two options in the first row, fixture testing in the second. */
.quote-controls .order-item .item-right.quote-test-layout { display:grid; grid-template-columns:298px minmax(0,1fr); gap:13px 0; margin:0; }
.quote-controls .order-item .quote-test-layout .radio-item { display:flex; align-items:center; flex-wrap:wrap; float:none; min-width:0; min-height:20px; margin:0; line-height:20px; font-size:14px; }
.quote-controls .order-item .quote-test-layout .radio-item:nth-child(3) { grid-column:1 / -1; }
.quote-controls .order-item .quote-test-layout .radio-item label { display:flex; align-items:center; min-height:20px; height:auto; margin:0; padding:0; border:0; background:transparent; color:#404751; font:400 14px/18px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; white-space:nowrap; }
.quote-controls .order-item .quote-test-layout label .quote-test-name { flex-shrink:0; margin:0; color:#404751; line-height:18px; transform:translateY(1px); }
.quote-controls .order-item .quote-test-layout label > span:not(.quote-test-name) { margin-left:4px; color:#a9b1bc; font-size:14px; line-height:18px; transform:translateY(1px); }
.quote-controls .order-item .quote-test-layout .quote-test-info { margin-left:6px; color:#0d7eff; font-size:14px; line-height:18px; transform:translateY(1px); }
.quote-controls .order-item .quote-test-layout input[type="radio"] { appearance:none; -webkit-appearance:none; position:relative; display:inline-block; flex:0 0 20px; width:20px; height:20px; min-width:20px; margin:0 9px 0 0; padding:0; border:1px solid #d9d9d9; border-radius:50%; background:#fff; cursor:pointer; }
.quote-controls .order-item .quote-test-layout input[type="radio"]:checked { border-color:#00863e; }
.quote-controls .order-item .quote-test-layout input[type="radio"]:checked::after { content:""; position:absolute; width:10px; height:10px; left:50%; top:50%; margin:-5px 0 0 -5px; border-radius:50%; background:#00863e; }
.quote-controls .order-item .quote-test-layout input[type="radio"]:disabled { opacity:.5; cursor:not-allowed; }
.quote-controls .order-item .quote-test-layout .radio-item:nth-child(3) label { width:100%; white-space:normal; align-items:flex-start; }
.quote-controls .order-item .quote-test-layout .radio-item:nth-child(3) label > span:not(.quote-test-name) { flex:1; min-width:0; }

.quote-controls .order-item .quote-test-layout .radio-item:nth-child(3) label > span { margin-top:1px; }
.quote-controls .order-item:has(> .quote-test-layout) > .item-left { line-height:20px; }
.quote-controls .order-item:has(> .quote-test-layout) .tips-box { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; margin:0 6px 0 0; }
.quote-controls .order-item:has(> .quote-test-layout) .tips-box > .iconfont { display:block; margin:0; line-height:20px; }

/* PCB v14 surface finish: measured option widths and one inline checkbox/help row. */
.pcb-quote-page .order-item .item-right.quote-surface-layout { gap:13px 12px; }
.pcb-quote-page .order-item .item-right.quote-surface-layout::after { display:none; }
.pcb-quote-page .order-item .quote-surface-layout > .list { flex-shrink:0; height:30px; min-width:0; margin:0; padding:0; white-space:nowrap; }
.pcb-quote-page .quote-surface-layout > .list[data="有铅喷锡"], .pcb-quote-page .quote-surface-layout > .list[data="无铅喷锡"], .pcb-quote-page .quote-surface-layout > .list[data="化镍钯金"] { width:88px; }
.pcb-quote-page .quote-surface-layout > .list[data="沉金"], .pcb-quote-page .quote-surface-layout > .list[data="裸铜"], .pcb-quote-page .quote-surface-layout > .list[data="沉银"], .pcb-quote-page .quote-surface-layout > .list[data="沉锡"] { width:60px; }
.pcb-quote-page .quote-surface-layout > .list[data="OSP"] { width:61px; }
.pcb-quote-page .quote-surface-layout > .list[data="电金"] { width:74px; }
.pcb-quote-page .quote-surface-layout > .list[data="无铅喷锡+选择性沉金"], .pcb-quote-page .quote-surface-layout > .list[data="无铅喷锡+选择性电金"] { width:169px; }
.pcb-quote-page .quote-surface-layout > .list[data="沉金+选择性OSP"], .pcb-quote-page .quote-surface-layout > .list[data="OSP+选择性电金"] { width:141px; }
.pcb-quote-page .quote-surface-layout > .list[data="沉金+镀金"] { width:99px; }
.pcb-quote-page .order-item .quote-surface-layout > .quote-surface-note { display:flex; align-items:center; flex:0 0 100%; float:none; width:100%; min-height:20px; margin:3px 0 0; padding:0; line-height:20px; }
.pcb-quote-page .order-item .quote-surface-note > label { display:inline-flex; align-items:center; float:none; width:auto; height:20px; margin:0; padding:0; border:0; background:transparent; color:#a9b1bc; font:400 14px/18px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; }
.pcb-quote-page .order-item .quote-surface-note > label > span { margin:0; color:#a9b1bc; font-size:14px; line-height:18px; }
.pcb-quote-page .order-item .quote-surface-note > label > input[type="checkbox"] { appearance:none; -webkit-appearance:none; position:relative; flex:0 0 20px; width:20px; height:20px; margin:0 11px 0 0; padding:0; border:1px solid #d9d9d9; border-radius:2px; background:#fff; cursor:pointer; }
.pcb-quote-page .order-item .quote-surface-note > label > input[type="checkbox"]:checked { border-color:#00863e; background:#00863e; }
.pcb-quote-page .order-item .quote-surface-note > label > input[type="checkbox"]:checked::after { content:""; position:absolute; top:3px; left:6px; width:5px; height:9px; border-right:1px solid #fff; border-bottom:1px solid #fff; transform:rotate(45deg); }
.pcb-quote-page .order-item .quote-surface-note > .quote-test-info { display:inline-block; margin:0 0 0 5px; padding:0; color:#0d7eff; font:400 14px/18px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; white-space:nowrap; }

/* PCB v14 trace/hole diagrams: no duplicate units, 16px/18px artwork gaps. */
.pcb-quote-page .order-item .item-right.quote-microgeometry { display:flex; align-items:center; gap:13px 12px; min-height:32px; }
.pcb-quote-page .order-item .item-right.quote-microgeometry::after { display:none; }
.pcb-quote-page .order-item .quote-microgeometry > .list { flex-shrink:0; height:30px; margin:0; padding:0; font-size:14px; line-height:28px; white-space:nowrap; }
.pcb-quote-page .order-item .quote-microgeometry > img { display:block; flex-shrink:0; height:32px; margin:0; }
.pcb-quote-page .order-item .js-line-width.quote-microgeometry > img { width:80px; margin-left:4px; transform:translateY(-2px); }
.pcb-quote-page .order-item .js-min-hole.quote-microgeometry > img { width:36px; margin-left:6px; }

/* PCB v14 copper: fourteen presets, joined purchase-number fields, then the artwork. */
.pcb-quote-page .order-item .item-right.quote-copper-layout { display:flex; flex-wrap:wrap; align-items:center; gap:13px 12px; }
.pcb-quote-page .order-item .item-right.quote-copper-layout::after { display:none; }
.pcb-quote-page .order-item .quote-copper-layout > .list { flex-shrink:0; width:57px; min-width:0; height:30px; margin:0; padding:0; color:#404751; font:400 14px/28px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; white-space:nowrap; }
.pcb-quote-page .quote-copper-layout > .list[data="0.5"], .pcb-quote-page .quote-copper-layout > .list[data="1.5"] { width:68px; }
.pcb-quote-page .quote-copper-layout > .list[data="10"], .pcb-quote-page .quote-copper-layout > .list[data="11"], .pcb-quote-page .quote-copper-layout > .list[data="12"] { width:65px; }
.pcb-quote-page .order-item .quote-copper-layout > .add-order { display:flex; align-items:center; flex:0 0 256px; float:none; width:256px; height:30px; margin:0 0 0 22px; padding:0; }
.pcb-quote-page .order-item .quote-copper-layout .add-order > label { display:block; flex:0 0 127px; width:127px; height:30px; margin:0; padding:0; border:1px solid #d9d9d9; background:#f8f8f8; color:#404751; text-align:center; font:400 14px/28px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; white-space:nowrap; }
.pcb-quote-page .order-item .quote-copper-layout .add-order > input { display:block; float:none; flex:0 0 130px; width:130px; height:30px; margin:0 0 0 -1px; padding:0 10px; border:1px solid #d9d9d9; border-radius:0; background:#fff; color:#404751; text-indent:0; font:400 14px/28px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; }
.pcb-quote-page .order-item .quote-copper-layout > img { display:block; flex-shrink:0; align-self:flex-end; width:70px; height:28px; margin:0 0 0 7px; }

/* Surface-finish dialog text must not inherit the legacy .orange color-swatch box. */
#pane_surface_chenjin .surface-Finish-body .list-wrap { display:grid; grid-template-columns:1fr 1.6fr 1fr; gap:8px; margin:0; padding:0; overflow:visible; }
#pane_surface_chenjin .surface-Finish-body .list-wrap > li { display:flex; align-items:center; justify-content:center; gap:2px; float:none; min-width:0; height:30px; margin:0; padding:0 8px; border:1px solid #d9d9d9; color:#404751; line-height:28px; white-space:nowrap; }
#pane_surface_chenjin .surface-Finish-body .list-wrap > li.active { height:30px; border:1px solid #00863e; background:#f7fefa; line-height:28px; }
#pane_surface_chenjin .quote-surface-recommend { display:inline; float:none; width:auto; height:auto; margin:0; padding:0; background:transparent; color:#ed8f27; font:inherit; white-space:nowrap; }
.quote-surface-guidance { display:block; float:none; width:auto; height:auto; margin:0; padding:0 20px 12px; background:transparent; color:#ed8f27; font:400 14px/22px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; white-space:normal; overflow-wrap:anywhere; }

/* All count steppers use the same 22px arrow artwork as the dimension fields. */
.quote-controls .quote-numeric-control { display:inline-block; float:left; flex:0 0 auto; max-width:100%; font:400 14px/21px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; }
.quote-controls .order-box .quote-numeric-control > input { appearance:textfield; -moz-appearance:textfield; float:none; width:100% !important; min-width:0; height:28px !important; margin:0 !important; padding:0 28px 0 10px; border:0 !important; border-radius:0; background:transparent; box-shadow:none; color:#404751; text-indent:0; font:inherit; }
.quote-controls .quote-numeric-control > input::-webkit-inner-spin-button, .quote-controls .quote-numeric-control > input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.quote-controls .quote-numeric-control:has(> input:disabled) { background:#f5f6f7; }
.smt-quote-page .the-smt-area .orders-right .order-type-row.multiple .smt-pad-count .quote-numeric-control > input { width:100% !important; }

/* Keep the two pad-count fields and their addition separator in DOM order. */
.quote-controls .order-box .order-item .item-right.quote-smt-pad-count { display:flex; align-items:center; flex-wrap:nowrap; gap:0; }
.quote-controls .order-item .quote-smt-pad-count::after { display:none; }
.quote-controls .order-item .quote-smt-pad-count > .quote-numeric-control { float:none; flex:0 0 98px; width:98px; }
.quote-controls .order-item .quote-smt-pad-count > .quote-smt-pad-separator { display:block; flex:0 0 24px; width:24px; height:30px; padding:0; margin:0; border-top:1px solid #d9d9d9; border-bottom:1px solid #d9d9d9; background:#f1f2f4; color:#606875; font:400 15px/28px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; text-align:center; }

/* Lanhu required markers: literal star, 16px YaHei UI, shared text baseline. */
.quote-controls .order-item .item-left { position:relative; }
.quote-controls .order-item .item-left > .flag { position:absolute; top:50%; left:-8px; display:block; width:8px; height:20px; margin:0; padding:0; transform:translateY(-50%); color:#ed8f27; font:400 16px/20px "Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif; text-align:left; text-indent:0; }
.quote-controls .order-item .item-left > .flag::before { content:none; }

/* Keep each selection label on one line; its card can wrap in the option row. */
.quote-controls .list[forid][fortype], .quote-controls .iterm[forid][fortype],
.quote-controls .pcb-material-types button, .quote-controls .pcb-rigid-flex button[data-value] {
    white-space:nowrap; word-break:normal; overflow-wrap:normal; flex-shrink:0; min-width:max-content;
}
/* Reference material widths are a baseline, rather than a limit on longer names. */
.quote-controls.pcb-quote-page .order-item .item-right.js-material > .list[forid][fortype] {
    flex:0 0 auto; min-width:max-content;
}
