.smart-module-details .ecu-reference-body{grid-column:1/-1;border-top:1px solid #e1eaf0;padding-top:10px;margin-top:4px}.ecu-reference-body dl{display:flex;gap:12px 28px;flex-wrap:wrap;margin:0 0 10px}.ecu-reference-body dt{font-size:11px;color:#637f91}.ecu-reference-body dd{margin:0;font-size:13px;font-weight:600;color:#23465b}.ecu-reference-tags{display:flex;gap:5px;flex-wrap:wrap}.ecu-reference-tags span{padding:2px 7px;border:1px solid #dce7ef;border-radius:5px;background:#fafdff;font-size:12px}.ecu-reference-note,.ecu-reference-codes{font-size:12px;color:#637f91;margin:9px 0}.smart-card-open:disabled{opacity:.65;cursor:default}
/* Catalog layout owns its rows, overriding legacy compact-widget rules. */
#module-catalog-page{max-width:1280px;margin:24px auto;padding:0 20px;box-sizing:border-box}
#module-catalog-page .module-catalog-hero{padding:20px 24px;min-height:0;margin-bottom:16px}
#module-catalog-page .module-catalog-hero h1{font-size:24px;margin:8px 0}
#module-catalog-page .module-catalog-hero p{margin:0;font-size:13px}
#smart-module-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#smart-module-grid .smart-module-card{display:grid!important;grid-template-columns:minmax(160px,1fr) minmax(190px,1.3fr) minmax(160px,1.4fr) 156px!important;grid-template-rows:auto auto!important;gap:5px 16px!important;padding:14px!important;min-height:82px!important;height:auto!important;max-height:none!important;overflow:visible!important;align-items:center!important;cursor:default}
#smart-module-grid .smart-module-card:hover{transform:none}
#smart-module-grid .smart-module-card::after{display:none}
#smart-module-grid .smart-card-top{grid-column:1!important;grid-row:1/3!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;width:auto!important;padding:0 12px 0 0!important;border-right:1px solid #e4ebf0!important;border-bottom:0!important;gap:4px!important;min-width:0}
#smart-module-grid .smart-card-top i,#smart-module-grid .smart-card-top em{max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:12px!important;overflow-wrap:anywhere}
#smart-module-grid .smart-module-card>strong{grid-column:2!important;grid-row:1!important;font-size:14px!important;margin:0!important;white-space:normal!important}
#smart-module-grid .smart-module-card>small{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:12px!important}
#smart-module-grid .smart-feature-list{grid-column:3!important;grid-row:1/3!important;display:flex!important;flex-wrap:wrap!important;margin:0!important;padding:0!important}
#smart-module-grid .smart-card-actions{grid-column:4!important;grid-row:1/3!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-self:stretch!important;width:auto!important;gap:6px!important}
#smart-module-grid .smart-card-actions button{width:100%!important;height:auto!important;min-height:30px;padding:6px 8px!important;white-space:normal!important;font-size:12px!important;line-height:1.35}
#smart-module-grid .smart-module-details:not([hidden]){display:grid!important;grid-column:1/-1!important;grid-row:3!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;margin-top:8px!important;grid-template-columns:1fr 1fr!important;padding:14px!important}
#smart-module-grid .smart-module-details[hidden]{display:none!important}
.catalog-filters{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin:14px 0}
.catalog-filters input,.catalog-filters select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cfdee9;border-radius:7px;background:#fff;padding:10px;color:#23465b;font:500 13px/1.3 Inter,"Segoe UI",sans-serif}
@media(max-width:1000px){#smart-module-grid .smart-module-card{grid-template-columns:minmax(135px,1fr) minmax(160px,1.6fr) 145px!important;grid-template-rows:auto auto auto!important}#smart-module-grid .smart-feature-list{grid-column:2!important;grid-row:3!important}#smart-module-grid .smart-card-top,#smart-module-grid .smart-card-actions{grid-row:1/4!important}#smart-module-grid .smart-card-actions{grid-column:3!important}#smart-module-grid .smart-module-details:not([hidden]){grid-row:4!important}.catalog-filters{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#module-catalog-page{padding:0 10px;margin:12px auto}#module-catalog-page .module-catalog-hero{padding:16px}#smart-module-grid .smart-module-card{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}#smart-module-grid .smart-card-top{grid-column:1!important;grid-row:1!important;border:0!important;padding:0!important}#smart-module-grid .smart-module-card>strong{grid-column:1!important;grid-row:2!important}#smart-module-grid .smart-module-card>small{grid-column:1!important;grid-row:3!important}#smart-module-grid .smart-feature-list{grid-column:1!important;grid-row:4!important}#smart-module-grid .smart-card-actions{grid-column:1!important;grid-row:5!important;flex-direction:row!important}#smart-module-grid .smart-module-details:not([hidden]){grid-row:6!important;grid-template-columns:1fr!important}.catalog-filters{grid-template-columns:1fr}.smart-module-details>div+div{border-left:0;padding-left:0}}

#module-catalog-page .catalog-filters{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:900px){#module-catalog-page .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#module-catalog-page .catalog-filters{grid-template-columns:1fr}}

#module-catalog-page .catalog-filters{display:grid;grid-template-columns:minmax(160px,1.2fr) repeat(5,minmax(0,1fr));gap:6px;margin:10px 0;padding:6px;border-radius:8px}
#module-catalog-page .catalog-filters input,#module-catalog-page .catalog-filters select{height:36px;padding:6px 8px;font-size:12px;border-radius:6px}
#module-catalog-page .catalog-filters select:disabled{background:#edf2f5;border-color:#e0e7ed;color:#8b9ba8;cursor:not-allowed;opacity:1}
@media(max-width:950px){#module-catalog-page .catalog-filters{grid-template-columns:175px repeat(5,145px);overflow-x:auto;max-width:100%;box-sizing:border-box}}
/* Homepage catalogue cards: restrained hierarchy and consistent spacing. */
#new-modules-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
#new-modules-grid .new-module{display:flex!important;flex-direction:column!important;gap:0!important;min-width:0;min-height:0!important;padding:18px!important;background:#fff!important;border:1px solid #dce5ed!important;border-radius:10px!important;box-shadow:0 2px 6px #17364a05!important;transition:border-color .18s,box-shadow .18s;cursor:pointer;text-align:start}
#new-modules-grid .new-module:hover,#new-modules-grid .new-module:focus-visible{transform:none!important;border-color:#7ba8c3!important;box-shadow:0 4px 14px #17364a0c!important;outline:2px solid transparent}
#new-modules-grid .new-module:focus-visible{outline-color:#1785b4;outline-offset:3px}
#new-modules-grid .new-module::before,#new-modules-grid .new-module::after{display:none!important}
#new-modules-grid .new-module-smart-head{display:flex!important;flex-direction:column!important;gap:14px!important;align-items:stretch!important}
#new-modules-grid .new-module-media{display:none!important}
#new-modules-grid .new-module-copy{display:flex!important;flex-direction:column;gap:8px;min-width:0}
#new-modules-grid .new-module-heading{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:8px!important}
#new-modules-grid .new-module-heading strong{font:650 16px/1.4 "Segoe UI",Arial,sans-serif!important;color:#193b50!important;letter-spacing:0!important;white-space:normal!important}
#new-modules-grid .new-module-heading em{font:500 11px/1.4 "Segoe UI",Arial,sans-serif!important;color:#627587!important;background:#f0f4f7!important;border:0!important;border-radius:4px!important;padding:3px 7px!important;white-space:normal}
#new-modules-grid .new-module-meta{font:600 12px/1.5 "Segoe UI",Arial,sans-serif!important;color:#537086!important}
#new-modules-grid .new-module-name{font:400 12px/1.6 "Segoe UI",Arial,sans-serif!important;color:#708292!important;min-height:38px;display:block!important;overflow:hidden;white-space:normal!important}
#new-modules-grid .new-module-features:empty{display:none!important}
#new-modules-grid .new-module-smart-foot{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin-top:16px!important;padding-top:12px!important;border-top:1px solid #e9eef2!important;background:none!important}
#new-modules-grid .new-module-smart-foot small{font:500 11px/1.4 "Segoe UI",Arial,sans-serif!important;color:#718494!important}
#new-modules-grid .new-module-smart-foot b{font:600 12px/1.4 "Segoe UI",Arial,sans-serif!important;color:#087ca9!important;white-space:nowrap}
@media(max-width:1050px){#new-modules-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){#new-modules-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}#new-modules-grid .new-module{padding:16px!important}}
/* Illustrated compact module cards. */
#new-modules-grid .new-module{position:relative;overflow:hidden;padding:16px!important;border-color:#cddde8!important;background:linear-gradient(155deg,#f1f8fc 0%,#fff 58%)!important;box-shadow:0 3px 12px #153c5410!important}
#new-modules-grid .new-module::before{content:"";display:block!important;position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#136794,#35a6ce);pointer-events:none}
#new-modules-grid .new-module-smart-head{gap:12px!important}
#new-modules-grid .new-module-media{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:84px!important;min-height:84px;margin:0!important;padding:4px!important;box-sizing:border-box;border:1px solid #e1ebf2!important;border-radius:7px!important;background:radial-gradient(ellipse at center,#fff 15%,#eaf3f8 100%)!important}
#new-modules-grid .new-module-media img{display:block!important;width:120px!important;height:76px!important;max-width:100%;object-fit:contain!important;filter:drop-shadow(0 4px 4px #173c5420)}
#new-modules-grid .new-module-heading strong{font-size:16px!important;letter-spacing:.1px!important}
#new-modules-grid .new-module-heading em{color:#52748a!important;background:#e8f1f7!important;border:1px solid #d5e5ef!important;font-size:10px!important}
#new-modules-grid .new-module-meta{color:#1d6385!important}
#new-modules-grid .new-module-name{color:#5e7382!important}
#new-modules-grid .new-module-smart-foot{margin-top:12px!important;padding-top:10px!important}
#new-modules-grid .new-module-smart-foot b{padding:6px 10px;border:1px solid #c8dfeb;border-radius:5px;background:#eff7fb;color:#12648b!important}
#new-modules-grid .new-module:hover{border-color:#599bbd!important;box-shadow:0 5px 16px #173c5418!important}
#new-modules-grid .new-module:hover .new-module-smart-foot b{background:#12648b;color:#fff!important;border-color:#12648b}
/* One typography scale across current-module cards. */
#new-modules-grid .new-module{font-family:"Segoe UI",Arial,sans-serif!important}
#new-modules-grid .new-module-heading strong{font:600 16px/1.45 "Segoe UI",Arial,sans-serif!important;letter-spacing:0!important}
#new-modules-grid .new-module-heading em{font:500 12px/1.5 "Segoe UI",Arial,sans-serif!important;color:#4c6678!important;padding:3px 7px!important}
#new-modules-grid .new-module-meta{font:600 13px/1.55 "Segoe UI",Arial,sans-serif!important;color:#355d73!important}
#new-modules-grid .new-module-name{font:400 13px/1.55 "Segoe UI",Arial,sans-serif!important;color:#526b7b!important;min-height:41px}
#new-modules-grid .new-module-smart-foot small{font:500 13px/1.5 "Segoe UI",Arial,sans-serif!important;color:#526b7b!important}
#new-modules-grid .new-module-smart-foot b{font:600 13px/1.5 "Segoe UI",Arial,sans-serif!important;padding:6px 10px}
#new-modules-grid .new-module-features b{font:500 12px/1.5 "Segoe UI",Arial,sans-serif!important}

/* Compact section heading and readable special-request strip. */
#new-items>.card-title{min-height:0!important;margin:0 0 12px!important;padding:0 0 10px!important;display:flex!important;align-items:center!important}
#new-items>.card-title h2{margin:0!important;font:600 14px/1.4 "Segoe UI",Arial,sans-serif!important;letter-spacing:.5px!important;color:#1c668b!important}
#new-items #support{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:16px!important;margin:14px 0 0!important;min-height:0!important;height:auto!important;box-sizing:border-box;overflow:visible!important}
#new-items #support .support-icon{display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;padding:8px!important;box-sizing:border-box;border-radius:9px}
#new-items #support .support-icon svg{width:28px!important;height:28px!important}
#new-items #support .support-copy{min-width:0!important;overflow:visible!important}
#new-items #support h3{font:600 14px/1.45 "Segoe UI",Arial,sans-serif!important;margin:0 0 4px!important;color:#204c65!important;white-space:normal!important}
#new-items #support p{font:400 13px/1.5 "Segoe UI",Arial,sans-serif!important;margin:0!important;color:#526b7b!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:780px}
#new-items #ticket-button{font:600 13px/1.4 "Segoe UI",Arial,sans-serif!important;min-height:38px!important;height:auto!important;width:auto!important;white-space:nowrap!important;padding:9px 14px!important;margin:0!important;align-self:center!important}
@media(max-width:650px){#new-items #support{grid-template-columns:36px minmax(0,1fr)!important;gap:10px!important;padding:14px!important}#new-items #support .support-icon{width:36px!important;height:36px!important;min-width:36px!important;padding:6px!important}#new-items #ticket-button{grid-column:2;justify-self:start}}

#quick-flow .reference-workspace>.tuning-grid{display:none!important}
#pending-workspace[hidden]{display:none!important}
#pending-workspace{padding:14px;border:1px solid #d4e3ed;border-radius:8px;background:#f5f9fc;text-align:start}
#pending-workspace>strong{display:block;font:600 15px/1.5 "Segoe UI",sans-serif;color:#23465b}
.reference-workspace-features{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.reference-workspace-features>span{padding:7px 11px;border:1px solid #d4e3ed;border-radius:6px;background:#fff;color:#245570;font:500 13px/1.4 "Segoe UI",sans-serif}
#pending-workspace p{margin:8px 0 0;color:#617787;font:400 13px/1.5 "Segoe UI",sans-serif}

.reference-workspace-features>button{padding:9px 12px;border:1px solid #c8dce8;border-radius:6px;background:#fff;color:#245570;font:600 13px/1.4 "Segoe UI",sans-serif;cursor:pointer}
.reference-workspace-features>button[aria-pressed=true]{background:#e2f2fb;border-color:#1683b5;color:#09577d;box-shadow:inset 0 0 0 1px #1683b5}
.reference-workspace-features>button:focus-visible{outline:2px solid #1683b5;outline-offset:2px}

/* Preserve the established option-card layout for catalogue operations. */
#pending-workspace{padding:0;border:0;background:transparent}
#pending-workspace>strong{display:none}
#pending-workspace .reference-workspace-features{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0}
#pending-workspace .reference-option-card{display:flex;align-items:center;gap:8px;min-width:0;min-height:54px;padding:10px;border:1px solid #d1dfec;border-radius:9px;background:#fff;color:#12364e;text-align:start;font:500 13px/1.4 "Segoe UI",Arial,sans-serif;box-shadow:none}
#pending-workspace .reference-option-card i{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;box-sizing:border-box;border:1px solid #a8bdd0;border-radius:4px;background:#fff;font-style:normal;font-size:12px}
#pending-workspace .reference-option-card>span{min-width:0}
#pending-workspace .reference-option-card b{display:block;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
#pending-workspace .reference-option-card small{display:block;margin-top:2px;font-size:11px;font-weight:400;color:#71869a;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pending-workspace .reference-option-card[aria-pressed=true]{border-color:#1886b7;background:#eff8fd;color:#12364e}
#pending-workspace .reference-option-card[aria-pressed=true] i{background:#1388bd;border-color:#1388bd;color:white}
#categories{scroll-margin-top:80px}
@media(max-width:1200px){#pending-workspace .reference-workspace-features{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#pending-workspace .reference-workspace-features{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Quick workspace: language-independent columns and natural text flow. */
#quick-flow{font-family:Inter,"Segoe UI",Arial,sans-serif;padding:20px}
#quick-flow .section-heading{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;align-items:center;gap:16px!important;padding:14px 16px!important;margin-bottom:16px;min-height:0;height:auto;box-sizing:border-box}
#quick-flow .section-heading h2{font-size:17px!important;line-height:1.4;white-space:normal;letter-spacing:0}
#quick-flow .section-heading>.quick-selectors{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-column:2;grid-row:1;width:100%!important;max-width:none;gap:8px!important;align-items:stretch;justify-self:stretch}
#quick-flow .section-heading>.quick-selectors.has-module-choice{grid-template-columns:repeat(5,minmax(0,1fr))!important}
#quick-flow .quick-selectors>label{width:auto!important;max-width:none!important;min-width:0;display:flex;align-items:stretch}
#quick-flow .quick-choice{height:100%}
#quick-flow .quick-choice-trigger{height:100%;min-height:44px;padding:10px 30px 10px 12px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;font-weight:600;font-size:13px}
#quick-flow .quick-choice-trigger::after{top:calc(50% - 4px)}
#quick-flow .quick-choice-list{width:100%;min-width:100%;max-width:100%;border-radius:8px}
#quick-flow .quick-choice-list button{white-space:normal;overflow-wrap:anywhere;font-weight:600;line-height:1.5;padding:10px}
#quick-flow .quick-shell{gap:16px;align-items:stretch}
#quick-flow .quick-layout{padding:0;background:transparent;gap:16px;min-width:0;grid-template-columns:minmax(0,1fr) 250px}
#quick-flow .selection-panel{min-width:0;height:auto}
#quick-flow .tuning-workspace{grid-template-columns:minmax(190px,.8fr) minmax(0,1.7fr);gap:12px;align-items:stretch}
#quick-flow .tuning-upload,#quick-flow .dtc-panel,#quick-flow .tuning-options,#quick-flow .credit-summary{box-sizing:border-box;border:1px solid #d9e5ee;border-radius:10px;background:#fff;box-shadow:0 2px 8px #183b5005}
#quick-flow .tuning-upload,#quick-flow .dtc-panel{padding:12px;min-width:0;height:auto;min-height:220px}
#quick-flow .tuning-options{margin-top:8px;padding:10px;min-height:0}
#quick-flow .tuning-grid,#quick-flow #pending-workspace .reference-workspace-features{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;align-items:stretch}
#quick-flow .option-card,#quick-flow #pending-workspace .reference-option-card{height:auto;min-height:50px;padding:8px;gap:7px;align-items:center;text-align:start;box-sizing:border-box}
#quick-flow .option-card>span,#quick-flow .upload-compact-copy,#quick-flow .summary-title>div{min-width:0}
#quick-flow .option-card b,#quick-flow #pending-workspace .reference-option-card b{font-size:12px;font-weight:600;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#quick-flow .option-card small,#quick-flow #pending-workspace .reference-option-card small{display:block;font-size:11px;line-height:1.4;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#657b8c;max-width:100%}
#quick-flow .option-card i,#quick-flow .reference-option-card i{flex-shrink:0;margin-top:2px}
#quick-flow .upload-compact-copy h3,#quick-flow .dtc-heading h3,#quick-flow .summary-title h3{font-size:15px;line-height:1.45;font-weight:600;white-space:normal;overflow-wrap:anywhere}
#quick-flow .upload-compact-copy small,#quick-flow .dtc-heading small,#quick-flow .summary-title small{font-size:11px;line-height:1.5;letter-spacing:.04em;white-space:normal}
#quick-flow .upload-formats,#quick-flow .upload-security{height:auto;white-space:normal;line-height:1.5}
#quick-flow .dtc-heading{gap:8px;align-items:flex-start}
#quick-flow .dtc-heading>div{min-width:0}
#quick-flow .dtc-selection-count{flex-shrink:0}
#quick-flow .dtc-toolbar{display:flex;gap:8px;align-items:stretch}
#quick-flow .dtc-search{flex:1;min-width:0}
#quick-flow .dtc-search input{min-width:0;width:100%}
#quick-flow .dtc-refresh{height:auto;min-height:36px;white-space:normal;flex-shrink:0}
#quick-flow .dtc-table{overflow-x:auto}
#quick-flow .dtc-table-head,#quick-flow .dtc-row{min-width:310px}
#quick-flow .credit-summary{padding:16px;min-width:0;min-height:0;height:auto}
#quick-flow .credit-summary dl{display:block;margin:14px 0}
#quick-flow .credit-summary dl div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:10px;padding:8px 0;align-items:start}
#quick-flow .credit-summary dt,#quick-flow .credit-summary dd{font-size:12px;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
#quick-flow .credit-summary dd{text-align:end}
#quick-flow .credit-lines>div{gap:10px;align-items:center;line-height:1.5}
#quick-flow .credit-lines strong{white-space:nowrap;flex-shrink:0}
#quick-flow #review-button,#quick-flow .tuning-save{height:auto;min-height:42px;padding:10px 12px;font-size:13px;line-height:1.4;white-space:normal}
#quick-flow #review-button span{font-size:13px;line-height:1.4;margin:0}
#quick-flow .credit-note{font-size:12px;line-height:1.6;margin-bottom:18px}
[dir=rtl] #quick-flow .quick-choice-trigger{padding-inline:12px 30px}
[dir=rtl] #quick-flow .quick-choice-trigger::after{right:auto;left:12px}
@media(min-width:1351px){#quick-flow .quick-shell{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:1200px){#quick-flow .section-heading{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}#quick-flow .section-heading>.quick-selectors{grid-column:1;grid-row:2}#quick-flow .quick-layout{grid-template-columns:minmax(0,1fr) 240px}#quick-flow .tuning-grid,#quick-flow #pending-workspace .reference-workspace-features{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){#quick-flow .quick-layout{grid-template-columns:minmax(0,1fr)}#quick-flow .credit-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}#quick-flow .credit-summary dl div{grid-template-columns:minmax(0,1fr);gap:4px}#quick-flow .credit-summary dd{text-align:start}}
@media(max-width:700px){#quick-flow{padding:12px}#quick-flow .section-heading>.quick-selectors,#quick-flow .section-heading>.quick-selectors.has-module-choice{grid-template-columns:repeat(2,minmax(0,1fr))!important}#quick-flow .tuning-workspace{grid-template-columns:minmax(0,1fr)}#quick-flow .tuning-upload{min-height:0}#quick-flow .tuning-grid,#quick-flow #pending-workspace .reference-workspace-features{grid-template-columns:repeat(2,minmax(0,1fr))}#quick-flow .credit-summary dl{display:block}}

/* Keep the tuning workspace compact without fixed-height clipping. */
#quick-flow .tuning-upload{grid-template-rows:auto auto auto auto;align-content:center;row-gap:8px}
#quick-flow .tuning-upload .upload-compact-head{gap:8px}
#quick-flow .tuning-upload .upload-formats{padding:6px 8px}
#quick-flow .tuning-upload .upload-select-button{height:auto;min-height:36px;padding:7px 10px}
#quick-flow .tuning-save{min-height:36px;margin-top:8px;padding:8px 12px}
#quick-flow .reference-option-card>span,#quick-flow .option-card>span{flex:1;min-width:0}
@media(max-width:700px){#quick-flow .tuning-upload{min-height:0}}

/* Readable tuning text at the existing compact size. */
#quick-flow #tuning-view .option-card b,
#quick-flow #tuning-view .reference-option-card b,
#quick-flow #tuning-view .upload-compact-copy h3,
#quick-flow #tuning-view .dtc-heading h3{color:#17384f;font-weight:650}
#quick-flow #tuning-view .option-card small,
#quick-flow #tuning-view .reference-option-card small,
#quick-flow #tuning-view .upload-compact-copy p,
#quick-flow #tuning-view .upload-formats,
#quick-flow #tuning-view .upload-security,
#quick-flow #tuning-view .upload-guidance,
#quick-flow #tuning-view .dtc-empty{color:#435d71;font-weight:500}
#quick-flow #tuning-view .upload-compact-copy>small,
#quick-flow #tuning-view .dtc-heading small{color:#086b9b;font-weight:700}
#quick-flow #tuning-view .dtc-search input{color:#17384f}
#quick-flow #tuning-view .dtc-search input::placeholder{color:#52697c;opacity:1}
#quick-flow #tuning-view .dtc-row:not(.dtc-placeholder){color:#25465d}
#quick-flow #tuning-view .dtc-system{color:#435d71}

/* Guest sign-in card follows its content rather than the taller workspace. */
#quick-flow .quick-shell>#auth-card:not(.authenticated){align-self:start;height:auto;min-height:0}
#quick-flow #auth-card:not(.authenticated) #auth-login-view{height:auto;min-height:0;flex-grow:0}

/* Give the sign-in form breathing room without an empty bottom extension. */
#quick-flow #auth-card:not(.authenticated) .login-form{gap:13px}
#quick-flow #auth-card:not(.authenticated) .auth-intro{margin-block:14px}
#quick-flow #auth-card:not(.authenticated) .social-login{min-height:39px;height:auto;padding-block:8px}
#quick-flow #auth-card:not(.authenticated) .auth-submit{min-height:40px;height:auto;padding-block:9px}
#quick-flow #auth-card:not(.authenticated) .auth-register{margin-top:14px;padding-block:12px}

/* Clear primary headings across the quick-operation workspace. */
#quick-flow .section-heading h2{font-size:18px!important;font-weight:700;line-height:1.35}
#quick-flow #tuning-view .upload-compact-copy h3,
#quick-flow #tuning-view .dtc-heading h3,
#quick-flow .summary-title h3,
#quick-flow .auth-heading h2,
#quick-flow .immo-card-heading h3,
#quick-flow .srs-card-heading h3,
#quick-flow .bsi-card-heading h3{font-size:16px;font-weight:700;line-height:1.35;color:#12344d;letter-spacing:0}
#quick-flow #tuning-view .upload-compact-copy>small,
#quick-flow #tuning-view .dtc-heading small,
#quick-flow .summary-title small,
#quick-flow .auth-heading small,
#quick-flow .immo-card-heading small,
#quick-flow .srs-card-heading small,
#quick-flow .bsi-card-heading small{font-size:12px;font-weight:700;line-height:1.4;color:#08658f;letter-spacing:.035em}

/* Emphasize the main vehicle/category/brand/unit/module selectors. */
#quick-flow .quick-selectors .quick-choice-trigger,
#quick-flow .quick-selectors select{font-size:14px;font-weight:700;color:#12344d;line-height:1.4}
#quick-flow .quick-selectors .quick-choice-trigger:disabled,
#quick-flow .quick-selectors select:disabled{color:#60798b;font-weight:600}
#quick-flow .quick-selectors .quick-choice-list button{font-size:14px;font-weight:600;color:#193e55}
#quick-flow .quick-selectors .quick-choice-list button[aria-selected=true]{font-weight:700;color:#08658f}
#quick-flow .quick-selectors .quick-choice-list button:disabled{color:#748895}

/* Small identification plates on the existing unit illustrations. */
#categories .category-media{position:relative}
#categories .category-media::after{position:absolute;inset-inline-start:3px;bottom:3px;padding:2px 5px;border:1px solid #bed4df;border-radius:3px;background:#f8fcff;color:#21475c;font:700 9px/1.3 "Segoe UI",Arial,sans-serif;letter-spacing:.05em;box-shadow:0 1px 3px #17384f12;pointer-events:none}
#categories [data-category="ECU"] .category-media::after{content:"ECU"}
#categories [data-category="Data Transfer"] .category-media::after{content:"BCM"}
#categories [data-category="SRS / Airbag"] .category-media::after{content:"SRS"}
#categories [data-category="TCM"] .category-media::after{content:"TCU"}
#new-modules-grid .new-module-media{position:relative}
#new-modules-grid .unit-image-label{position:absolute;inset-inline-start:7px;bottom:6px;max-width:calc(100% - 14px);box-sizing:border-box;padding:4px 7px;border:1px solid #bdd5e2;border-inline-start:3px solid #1585b3;border-radius:4px;background:#f8fcff;color:#21475c;font:650 10px/1.3 "Segoe UI",Arial,sans-serif;letter-spacing:.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 5px #17384f10;pointer-events:none}

/* Cascade: vehicle group, brand, unit group, family, model, operation. */
#quick-flow .section-heading>.quick-selectors,
#quick-flow .section-heading>.quick-selectors.has-module-choice{grid-template-columns:repeat(var(--quick-selector-count,5),minmax(0,1fr))!important}
@media(max-width:1100px){#quick-flow .section-heading>.quick-selectors,#quick-flow .section-heading>.quick-selectors.has-module-choice{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){#quick-flow .section-heading>.quick-selectors,#quick-flow .section-heading>.quick-selectors.has-module-choice{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Balanced spacing for the quick-selection bar. */
#quick-flow .section-heading{padding:10px 14px!important;column-gap:14px!important}
#quick-flow .section-heading>.quick-selectors{gap:8px!important;max-width:calc(var(--quick-selector-count,5)*208px - 8px);justify-self:center!important}
#quick-flow .quick-selectors .quick-choice-trigger{box-sizing:border-box;min-height:42px;padding-block:8px;padding-inline:12px 30px;line-height:1.4}
#quick-flow .quick-selectors .quick-choice-list{padding:5px}
#quick-flow .quick-selectors .quick-choice-list button{padding:9px 11px;line-height:1.4}
@media(max-width:1100px){#quick-flow .section-heading>.quick-selectors{max-width:100%}}
@media(max-width:700px){#quick-flow .section-heading{padding:10px!important;gap:10px!important}#quick-flow .quick-selectors .quick-choice-trigger{min-height:42px}}

/* Keep the accent inside rounded corners without clipping the selector menus. */
#quick-flow .section-heading::before{inset:0;height:auto;border-radius:inherit;background:linear-gradient(90deg,#31c2ff,#2b8cf3 52%,#39d59b) top/100% 3px no-repeat;pointer-events:none}

/* Preserve the balanced grid and keep labels on one line. */
#quick-flow .quick-selectors .quick-choice{width:100%;min-width:0;max-width:100%}
#quick-flow .quick-selectors .quick-choice-trigger{width:100%;max-width:100%;height:42px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;padding-inline:10px 26px}

/* Small desktop alignment adjustment; preserve selector dimensions and mobile layout. */
@media(min-width:1201px){#quick-flow .section-heading>.quick-selectors{position:relative;inset-inline-start:-68px}}
/* Mobile DTC table: keep the selection column inside the card. */
@media (max-width:560px){
  #quick-flow .dtc-table{min-width:0;width:100%;box-sizing:border-box}
  #quick-flow .dtc-table-head,#quick-flow .dtc-row{min-width:0;width:100%;box-sizing:border-box;grid-template-columns:54px minmax(0,1fr) 36px;column-gap:7px;padding-inline:8px}
  #quick-flow .dtc-table-head{height:auto;min-height:28px;line-height:1.35;padding-block:5px}
  #quick-flow .dtc-table-head>span{min-width:0;overflow-wrap:anywhere}
  #quick-flow .dtc-table-head>span:nth-child(3),#quick-flow .dtc-row .dtc-system{display:none}
  #quick-flow .dtc-row{min-height:36px;text-align:start}
  #quick-flow .dtc-row>span:not(.dtc-system){white-space:normal;overflow-wrap:anywhere;line-height:1.4}
  #quick-flow .dtc-toggle{justify-self:end;margin-inline:0;box-sizing:border-box}
  #quick-flow .dtc-toolbar{align-items:stretch}
  #quick-flow .dtc-search{height:36px;box-sizing:border-box}
  #quick-flow .dtc-refresh{width:36px;min-width:36px;box-sizing:border-box;padding:0!important}
}
