
#stock-specs>.viz-controls{margin-bottom:18px}#stock-specs .refine-product{--brand:#265dc0;--ink:#182e4b;--sub:#66768b;--line:#e0e7f0;--paper:#f3f6fa;--surface:#fff;--soft:#eaf0fa;--radius:9px;--space:1;color-scheme:light;font:14px/1.55 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}#stock-specs .refine-product *{box-sizing:border-box}#stock-specs [hidden]{display:none!important}#stock-specs .refine-product h1,#stock-specs .refine-product h2,#stock-specs .refine-product h3,#stock-specs .refine-product p{margin:0}#stock-specs .refine-product button,#stock-specs .refine-product input,#stock-specs .refine-product select,#stock-specs .refine-product textarea{font:inherit}#stock-specs .refine-product button{cursor:pointer}#stock-specs .refine-product svg{width:16px;height:16px;flex-shrink:0;vertical-align:middle}#stock-specs .refine-product button:disabled{opacity:.5;cursor:default}#stock-specs .button,#stock-specs .primary,#stock-specs .text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;background:var(--surface);border:1px solid var(--line);border-radius:calc(var(--radius)*.7);font-size:12px;color:var(--ink);text-decoration:none;white-space:nowrap}#stock-specs .primary{background:var(--brand);border-color:var(--brand);color:#fff}#stock-specs .text-button{border:0;background:none;padding:3px 0;color:var(--brand);white-space:normal;text-align:left}#stock-specs .soft-button{background:var(--soft);border-color:#d6e3fa;color:var(--brand)}#stock-specs .muted{color:var(--sub)}#stock-specs .small{font-size:12px}#stock-specs .badge{font-size:11px;display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;background:var(--soft);color:var(--brand);white-space:nowrap}#stock-specs .badge-neutral{background:#eef1f5;color:#6b7b90}#stock-specs .badge-warning{background:#fff3da;color:#936318}#stock-specs .topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 28px;border-bottom:1px solid var(--line);background:var(--surface)}#stock-specs .wordmark{font-weight:800;font-size:22px;letter-spacing:2.5px}#stock-specs .identity{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}#stock-specs .identity>span:first-child{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--brand);color:#fff;border-radius:7px}#stock-specs .top-actions{display:flex;align-items:center;gap:12px}#stock-specs .page-body{padding:28px}#stock-specs .page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}#stock-specs .page-heading h1{font-size:27px;letter-spacing:-.6px;font-weight:650;margin-bottom:6px}#stock-specs .page-heading p{font-size:12px;color:var(--sub);line-height:1.85;max-width:600px}#stock-specs .heading-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}#stock-specs .catalog-note{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sub);margin-top:18px}#stock-specs .toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px}#stock-specs .search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:10px 12px;width:300px;max-width:100%;color:var(--sub)}#stock-specs .search input{border:0;outline:none;color:var(--ink);background:none;width:100%;font-size:12px}#stock-specs .category-pills{display:flex;gap:8px;flex-wrap:wrap}#stock-specs .category-pills button{border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:8px 13px;font-size:12px;color:var(--sub)}#stock-specs .category-pills button[aria-pressed=true]{background:var(--soft);border-color:#c7d8f7;color:var(--brand)}#stock-specs .translation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}#stock-specs .review-check{display:flex;gap:8px;align-items:center;margin-top:18px;font-size:12px;color:var(--sub)}#stock-specs .catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}#stock-specs .product-card{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);overflow:hidden}#stock-specs .product-picture{height:185px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden;position:relative;border-bottom:1px solid var(--line)}#stock-specs .product-picture img{object-fit:contain;width:80%;height:80%}#stock-specs .product-picture.bike img{position:absolute;width:auto;height:185%;max-width:none;top:-38.5%;left:50%;transform:translateX(-50%);clip-path:inset(21% 0 25% 0)}#stock-specs .product-picture .media-count{position:absolute;right:10px;bottom:10px;background:#f3f6fbea;font-size:11px;border-radius:5px;padding:4px 7px;color:#526278;display:flex;align-items:center;gap:5px}#stock-specs .product-copy{padding:18px}#stock-specs .product-copy>small{font-size:11px;color:var(--sub)}#stock-specs .product-copy h2{font-size:17px;font-weight:600;margin:6px 0 7px}#stock-specs .product-copy p{font-size:12px;line-height:1.8;color:var(--sub);min-height:44px}#stock-specs .card-actions{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:19px}#stock-specs .card-actions .primary,#stock-specs .card-actions .button{padding:9px 11px;font-size:11px}#stock-specs .catalog-footer{margin-top:25px;padding-top:19px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:center;font-size:12px;color:var(--sub)}#stock-specs .empty{padding:65px 20px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}#stock-specs .empty h2{font-size:20px;margin:10px 0}#stock-specs .empty p{font-size:13px;color:var(--sub);margin-bottom:24px}#stock-specs .detail-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:32px;margin-top:22px}#stock-specs .large-picture{background:#fff;overflow:hidden;position:relative;aspect-ratio:1.65;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;justify-content:center}#stock-specs .large-picture img{max-width:85%;max-height:85%;object-fit:contain}#stock-specs .large-picture.bike img{position:absolute;max-width:none;max-height:none;width:100%;height:auto;top:-28%;clip-path:inset(21% 0 25% 0)}#stock-specs .media-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}#stock-specs .media-thumb{display:flex;align-items:center;justify-content:center;gap:8px;height:64px;min-width:86px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:11px;color:var(--sub);padding:0 12px}#stock-specs .detail-copy{padding:6px 0}#stock-specs .detail-copy h1{font-size:29px;font-weight:650;line-height:1.4;margin:9px 0 15px}#stock-specs .detail-copy>p{color:var(--sub);font-size:13px;line-height:1.9;margin-bottom:22px}#stock-specs .field-label{display:block;font-size:12px;color:var(--sub);margin-bottom:9px}#stock-specs .option-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}#stock-specs .option-row button{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:10px 14px;font-size:12px}#stock-specs .option-row button[aria-pressed=true]{border-color:var(--brand);background:var(--soft);color:var(--brand)}#stock-specs .detail-spec{margin-top:20px;border-top:1px solid var(--line);padding-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px}#stock-specs .detail-spec small{display:block;color:var(--sub);margin-bottom:4px;font-size:11px}#stock-specs .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}#stock-specs .panel-title{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line);gap:15px}#stock-specs .panel-title h2{font-size:15px;font-weight:600}#stock-specs .panel-body{padding:20px}#stock-specs .shortlist-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:21px;align-items:start}#stock-specs .selection-item{padding:20px;border-bottom:1px solid var(--line)}#stock-specs .selection-item:last-child{border-bottom:0}#stock-specs .selection-row{display:flex;align-items:center;gap:13px}#stock-specs .thumb{width:64px;height:60px;border:1px solid var(--line);border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;position:relative}#stock-specs .thumb img{width:85%;height:85%;object-fit:contain}#stock-specs .thumb.bike img{position:absolute;width:80px;height:80px;top:-9px;clip-path:inset(21% 0 25% 0)}#stock-specs .selection-info{flex:1;min-width:0}#stock-specs .selection-info h3{font-size:14px;font-weight:600;margin-bottom:4px}#stock-specs .selection-info small{font-size:11px;color:var(--sub)}#stock-specs .selection-fields{display:grid;grid-template-columns:110px 1fr;gap:14px;margin-top:17px}#stock-specs .selection-fields label,#stock-specs .form-field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--sub)}#stock-specs .refine-product input:not([type=checkbox]),#stock-specs .refine-product textarea,#stock-specs .refine-product select{border:1px solid #d6e0ed;border-radius:6px;padding:10px 11px;background:#fff;color:var(--ink);width:100%;font-size:13px}#stock-specs .refine-product textarea{resize:vertical;min-height:80px}#stock-specs .shortlist-summary{padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}#stock-specs .shortlist-summary h2{font-size:17px;margin-bottom:15px}#stock-specs .shortlist-summary p{font-size:12px;line-height:1.9;color:var(--sub);margin:12px 0 20px}#stock-specs .shortlist-summary .primary{width:100%}#stock-specs .shortlist-summary .summary-line{display:flex;justify-content:space-between;font-size:13px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:18px}#stock-specs .shortlist-summary .summary-line strong{font-weight:600}#stock-specs .admin-shell{display:grid;grid-template-columns:172px minmax(0,1fr);min-height:740px}#stock-specs .sidebar{background:#172a45;padding:24px 13px;color:#aebed4;display:flex;flex-direction:column;gap:33px}#stock-specs .sidebar .identity{color:#fff;padding:0 8px;font-size:15px}#stock-specs .sidebar nav{display:flex;flex-direction:column;gap:8px}#stock-specs .sidebar nav button{display:flex;align-items:center;gap:10px;background:none;border:0;padding:11px 12px;text-align:left;color:inherit;border-radius:6px;font-size:12px}#stock-specs .sidebar nav button.active{background:#304969;color:#fff}#stock-specs .sidebar-account{margin-top:auto;font-size:11px;padding:16px 9px 0;border-top:1px solid #344962}#stock-specs .admin-main{min-width:0}#stock-specs .admin-main>.topbar{padding:17px 24px;font-size:12px}#stock-specs .admin-main .page-body{padding:25px 24px}#stock-specs .metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:22px}#stock-specs .metric{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}#stock-specs .metric label{font-size:11px;color:var(--sub)}#stock-specs .metric strong{display:block;font-size:29px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:8px}#stock-specs .metric strong.pending{font-size:18px;line-height:1.5}#stock-specs .metric small{font-size:11px;color:var(--sub)}#stock-specs .table-wrap{overflow:auto}#stock-specs table{width:100%;border-collapse:collapse;text-align:left;min-width:590px}#stock-specs th{background:#f7f9fc;color:var(--sub);font-size:11px;font-weight:400;padding:11px 16px;border-bottom:1px solid var(--line)}#stock-specs td{padding:calc(15px * var(--space)) 16px;font-size:12px;border-bottom:1px solid var(--line);white-space:nowrap}#stock-specs tr:last-child td{border-bottom:0}#stock-specs .name-cell{display:flex;gap:10px;align-items:center}#stock-specs .name-cell .thumb{width:43px;height:43px}#stock-specs .name-cell small{font-size:11px;color:var(--sub);display:block;margin-top:4px}#stock-specs .qty{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}#stock-specs .row-actions{display:flex;gap:13px}#stock-specs .info-line{font-size:12px;color:var(--sub);display:flex;gap:8px;align-items:flex-start;margin-top:18px;line-height:1.8}#stock-specs .info-line svg{margin-top:3px}#stock-specs .editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:19px;align-items:start}#stock-specs .editor-grid>div{display:flex;flex-direction:column;gap:18px}#stock-specs .field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}#stock-specs .span-two{grid-column:1/-1}#stock-specs .language-tabs{display:flex;gap:16px;font-size:12px;margin-bottom:20px;color:var(--sub)}#stock-specs .language-tabs b{font-weight:500;color:var(--brand)}#stock-specs .upload-box{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#f6f9fe;border:1px dashed #bdd0ed;border-radius:7px;padding:25px 12px;text-align:center;color:var(--sub);font-size:12px}#stock-specs .upload-box>svg{width:24px;height:24px;color:var(--brand)}#stock-specs .upload-box small{font-size:11px}#stock-specs .upload-box input{max-width:100%;font-size:11px}#stock-specs .media-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}#stock-specs .publish-info{padding:18px}#stock-specs .publish-info p{font-size:12px;color:var(--sub);line-height:1.9;margin-bottom:15px}#stock-specs .publish-info .primary{width:100%}#stock-specs .publish-check{display:flex;align-items:center;gap:7px;font-size:12px;margin-bottom:12px}#stock-specs .publish-check svg{color:var(--brand)}#stock-specs .overlay{position:absolute;inset:0;z-index:10;background:#17305538;display:flex;align-items:flex-start;justify-content:center;padding:45px 20px;backdrop-filter:blur(3px)}#stock-specs #refine-stage{position:relative;min-height:680px}#stock-specs .dialog{width:520px;max-width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 18px 70px #142d4a22;overflow:hidden}#stock-specs .dialog-body{padding:23px;display:flex;flex-direction:column;gap:17px}#stock-specs .dialog-body p{font-size:12px;color:var(--sub);line-height:1.9}#stock-specs .dialog-foot{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:17px 23px;border-top:1px solid var(--line)}#stock-specs .dialog .summary-text{min-height:240px;font-family:inherit;font-size:13px;line-height:1.8}#stock-specs .notice{padding:11px 14px;border:1px solid #cdddf5;border-radius:7px;background:#edf4ff;color:#25528d;font-size:12px;line-height:1.8}#stock-specs .error{color:#a34431;background:#fff1ea;border-color:#f2ccbf}#stock-specs .login-wrap{padding:55px 20px;display:flex;justify-content:center;min-height:680px}#stock-specs .login-panel{width:370px;max-width:100%;padding:30px;background:var(--surface);border:1px solid var(--line);border-radius:12px;height:max-content}#stock-specs .login-panel h1{font-size:26px;margin:27px 0 7px}#stock-specs .login-panel>p{font-size:12px;color:var(--sub);line-height:1.8;margin-bottom:26px}#stock-specs .login-panel .form-field{margin:16px 0}#stock-specs .login-panel>.primary{width:100%;margin-top:10px}#stock-specs .login-panel small{display:block;font-size:11px;color:var(--sub);margin-top:20px;text-align:center}#stock-specs .refine-product .search input{border:0;padding:0;background:none;border-radius:0;font-size:12px}#stock-specs #refine-status{margin-top:12px;line-height:1.8}@media(max-width:850px){#stock-specs .admin-shell{grid-template-columns:145px minmax(0,1fr)}#stock-specs .page-body,#stock-specs .admin-main .page-body{padding:22px 18px}#stock-specs .catalog-grid{gap:12px}#stock-specs .product-picture{height:150px}#stock-specs .card-actions{align-items:flex-start;flex-direction:column}#stock-specs .editor-grid{grid-template-columns:1fr}#stock-specs .shortlist-layout{grid-template-columns:minmax(0,1fr) 230px}}@media(max-width:650px){#stock-specs .topbar{padding:16px}#stock-specs .top-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}#stock-specs .top-actions>.badge{display:none}#stock-specs .page-heading{flex-direction:column;gap:15px}#stock-specs .page-heading h1{font-size:24px}#stock-specs .catalog-grid{grid-template-columns:1fr}#stock-specs .product-card{display:grid;grid-template-columns:105px minmax(0,1fr)}#stock-specs .product-picture{height:100%;min-height:195px;border:0;border-right:1px solid var(--line)}#stock-specs .product-picture.bike img{width:150px;height:auto;top:12%;left:-22px;transform:none}#stock-specs .product-picture .media-count{left:5px;right:auto;bottom:9px}#stock-specs .product-copy{padding:16px}#stock-specs .product-copy h2{font-size:15px}#stock-specs .product-copy p{min-height:0}#stock-specs .card-actions{gap:10px;margin-top:14px}#stock-specs .detail-grid,#stock-specs .shortlist-layout{grid-template-columns:1fr}#stock-specs .detail-copy h1{font-size:25px}#stock-specs .catalog-footer{flex-direction:column;align-items:flex-start}#stock-specs .search{width:100%}#stock-specs .admin-shell{display:block}#stock-specs .sidebar{padding:17px 16px;gap:15px}#stock-specs .sidebar .identity{padding:0}#stock-specs .sidebar nav{flex-direction:row;flex-wrap:wrap;gap:5px}#stock-specs .sidebar nav button{padding:8px;font-size:11px}#stock-specs .sidebar-account{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding:6px 8px 0}#stock-specs .admin-main>.topbar{padding:14px 17px}#stock-specs .metrics{gap:8px}#stock-specs .metric{padding:12px}#stock-specs .metric strong{font-size:25px}#stock-specs .field-grid{grid-template-columns:1fr}#stock-specs .span-two{grid-column:auto}#stock-specs .selection-item{padding:16px}#stock-specs .selection-fields{grid-template-columns:1fr}#stock-specs .selection-row{gap:10px}#stock-specs .selection-row .text-button{font-size:11px}#stock-specs .wordmark{font-size:19px}#stock-specs .overlay{padding:20px 10px}#stock-specs .dialog-body{padding:19px}#stock-specs .refine-product input:not([type=checkbox]),#stock-specs .refine-product select,#stock-specs .refine-product textarea{font-size:16px}}@media(pointer:coarse){#stock-specs .refine-product button{min-height:44px}}

