/* Module-only ROVEX dark / red theme. Global navigation and branding are untouched. */
#sec-modular,#ma-preview{--ma-bg:#202020;--ma-surface:#262626;--ma-raised:#2e2e2e;--ma-field:#1c1c1c;--ma-ink:#f5f5f5;--ma-muted:#bcbcbc;--ma-subtle:#929292;--ma-line:#424242;--ma-red:#da3a3d;--ma-red-strong:#c53033;--ma-red-soft:#3c2426;--ma-amber:#e7bf77;color:var(--ma-ink);font-family:inherit;color-scheme:dark}
#sec-modular{max-width:1600px;margin:0 auto;padding:8px 0 48px;isolation:isolate;min-width:0}
#sec-modular.has-draft{padding-bottom:120px}
#sec-modular *,#ma-preview *{box-sizing:border-box}
#sec-modular [hidden],#ma-preview [hidden]{display:none!important}
#sec-modular :is(h2,h3,h4,p,figure,dl){margin-top:0}
#sec-modular :is(button,input,select,textarea),#ma-preview button{font:inherit}
#sec-modular :is(button,a),#ma-preview :is(button,a){touch-action:manipulation}
#sec-modular :is(button,a,input,select,textarea,[tabindex]):focus-visible,#ma-preview :is(button,a):focus-visible{outline:3px solid #f27375;outline-offset:3px}
#sec-modular input[aria-invalid=true]{border-color:#ff7f81!important;box-shadow:0 0 0 1px #ff7f81}
#sec-modular .ma-hero{padding:22px 26px 24px;background:#171717;border:1px solid #383838;border-radius:16px;overflow:hidden;border-top:3px solid var(--ma-red)}
#sec-modular .ma-brand-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
#sec-modular .ma-brand-crop{width:286px;aspect-ratio:3.25;overflow:hidden;flex:0 0 auto;background:#000;border-radius:5px}
#sec-modular .ma-brand-crop img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 47%;max-width:none}
#sec-modular .ma-hero-copy{border-top:1px solid #333;padding-top:22px}
#sec-modular .ma-kicker{display:block;color:#ef787a;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:750;margin-bottom:9px}
#sec-modular .ma-hero h2{font-size:clamp(24px,2.5vw,34px);line-height:1.16;letter-spacing:-.035em;margin:0 0 10px;color:#fff;font-weight:720}
#sec-modular .ma-hero p{font-size:13px;line-height:1.7;color:var(--ma-muted);margin:0;max-width:850px}
#sec-modular .ma-actions,#ma-preview .ma-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
#sec-modular .ma-header-actions{justify-content:flex-end}
#sec-modular .ma-btn,#ma-preview .ma-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #4b4b4b;border-radius:9px;background:#303030;color:#f5f5f5;padding:10px 14px;font-size:12px;font-weight:650;text-decoration:none;cursor:pointer;white-space:nowrap;line-height:1.3;box-shadow:none}
#sec-modular .ma-btn:hover,#ma-preview .ma-btn:hover{background:#3a3a3a;border-color:#777;color:#fff}
#sec-modular .ma-btn:disabled,#ma-preview .ma-btn:disabled{opacity:.55;cursor:wait}
#sec-modular .ma-btn-primary{background:var(--ma-red);color:#fff;border-color:var(--ma-red)}
#sec-modular .ma-btn-primary:hover{background:var(--ma-red-strong);border-color:var(--ma-red-strong)}
#sec-modular .ma-btn-small{padding:8px 12px;min-height:38px;font-size:12px}
#sec-modular .ma-btn.is-current{background:var(--ma-red-soft);border-color:#a94043;color:#fff}
#sec-modular .ma-draft-badge{border-color:#b78542;background:#392e1d;color:#f3d59c}
#sec-modular .ma-banner{display:flex;gap:13px;align-items:flex-start;padding:14px 17px;background:#2d2922;border:1px solid #514737;border-radius:11px;color:#dac6a3;margin:16px 0}
#sec-modular .ma-banner strong{font-size:12px;display:block;margin-bottom:4px;color:#f1d49f}
#sec-modular .ma-banner p{font-size:12px;line-height:1.6;margin:0;max-width:1150px}
#sec-modular .ma-banner .ma-symbol{font-size:20px;line-height:1.2;color:#e4b967}
#sec-modular .ma-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:20px 0 24px}
#sec-modular .ma-metric{background:var(--ma-surface);border:1px solid var(--ma-line);border-radius:11px;padding:15px 17px;position:relative}
#sec-modular .ma-metric:before{content:"";position:absolute;left:0;top:19px;bottom:19px;width:3px;background:var(--ma-red);border-radius:0 3px 3px 0}
#sec-modular .ma-metric strong{font-size:27px;letter-spacing:-.045em;display:block;margin:7px 0;color:#fff;line-height:1.1}
#sec-modular .ma-metric span,#sec-modular .ma-metric small{display:block;color:var(--ma-muted);font-size:11px;line-height:1.5}
#sec-modular .ma-metric small{color:var(--ma-subtle);font-size:10px}
#sec-modular .ma-tabs{display:flex;gap:4px;background:#181818;border:1px solid #3c3c3c;border-radius:11px;overflow-x:auto;overscroll-behavior-inline:contain;margin:0 0 16px;padding:5px;scrollbar-width:thin;scrollbar-color:#555 #222}
#sec-modular .ma-tab{flex:1 0 auto;background:transparent;border:1px solid transparent;border-radius:7px;padding:11px 13px;min-height:44px;cursor:pointer;color:#c7c7c7;font-size:12px;font-weight:650;white-space:nowrap;box-shadow:none}
#sec-modular .ma-tab[aria-selected=true]{color:#fff;background:var(--ma-red);border-color:var(--ma-red);box-shadow:0 2px 8px #0003}
#sec-modular .ma-tab:hover:not([aria-selected=true]){color:#fff;background:#303030}
#sec-modular .ma-status{font-size:13px;margin:0 0 14px;color:#e5e5e5;line-height:1.5}
#sec-modular .ma-status:empty{display:none}
#sec-modular .ma-status.is-error{color:#ffb1b2;padding:12px 14px;background:#40272a;border:1px solid #894145;border-radius:8px}
#sec-modular .ma-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#sec-modular .ma-model{border:1px solid var(--ma-line);background:var(--ma-surface);border-radius:12px;overflow:hidden;min-width:0}
#sec-modular .ma-model-visual{position:relative;height:180px;background:#eee9e2;overflow:hidden;padding:18px;display:flex;align-items:flex-end;justify-content:space-between}
#sec-modular .ma-model-visual svg{width:140px;max-width:55%;height:110px}
#sec-modular .ma-model-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
#sec-modular .ma-model-visual .ma-code{z-index:1;position:relative;font-size:23px;letter-spacing:-.045em;font-weight:750;color:#fff;background:#202020ed;padding:5px 10px;border-radius:6px;line-height:1.1}
#sec-modular .ma-model-visual .ma-tag{position:absolute;top:13px;left:13px;z-index:1;background:#242424eF;color:#eee;border:1px solid #5b5b5b}
#sec-modular .ma-model-body{padding:18px}
#sec-modular .ma-model-body h3{font-size:19px;margin:0 0 8px;line-height:1.3;color:#fff}
#sec-modular .ma-model-body p{color:var(--ma-muted);font-size:12px;line-height:1.65;min-height:40px;margin:0 0 14px}
#sec-modular .ma-model-specs{display:flex;flex-wrap:wrap;gap:8px 16px;padding:13px 0;border-top:1px solid var(--ma-line);font-size:12px;color:#c8c8c8}
#sec-modular .ma-model-specs strong{color:#f5f5f5}
#sec-modular .ma-model-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
#sec-modular .ma-model-footer small{flex:1 0 100%;font-size:10px;color:var(--ma-subtle);margin-bottom:4px}
#sec-modular .ma-model-footer .ma-btn{flex:1}
#sec-modular .ma-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;line-height:1.3;text-transform:uppercase;letter-spacing:.035em;padding:5px 7px;border-radius:5px;background:#383838;color:#e9e9e9}
#sec-modular .ma-tag-amber{background:#493a25;color:#f0cf99}
#sec-modular .ma-tag-red{background:#542b2e;color:#ffb9bb}
#sec-modular .ma-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:24px 0 17px}
#sec-modular .ma-panel-head h3{margin:0 0 7px;font-size:22px;letter-spacing:-.025em;color:#fff}
#sec-modular .ma-panel-head p,#sec-modular .ma-muted{font-size:12px;color:var(--ma-muted);line-height:1.65;margin:0}
#sec-modular .ma-context{display:flex;align-items:center;gap:22px;padding:15px 17px;margin:0 0 20px;border:1px solid #4c4c4c;background:#292929;border-left:3px solid var(--ma-red);border-radius:10px}
#sec-modular .ma-model-select{display:flex;flex-direction:column;gap:7px;min-width:210px}
#sec-modular .ma-model-select label{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#bcbcbc}
#sec-modular .ma-context-meta{display:grid;gap:7px;color:var(--ma-muted);font-size:11px;line-height:1.4}
#sec-modular .ma-context-meta strong{color:#f3f3f3;font-size:13px;font-weight:650}
#sec-modular .ma-context-meta strong span{font-size:11px;color:var(--ma-muted);font-weight:400}
#sec-modular .ma-context-actions{margin-left:auto;flex-wrap:nowrap}
#sec-modular .ma-toolbar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:18px 0 10px}
#sec-modular .ma-field{display:flex;flex-direction:column;gap:7px;min-width:0}
#sec-modular .ma-field>span,#sec-modular .ma-field>label{font-size:11px;font-weight:650;color:#c4c4c4}
#sec-modular .ma-field input,#sec-modular .ma-field select,#sec-modular .ma-field textarea,#sec-modular .ma-model-select select{background:var(--ma-field);border:1px solid #565656;border-radius:8px;min-height:42px;padding:10px 11px;color:#f5f5f5;max-width:100%;box-shadow:none;font-size:13px}
#sec-modular .ma-field input::placeholder,#sec-modular .ma-field textarea::placeholder{color:#979797;opacity:1}
#sec-modular .ma-field input[type=file]{padding:7px 10px;font-size:12px;width:100%}
#sec-modular .ma-field input::file-selector-button{background:#3b3b3b;color:#f5f5f5;border:1px solid #666;padding:5px 8px;border-radius:4px;margin-right:9px;cursor:pointer}
#sec-modular .ma-field textarea{resize:vertical;min-height:76px;line-height:1.6}
#sec-modular .ma-search{flex:1;min-width:230px}
#sec-modular .ma-field input[readonly],#sec-modular .ma-field select:disabled{background:#292929;color:#c5c5c5}
#sec-modular .ma-table-wrap{border:1px solid #4a4a4a;border-radius:10px;overflow:auto;background:var(--ma-surface);max-width:100%;max-height:70vh;min-height:100px;scrollbar-color:#777 #252525;overscroll-behavior:contain}
#sec-modular .ma-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1160px;font-size:12px;table-layout:auto}
#sec-modular .ma-table th{position:sticky;top:0;z-index:2;text-align:left;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.035em;color:#dedede;background:#343434;padding:13px 12px;white-space:nowrap;border-bottom:1px solid #575757}
#sec-modular .ma-table td{padding:13px 12px;border-bottom:1px solid #3a3a3a;vertical-align:top;line-height:1.55;color:#e8e8e8;background:#272727}
#sec-modular .ma-table tr:nth-child(even) td{background:#2b2b2b}
#sec-modular .ma-table tbody tr:hover td{background:#343031}
#sec-modular .ma-table tr:last-child td{border-bottom:0}
#sec-modular .ma-table td:first-child{position:sticky;left:0;z-index:1;box-shadow:1px 0 #484848}
#sec-modular .ma-table th:first-child{left:0;z-index:3;box-shadow:1px 0 #575757}
#sec-modular .ma-table td strong{display:block;font-size:12px;font-weight:650;color:#f4f4f4}
#sec-modular .ma-table td small{display:block;color:#aaa;margin-top:4px;font-size:10px;max-width:260px;line-height:1.6}
#sec-modular .ma-table .ma-numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#sec-modular .ma-table a{color:#ffa0a2}
#sec-modular .ma-material-name{min-width:230px;max-width:270px}
#sec-modular .ma-quantity{min-width:85px}
#sec-modular .ma-inline-input{width:92px;max-width:100%;border:1px solid #666;border-radius:6px;padding:9px;background:#1b1b1b;font-size:12px;color:#fff;font-variant-numeric:tabular-nums;min-height:38px;box-shadow:none}
#sec-modular .ma-inline-input.ma-supplier{width:155px}
#sec-modular .ma-scroll-hint{font-size:11px;color:#aaa;margin:0 0 10px;line-height:1.5}
#sec-modular .ma-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:20px}
#sec-modular .ma-card{padding:20px;border:1px solid var(--ma-line);background:var(--ma-surface);border-radius:11px}
#sec-modular .ma-card h4{font-size:15px;margin:0 0 15px;color:#fff}
#sec-modular .ma-cost-line{display:flex;justify-content:space-between;gap:18px;font-size:12px;padding:10px 0;border-bottom:1px solid #3a3a3a;color:#ccc}
#sec-modular .ma-cost-line:last-child{border:0}
#sec-modular .ma-cost-line strong{font-variant-numeric:tabular-nums;color:#fff;white-space:nowrap}
#sec-modular .ma-cost-line.ma-total{font-size:14px;border-top:1px solid #595959;padding-top:15px;margin-top:8px}
#sec-modular .ma-savebar{position:fixed;bottom:22px;right:26px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 18px;background:#181818;color:#fff;border:1px solid #be4c4f;border-left:4px solid var(--ma-red);border-radius:11px;box-shadow:0 8px 36px #0008;z-index:50;width:min(680px,calc(100vw - 56px))}
#sec-modular .ma-save-copy{display:flex;align-items:center;gap:12px;min-width:0}
#sec-modular .ma-save-copy strong{display:block;font-size:13px;line-height:1.45;margin-bottom:4px}
#sec-modular .ma-save-copy span{font-size:11px;color:#bfbfbf;line-height:1.4}
#sec-modular .ma-save-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#f36b6d}
#sec-modular .ma-savebar .ma-actions{flex-wrap:nowrap}
#sec-modular .ma-doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#sec-modular .ma-doc{border:1px solid var(--ma-line);background:var(--ma-surface);border-radius:11px;padding:18px;display:flex;flex-direction:column;gap:10px}
#sec-modular .ma-doc h4{font-size:16px;margin:0;line-height:1.4;color:#fff}
#sec-modular .ma-doc p{font-size:11px;color:var(--ma-muted);line-height:1.6;margin:0;overflow-wrap:anywhere}
#sec-modular .ma-doc .ma-actions{margin-top:auto;padding-top:10px}
#sec-modular .ma-doc .ma-actions .ma-btn:first-child{background:var(--ma-red);border-color:var(--ma-red);color:#fff}
#sec-modular .ma-doc .ma-actions .ma-btn:first-child:hover{background:var(--ma-red-strong)}
#sec-modular .ma-doc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
#sec-modular .ma-doc-code{font-size:11px;color:#c2c2c2;font-weight:650}
#sec-modular .ma-floorplan{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;margin:0 0 17px;padding:20px;border:1px solid var(--ma-line);border-radius:11px;background:var(--ma-surface);align-items:center}
#sec-modular .ma-floorplan>img{width:100%;max-height:340px;object-fit:contain;background:#f8f7f3;border-radius:7px}
#sec-modular .ma-floorplan h4{font-size:21px;margin:0 0 12px;color:#fff}
#sec-modular .ma-floorplan p{font-size:12px;color:var(--ma-muted);line-height:1.7;margin:0 0 13px}
#sec-modular .ma-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#sec-modular .ma-review{padding:20px;background:var(--ma-surface);border:1px solid var(--ma-line);border-radius:11px}
#sec-modular .ma-review h4{margin:0 0 7px;font-size:16px;color:#fff}
#sec-modular .ma-review p{font-size:12px;color:var(--ma-muted);line-height:1.6;margin:0 0 16px}
#sec-modular .ma-review-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}
#sec-modular .ma-review-fields .ma-wide{grid-column:1/-1}
#sec-modular .ma-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#sec-modular .ma-week{background:var(--ma-surface);border:1px solid var(--ma-line);border-radius:11px;padding:18px;min-width:0}
#sec-modular .ma-week-number{display:block;color:#ef797b;font-weight:750;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:13px}
#sec-modular .ma-week h4{font-size:15px;margin:0 0 11px;color:#fff;line-height:1.4}
#sec-modular .ma-week p,#sec-modular .ma-week li{font-size:12px;color:var(--ma-muted);line-height:1.7}
#sec-modular .ma-week ul{padding-left:16px;margin:0}
#sec-modular .ma-week li+li{margin-top:7px}
#sec-modular .ma-week-gate{border-top:1px solid var(--ma-line);padding-top:11px;margin-top:14px;font-size:11px;line-height:1.6;color:#e5c7c7}
#sec-modular .ma-request-list{display:grid;gap:14px}
#sec-modular .ma-request{border:1px solid var(--ma-line);border-radius:11px;padding:20px;background:var(--ma-surface)}
#sec-modular .ma-request-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
#sec-modular .ma-request-top h4{font-size:16px;margin:0 0 6px;color:#fff}
#sec-modular .ma-request-top small{font-size:11px;color:var(--ma-muted)}
#sec-modular .ma-request-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;font-size:12px}
#sec-modular .ma-request-grid dt{font-size:10px;color:var(--ma-muted);text-transform:uppercase;margin-bottom:7px}
#sec-modular .ma-request-grid dd{margin:0;line-height:1.7;overflow-wrap:anywhere;white-space:pre-line;color:#eee}
#sec-modular .ma-request-form{display:grid;grid-template-columns:180px 1fr auto;align-items:end;gap:12px;border-top:1px solid var(--ma-line);padding-top:17px;margin-top:17px}
#sec-modular .ma-request-form textarea{min-height:43px;height:43px}
#sec-modular .ma-request-note{padding:13px;background:#1d1d1d;border:1px solid #3e3e3e;border-radius:7px;font-size:12px;line-height:1.6;white-space:pre-line;color:#d9d9d9}
#sec-modular .ma-empty{text-align:center;padding:38px 22px;color:var(--ma-muted);font-size:13px;line-height:1.7;border:1px dashed #585858;border-radius:11px;background:var(--ma-surface)}
#sec-modular .ma-loading{padding:40px 20px;color:var(--ma-muted)}
#sec-modular .ma-error{color:#ffbdbf;background:#40272a;border:1px solid #884447;padding:18px;border-radius:10px;font-size:13px;line-height:1.6}
#sec-modular .ma-readiness{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid var(--ma-line);font-size:12px}
#sec-modular .ma-readiness:last-child{border:0}
#sec-modular .ma-readiness p{margin:5px 0 0;color:var(--ma-muted);line-height:1.6}
#sec-modular .ma-dot{width:7px;height:7px;border-radius:50%;background:#e5b868;flex:0 0 auto;margin-top:5px}
#sec-modular .ma-dot.done{background:#c9c9c9}
#sec-modular .ma-heading-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 15px}
#sec-modular .ma-heading-row h3{font-size:18px;margin:0;color:#fff}
#sec-modular .ma-footnote{font-size:11px;line-height:1.7;color:#b2b2b2;margin:12px 0}
#sec-modular .ma-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#ma-preview{width:min(1100px,calc(100vw - 28px));height:min(900px,calc(100vh - 28px));max-width:none;max-height:none;padding:0;border:1px solid #595959;border-radius:13px;background:#242424;box-shadow:0 20px 100px #0008}
#ma-preview::backdrop{background:#000b;backdrop-filter:blur(4px)}
#ma-preview[open]{display:flex;flex-direction:column}
#ma-preview>header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 20px;background:#1b1b1b;border-bottom:2px solid var(--ma-red)}
#ma-preview h3{font-size:16px;margin:0;color:#fff;line-height:1.4}
#ma-preview .ma-preview-note{padding:12px 20px;font-size:12px;line-height:1.6;color:#e8cda5;background:#30291f;border-bottom:1px solid #514737}
#ma-preview iframe{flex:1;width:100%;border:0;background:#373737;min-height:250px}
#ma-preview>footer{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 20px;font-size:12px;color:#ccc;background:#242424}
#ma-preview a{color:#ff9799}
#ma-preview .ma-preview-fallback{padding:30px;text-align:center;color:#ddd}
@media(min-width:1500px){#sec-modular .ma-model-visual{height:205px}}
@media(max-width:1150px){#sec-modular .ma-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}#sec-modular .ma-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#sec-modular .ma-request-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#sec-modular .ma-context{gap:16px}#sec-modular .ma-context-meta{flex:1}#sec-modular .ma-brand-crop{width:260px}#sec-modular .ma-context-actions .ma-btn{padding:8px 10px}#sec-modular .ma-header-actions{gap:7px}}
@media(max-width:760px){#sec-modular{padding:4px 0 28px}#sec-modular .ma-hero{padding:18px}#sec-modular .ma-brand-row{flex-direction:column;align-items:flex-start;gap:17px;margin-bottom:18px}#sec-modular .ma-brand-crop{width:min(300px,100%)}#sec-modular .ma-header-actions{justify-content:flex-start;gap:8px}#sec-modular .ma-hero-copy{padding-top:18px}#sec-modular .ma-hero h2{font-size:26px}#sec-modular .ma-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0}#sec-modular .ma-metric{padding:14px}#sec-modular .ma-metric strong{font-size:25px}#sec-modular .ma-tabs{position:relative;margin:0 0 16px;gap:3px}#sec-modular .ma-tab{padding:11px 13px;min-height:44px}#sec-modular .ma-model-grid,#sec-modular .ma-doc-grid,#sec-modular .ma-review-grid,#sec-modular .ma-summary{grid-template-columns:1fr}#sec-modular .ma-model-visual{height:190px}#sec-modular .ma-panel-head{flex-direction:column;gap:14px;margin-top:20px}#sec-modular .ma-panel-head h3{font-size:21px}#sec-modular .ma-context{display:grid;grid-template-columns:1fr;gap:14px;padding:15px}#sec-modular .ma-model-select{min-width:0;width:100%}#sec-modular .ma-model-select select{width:100%;min-height:46px}#sec-modular .ma-context-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px}#sec-modular .ma-context-actions{margin-left:0;display:flex}#sec-modular .ma-context-actions .ma-btn{flex:1;min-height:44px}#sec-modular .ma-btn{min-height:44px}#sec-modular .ma-toolbar{gap:10px}#sec-modular .ma-toolbar>.ma-field{flex:1;min-width:140px}#sec-modular .ma-search{min-width:100%!important}#sec-modular .ma-toolbar>.ma-btn{flex:1;white-space:normal;text-align:center}#sec-modular .ma-table-wrap{border-radius:8px;max-height:62vh}#sec-modular .ma-material-name{min-width:168px;max-width:185px}#sec-modular .ma-table td{padding:12px 10px}#sec-modular .ma-table td:first-child{max-width:185px}#sec-modular .ma-table td strong{font-size:11px}#sec-modular .ma-table td small{font-size:10px}#sec-modular .ma-inline-input{min-height:44px}#sec-modular .ma-request{padding:16px}#sec-modular .ma-request-top{align-items:flex-start}#sec-modular .ma-request-grid{grid-template-columns:1fr}#sec-modular .ma-request-form{grid-template-columns:1fr}#sec-modular .ma-savebar{bottom:12px;right:12px;left:12px;width:auto;gap:12px;padding:13px;flex-wrap:wrap}#sec-modular .ma-save-copy{flex:1 0 100%}#sec-modular .ma-savebar .ma-actions{width:100%}#sec-modular .ma-savebar .ma-btn{flex:1}#sec-modular.has-draft{padding-bottom:170px}#sec-modular .ma-heading-row{align-items:flex-start}#sec-modular .ma-timeline{grid-template-columns:1fr;gap:11px}#sec-modular .ma-week{padding:18px}#sec-modular .ma-review-fields{grid-template-columns:1fr}#sec-modular .ma-review-fields .ma-wide{grid-column:auto}#sec-modular .ma-floorplan{grid-template-columns:1fr;padding:15px;gap:17px}#sec-modular .ma-floorplan>img{max-height:310px}#sec-modular .ma-banner{padding:14px;gap:10px}#sec-modular .ma-doc-top .ma-tag{font-size:9px}#ma-preview>header,#ma-preview>footer{padding:12px}#ma-preview h3{font-size:14px}#ma-preview>footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){#sec-modular .ma-btn,#sec-modular .ma-tab,#ma-preview .ma-btn{transition:background .15s,color .15s,border-color .15s}}

#sec-modular .ma-brand-crop{width:180px;height:auto;aspect-ratio:auto;overflow:visible}#sec-modular .ma-brand-crop img{position:static;transform:none;width:180px;height:auto;max-width:100%;object-fit:contain}#sec-modular .ma-hero{padding:24px}#sec-modular .ma-hero-copy .ma-kicker{display:none}#sec-modular .ma-hero-copy h2{font-size:clamp(24px,3vw,36px);margin:18px 0 6px}#sec-modular .ma-hero-copy p{max-width:70ch}#sec-modular .ma-header-actions>a{display:none}#sec-modular .ma-meta .ma-metric strong{font-size:clamp(22px,2.4vw,34px);font-variant-numeric:tabular-nums}#sec-modular .ma-tabs{flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}#sec-modular .ma-tab{white-space:nowrap}#sec-modular .mc-launch{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:#292929;border-left:3px solid #cf1721}#sec-modular .mc-launch h3{font-size:24px;margin:0 0 8px}#sec-modular .mc-launch p{margin:0;color:#c6c6c6}#sec-modular .mc-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}#sec-modular .mc-collection article{background:#242424;overflow:hidden;border:1px solid #404040;border-radius:8px}#sec-modular .mc-collection img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}#sec-modular .mc-collection article>div{padding:20px}#sec-modular .mc-collection h4{font-size:21px;margin:0}#sec-modular .mc-collection .ma-actions{margin-top:18px;flex-wrap:wrap}#sec-modular .mc-collection p{color:#c0c0c0;font-size:13px}#sec-modular .mc-orders-table{min-width:850px}#sec-modular .mc-orders-table td{vertical-align:middle;padding:18px 14px}#sec-modular .mc-orders-table small{display:block;color:#bbb;line-height:1.7;overflow-wrap:anywhere}#sec-modular .mc-text-button{background:none;border:0;color:white;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:4px;padding:0;cursor:pointer}#sec-modular .mc-good{color:#d8f5df;background:#203d2a;border:1px solid #476e50}#sec-modular .mc-pagination{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin:20px 0}#sec-modular .mc-admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0;align-items:start}#sec-modular .mc-admin-columns .ma-card{margin:0}#sec-modular .mc-admin-columns h4{margin:0 0 16px;font-size:20px}#sec-modular .mc-admin-columns h4:not(:first-child){margin-top:26px}#sec-modular .mc-admin-columns .ma-field{margin-bottom:18px}#sec-modular .mc-admin-columns textarea{width:100%;resize:vertical;min-height:90px;line-height:1.6}#sec-modular .mc-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}#sec-modular .mc-price-fields .ma-field:first-child{grid-column:1/-1}#sec-modular .mc-admin-check{display:flex;align-items:flex-start;gap:12px;padding:16px 0;line-height:1.6;font-size:14px}#sec-modular .mc-admin-check input{width:19px;height:19px;flex:0 0 auto;accent-color:#cf1721;margin-top:2px}#sec-modular .mc-admin-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #454545;padding-top:20px;margin-top:20px}#sec-modular [data-commerce-dirty]{font-size:12px;color:#f3d397}#sec-modular .mc-readiness{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;padding:8px 20px;background:#242424;border:1px solid #414141;border-radius:6px}#sec-modular .mc-readiness>div{display:flex;align-items:center;gap:12px;padding:14px 0;font-size:13px}#sec-modular .mc-readiness strong{margin-left:auto;color:#ccc;font-size:12px;font-weight:500}#sec-modular .mc-code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:#151515;font-size:12px}#sec-modular details.ma-card{margin-top:20px}#sec-modular summary{cursor:pointer;padding:12px 0;font-size:15px;font-weight:600}#sec-modular .mc-admin-columns li{overflow-wrap:anywhere;line-height:1.8;font-size:12px}#sec-modular .mc-order-heading{margin-top:24px}#sec-modular .mc-order-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#292929;padding:24px;border-radius:6px}#sec-modular .mc-order-totals span{display:block;font-size:13px;color:#c4c4c4}#sec-modular .mc-order-totals strong{display:block;margin-top:10px;font-size:27px;font-variant-numeric:tabular-nums}#sec-modular .mc-pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#sec-modular .mc-admin-columns p{overflow-wrap:anywhere;line-height:1.7}#sec-modular .mc-text-button:focus-visible{outline:2px solid white;outline-offset:4px}#sec-modular .ma-btn:disabled{opacity:.5;cursor:wait}@media(max-width:1100px){#sec-modular .mc-collection{grid-template-columns:repeat(2,minmax(0,1fr))}#sec-modular .mc-price-fields{grid-template-columns:1fr}#sec-modular .mc-readiness{grid-template-columns:1fr}}@media(max-width:760px){#sec-modular .mc-admin-columns{grid-template-columns:1fr}#sec-modular .mc-launch{align-items:flex-start;flex-direction:column}#sec-modular .mc-order-totals{gap:12px;padding:18px}#sec-modular .mc-order-totals strong{font-size:20px}#sec-modular .mc-order-totals span{font-size:11px}#sec-modular .mc-collection{grid-template-columns:1fr}#sec-modular .ma-hero{padding:20px}#sec-modular .mc-admin-actions{align-items:stretch;flex-direction:column}#sec-modular .mc-readiness>div{gap:8px}#sec-modular .mc-readiness strong{font-size:10px}}

#sec-modular .ma-hero{background:#080808}
/* Operational workspace: compact navigation, actionable queues and explicit model context. */
#sec-modular{--ma-bg:#191919;--ma-surface:#222;--ma-raised:#292929;--ma-field:#151515;--ma-line:#ffffff1f;--ma-red:#cf1721;--ma-red-strong:#b40f19;--ma-red-soft:#382024;font-size:14px;-webkit-font-smoothing:antialiased}
#sec-modular :is(strong,.ma-numeric,.ma-tag){font-variant-numeric:tabular-nums}
#sec-modular :is(h2,h3,h4){text-wrap:balance}
#sec-modular .wf-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0 24px;border-bottom:1px solid var(--ma-line);margin-bottom:24px}
#sec-modular .wf-title{display:flex;align-items:center;gap:24px;min-width:0}
#sec-modular .wf-title>img{width:180px;height:auto;max-height:64px;object-fit:contain;flex:none}
#sec-modular .wf-title h2{font-size:28px;line-height:1.15;letter-spacing:-.035em;margin:0 0 6px;font-weight:700}
#sec-modular .wf-title p{margin:0;color:var(--ma-muted);font-size:13px;line-height:1.5}
#sec-modular .wf-header .ma-btn svg{width:16px;height:16px}
#sec-modular .wf-shell{display:grid;grid-template-columns:184px minmax(0,1fr);gap:28px;align-items:start}
#sec-modular .wf-nav{position:sticky;top:20px;border-right:1px solid var(--ma-line);padding-right:16px}
#sec-modular .wf-nav-group{margin-bottom:24px}
#sec-modular .wf-nav-group>p{font-size:11px;line-height:1.4;color:var(--ma-muted);margin:0 0 8px;padding:0 12px}
#sec-modular .wf-nav .ma-tab{display:flex;gap:10px;align-items:center;text-align:left;width:100%;white-space:normal;min-height:44px;padding:10px 12px;border:0;margin:2px 0;font-size:12px;font-weight:550;border-radius:6px;color:var(--ma-muted);line-height:1.4}
#sec-modular .wf-nav .ma-tab svg{width:18px;height:18px;flex:none}
#sec-modular .wf-nav .ma-tab span{flex:1}
#sec-modular .wf-nav .ma-tab small{font-size:11px;padding:1px 5px;background:#ffffff0d;border-radius:4px}
#sec-modular .wf-nav .ma-tab[aria-selected=true]{background:var(--ma-red-soft);color:#fff;box-shadow:inset 3px 0 var(--ma-red);font-weight:650}
#sec-modular .wf-mobile-nav{display:none}
#sec-modular .wf-content{min-width:0;container-type:inline-size}
#sec-modular #ma-panel:focus{outline:none}
#sec-modular .ma-panel-head{margin:0 0 24px;align-items:flex-start}
#sec-modular .ma-panel-head h3{font-size:24px;line-height:1.25;letter-spacing:-.025em;margin:0 0 8px}
#sec-modular .ma-panel-head p{font-size:13px;line-height:1.6;max-width:70ch;margin:0;color:var(--ma-muted)}
#sec-modular .ma-btn{min-height:44px;border-radius:6px;border-color:#ffffff29;background:var(--ma-raised);font-size:12px}
#sec-modular .ma-btn-primary{background:var(--ma-red);border-color:var(--ma-red)}
#sec-modular .ma-btn-primary:hover{background:var(--ma-red-strong);border-color:var(--ma-red-strong)}
#sec-modular .ma-btn[aria-pressed=true]{background:var(--ma-red-soft);border-color:var(--ma-red)}
#sec-modular .ma-btn:disabled{cursor:default}
#sec-modular :is(.ma-card,.ma-review,.ma-doc,.ma-request,.ma-week){border-radius:8px;border-color:var(--ma-line);background:var(--ma-surface);box-shadow:none}
#sec-modular .ma-field>span,#sec-modular .ma-field>label{font-size:12px;color:var(--ma-muted)}
#sec-modular :is(.ma-field input,.ma-field select,.ma-field textarea){border-radius:6px;border-color:#ffffff29;min-height:44px;background:var(--ma-field);font-size:13px}
#sec-modular .ma-field input[type=file]{width:100%;max-width:100%;white-space:normal}
#sec-modular .ma-toolbar{gap:12px;align-items:end}
#sec-modular .ma-toolbar .ma-field{min-width:140px}
#sec-modular .ma-toolbar .ma-search{flex:1 1 200px}
#sec-modular .ma-heading-row{margin:28px 0 16px;gap:16px}
#sec-modular .ma-heading-row :is(h3,h4){font-size:18px;line-height:1.4;letter-spacing:-.015em;margin:0}
#sec-modular .ma-heading-row>span{color:var(--ma-muted);font-size:12px}
#sec-modular .ma-tag{border-radius:4px;line-height:1.4;white-space:normal;letter-spacing:0;text-transform:none}
#sec-modular .wf-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--ma-line);border-bottom:1px solid var(--ma-line);margin:0 0 28px}
#sec-modular .wf-metrics>button{position:relative;text-align:left;padding:20px 24px;background:none;border:0;border-right:1px solid var(--ma-line);color:var(--ma-ink);cursor:pointer}
#sec-modular .wf-metrics>button:first-child{padding-left:0}
#sec-modular .wf-metrics>button:last-child{border-right:0}
#sec-modular .wf-metrics>button:hover{background:var(--ma-surface)}
#sec-modular .wf-metrics span{display:block;color:var(--ma-muted);font-size:12px;padding-right:20px;line-height:1.5}
#sec-modular .wf-metrics strong{display:block;font-size:32px;line-height:1.1;letter-spacing:-.03em;margin-top:12px;font-weight:650}
#sec-modular .wf-metrics svg{position:absolute;right:24px;bottom:24px;width:20px;height:20px;color:var(--ma-muted)}
#sec-modular .wf-overview-body{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px}
#sec-modular .wf-overview-body h4{font-size:16px;margin:0 0 16px}
#sec-modular .wf-task{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:0;border-top:1px solid var(--ma-line);padding:16px 0;background:none;color:var(--ma-ink);cursor:pointer}
#sec-modular .wf-task:hover{background:var(--ma-surface)}
#sec-modular .wf-task>span:nth-child(2){flex:1;min-width:0}
#sec-modular .wf-task strong{display:block;font-size:14px;line-height:1.45;font-weight:600}
#sec-modular .wf-task small{display:block;font-size:12px;line-height:1.55;color:var(--ma-muted);margin-top:4px;max-width:65ch}
#sec-modular .wf-task>svg{width:16px;height:16px;flex:none;color:var(--ma-muted)}
#sec-modular .wf-task-icon{display:grid;place-items:center;width:36px;height:36px;background:var(--ma-raised);border-radius:6px;flex:none;color:#e9e9e9}
#sec-modular .wf-task-icon svg{width:18px;height:18px}
#sec-modular .wf-overview-aside{padding:20px;background:var(--ma-surface);border-radius:8px;align-self:start;min-width:0}
#sec-modular .wf-overview-aside p{font-size:13px;line-height:1.7;color:var(--ma-muted)}
#sec-modular .wf-checks{margin-top:20px}
#sec-modular .wf-checks button{display:grid;grid-template-columns:8px minmax(0,1fr);gap:6px 10px;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--ma-line);padding:12px 0;color:var(--ma-ink);cursor:pointer;min-height:44px}
#sec-modular .wf-checks button:hover span:not(.ma-dot){text-decoration:underline}
#sec-modular .wf-checks span{font-size:12px;line-height:1.4}
#sec-modular .wf-checks .ma-dot{margin-top:4px;width:7px;height:7px}
#sec-modular .wf-checks small{grid-column:2;font-size:11px;color:var(--ma-muted)}
#sec-modular .wf-finance{border-top:1px solid var(--ma-line);margin-top:12px;padding-top:20px;display:grid;gap:16px}
#sec-modular .wf-finance>span{font-size:12px;color:var(--ma-muted)}
#sec-modular .wf-finance strong{display:block;font-size:20px;line-height:1.5;color:var(--ma-ink)}
#sec-modular .wf-models{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#sec-modular .wf-model-card{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;border:1px solid var(--ma-line);border-radius:8px;overflow:hidden;background:var(--ma-surface)}
#sec-modular .wf-model-card>img{width:100%;height:100%;max-height:240px;min-height:160px;object-fit:cover}
#sec-modular .wf-model-card>div{padding:20px 20px 20px 0;min-width:0}
#sec-modular .wf-model-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#sec-modular .wf-model-name h4{font-size:18px;margin:0;letter-spacing:-.02em}
#sec-modular .wf-model-card p{font-size:13px;color:var(--ma-muted);margin:8px 0}
#sec-modular .wf-model-card small{font-size:12px;color:var(--ma-muted);line-height:1.6}
#sec-modular .wf-model-card .wf-model-price{font-size:16px;color:var(--ma-ink);font-weight:650;margin:12px 0}
#sec-modular .wf-model-price span{font-size:11px;color:var(--ma-muted);font-weight:400;display:block;margin-top:4px}
#sec-modular .wf-model-card .ma-actions{margin-top:16px;gap:8px}
#sec-modular .wf-model-context{display:flex;align-items:center;gap:20px;background:var(--ma-surface);border:1px solid var(--ma-line);border-radius:8px;padding:16px;margin:0 0 16px;flex-wrap:wrap}
#sec-modular .wf-model-context>img{width:104px;height:80px;object-fit:cover;border-radius:4px}
#sec-modular .wf-model-choice{flex:1;min-width:180px}
#sec-modular .wf-model-choice .ma-field{margin:0 0 6px}
#sec-modular .wf-model-choice small{font-size:11px;color:var(--ma-muted)}
#sec-modular .wf-model-revision{display:grid;gap:6px;max-width:210px;min-width:130px}
#sec-modular .wf-model-revision>span,#sec-modular .wf-model-revision small{font-size:11px;color:var(--ma-muted);line-height:1.5}
#sec-modular .wf-model-revision strong{font-size:13px;line-height:1.5}
#sec-modular .wf-plan-note{border-left:3px solid var(--ma-amber);padding:0 16px;background:#e7bf7708;border-radius:0 6px 6px 0;margin:0 0 24px}
#sec-modular .wf-plan-note summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;min-height:48px;cursor:pointer;font-size:12px;color:#e7c794}
#sec-modular .wf-plan-note summary::after{content:'+';font-size:20px;color:var(--ma-muted)}
#sec-modular .wf-plan-note[open] summary::after{content:'−'}
#sec-modular .wf-plan-note summary span:first-child{flex:1;font-weight:600}
#sec-modular .wf-plan-note p{font-size:12px;line-height:1.7;color:var(--ma-muted);max-width:90ch}
#sec-modular .wf-plan-note .ma-btn{margin-bottom:16px}
#sec-modular .ma-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#sec-modular .ma-doc{padding:20px;display:flex;flex-direction:column;gap:0;min-width:0}
#sec-modular .ma-doc h4{font-size:15px;line-height:1.5;margin:16px 0 8px}
#sec-modular .ma-doc p{font-size:11px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:16px}
#sec-modular .ma-doc .ma-actions{margin-top:auto}
#sec-modular .ma-doc-top{gap:12px;align-items:start;flex-wrap:wrap}
#sec-modular .ma-doc-code{font-size:11px;line-height:1.5;letter-spacing:0;text-transform:none}
#sec-modular .wf-disclosure{border:1px solid var(--ma-line);border-radius:8px;padding:0 20px;margin:16px 0;background:var(--ma-surface)}
#sec-modular .wf-disclosure>summary{min-height:52px;padding:16px 0;cursor:pointer;font-size:13px;font-weight:600;line-height:1.5}
#sec-modular .wf-disclosure>summary span{float:right;font-size:12px;color:var(--ma-muted);margin-left:12px}
#sec-modular .wf-disclosure>p{font-size:12px;line-height:1.7;color:var(--ma-muted)}
#sec-modular .wf-disclosure[open]{padding-bottom:20px}
#sec-modular .wf-disclosure .ma-floorplan{margin:0;background:var(--ma-field)}
#sec-modular .wf-archive .ma-doc{background:var(--ma-bg)}
#sec-modular .wf-material-actions{margin-bottom:16px}
#sec-modular .wf-material-actions strong{background:#ffffff12;border-radius:4px;padding:2px 6px}
#sec-modular .wf-source{min-width:140px;max-width:300px}
#sec-modular .wf-source summary{cursor:pointer;color:var(--ma-muted);font-size:11px;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
#sec-modular .wf-source p{font-size:12px;line-height:1.6;white-space:normal;margin:8px 0;overflow-wrap:anywhere}
#sec-modular .ma-table td{border-color:var(--ma-line);padding:14px 12px;vertical-align:top}
#sec-modular .ma-table th{border-color:var(--ma-line);background:var(--ma-raised)}
#sec-modular .ma-table-wrap{border-color:var(--ma-line);border-radius:8px}
#sec-modular .mc-orders-table{min-width:760px}
#sec-modular .wf-empty{padding:32px 24px;text-align:left;background:var(--ma-surface);border:1px dashed #ffffff29;border-radius:8px}
#sec-modular .wf-empty strong{display:block;color:var(--ma-ink);font-size:15px}
#sec-modular .wf-empty p{margin:8px 0 20px;font-size:13px;color:var(--ma-muted);max-width:60ch}
#sec-modular .wf-pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 24px;border:1px solid var(--ma-line);border-radius:8px;overflow:hidden}
#sec-modular .wf-pipeline button{display:flex;flex-direction:column;align-items:start;gap:12px;min-height:88px;background:var(--ma-surface);border:0;border-right:1px solid var(--ma-line);padding:16px;color:var(--ma-ink);cursor:pointer;text-align:left}
#sec-modular .wf-pipeline button:last-child{border-right:0}
#sec-modular .wf-pipeline button:hover{background:var(--ma-raised)}
#sec-modular .wf-pipeline button[aria-pressed=true]{box-shadow:inset 0 -3px var(--ma-red);background:var(--ma-red-soft)}
#sec-modular .wf-pipeline span{font-size:11px;color:var(--ma-muted);line-height:1.5}
#sec-modular .wf-pipeline strong{font-size:24px;line-height:1;font-weight:650}
#sec-modular .wf-order-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0;list-style:none;margin:0 0 20px}
#sec-modular .wf-order-progress li{display:flex;align-items:center;gap:8px;padding:12px 0;font-size:11px;color:var(--ma-muted);border-bottom:2px solid var(--ma-line);line-height:1.5}
#sec-modular .wf-order-progress li>span{width:24px;height:24px;display:grid;place-items:center;flex:none;border-radius:50%;background:var(--ma-raised);font-size:11px}
#sec-modular .wf-order-progress li[aria-current=step]{border-color:var(--ma-red);color:#fff;font-weight:650}
#sec-modular .wf-order-progress li[aria-current=step]>span{background:var(--ma-red)}
#sec-modular .wf-next-step{padding:20px;background:var(--ma-surface);border-left:3px solid var(--ma-red);border-radius:0 8px 8px 0;margin:16px 0 24px}
#sec-modular .wf-next-step>strong{font-size:14px}
#sec-modular .wf-next-step>p{font-size:13px;line-height:1.7;color:var(--ma-muted);max-width:75ch;margin:8px 0}
#sec-modular .wf-next-step .ma-actions{margin:16px 0}
#sec-modular .wf-next-step>small{display:block;font-size:11px;color:var(--ma-muted);line-height:1.6}
#sec-modular .wf-price-progress{padding:12px 16px;background:var(--ma-field);border-radius:6px;font-size:12px;color:var(--ma-muted)}
#sec-modular .wf-price-progress strong{color:var(--ma-ink);float:right}
#sec-modular .mc-admin-actions{flex-wrap:wrap}
#sec-modular .ma-request-grid dd{overflow-wrap:anywhere}
#sec-modular :is(.wf-disclosure,.wf-source,.wf-plan-note)>summary:focus-visible{outline:3px solid #f27375;outline-offset:3px}
@container (min-width:1050px){#sec-modular .wf-models{grid-template-columns:repeat(2,minmax(0,1fr))}#sec-modular .wf-model-card{grid-template-columns:160px minmax(0,1fr)}}
@container (max-width:800px){#sec-modular .wf-overview-body{grid-template-columns:1fr}#sec-modular .wf-checks{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#sec-modular .wf-finance{grid-template-columns:1fr 1fr}#sec-modular .mc-admin-columns{grid-template-columns:1fr}#sec-modular .wf-model-revision{flex:1}#sec-modular .wf-model-context{gap:16px}#sec-modular .ma-review-grid{grid-template-columns:1fr}}
@media(max-width:1050px){#sec-modular .wf-shell{grid-template-columns:1fr;gap:16px}#sec-modular .wf-nav{display:none}#sec-modular .wf-mobile-nav{display:flex;margin:0}#sec-modular .wf-title{gap:16px}#sec-modular .wf-title>img{width:150px}#sec-modular .wf-header{gap:16px}}
@media(max-width:600px){#sec-modular .wf-header{flex-wrap:wrap;padding:8px 0 20px;margin-bottom:20px}#sec-modular .wf-title{width:100%;align-items:center}#sec-modular .wf-title>img{width:128px}#sec-modular .wf-title h2{font-size:22px}#sec-modular .wf-title p{font-size:11px}#sec-modular .wf-header>.ma-actions{width:100%;justify-content:flex-end}#sec-modular .ma-panel-head{margin-bottom:20px}#sec-modular .ma-panel-head h3{font-size:22px}#sec-modular .wf-metrics>button{padding:16px 12px}#sec-modular .wf-metrics>button:first-child{padding-left:0}#sec-modular .wf-metrics span{font-size:11px;padding:0}#sec-modular .wf-metrics strong{font-size:28px}#sec-modular .wf-metrics svg{display:none}#sec-modular .wf-task{gap:12px}#sec-modular .wf-task-icon{display:none}#sec-modular .wf-overview-aside{padding:16px}#sec-modular .wf-model-card{grid-template-columns:1fr;gap:0}#sec-modular .wf-model-card>img{height:170px;min-height:0;width:100%;object-position:50% 55%}#sec-modular .wf-model-card>div{padding:20px}#sec-modular .wf-model-context{padding:12px;gap:12px}#sec-modular .wf-model-context>img{width:64px;height:64px}#sec-modular .wf-model-choice{min-width:160px}#sec-modular .wf-model-revision{max-width:none}#sec-modular .ma-doc-grid{grid-template-columns:1fr}#sec-modular .wf-disclosure{padding:0 16px}#sec-modular .wf-pipeline{grid-template-columns:repeat(3,minmax(0,1fr))}#sec-modular .wf-pipeline button{border-bottom:1px solid var(--ma-line);padding:12px;min-height:80px}#sec-modular .wf-order-progress{grid-template-columns:1fr;gap:0}#sec-modular .wf-order-progress li{padding:8px;border-bottom:0;border-left:2px solid var(--ma-line)}#sec-modular .wf-order-progress li[aria-current=step]{background:var(--ma-red-soft)}#sec-modular .ma-toolbar{align-items:stretch}#sec-modular .ma-toolbar>.ma-field{width:100%;min-width:0}#sec-modular .ma-toolbar .ma-search{flex-basis:auto}#sec-modular .wf-plan-note summary{gap:12px}#sec-modular .wf-plan-note summary span:nth-child(2){display:none}#sec-modular .wf-checks{grid-template-columns:1fr}#sec-modular .ma-doc{padding:16px}#sec-modular .ma-doc-top{gap:8px}#sec-modular .ma-card{padding:16px}#sec-modular .wf-next-step{padding:16px}#sec-modular .mc-order-totals{grid-template-columns:1fr}#sec-modular .wf-price-progress{padding:12px}}
#sec-modular .wf-title>div{min-width:0}
#sec-modular .wf-finance>span{min-width:0}
#sec-modular [data-request-dirty]{grid-column:1/-1;color:var(--ma-amber);font-size:12px}
@container (max-width:650px){
 #sec-modular .mc-orders-table{display:block;min-width:0;width:100%}
 #sec-modular .mc-orders-table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
 #sec-modular .mc-orders-table tbody{display:grid;gap:0}
 #sec-modular .mc-orders-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:20px;border-bottom:1px solid var(--ma-line)}
 #sec-modular .mc-orders-table tr:last-child{border-bottom:0}
 #sec-modular .mc-orders-table td{display:block;padding:0;border:0;min-width:0;text-align:left;white-space:normal;font-size:13px;overflow-wrap:anywhere}
 #sec-modular .mc-orders-table td::before{content:attr(data-label);display:block;font-size:11px;line-height:1.4;color:var(--ma-muted);margin-bottom:6px}
 #sec-modular .mc-orders-table td:is(:first-child,:nth-child(2),:last-child){grid-column:1/-1}
 #sec-modular .mc-orders-table td:is(:first-child,:last-child)::before{display:none}
 #sec-modular .mc-orders-table td:first-child .mc-text-button{font-size:15px}
 #sec-modular .mc-orders-table td:last-child .ma-btn{width:100%}
 #sec-modular .mc-orders-table td small{font-size:12px;line-height:1.6}
}
@media(max-width:360px){#sec-modular .wf-finance{grid-template-columns:1fr}#sec-modular .wf-title{align-items:flex-start}#sec-modular .wf-title>img{width:112px}#sec-modular .wf-model-choice{min-width:140px}#sec-modular .wf-model-context>img{width:52px;height:52px}}

/* Actual dashboard flex shell: auto inline margins must never shrink this view. */
#view-modular{min-width:0}
#view-modular>#sec-modular{width:100%;max-width:none;min-width:0;margin:0;align-self:stretch}
#sec-modular{width:100%;max-width:none;margin:0;padding:0 0 48px;line-height:1.5}
#sec-modular .wf-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#sec-modular .wf-header{margin:0 0 16px;padding:14px 0 20px;gap:24px}
#sec-modular .wf-title{gap:24px}
#sec-modular .wf-title>img{width:164px;height:50px;max-height:none;object-fit:contain}
#sec-modular .wf-title p{font-size:14px;max-width:50ch;line-height:1.6}
#sec-modular .wf-header>.ma-actions{flex:none}
#sec-modular .wf-shell{display:flex;flex-direction:column;gap:28px;width:100%;min-width:0;container-type:inline-size;container-name:modular-workspace}
#sec-modular .wf-shell>.wf-content{width:100%;min-width:0}
#sec-modular .wf-nav{position:static;width:100%;padding:0 0 4px;border:0;border-bottom:1px solid var(--ma-line);overflow-x:auto;scrollbar-width:thin;scrollbar-color:#666 transparent;scroll-padding-inline:8px}
#sec-modular .wf-nav>[role=tablist]{display:grid;grid-template-columns:repeat(var(--wf-tab-count),minmax(0,1fr));align-items:stretch;width:100%;min-width:0;gap:4px;padding:0 0 8px}
#sec-modular .wf-nav .ma-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:0;white-space:nowrap;font-size:13px;font-weight:550;min-height:46px;padding:11px 8px;margin:0;border-radius:6px;line-height:1.4}
#sec-modular .wf-nav .ma-tab svg{width:17px;height:17px}
#sec-modular .wf-nav .ma-tab[aria-selected=true]{box-shadow:inset 0 -3px var(--ma-red);background:var(--ma-red-soft)}
#sec-modular .wf-nav .ma-tab.wf-group-start{margin-left:0}
#sec-modular .wf-mobile-nav{width:100%}
#sec-modular .ma-panel-head{margin:0 0 22px}
#sec-modular .ma-panel-head h3{font-size:26px;line-height:1.3;letter-spacing:normal}
#sec-modular .ma-panel-head p{font-size:14px}
#sec-modular .ma-btn{font-size:13px}
#sec-modular .ma-btn-small{min-height:42px}
#sec-modular .ma-field>span,#sec-modular .ma-field>label{font-size:13px}
#sec-modular :is(.ma-field input,.ma-field select,.ma-field textarea){font-size:14px}
#sec-modular :is(.ma-field select,.ma-model-select select){appearance:auto;-webkit-appearance:auto;padding-right:28px;background-image:none}
#sec-modular .ma-tag{font-size:11px}
#sec-modular .wf-metrics{margin-bottom:28px;border:1px solid var(--ma-line);border-radius:8px;background:var(--ma-surface);overflow:hidden}
#sec-modular .wf-metrics>button,#sec-modular .wf-metrics>button:first-child{padding:18px 24px;min-height:106px}
#sec-modular .wf-metrics span{font-size:13px}
#sec-modular .wf-metrics strong{font-size:28px;margin-top:6px}
#sec-modular .wf-metrics svg{bottom:20px;right:24px}
#sec-modular .wf-quick-models{margin:0 0 32px}
#sec-modular .wf-quick-models .ma-heading-row{margin:0 0 14px}
#sec-modular .wf-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#sec-modular .wf-quick-model{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 20px;text-align:left;padding:0;background:var(--ma-surface);border:1px solid var(--ma-line);border-radius:8px;overflow:hidden;color:var(--ma-ink);cursor:pointer;min-width:0}
#sec-modular .wf-quick-model:hover{border-color:#878787;background:var(--ma-raised)}
#sec-modular .wf-quick-model>img{display:block;grid-column:1/-1;width:100%;height:auto;aspect-ratio:16/8;object-fit:cover;object-position:50% 58%}
#sec-modular .wf-quick-model>span{display:grid;gap:4px;padding:14px 16px;min-width:0}
#sec-modular .wf-quick-model strong{font-size:15px;font-weight:650}
#sec-modular .wf-quick-model small{font-size:12px;color:var(--ma-muted)}
#sec-modular .wf-quick-model>svg{align-self:center;width:16px;height:16px;margin-left:-12px;color:var(--ma-muted)}
#sec-modular .wf-overview-body{grid-template-columns:minmax(0,1fr) 320px;gap:32px}
#sec-modular .wf-overview-body h4{font-size:18px;margin-bottom:16px}
#sec-modular .wf-task{gap:16px;padding:18px 4px;min-height:82px}
#sec-modular .wf-task strong{font-size:15px}
#sec-modular .wf-task small{font-size:13px}
#sec-modular .wf-task-icon{width:40px;height:40px}
#sec-modular .wf-overview-aside{padding:24px;border:1px solid var(--ma-line)}
#sec-modular .wf-checks span{font-size:13px}
#sec-modular .wf-checks small{font-size:12px}
#sec-modular .wf-finance>span{font-size:13px}
#sec-modular .wf-models{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#sec-modular .wf-model-card{display:flex;flex-direction:column;gap:0;min-width:0}
#sec-modular .wf-model-card>img{width:100%;height:auto;aspect-ratio:16/9;max-height:none;min-height:0;object-fit:cover;object-position:50% 58%}
#sec-modular .wf-model-card>div{display:flex;flex-direction:column;flex:1;padding:20px;min-width:0}
#sec-modular .wf-model-card .ma-actions{padding-top:16px;margin-top:auto}
#sec-modular .wf-model-card p{font-size:14px}
#sec-modular .wf-model-card small{font-size:12px}
#sec-modular .wf-model-card .wf-model-price{margin-bottom:16px}
#sec-modular .wf-model-context{gap:24px;padding:18px 20px}
#sec-modular .wf-model-context>img{width:128px;height:88px}
#sec-modular .wf-model-choice small,#sec-modular .wf-model-revision>span,#sec-modular .wf-model-revision small{font-size:12px}
#sec-modular .wf-model-revision{max-width:280px}
#sec-modular .wf-model-revision strong{font-size:14px}
#sec-modular .ma-doc-grid{gap:16px}
#sec-modular .ma-doc{padding:24px}
#sec-modular .ma-doc h4{font-size:17px;line-height:1.5}
#sec-modular .ma-doc p,#sec-modular .ma-doc-code{font-size:12px}
#sec-modular .ma-doc .ma-actions{padding-top:4px}
#sec-modular .wf-plan-note summary{font-size:13px}
#sec-modular .wf-plan-note p{font-size:13px;max-width:90ch}
#sec-modular .ma-footnote{font-size:12px;line-height:1.6}
#sec-modular .ma-savebar{bottom:max(22px,env(safe-area-inset-bottom))}
body:has(#rxd-launch) #sec-modular .ma-savebar{bottom:calc(90px + env(safe-area-inset-bottom))}
body:has(#rxd-launch) #sec-modular.has-draft{padding-bottom:280px}
@container modular-workspace (max-width:1300px){
 #sec-modular .wf-nav>[role=tablist]{grid-template-columns:repeat(var(--wf-compact-columns),minmax(0,1fr))}
}
@container(max-width:1100px){
 #sec-modular .wf-models{grid-template-columns:repeat(2,minmax(0,1fr))}
 #sec-modular .wf-overview-body{grid-template-columns:minmax(0,1fr) 280px;gap:24px}
 #sec-modular .wf-quick-grid{gap:12px}
 #sec-modular .wf-quick-model>span{padding:12px}
}
@container(max-width:800px){
 #sec-modular .wf-overview-body{grid-template-columns:1fr}
 #sec-modular .wf-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #sec-modular .wf-quick-model>img{aspect-ratio:16/7}
 #sec-modular .wf-model-context{gap:16px}
}
@container(max-width:620px){
 #sec-modular .wf-models{grid-template-columns:1fr}
 #sec-modular .ma-doc-grid{grid-template-columns:1fr}
 #sec-modular .wf-model-context>img{width:80px;height:66px}
 #sec-modular .wf-model-context{padding:16px}
}
@media(max-width:1050px){
 #sec-modular .wf-shell{gap:24px}
 #sec-modular .wf-mobile-nav{display:flex;margin:0}
 #sec-modular .wf-nav{display:none}
}
@media(max-width:600px){
 #sec-modular .wf-header{flex-wrap:nowrap;gap:12px;padding:8px 0 16px}
 #sec-modular .wf-title{width:auto;gap:0}
 #sec-modular .wf-title>img{width:140px;height:44px}
 #sec-modular .wf-title>div{display:none}
 #sec-modular .wf-header>.ma-actions{width:auto;margin-left:auto}
 #sec-modular .wf-header:has(.ma-draft-badge:not([hidden])){flex-wrap:wrap}
 #sec-modular .wf-header:has(.ma-draft-badge:not([hidden]))>.ma-actions{width:100%;flex-wrap:wrap;justify-content:flex-start;margin-left:0}
 #sec-modular .wf-header .ma-draft-badge{white-space:normal;max-width:100%;text-align:left}
 #sec-modular .wf-header .ma-btn{padding:10px 12px;font-size:12px}
 #sec-modular .ma-panel-head h3{font-size:23px}
 #sec-modular .ma-panel-head p{font-size:13px}
 #sec-modular .wf-metrics>button,#sec-modular .wf-metrics>button:first-child{padding:14px 12px;min-height:104px}
 #sec-modular .wf-metrics span{font-size:12px}
 #sec-modular .wf-metrics strong{font-size:26px}
 #sec-modular .wf-quick-model strong{font-size:14px}
 #sec-modular .wf-quick-model small{font-size:12px}
 #sec-modular .wf-quick-model>svg{display:none}
 #sec-modular .wf-quick-model{grid-template-columns:1fr}
 #sec-modular .wf-quick-model>span{padding:12px}
 #sec-modular .wf-quick-model>img{aspect-ratio:4/3}
 #sec-modular .wf-quick-models .ma-heading-row{align-items:flex-start;flex-direction:column;gap:10px}
 #sec-modular .wf-quick-models .ma-heading-row h4{font-size:17px}
 #sec-modular .wf-task small{font-size:13px}
 #sec-modular .wf-overview-aside{padding:20px}
 #sec-modular .ma-doc{padding:20px}
 #sec-modular .ma-doc h4{font-size:16px}
 #sec-modular .wf-model-context{padding:14px;gap:12px}
 #sec-modular .wf-model-context>img{width:64px;height:64px}
 #sec-modular .wf-model-choice{min-width:150px}
 #sec-modular .wf-model-revision{min-width:150px}
 #sec-modular .wf-model-card>div{padding:20px}
}
@media(prefers-reduced-motion:reduce){
 #sec-modular *,#ma-preview *{scroll-behavior:auto;transition:none}
}
@media(max-width:360px){
 #sec-modular .ma-savebar .ma-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%}
 #sec-modular .ma-savebar .ma-btn{white-space:normal;min-width:0;width:100%}
 #sec-modular.has-draft{padding-bottom:240px}
}
