body.amz-page{margin:0;font-family:system-ui,"Microsoft YaHei",Arial,sans-serif;color:#18263a;background:#f4f6f8;line-height:1.6}
.amz-shell *{box-sizing:border-box}
.amz-shell :is(h1,h2,h3,h4,p){margin:0 0 .55em}
.amz-shell :is(button,input,select,textarea){font:inherit}
.amz-shell :is(button,a){touch-action:manipulation}
.amz-shell button{cursor:pointer}
.amz-shell a{color:#17697b;text-underline-offset:3px}
.amz-shell :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--brand-blue,#2096ad);outline-offset:2px}
.amz-shell{max-width:1360px;margin:auto;padding:24px clamp(12px,3vw,42px) 54px}
.amz-kicker{display:block;color:#427384;font-size:12px;font-weight:750;letter-spacing:.12em}
.amz-review-bar,.amz-controls,.amz-tags,.amz-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.amz-review-bar{justify-content:space-between;margin-bottom:14px;gap:14px}
.amz-review-bar h2{font-size:28px;line-height:1.25;margin:4px 0 8px}
.amz-tags span{font-size:12px;background:#e7edf2;border-radius:5px;padding:3px 8px}
.amz-controls button,.amz-actions button,.amz-primary,.amz-form button,.amz-form summary{border:1px solid #c6d2de;border-radius:7px;background:white;color:#24374d;padding:7px 12px;font-weight:650;text-decoration:none}
.amz-controls button[aria-pressed=true]{border-color:#126f82;color:#115f70;background:#e8f6f8}
.amz-primary,.amz-form button.amz-primary{background:#125f70;border-color:#125f70;color:#fff}
.amz-shell button:disabled{opacity:.55;cursor:default}
.amz-viewport{width:100%;margin:auto;background:#fff;border:1px solid #d4dce3;border-radius:10px;overflow:hidden}
.amz-viewport[data-device-view=mobile]{width:min(390px,100%)}
.amz-mobile-product{display:none}
.amz-series{margin:28px 0}.amz-series-scroll{overflow-x:auto}.amz-series table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45}.amz-series th,.amz-series td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #d8ddde;min-width:8em}.amz-series th:first-child{min-width:5em}.amz-series thead{background:#edf3f4}.amz-series tbody th{background:#f6f8f8}.amz-answer{border-top:1px solid #ddd;padding:8px 0}.amz-answer h4{margin:8px 0}.amz-answer p{margin:0 0 8px}.amz-entry{display:grid;gap:8px;margin:10px 0}.amz-entry button{justify-self:start}
[data-device-view=mobile] .amz-copy>.amz-highlights{display:none}
[data-device-view=mobile] .amz-series td,[data-device-view=mobile] .amz-series th{min-width:0;padding:8px;overflow-wrap:anywhere}
@media(max-width:640px){.amz-copy>.amz-highlights{display:none}.amz-series td,.amz-series th{min-width:0;padding:8px;overflow-wrap:anywhere}}
.amz-mobile-product h2{font-size:22px;font-weight:500;line-height:1.25;margin:4px 0}
[data-device-view=mobile] .amz-mobile-product{display:block}
[data-device-view=mobile] .amz-copy>:is(h1,.amz-brand){display:none}
@media(max-width:650px){
  .amz-mobile-product{display:block}
  .amz-copy>:is(h1,.amz-brand){display:none}
}
.amz-store{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:16px;color:#172026;padding:clamp(12px,2.5vw,30px)}
.amz-category{color:#5d686e;font-size:13px;margin-bottom:18px}
.amz-detail{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(20px,3vw,45px)}
.amz-gallery{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px}
.amz-thumbs{display:flex;flex-direction:column;gap:7px}
.amz-thumbs button{width:56px;height:56px;border:1px solid #aebac2;border-radius:7px;overflow:hidden;background:#fff;padding:0;flex:none}
.amz-thumbs button[aria-pressed=true]{border:2px solid #12768a}
.amz-thumbs img{display:block;width:100%;height:100%;object-fit:contain}
.amz-stage{min-width:0;margin:0;text-align:center}
.amz-main-image{aspect-ratio:1;display:grid;place-items:center;background:#fff}
.amz-main-image img{width:100%;height:100%;max-height:100%;object-fit:contain;min-width:0}
.amz-stage figcaption{color:#586772;font-size:12px;margin-top:5px}
.amz-brand{color:#187484;font-size:14px;font-weight:700}
.amz-copy h1{font-size:clamp(22px,2.5vw,34px);font-weight:500;line-height:1.2;margin:8px 0 10px;overflow-wrap:anywhere}
.amz-copy h2{font-size:17px}.amz-copy ul{padding-left:22px;margin:8px 0 16px}
.amz-copy li{margin:7px 0}.amz-copy hr{border:0;border-top:1px solid #e1e7eb;margin:16px 0}
.amz-highlights{color:#455760;overflow-wrap:anywhere}
.amz-aplus{max-width:970px;margin:42px auto 0}
.amz-aplus>header{display:flex;align-items:baseline;gap:12px;border-top:1px solid #dce3e7;padding-top:14px}
.amz-aplus>header span{font-size:12px;color:#61727b}
.amz-aplus h2{font-size:22px}.amz-aplus h3{font-size:21px;line-height:1.25}.amz-aplus h4{font-size:17px}
.amz-banner,.amz-tile{display:block;width:100%;object-fit:contain;background:#fff}
.amz-banner{aspect-ratio:970/600}.amz-tile{aspect-ratio:1}
.amz-hero{background:#f6f8f8}.amz-hero>div:last-child{padding:20px 24px}
.amz-feature-block,.amz-before,.amz-specs{margin:28px 0}
.amz-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.amz-features article{min-width:0;overflow-wrap:anywhere}.amz-features h4{margin-top:10px}
.amz-before{padding:16px 18px;background:#f5f7f8}
.amz-placeholder{display:grid;place-items:center;text-align:center;width:100%;min-height:80px;background:#f2f5f7;color:#4d6070;border:1px dashed #cad6dd;font-size:13px}
.amz-main-image .amz-placeholder{height:100%}
.amz-specs table,.amz-audit table{width:100%;border-collapse:collapse}
.amz-specs th,.amz-specs td,.amz-audit th,.amz-audit td{padding:8px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #e1e6eb}
.amz-specs th,.amz-audit thead th{background:#f0f4f6}
.amz-description{max-width:970px;margin:24px auto 0;border-top:1px solid #e1e6eb;padding-top:12px}
.amz-audit,.amz-form{margin:16px 0;padding:18px;background:#fff;border:1px solid #d4dce3;border-radius:10px}
.amz-audit details,.amz-form details{margin:12px 0}
.amz-audit summary,.amz-description summary{font-weight:700;cursor:pointer}
.amz-flag,.amz-status{background:#fff4dc;color:#5e451c;padding:10px 12px;border-radius:6px;white-space:pre-wrap}
.amz-status:empty{display:none}
.amz-table-wrap{overflow-x:auto;margin-top:8px}
.amz-form fieldset{border:0;padding:0;margin:12px 0}
.amz-form legend{font-weight:750;font-size:18px;margin-bottom:7px}
.amz-form label{display:grid;gap:4px;font-size:13px;font-weight:650;min-width:0}
.amz-form :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;border:1px solid #bdcbd6;border-radius:6px;background:white;padding:7px;color:#17263a}
.amz-form textarea{resize:vertical}
.amz-grid,.amz-fact,.amz-asset{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.amz-fact{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1.65fr) auto;margin-bottom:7px;align-items:end}
.amz-asset{grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.7fr) minmax(0,1fr);align-items:end;margin-bottom:8px}
.amz-form label.amz-check{display:flex;align-items:baseline;gap:6px}
.amz-form .amz-help,.amz-help{font-size:13px;color:#4e6274}
.amz-form .amz-panel{padding:12px 0}
.amz-form summary{width:fit-content;cursor:pointer}
.amz-form pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f8;padding:10px;max-height:260px;overflow:auto}
[data-device-view=mobile] :is(.amz-detail,.amz-features){grid-template-columns:minmax(0,1fr)}
[data-device-view=mobile] .amz-gallery{display:flex;flex-direction:column-reverse}
[data-device-view=mobile] .amz-thumbs{flex-direction:row;overflow-x:auto;padding-bottom:4px}
[data-device-view=mobile] .amz-store{padding:14px}
@media(max-width:700px){
  .amz-detail,.amz-features,.amz-grid{grid-template-columns:minmax(0,1fr)}
  .amz-gallery{display:flex;flex-direction:column-reverse}
  .amz-thumbs{flex-direction:row;overflow-x:auto;padding-bottom:4px}
  .amz-asset,.amz-fact{grid-template-columns:1fr 1fr;border-bottom:1px solid #e1e6eb;padding-bottom:10px}
  .amz-copy h1{font-size:24px}
}

.amz-editor{max-width:1440px;margin:0 auto;padding:0}
.amz-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 12px;color:#4d6481;font-size:13px}
.amz-breadcrumb a{color:#2854a4;text-decoration:none}
.amz-breadcrumb a:hover{text-decoration:underline}
.amz-editor-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;
  padding:clamp(16px,2.3vw,26px);border:1px solid #d7e4fa;border-radius:14px;
  background:radial-gradient(ellipse at 100% 0%,#dff4ff,transparent 62%),linear-gradient(110deg,#fff,#edf5ff)}
.amz-editor-icon{box-sizing:content-box!important;width:27px;height:27px;padding:11px;border-radius:12px;color:#265def;background:#e4eeff}
.amz-editor-head h1{margin:3px 0 6px;font-size:clamp(23px,2.5vw,33px);line-height:1.2}
.amz-editor-head p{margin:0}
.amz-editor .amz-kicker{color:#2c5b9a;letter-spacing:.07em}
.amz-editor .amz-form{display:grid;gap:18px;margin:22px 0;padding:0;background:none;border:0}
.amz-editor fieldset{min-inline-size:0;margin:0;padding:10px clamp(14px,2vw,24px) 20px;
  border:1px solid #d9e5f6;border-radius:13px;background:#fff}
.amz-editor legend{padding:0 8px;color:#132749}
.amz-editor legend span{display:inline-grid;place-items:center;vertical-align:middle;margin-right:8px;
  width:32px;height:29px;border-radius:8px;background:#eaf2ff;color:#285ad3;font-size:13px}
.amz-editor .amz-grid{gap:10px 14px}
.amz-editor .amz-form label{color:#233955}
.amz-editor .amz-form :is(input:not([type=checkbox]),select,textarea){min-height:39px;padding:8px 10px;border-color:#ccd9ee;border-radius:8px}
.amz-editor .amz-form :is(button,summary){min-height:39px;border-color:#ccd9ee;border-radius:8px;color:#2a5085;font-size:13px}
.amz-editor .amz-form button.amz-primary{justify-self:start;padding:10px 18px;border:0;
  background:var(--brand-gradient,linear-gradient(105deg,#315fff,#139bb6));color:#fff;font-weight:650;text-shadow:0 1px 2px #1a408e}
.amz-editor .amz-form :is(button,summary):hover:not(.amz-primary,:disabled){background:#eff5ff}
.amz-editor .amz-fact{gap:9px;margin-bottom:9px}
.amz-editor .amz-actions{align-items:end;margin-top:12px}
.amz-editor .amz-status{background:#eaf3ff;color:#2c507e}
@media(max-width:950px){
  .amz-editor .amz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .amz-editor-head{grid-template-columns:auto minmax(0,1fr)}
  .amz-editor-head button{grid-column:2;justify-self:start}
  .amz-editor .amz-grid{grid-template-columns:minmax(0,1fr)}
}
.amz-editor input[type=file]::file-selector-button {
  padding:6px 10px; margin-right:9px; border:1px solid #c3d5fa; border-radius:6px;
  color:#244e9c; background:#edf4ff; font:inherit; cursor:pointer;
}
.amz-editor [hidden]{display:none!important}
.amz-shell .amz-controls a.amz-primary{color:#fff}
.amz-product-attributes{display:grid;gap:5px;margin:14px 0;font-size:14px}
.amz-offer{margin:10px 0}.amz-offer strong{font-size:25px}.amz-offer small{display:block;color:#586772;font-size:12px}
.amz-product-attributes div{display:flex;gap:16px}.amz-product-attributes dt{font-weight:700;min-width:50px}.amz-product-attributes dd{margin:0}
#amz-snippets p{white-space:pre-wrap;overflow-wrap:anywhere}
#amz-terms{max-height:270px;overflow:auto}#amz-terms small{font-weight:400}
.amz-product-summary{color:#244e82;font-size:14px;font-weight:650;margin-top:7px!important}
.amz-steps{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}
.amz-steps button{flex:1;min-width:130px;min-height:46px;border:1px solid #ccd9ee;border-radius:8px;background:white;color:#38516e;font-size:15px;font-weight:650;padding:10px 14px}
.amz-steps button[aria-pressed=true]{color:#2159dc;border-color:#3268f8;background:#edf3ff}
.amz-editor [data-amz-panel]{display:grid;gap:18px}
.amz-settings{padding:16px 20px;border:1px solid #d9e5f6;border-radius:10px;background:#fff}
.amz-editor .amz-settings>summary{border:0;padding:0;min-height:28px;font-size:14px}
.amz-settings[open]>summary{margin-bottom:14px}
.amz-editor .amz-asset-card{border:1px solid #d9e5f6;border-radius:9px;margin:8px 0;padding:12px}
.amz-editor .amz-asset-card>summary{width:100%;border:0;padding:0;min-height:24px;font-size:14px}
.amz-asset-card summary span{float:right;margin-left:12px;font-size:12px;color:#526980;font-weight:500}
.amz-asset-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
#amz-production fieldset>label{margin:12px 0}
@media(max-width:650px){.amz-steps{gap:5px}.amz-steps button{min-width:0;padding:9px 4px;font-size:13px}.amz-asset-fields{grid-template-columns:minmax(0,1fr)}}

/* HOD content only: shared workbench navigation keeps its existing styles. */
#page-scenes { container:hod-workspace / inline-size; }
.amz-editor,#page-tasks:has([data-budget-action]),#page-scenes .hecp-runtime {
  --hod-ink:#17304f; --hod-muted:#667b94; --hod-line:#dce6f5;
  --hod-blue:#2f63ff; --hod-soft:#f5f8ff;
  --hod-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f63ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6m-6 4h6m-6 4h4'/%3E%3C/svg%3E");
  --hod-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f63ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3Cpath d='m3 17 5-5 4 4 3-3 6 5'/%3E%3C/svg%3E");
  --hod-upload:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f63ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17H6a4 4 0 0 1-1-7.9A7 7 0 0 1 19 8a4.5 4.5 0 0 1-1 9h-1m-5 4V11m-4 4 4-4 4 4'/%3E%3C/svg%3E");
  color:var(--hod-ink);
}
.amz-editor .amz-editor-head { padding:22px 26px; margin:0; border-color:var(--hod-line); background:radial-gradient(ellipse at 100% 0,#e6f8ff,transparent 65%),linear-gradient(110deg,#fff,#f5f8ff); }
.amz-editor .amz-editor-head h1 { font-size:clamp(23px,2.2vw,30px); letter-spacing:-.025em; }
.amz-editor .amz-editor-head .amz-help { color:var(--hod-muted); font-weight:400; line-height:1.8; }
.amz-editor .amz-kicker { font-size:11px; letter-spacing:.08em; }
.amz-editor .amz-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; }
.amz-editor .amz-steps button { display:flex; align-items:center; gap:13px; min-width:0; padding:14px 18px; border:1px solid var(--hod-line); border-radius:12px; text-align:left; background:#fff; color:#4d6583; transition:border-color .18s,background .18s,box-shadow .18s; }
.amz-editor .amz-steps button::before { content:'0' attr(data-amz-step); display:grid; place-items:center; flex:none; width:36px; height:36px; border-radius:10px; background:#f0f4fb; color:#607792; font-size:14px; font-weight:700; }
.amz-editor .amz-steps button span { min-width:0; }
.amz-editor .amz-steps strong { display:block; font-size:14px; line-height:1.5; font-weight:650; }
.amz-editor .amz-steps small { display:block; margin-top:3px; font-size:12px; font-weight:400; color:#6b809a; line-height:1.5; }
.amz-editor .amz-steps button[aria-pressed=true] { background:linear-gradient(115deg,#eef3ff,#f2fbff); border-color:#a8c1ff; box-shadow:0 3px 12px #2f63ff0b; color:#2456c9; }
.amz-editor .amz-steps button[aria-pressed=true]::before { background:var(--brand-gradient); color:#fff; box-shadow:0 3px 8px #2f63ff22; }
.amz-editor .amz-steps button:hover:not([aria-pressed=true]) { background:#f8fbff; border-color:#b9cef5; }
.amz-editor .amz-form { gap:16px; margin:0; }
.amz-editor .amz-form :is(#amz-materials,#amz-production) { gap:16px; align-items:start; }
.amz-editor .amz-form fieldset { padding:18px 22px 22px; margin:0; border-radius:14px; border:1px solid var(--hod-line); box-shadow:0 3px 14px #153c6804; }
.amz-editor .amz-form legend { display:inline-flex; align-items:center; gap:9px; margin:0; padding:0 5px; font-size:16px; font-weight:650; color:var(--hod-ink); }
.amz-editor .amz-form legend::before { content:''; width:23px; height:23px; background:var(--hod-doc) center/contain no-repeat; }
.amz-editor #amz-materials>fieldset:nth-of-type(2)>legend::before { background-image:var(--hod-upload); }
.amz-editor #amz-production>fieldset>legend::before { background-image:var(--hod-image); }
.amz-editor #amz-materials>fieldset:first-child>.amz-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.amz-editor .amz-form label { gap:7px; color:#3c5370; font-size:13px; font-weight:500; }
.amz-editor .amz-form :is(input:not([type=checkbox]),textarea,select) { min-height:42px; border:1px solid #d5e0ef; border-radius:8px; color:var(--hod-ink); font-weight:400; background:#fcfdff; transition:border-color .18s,box-shadow .18s; }
.amz-editor .amz-form :is(input,textarea)::placeholder { color:#8190a5; font-size:12px; }
.amz-editor .amz-form :is(input:not([type=checkbox]),textarea,select):focus { border-color:#809ff2; box-shadow:0 0 0 3px #2f63ff0a; background:#fff; }
.amz-editor .amz-form input[type=checkbox] { accent-color:var(--hod-blue); width:16px; height:16px; flex:none; }
.amz-editor .amz-form .amz-help { font-weight:400; line-height:1.8; color:var(--hod-muted); }
.amz-editor #amz-materials>fieldset:nth-of-type(2)>.amz-actions { display:grid; justify-items:start; gap:12px; margin-top:12px; padding:18px; border:1px dashed #b9cdef; border-radius:10px; background:linear-gradient(130deg,#f8faff,#f4fbff); }
.amz-editor #amz-materials>fieldset:nth-of-type(2)>.amz-actions label { width:100%; min-width:0; }
.amz-editor .amz-form input[type=file] { background:#fff; padding:7px; font-size:12px; }
.amz-editor .amz-form input[type=file]::file-selector-button { margin-right:10px; padding:6px 11px; border:1px solid #d2dff5; border-radius:6px; color:#2859bb; background:#edf3ff; font:inherit; cursor:pointer; }
.amz-editor #amz-file-summary:empty { display:none; }
.amz-editor .amz-form details.amz-settings { margin:0; border:1px solid var(--hod-line); border-radius:12px; padding:17px 20px; background:#fff; }
.amz-editor .amz-form .amz-settings>summary { width:100%; min-height:24px; color:#35517a; font-size:13px; font-weight:600; }
.amz-editor .amz-form details:not(.amz-settings) { margin:14px 0 0; }
.amz-editor .amz-form details[open]>summary { margin-bottom:12px; }
.amz-editor .amz-form summary { line-height:1.65; }
.amz-editor .amz-editor-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; margin:0 0 24px; border:1px solid var(--hod-line); border-radius:12px; background:#fff; }
.amz-editor-footer>span { color:var(--hod-muted); font-size:12px; line-height:1.7; }
.amz-footer-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.amz-editor .amz-form .amz-editor-footer button { min-height:42px; padding:10px 16px; white-space:normal; }
.amz-editor .amz-form .amz-save-preview { margin:0; }
.amz-form:has(#amz-materials:not([hidden])) [data-amz-next="1"],.amz-form:has(#amz-production:not([hidden])) [data-amz-next="2"] { display:none; }
.amz-editor #amz-assets { display:grid; gap:10px; }
.amz-editor .amz-form #amz-assets .amz-asset-card { min-width:0; margin:0; padding:13px 14px; background:#fbfdff; border:1px solid var(--hod-line); }
.amz-editor .amz-form #amz-assets .amz-asset-card>summary { display:flex; align-items:center; gap:10px; width:100%; padding:0; font-size:13px; border:0; background:none; }
.amz-asset-card>summary::before { content:''; flex:none; width:23px; height:23px; background:var(--hod-image) center/contain no-repeat; }
.amz-editor #amz-assets [data-asset-state] { float:none; margin-left:auto; padding:3px 8px; border-radius:5px; background:#edf2fa; color:#607793; font-size:11px; white-space:nowrap; }
.amz-editor .amz-asset-fields { gap:12px; }
.amz-editor .amz-form #amz-production .amz-help { margin:0 0 12px; }
.amz-editor #amz-preview-empty { display:grid; place-items:center; gap:16px; padding:46px 24px; margin-top:0; text-align:center; font-size:14px; color:var(--hod-muted); border-style:dashed; }
.amz-editor #amz-preview-empty::before { content:''; width:42px; height:42px; background:var(--hod-image) center/contain no-repeat; opacity:.7; }
.amz-editor #amz-preview>.amz-review-bar { padding:18px 20px; border:1px solid var(--hod-line); border-radius:12px; background:#fff; }
.amz-editor .amz-controls :is(button,a) { min-height:40px; padding:9px 14px; border-radius:8px; font-size:13px; }
.amz-editor .amz-controls button[aria-pressed=true] { color:#2859d7; background:#edf3ff; border-color:#a8c0f8; }
.amz-editor .amz-controls a.amz-primary { background:var(--brand-gradient); border-color:transparent; color:#fff; }
.amz-editor .amz-status:not(:empty) { margin:0 0 16px; padding:12px 16px; border:1px solid #ccdff8; border-radius:10px; background:#eef6ff; }
/* All published HOD scene packs use the same input / delivery treatment. */
#page-scenes .hecp-runtime[data-area=hod]>.hecp-card { padding:22px; border-radius:14px; border-color:var(--hod-line); box-shadow:0 3px 14px #153c6804; }
#page-scenes .hecp-runtime[data-area=hod] h2 { font-size:18px; color:var(--hod-ink); margin:0 0 18px; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-pack { margin:12px 0 0; padding:0; border:1px solid var(--hod-line); border-radius:12px; overflow:hidden; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-pack>summary { display:flex; align-items:center; gap:13px; padding:17px 20px; list-style:none; background:#fafcff; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-pack>summary::after { content:'＋'; margin-left:8px; color:#6783a9; font-size:19px; font-weight:400; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-pack[open]>summary { background:var(--brand-soft); border-bottom:1px solid var(--hod-line); }
#page-scenes .hecp-runtime[data-area=hod] .hecp-pack[open]>summary::after { content:'−'; }
.hod-pack-symbol { display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:10px; background:#eaf1ff; color:#2f63ff; }
.hod-pack-symbol svg { width:23px; height:23px; }
.hod-pack-title { flex:1; min-width:0; font-size:15px; color:#203b60; }
.hod-pack-title small { display:block; margin-top:3px; color:#6b809a; font-size:12px; font-weight:400; }
.hod-pack-format { padding:4px 9px; border-radius:6px; background:#fff; color:#4b6b94; font-size:11px; font-weight:500; }
#page-scenes .hecp-runtime[data-area=hod] [data-pack-run] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; padding:20px; margin:0; }
#page-scenes .hecp-runtime[data-area=hod] [data-pack-run]>:not(label) { grid-column:1/-1; }
#page-scenes .hecp-runtime[data-area=hod] [data-pack-run]>button { justify-self:end; }
#page-scenes .hecp-runtime[data-area=hod] .hod-pack-guide { margin:0; color:var(--hod-muted); font-size:13px; }
#page-scenes .hecp-runtime[data-area=hod] label { color:#3c5370; font-size:13px; }
#page-scenes .hecp-runtime[data-area=hod] label small { color:#6b809a; font-size:12px; line-height:1.7; }
#page-scenes .hecp-runtime[data-area=hod] textarea { background:#fcfdff; min-height:88px; border-color:#d5e0ef; }
#page-scenes .hecp-runtime[data-area=hod] [data-pack-output]:not(:empty) { padding:20px; border-top:1px solid var(--hod-line); background:#f8fbff; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-output { border:1px solid #d4e2f6; border-radius:10px; background:#fff; padding:20px; margin:0 0 16px; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-output h3 { display:flex; gap:8px; font-size:17px; }
#page-scenes .hecp-runtime[data-area=hod] .hecp-output h3::before { content:''; width:24px; height:24px; background:var(--hod-doc) center/contain no-repeat; }
#page-scenes .hecp-runtime[data-area=hod] [role=status]:empty { min-height:0; margin:0; }
/* New native HOD video workspaces: stronger grouping without changing task flow. */
#hod-root>.tod-page>.tod-heading { padding:22px 24px; border:1px solid #dce6f5; border-radius:14px; background:radial-gradient(ellipse at right top,#e5f8ff,transparent 65%),linear-gradient(110deg,#fff,#f4f8ff); margin:0 0 16px; }
#hod-root .tod-panel { border-color:#dce6f5; border-radius:14px; box-shadow:0 3px 14px #153c6804; }
#hod-root .tod-section-head h2 { display:flex; align-items:center; gap:10px; font-size:18px; }
#hod-root .tod-section-head h2::before { content:'›'; display:grid; place-items:center; width:28px; height:28px; border-radius:8px; background:#eaf1ff; color:#2f63ff; font-size:22px; }
#hod-root .tiktok-workflow .tiktok-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:0; margin:20px 0; border:0; }
#hod-root .tiktok-workflow .tiktok-stages li { display:flex; align-items:center; gap:10px; min-height:58px; padding:12px 14px; border:1px solid #dce6f5; border-radius:10px; background:#f9fbff; color:#455f80; }
#hod-root .tiktok-workflow .tiktok-stages li::after { display:none; }
#hod-root .tiktok-workflow .tiktok-stages li>span { display:grid; place-items:center; flex:none; width:28px; height:28px; margin:0; border-radius:8px; background:#eaf1ff; color:#3968cd; font-size:12px; }
#hod-root .hod-video-create .tod-form-grid { gap:20px 22px; }
#hod-root .hod-video-create form { max-width:none; }
#hod-root .hod-video-create .hod-video-due label:has(textarea) { max-width:none; }
#hod-root .hod-video-create .tod-detail-actions { padding-top:18px; margin-top:20px; border-top:1px solid #dce6f5; justify-content:flex-end; }
#hod-root .hod-video-create :is(.hod-locale,.hod-trends,.hod-video-due) { padding:14px 16px; border:1px solid #dce6f5; border-radius:10px; background:#f8fbff; }
#hod-root .hod-video-create input:not([type=checkbox]),#hod-root .hod-video-create textarea,#hod-root .hod-video-create select { background:#fcfdff; border-radius:8px; }
/* Native monthly budget task, including unpublished and empty states. */
#page-tasks:has([data-budget-action]) { container:hod-budget / inline-size; counter-reset:budget-section; }
#page-tasks:has([data-budget-action]) .page-head { padding:23px 26px; border:1px solid var(--hod-line); border-radius:14px; background:radial-gradient(ellipse at right top,#e5f8ff,transparent 65%),linear-gradient(110deg,#fff,#f4f8ff); gap:16px; }
#page-tasks:has([data-budget-action]) .page-head h1 { margin:10px 0 8px; font-size:clamp(23px,2.2vw,30px); color:var(--hod-ink); }
#page-tasks:has([data-budget-action]) .page-head p,#page-tasks:has([data-budget-action]) .info-card>p { color:var(--hod-muted); line-height:1.8; font-size:13px; }
#page-tasks:has([data-budget-action])>.info-card { display:block; counter-increment:budget-section; margin:18px 0; padding:22px 24px; border:1px solid var(--hod-line); border-radius:14px; background:#fff; box-shadow:0 3px 14px #153c6804; }
#page-tasks:has([data-budget-action])>.info-card>h2 { display:flex; gap:12px; align-items:center; margin:0 0 12px; color:var(--hod-ink); font-size:18px; }
#page-tasks:has([data-budget-action])>.info-card>h2::before { content:'0' counter(budget-section); display:grid; place-items:center; flex:none; width:31px; height:31px; border-radius:9px; color:#2f63ff; background:#eaf1ff; font-size:12px; }
#page-tasks:has([data-budget-action]) .hecp-form { display:grid; gap:16px; }
#page-tasks:has([data-budget-action]) label { display:grid; gap:7px; font-size:13px; font-weight:500; color:#3c5370; min-width:0; }
#page-tasks:has([data-budget-action]) :is(input,select,textarea) { width:100%; min-width:0; padding:10px 12px; border:1px solid #d5e0ef; border-radius:8px; color:var(--hod-ink); background:#fcfdff; font:inherit; }
#page-tasks:has([data-budget-action]) .hecp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px; }
#page-tasks:has([data-budget-action]) .hecp-form>button { justify-self:start; }
#page-tasks:has([data-budget-action]) .hecp-form>p { margin:0; font-size:13px; color:var(--hod-muted); line-height:1.8; }
#page-tasks:has([data-budget-action]) .hecp-form>p:empty { display:none; }
#page-tasks:has([data-budget-action]) details { padding:14px 16px; border:1px solid var(--hod-line); border-radius:10px; background:#f8fbff; margin:12px 0; }
#page-tasks:has([data-budget-action]) summary { font-size:13px; font-weight:600; color:#35517a; }
#page-tasks:has([data-budget-action]) details[open]>summary { margin-bottom:16px; }
#page-tasks:has([data-budget-action]) input[type=file] { padding:12px; border-style:dashed; background:#f7faff; }
#page-tasks:has([data-budget-action]) input[type=file]::file-selector-button { padding:7px 12px; border:1px solid #cbdcf7; border-radius:6px; background:#edf3ff; color:#2859bb; font:inherit; margin-right:12px; cursor:pointer; }
#page-tasks:has([data-budget-action]) button { min-height:42px; border-radius:8px; padding:10px 16px; }
#page-tasks:has([data-budget-action]) button.primary { border:0; background:var(--brand-gradient); color:#fff; font-weight:600; }
#page-tasks:has([data-budget-action]) button:disabled { opacity:.5; cursor:not-allowed; }
/* Brand actions and real state transitions, no decorative perpetual animation. */
:is(.amz-editor,#page-tasks:has([data-budget-action]),#page-scenes .hecp-runtime[data-area=hod]) :is(button,a,summary,input,select,textarea):focus-visible { outline:3px solid #aac3ff; outline-offset:3px; }
:is(.amz-editor,#page-tasks:has([data-budget-action])) button:not(:disabled) { transition:background .18s,border-color .18s,box-shadow .18s,filter .18s; }
:is(.amz-editor,#page-tasks:has([data-budget-action])) :is(.amz-primary,.primary):hover:not(:disabled) { filter:brightness(.96); box-shadow:0 4px 10px #2f63ff1a; }
.amz-editor .amz-form [data-amz-panel]:not([hidden]),#page-scenes .hecp-pack[open]>form { animation:hod-panel-in .2s ease-out; }
@keyframes hod-panel-in { from { opacity:.35; transform:translateY(4px); } to { opacity:1; transform:none; } }
@container hod-workspace (min-width:1000px) {
  .amz-editor #amz-materials { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
  .amz-editor #amz-materials>fieldset { align-self:stretch; }
  .amz-editor #amz-materials>.amz-settings { grid-column:1/-1; }
  .amz-editor #amz-production { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
}
@container hod-workspace (max-width:760px) {
  .amz-editor .amz-editor-head { grid-template-columns:auto minmax(0,1fr); padding:18px; }
  .amz-editor .amz-editor-head>button { grid-column:2; justify-self:start; }
  .amz-editor .amz-steps { gap:8px; }
  .amz-editor .amz-steps button { gap:7px; padding:12px 9px; }
  .amz-editor .amz-steps button::before { width:27px; height:29px; font-size:12px; }
  .amz-editor .amz-steps small { display:none; }
  .amz-editor .amz-editor-footer { align-items:start; flex-direction:column; }
  .amz-footer-actions { width:100%; justify-content:flex-end; }
  .amz-editor .amz-fact { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .amz-editor .amz-fact>button { justify-self:start; }
  #page-scenes .hecp-runtime[data-area=hod] [data-pack-run] { grid-template-columns:minmax(0,1fr); }
  #page-scenes .hecp-runtime[data-area=hod] .hecp-pack>summary { padding:14px; gap:10px; }
  .hod-pack-format { display:none; }
  #hod-root .tiktok-workflow .tiktok-stages { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container hod-workspace (max-width:480px) {
  .amz-editor .amz-steps button { flex-direction:column; align-items:flex-start; }
  .amz-editor .amz-steps strong { font-size:12px; }
  .amz-editor #amz-materials>fieldset:first-child>.amz-grid,.amz-editor .amz-asset-fields,.amz-editor .amz-grid,.amz-editor .amz-fact { grid-template-columns:minmax(0,1fr); }
  .amz-editor .amz-form fieldset { padding:16px; }
  .amz-footer-actions>button { flex:1 1 auto; }
}
@container hod-budget (max-width:660px) {
  #page-tasks:has([data-budget-action]) .page-head { flex-direction:column; align-items:start; padding:18px; }
  #page-tasks:has([data-budget-action])>.info-card { padding:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .amz-editor .amz-form [data-amz-panel],#page-scenes .hecp-pack[open]>form { animation:none; }
  :is(.amz-editor,#page-tasks:has([data-budget-action])) :is(button,input,select,textarea) { transition:none; }
}
.amz-in-task [hidden]{display:none!important}
.amz-in-task .amz-editor-head{margin-top:10px}
.amz-in-task .amz-task-progress{margin:14px 0 4px;font-weight:650;color:#234d75}
.amz-in-task .amz-task-hint{margin:0 0 14px;color:#425971}
.amz-in-task .amz-task-photos,.amz-in-task .amz-task-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px}
.amz-task-photos figure{margin:0}
.amz-task-photos img,.amz-task-slots img{display:block;width:100%;height:100px;object-fit:contain;border-radius:6px;background:white}
.amz-task-photos figcaption{font-size:12px;overflow-wrap:anywhere}
.amz-task-slots button{display:grid;text-align:left;gap:5px;align-content:start}
.amz-task-slots small{color:#435e74}
.amz-in-task #amz-task-comparison{margin-bottom:10px}
.amz-image-dialog{max-width:95vw;max-height:92dvh;box-sizing:border-box;padding:12px;border:0;border-radius:8px}
.amz-image-dialog::backdrop{background:#152135b8}
.amz-image-dialog>div{max-height:76dvh;max-width:88vw;overflow:auto}
.amz-image-dialog img{display:block;width:auto;max-width:none;height:auto}
.amz-image-dialog button{margin:0 0 8px}

.amz-series{container-type:inline-size}
@container (max-width:520px){
  .amz-series-scroll table:has(thead th:nth-child(3):last-child){display:block}
  .amz-series-scroll table:has(thead th:nth-child(3):last-child) :is(thead,tbody){display:block}
  .amz-series-scroll table:has(thead th:nth-child(3):last-child) tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .amz-series-scroll table:has(thead th:nth-child(3):last-child) th:first-child{grid-column:1/-1}
  .amz-series-scroll table:has(thead th:nth-child(3):last-child) thead th:first-child{display:none}
  .amz-series-scroll table:has(thead th:nth-child(3):last-child) tbody th{padding:9px 8px 5px}
  .amz-series-scroll table:has(thead th:nth-child(4)) :is(td,th){min-width:8em}
}