#stock-specs .specification-panel{margin-top:26px}#stock-specs .editor-grid .specification-panel{margin-top:0}#stock-specs .spec-caption{padding:13px 20px;color:var(--sub);font-size:12px;background:#f8faff;border-bottom:1px solid var(--line)}#stock-specs .spec-table{min-width:0;table-layout:fixed}#stock-specs .spec-table td,#stock-specs .spec-table th{white-space:normal;overflow-wrap:anywhere;vertical-align:top;line-height:1.9}#stock-specs .spec-table th:first-child,#stock-specs .spec-table td:first-child{width:30%}#stock-specs .spec-flags{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}#stock-specs .spec-flags span{color:#875e22;background:#fff4df;font-size:11px;padding:3px 7px;border-radius:4px}#stock-specs .spec-editor{padding:0 20px}#stock-specs .spec-pair{padding:20px 0;border-bottom:1px solid var(--line)}#stock-specs .spec-pair:last-child{border-bottom:0}#stock-specs .spec-pair-title{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;font-weight:500}#stock-specs .spec-pair-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:13px}#stock-specs .spec-pair textarea{min-height:75px;line-height:1.8}#stock-specs .source-details{padding:17px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--sub)}#stock-specs .source-details summary{cursor:pointer;color:var(--brand)}#stock-specs .original-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px}#stock-specs .original-columns h3{font-size:13px;margin-bottom:13px;font-weight:500;color:var(--ink)}#stock-specs .original-columns p{display:flex;flex-direction:column;gap:5px;line-height:1.8;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}#stock-specs .original-columns b{font-weight:500;color:var(--ink)}#stock-specs .workflow{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:19px;margin-bottom:19px;border-bottom:1px solid var(--line);font-size:11px;color:var(--sub)}#stock-specs .workflow span{padding:6px 8px;background:#f1f4f8;border-radius:5px}#stock-specs .workflow .current{background:var(--soft);color:var(--brand)}@media(max-width:650px){#stock-specs .spec-pair-fields,#stock-specs .original-columns{grid-template-columns:1fr}#stock-specs .spec-table td,#stock-specs .spec-table th{padding:12px}#stock-specs .spec-table th:first-child,#stock-specs .spec-table td:first-child{width:32%}}
#stock-specs .specification-panel{margin-top:24px}#stock-specs .spec-pair{margin-bottom:17px}#stock-specs .card-actions .primary{white-space:normal}#stock-specs .media-list .row-actions{flex-wrap:wrap}#stock-specs .media-list .row-actions button{font-size:11px;padding:5px}#stock-specs .product-picture img{object-fit:contain}#stock-specs .large-picture img{max-width:95%;max-height:95%}
#stock-specs .basic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#stock-specs .optional-details>summary{padding:18px 20px;color:var(--brand);font-size:13px;cursor:pointer}#stock-specs .optional-details{background:white}#stock-specs .form-field small{font-size:11px;line-height:1.8;color:var(--sub)}@media(max-width:800px){#stock-specs .basic-grid{grid-template-columns:1fr}}

