.api-status{max-width:1500px;margin:12px auto;padding:10px 24px;color:#a6aeba;font-size:12px;line-height:1.6}
#restored-local-host iframe[hidden]{display:none}
#api-engine-slot{min-height:780px;margin-top:16px}
.embedded-api-book .editor-shell,.embedded-api-book .deep-custom-head{display:none!important}
.embedded-api-book .deep-custom-overlay{position:static!important;padding:0!important;background:none!important}
.embedded-api-book .deep-custom-shell{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;border:0!important;display:block!important}
.embedded-api-book .deep-custom-document{height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important}
.embedded-api-book .multi-angle-book{padding:8px!important}
/* Current API workbench: consistent flow rail and compact upload controls. */
.studio-body .upload-column .car-tools:has(button[data-action=upload-car]:only-child){margin:10px 0 0;align-self:start}
.studio-body .car-tools button[data-action=upload-car]{min-height:34px;padding:6px 12px;flex:none;line-height:1.4}
.brand>span{font-size:18px}.brand small{display:block;margin-top:5px;font-size:15px;font-weight:600;letter-spacing:.14em;color:var(--ink)}
.studio-body .angle-slot{padding:16px;min-width:0}
.angle-slot h2{display:flex;justify-content:space-between;align-items:center;font-size:17px;margin-bottom:12px}
.angle-slot h2 small{font-size:11px;color:var(--secondary)}
.angle-slot .angle-upload{position:relative;display:grid;place-items:center;aspect-ratio:4/3;border:1px dashed var(--strong);border-radius:8px;background:var(--panel);cursor:pointer;overflow:hidden;margin:0}
.angle-slot .angle-upload input{position:absolute;width:1px;height:1px;opacity:0;padding:0}
.angle-slot .angle-upload:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.angle-slot .angle-upload img{width:100%;height:100%;max-height:none;object-fit:contain;margin:0}
.angle-upload span{text-align:center;color:var(--secondary);font-size:14px;line-height:2}
.angle-tools{display:flex;justify-content:flex-end;margin-top:8px}.angle-tools .button{padding:4px 10px;min-height:30px;font-size:12px}
.studio-body .actionbar{display:flex;justify-content:space-between;gap:16px;margin-top:24px}
.angle-slot .angle-upload{width:100%;max-width:none}
.angle-slot .angle-upload span{background:none;padding:0;position:static}
.brand-subline{display:block;margin-top:5px}
.local-book-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.local-book-columns>section{min-width:0;border:1px solid #30343a;padding:24px}
.local-book-columns img{width:100%;height:auto;object-fit:contain;display:block}
.local-book-columns dt,.local-book-columns h5{font-weight:600;color:#eef0f3;margin-top:20px}
.local-book-columns dd{margin:8px 0 18px;line-height:1.8;color:#afb6c0}
.local-book-columns p,.local-book-columns li{line-height:1.8}.local-book-columns article{border-top:1px solid #30343a;margin-top:20px}
@media(max-width:800px){.local-book-columns{grid-template-columns:1fr}}
/* Keep result actions in normal flow with a clear gap below the full ABC cards. */
.studio-body>.expanded-proposals+.actions{margin-top:28px;padding-top:8px;gap:16px;flex-wrap:wrap;position:static;clear:both}
.embedded-api-book .multi-angle-book .multi-angle-hero{height:auto;min-height:0;max-height:none;align-items:start}
.embedded-api-book .multi-angle-cover-stage{height:auto;align-self:start;grid-template-rows:auto auto;align-content:start;gap:12px}
.embedded-api-book .multi-angle-filmstrip{margin-top:0}
.multi-angle-book{--book-accent:#f04455;--multi-accent:var(--book-accent)!important}
.book-proposal-details h4{font-size:17px;font-weight:700;line-height:1.4;margin:0 0 12px;color:#f1f3f5}
.book-proposal-details .book-summary{font-size:13px;line-height:1.65;margin-bottom:14px}
.book-highlights{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0!important;margin:14px 0 18px!important}
.book-highlights li{padding:7px 10px;font-size:13px;line-height:1.65;background:rgba(240,68,85,.10);border-left:3px solid var(--book-accent);color:#f1f3f5}
.book-mods dt{font-size:17px;font-weight:700;color:#f1f3f5;border-left:3px solid var(--book-accent);padding-left:12px;margin:18px 0 8px}
.book-mods dd{margin:0 0 14px;padding-left:15px;color:#b7bec8;font-size:13px;line-height:1.65}
.book-mods dd p{margin:0 0 6px}
.local-book-columns h5{font-size:18px}.local-book-columns strong{color:#edf0f4}.local-book-columns li{margin-bottom:8px}
.embedded-api-book .multi-angle-section header h4,.embedded-api-book .multi-angle-system-title h5{font-weight:700}
@media(max-width:700px){.mode-bar{flex-wrap:wrap}.mode-bar .mode-tab{flex-basis:calc(50% - 4px)}}
.angle-source{margin:14px 0;display:flex;align-items:center;gap:16px;color:#b9c0c8;font-size:13px}.angle-source img{width:200px;max-height:130px;object-fit:contain}.studio-body>[data-local-angles]{margin:10px 0 10px 10px}
.book-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.book-page-head h1{font-size:18px;margin:0}.book-page-head .button{font-size:12px;min-height:34px;padding:8px 16px}

.local-book-original,.local-book-changes,.local-book-comparison{width:100%;min-width:0}.local-book-changes,.local-book-comparison{margin-top:32px;padding-top:24px;border-top:1px solid #303640}.book-proposal-details .local-book-changes h4,.book-proposal-details .local-book-comparison h4{font-size:16px;margin-bottom:16px}.local-book-changes ul{list-style:none;padding:0;display:block}.local-book-changes li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;margin:0;padding:12px 0;border-bottom:1px solid #242a32;background:none}.local-book-changes li span{font-size:12px;color:#aeb7c2}.local-book-changes li p{font-size:14px;line-height:1.7;margin:0}.local-book-image-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.local-book-comparison figure{margin:0;min-width:0}.local-book-comparison img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#080a0d}.local-book-comparison figcaption{font-size:12px;color:#aeb7c2;margin-top:8px}

@media(max-width:600px){.local-book-image-pair{grid-template-columns:1fr}}

.home-v3-brand small{font-size:15px;font-weight:600}
@media(max-width:620px){.brand>span{font-size:14px}.brand small{font-size:13px}}

/* Structured design facts: one component per item, all advice directly visible. */
.proposal-module-items{list-style:none!important;padding:0!important;margin:0!important;display:block!important}
.proposal-module-items>li{display:block!important;padding:12px 0!important;margin:0!important;border-bottom:1px solid #303640}
.proposal-module-items>li>strong{display:block;color:#f1f3f5;font-size:15px}
.proposal-module-items p{margin:6px 0!important;line-height:1.65;overflow-wrap:anywhere}

/* Shared by original, multi-angle and derived proposal covers in this service. */
.embedded-api-book .multi-angle-book .multi-angle-hero {
  height: auto;
  min-height: 0;
  max-height: none;
  align-items: center;
}
.embedded-api-book .multi-angle-book .multi-angle-title {
  min-width: 0;
  align-self: center;
  padding-top: 0;
}
.embedded-api-book .multi-angle-book .multi-angle-cover-stage {
  height: auto;
  align-self: center;
  grid-template-rows: auto auto;
}
.embedded-api-book .multi-angle-book .multi-angle-title h3 span {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .embedded-api-book .multi-angle-book .multi-angle-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}
@media(max-width:900px){
 .embedded-api-book .multi-angle-book .multi-angle-title h3{font-size:26px!important;line-height:1.35!important;overflow-wrap:anywhere}
 .embedded-api-book .multi-angle-book .multi-angle-title h3 span{font-size:18px!important;line-height:1.6!important}
 .embedded-api-book .multi-angle-book .multi-angle-hero{padding:20px 12px!important;gap:20px!important}
 .embedded-api-book .multi-angle-section{padding:24px 12px!important}
 .embedded-api-book .multi-angle-book :is(p,li,td,label){font-size:14px!important;line-height:1.8!important;overflow-wrap:anywhere}
 .embedded-api-book .multi-angle-book :is(button,input,select,textarea,summary){min-height:44px!important;font-size:16px!important}
 .embedded-api-book .multi-angle-book .multi-angle-filmstrip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .embedded-api-book .multi-angle-book table{display:block;max-width:100%;overflow:auto}
}
/* Content-sized mobile proposal: no viewport-height or stretched caption rows. */
@media(max-width:900px){
 .embedded-api-book .commercial-generated-label{font-size:11px;margin:4px 12px 10px}
 .embedded-api-book #deepCustomDocument:has(> .multi-angle-book){display:flex;flex-direction:column}
 .embedded-api-book #deepCustomDocument > .commercial-generated-label{order:1}
 .embedded-api-book #deepCustomDocument .multi-angle-title > .proposal-kicker{display:none}
 .embedded-api-book #deepCustomDocument .multi-angle-book .multi-angle-hero{padding-top:0!important}
 .embedded-api-book #deepCustomDocument .multi-angle-title h3{margin-top:0!important}
 .embedded-api-book .multi-angle-book .multi-angle-hero{padding:16px 12px!important;gap:16px!important;min-height:0!important}
 .embedded-api-book .multi-angle-book .multi-angle-title h3{margin:6px 0 0!important;font-size:24px!important;line-height:1.3!important}
 .embedded-api-book .multi-angle-book .multi-angle-title h3 span{font-size:23px!important;line-height:1.3!important}.embedded-api-book .multi-angle-book .multi-angle-title h3 small{margin-top:6px;font-size:15px!important;line-height:1.5!important}
 .embedded-api-book .multi-angle-thesis{margin-top:16px!important;padding-top:12px!important}.embedded-api-book .multi-angle-thesis>p{margin-top:8px!important;line-height:1.65!important;font-size:13px!important}
 .embedded-api-book .multi-angle-cmf{margin-top:14px!important}.embedded-api-book .multi-angle-cmf>div{gap:8px;margin-top:8px}.embedded-api-book .multi-angle-cmf figure{grid-template-rows:24px auto;gap:5px}.embedded-api-book .multi-angle-cmf i{height:24px!important}.embedded-api-book .multi-angle-cmf figcaption{gap:2px}.embedded-api-book .multi-angle-cmf figcaption b{font-size:10px}.embedded-api-book .multi-angle-cmf figcaption em{font-size:9px}
 .embedded-api-book .multi-angle-book .multi-angle-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}
 .embedded-api-book .multi-angle-book .multi-angle-card,.embedded-api-book .multi-angle-book .multi-angle-card.primary-view{display:block!important;height:auto!important;min-height:0!important;align-self:start}
 .embedded-api-book .multi-angle-book .multi-angle-card>.multi-angle-framed-media{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
 .embedded-api-book .multi-angle-card .multi-angle-media-subject{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain}
 .embedded-api-book .multi-angle-card .multi-angle-media-backdrop{display:none!important}
 .embedded-api-book .multi-angle-book .multi-angle-card figcaption{display:block!important;height:auto!important;min-height:0!important;padding:12px!important}.embedded-api-book .multi-angle-book .multi-angle-card figcaption p{margin:6px 0 0!important;font-size:13px!important;line-height:1.65!important}
 .embedded-api-book .multi-angle-book .multi-angle-section header h4{font-size:22px;line-height:1.35;margin-top:6px}.embedded-api-book .multi-angle-book .multi-angle-section header p{font-size:13px!important;line-height:1.65!important}
 .embedded-api-book .multi-angle-book .multi-angle-filmstrip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}.embedded-api-book .multi-angle-book .multi-angle-film-frame{display:block;min-width:0;height:auto;grid-column:auto!important}.embedded-api-book .multi-angle-film-frame>.multi-angle-framed-media{height:64px!important;aspect-ratio:auto}.embedded-api-book .multi-angle-film-frame figcaption{padding:6px;font-size:10px}.embedded-api-book .multi-angle-film-frame figcaption span{display:none}
}

/* Reserve cover geometry before images load; thumbnails never depend on image ratio. */
@media(max-width:900px){
 .embedded-api-book .multi-angle-book .multi-angle-cover-stage{display:block;height:auto!important;min-width:0}
 .embedded-api-book .multi-angle-book .multi-angle-cover-main{width:100%;height:auto!important;aspect-ratio:16/9;margin:0 0 10px}
 .embedded-api-book .multi-angle-book .multi-angle-cover-main>.multi-angle-framed-media{position:absolute;inset:0;width:100%;height:100%}
 .embedded-api-book .multi-angle-book .multi-angle-filmstrip{display:flex!important;height:auto!important;overflow:visible!important;align-items:flex-start!important;gap:6px!important}
 .embedded-api-book .multi-angle-book .multi-angle-film-frame{display:block!important;flex:1 1 0;min-width:0;height:auto!important;min-height:0!important;margin:0!important}
 .embedded-api-book .multi-angle-book .multi-angle-film-frame>.multi-angle-framed-media{display:block!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;overflow:hidden!important;background:#15181c}
 .embedded-api-book .multi-angle-book .multi-angle-film-frame .multi-angle-media-subject{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
 .embedded-api-book .multi-angle-book .multi-angle-film-frame .multi-angle-media-backdrop{display:none!important}
 .embedded-api-book .multi-angle-book .multi-angle-film-frame figcaption{display:block!important;height:auto!important;min-height:0!important;padding:6px!important;font-size:11px!important;line-height:1.5!important}
}

/* One authenticated save action is provided by the outer book header. */
body:is(.embedded-api-book,.embedded-book) .multi-angle-save-dock{display:none!important}

/* Allow the mobile workbench actions to sit beside the cover title. */
@media(max-width:800px),(max-width:900px) and (max-height:500px){
 .embedded-api-book #deepCustomDocument .multi-angle-title h3 > span{display:block;padding-inline-end:70px}
}