/* Phone-first customer browsing and upload feedback. */
#stock-specs .upload-item{display:grid;gap:7px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}
#stock-specs .upload-item strong{color:var(--ink)}#stock-specs .upload-item span,#stock-specs .upload-item small{color:var(--sub)}#stock-specs .upload-item progress{width:100%;height:12px;accent-color:var(--brand)}#stock-specs .upload-error{color:#a34431;line-height:1.8}
#stock-specs #upload-progress>.primary{margin-top:14px;white-space:normal}
#stock-specs #refine-stage>.topbar{position:sticky;top:0;z-index:5;box-shadow:0 3px 14px #182e4b08}
#stock-specs .product-copy h2,#stock-specs .detail-copy h1,#stock-specs .selection-info h3{overflow-wrap:anywhere}
#stock-specs video{max-width:100%;object-fit:contain;max-height:75svh}
@media(max-width:650px){
 #stock-specs .topbar{flex-wrap:wrap;gap:12px}#stock-specs .top-actions{min-width:0;flex:1}
 #stock-specs .refine-product button,#stock-specs .button{min-height:44px}
 #stock-specs .page-body,#stock-specs .admin-main .page-body{padding:20px 16px 32px}
 #stock-specs .product-card{display:block}#stock-specs .product-picture{height:230px;min-height:0;border-right:0;border-bottom:1px solid var(--line)}
 #stock-specs .product-picture img{width:92%;height:92%}#stock-specs .product-copy{padding:18px}#stock-specs .product-copy h2{font-size:20px}
 #stock-specs .product-copy p{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 #stock-specs .card-actions{flex-direction:row;align-items:stretch}#stock-specs .card-actions button{flex:1;white-space:normal;font-size:13px}
 #stock-specs .detail-grid{gap:20px}#stock-specs .detail-copy>.primary{width:100%;font-size:15px}
 #stock-specs .detail-copy>p{font-size:15px}#stock-specs .large-picture{aspect-ratio:4/3}
 #stock-specs .heading-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}#stock-specs .heading-actions>.primary{grid-column:1/-1}
 #stock-specs .panel-body{padding:16px}#stock-specs .panel-title{padding:16px;gap:10px}#stock-specs .panel-title h2{font-size:15px}
 #stock-specs .table-wrap table{min-width:0}#stock-specs .table-wrap thead{display:none}#stock-specs .table-wrap tbody{display:grid;gap:14px;padding:14px}
 #stock-specs .table-wrap tr{display:flex;flex-wrap:wrap;padding:12px;border:1px solid var(--line);border-radius:8px;gap:10px}
 #stock-specs .table-wrap td{border:0;padding:0;white-space:normal;flex:1 1 40%;overflow-wrap:anywhere}
 #stock-specs .table-wrap td:first-child,#stock-specs .table-wrap td:last-child{flex-basis:100%}#stock-specs .row-actions{gap:10px;flex-wrap:wrap}
 #stock-specs .table-wrap td:nth-child(2)::before{content:'库存（台） ';color:var(--sub);font-size:12px}
 #stock-specs .selection-row .thumb{width:56px;height:56px}#stock-specs #summary{font-size:16px;line-height:1.7}
}
@media(max-width:360px){#stock-specs .topbar>.wordmark{width:100%}#stock-specs .top-actions{justify-content:space-between}}

#stock-specs .color-editor{border-bottom:1px solid var(--line)}#stock-specs .color-editor h2{font-size:16px;margin-bottom:10px}#stock-specs .color-choices{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}#stock-specs .color-choice{display:flex;gap:8px;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:7px;cursor:pointer;background:white;font-size:14px;color:var(--ink)}#stock-specs .color-choice:has(input:checked){background:var(--soft);border-color:var(--brand)}#stock-specs .color-choice input{accent-color:var(--brand);width:18px;height:18px;margin:0}#stock-specs .custom-color{display:flex;gap:10px;align-items:flex-end}#stock-specs .custom-color .form-field{flex:1;min-width:0}#stock-specs .color-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;padding:14px 0;border-bottom:1px solid var(--line)}#stock-specs .color-row:last-child{border-bottom:0}#stock-specs .product-colors{margin:20px 0 24px}#stock-specs .product-colors h2{font-size:14px;margin-bottom:10px}#stock-specs .color-tags{display:flex;gap:8px;flex-wrap:wrap}#stock-specs .color-tags span{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:7px 12px;font-size:14px;overflow-wrap:anywhere}#stock-specs .available-colors{display:block;margin-top:10px;color:var(--sub)}
@media(max-width:650px){#stock-specs .color-row{grid-template-columns:1fr 1fr}#stock-specs .color-row button{grid-column:1/-1;justify-self:end}#stock-specs .color-choice{flex:1 1 25%;justify-content:center}#stock-specs .custom-color button{flex-shrink:0}}

#stock-specs .color-row{grid-template-columns:1fr 1fr}#stock-specs .color-quantity{min-width:0}#stock-specs .color-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center}#stock-specs .color-row-actions button{font-size:12px;white-space:normal}
#stock-specs .media-tile{width:145px;border:1px solid var(--line);padding:9px;border-radius:7px;background:white}#stock-specs .media-tile>img,#stock-specs .media-tile>video{width:125px;height:100px;object-fit:contain}#stock-specs .media-tile>p{overflow-wrap:anywhere}
#stock-specs .stock-dialog{border:1px solid var(--line);border-radius:12px;width:430px;max-width:calc(100vw - 28px);padding:24px;color:var(--ink);background:white}#stock-specs .stock-dialog::backdrop{background:#172a4560}#stock-specs .stock-dialog form{display:grid;gap:18px}#stock-specs .stock-dialog h2{font-size:18px}#stock-specs .stock-dialog .row-actions{justify-content:flex-end}
#stock-specs .product-gallery h2,#stock-specs .product-videos h2{font-size:16px;margin-bottom:14px}#stock-specs .product-videos{margin-top:26px}#stock-specs .product-gallery .media-list img{width:95px;height:75px;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:white}#stock-specs .video-gallery{display:grid;gap:18px}#stock-specs .video-gallery video{width:100%;max-height:70svh;background:#10151d;border-radius:8px}
@media(max-width:650px){#stock-specs .color-row-actions button{grid-column:auto;min-height:44px}#stock-specs .color-row-actions{justify-content:flex-start}#stock-specs .stock-dialog{padding:20px}}

#stock-specs .stock-dialog{max-height:calc(100dvh - 30px);overflow:auto}#stock-specs .movement-direction{padding:0;border:0;margin:0;display:flex;gap:10px}#stock-specs .movement-direction legend{font-size:12px;color:var(--sub);margin-bottom:8px}#stock-specs .movement-direction label{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;min-height:46px;flex:1;border:1px solid var(--line);border-radius:7px;cursor:pointer}#stock-specs .movement-direction label:has(input:checked){border-color:var(--brand);background:var(--soft);color:var(--brand)}#stock-specs .refine-product .movement-direction input{width:18px!important;height:18px;padding:0;margin:0;accent-color:var(--brand)}#stock-specs .movement-history{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}#stock-specs .movement-history h3{font-size:15px;margin-bottom:10px}#stock-specs .movement-record{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#stock-specs .movement-record strong{font-size:14px}#stock-specs .movement-record small,#stock-specs .movement-record p{font-size:12px;color:var(--sub);line-height:1.7}

#stock-specs .allocation-editor{display:grid;gap:14px;padding:16px;border:1px solid var(--line);background:#f7faff;border-radius:8px}#stock-specs .allocation-editor h3{font-size:16px}#stock-specs .allocation-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}#stock-specs .allocation-row .allocation-pt{grid-column:1/-1}#stock-specs .allocation-editor>button{white-space:normal;min-height:44px}#stock-specs .allocation-row .button{grid-column:1/-1;justify-self:end}#stock-specs .allocation-editor .notice{margin:0}

#stock-specs .selection-dialog{border:1px solid var(--line);border-radius:12px;width:430px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 30px);overflow:auto;padding:24px;background:white;color:var(--ink)}#stock-specs .selection-dialog::backdrop{background:#172a4560}#stock-specs .selection-dialog form{display:grid;gap:20px}#stock-specs .selection-dialog h2{font-size:20px}#stock-specs .selection-dialog .row-actions{justify-content:flex-end}#stock-specs .selection-dialog .notice{margin:0}#stock-specs .selection-quantity{margin-top:16px;max-width:280px}#stock-specs .selection-item{padding-left:0;padding-right:0}

/* Background work stays visible without covering the mobile editor. */
.upload-tray{padding:14px 16px;margin:0 0 18px;border:1px solid #c6d8f8;border-radius:12px;background:#eef5ff;line-height:1.7;font-size:13px}
.upload-tray>div{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:8px}
.upload-tray small{display:block;color:#546880;margin-top:8px}
.upload-item{overflow-wrap:anywhere}
@media(max-width:640px){.upload-tray .button{padding:8px 10px}.color-row{grid-template-columns:1fr!important}.spec-pair{scroll-margin-top:90px}.panel-title{flex-wrap:wrap}}
