/* Stand 360 / GoFRAME: visual brand layer; no interaction or quote rules. */
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("brand/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("brand/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --ink:#15191b; --muted:#4b5c61; --line:#d5e0e1; --paper:#edf3f4;
  --carbon:#111517; --panel:#1b2225; --cyan:#19dce2; --teal:#086f76; --pale:#e7f7f7;
  --mint:#e7f7f7; --green:#172629; --lime:#19dce2;
  --brandGradient:linear-gradient(96deg,#5ad9db,#00f0f4);
  --lift:0 12px 38px #0f29291a;
  color:var(--ink);font:16px/1.45 Montserrat,system-ui,Arial,sans-serif;
}
body { background:#fff; }
button { min-height:39px;border-radius:8px;font-size:.86rem;background:#fff; }
button:hover { background:#eff9f9;border-color:#84b6b9; }
button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,#viewport:focus-visible {outline:2px solid var(--teal);outline-offset:3px;}
button:disabled {opacity:.48;}
.primary { border-color:#26c6cb;background:var(--brandGradient);color:#112326;font-weight:800;border-radius:999px; }
.primary:hover {background:#9df4f4;border-color:#049da5;}
.studioHeader {color:white;background:var(--carbon);border-bottom:2px solid var(--cyan);height:auto;min-height:74px;padding:12px clamp(14px,2.4vw,36px);gap:20px;align-items:center;}
.brandLockup {display:flex;align-items:center;gap:14px;min-width:0;flex:none;}
.brand img {display:block;width:151px;height:auto;max-width:100%;}
.studio {font-size:.77rem;letter-spacing:.065em;text-transform:uppercase;white-space:nowrap;color:#c1d9db;font-weight:750;}
.studioHeader .divider {height:17px;border-color:#516365;}
.head-actions {align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;}
.head-actions .quiet {color:#eef8f8;background:transparent;border-color:transparent;white-space:nowrap;padding-inline:9px;}
.head-actions .quiet:hover {color:#fff;background:#23363a;border-color:#3a575b;}
.head-actions #langBtn {font-size:.75rem;letter-spacing:.07em;color:#a8ffff;}
.head-actions #summaryBtn {margin-left:3px;white-space:nowrap;padding-inline:13px;}
.studioHeader button:focus-visible,#languageDialog button:focus-visible,.startHead button:focus-visible {outline-color:#abffff;}
.menu {color:var(--ink);top:calc(100% - 1px);right:clamp(8px,2.4vw,36px);box-shadow:var(--lift);}
aside {background:#fff;scrollbar-color:#b1c9ca transparent;}
.sTabs,.mode {background:#e8f0f1;border-radius:9px;}
.sTabs button.active {background:#fff;border-color:#b2d8d9;color:#17474a;box-shadow:0 1px 5px #1433361e;}
.sTabs button.active i {color:var(--teal);}
.sectionTop h1 {font-size:clamp(1.18rem,1.9vw,1.47rem);font-weight:800;letter-spacing:-.043em;line-height:1.13;}
.studioLabel {color:var(--teal);font-size:.71rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;display:inline-block;margin-bottom:5px;}
.sectionTop p,.note {font-size:.84rem;color:var(--muted);}
.groupHeading {text-transform:uppercase;letter-spacing:.075em;color:#2f5052;font-weight:750;}
.groupHeading small {color:#4d6569;}
.filter select,.filter:after {border-color:#9bb7ba;}
.card {border-color:#dbe5e6;border-radius:9px;}
.card:hover {background:white;border-color:#1b9da3;}
.cardArt {background:#edf5f5;}
.cardText {padding:8px 8px 10px;}
.cardText b {font-weight:750;line-height:1.28;}
.cardText small {font-size:.73rem;font-weight:500;line-height:1.27;}
.cardPlus {width:23px;height:23px;top:6px;right:6px;background:#d3fcfb;color:#074d51;font-weight:800;}
.workspace {background-color:#edf3f4;background-image:linear-gradient(#7293991a 1px,transparent 1px),linear-gradient(90deg,#7293991a 1px,transparent 1px);background-size:27px 27px;}
.viewbar {padding:21px 24px 13px;background:linear-gradient(180deg,#f9fcfce8,#f5fafac7 82%,#f5fafa00);}
.viewbar h2 {margin:0 0 4px;font-weight:800;letter-spacing:-.05em;}
.viewbar p {color:#3f5659;}
.mode button {color:#304e54;font-weight:750;}
.mode button.on {background:#172b30;color:#e3ffff;}
.mode button.on .icon {color:#63eef0;}
#liveQuote {margin:0 18px 5px;padding:10px 14px;border:1px solid #a9d8da;border-left:4px solid #0daeb7;border-radius:8px;background:#f7ffff;color:#203b3e;box-shadow:0 3px 8px #173c4010;}
.liveTotal strong {font-variant-numeric:tabular-nums;font-weight:800;font-size:clamp(1.12rem,2vw,1.41rem);letter-spacing:-.03em;color:#12272a;}
.liveTotal span {font-size:.75rem;color:#455f62;}
.quoteBreakdown summary,.quoteBreakdown .quoteScope {color:#12555a;}
.quoteBreakdown summary {font-weight:750;}
.quoteBreakdown .liveRows {padding-block:8px;gap:5px 16px;}
.liveRows>li {background:#e5f6f6;border-radius:5px;padding:4px 7px;line-height:1.35;}
.liveRows small {font-size:.7rem;}
.planNotice {margin:0 18px 5px;background:#f7fafa;border:1px solid #c7dddd;color:#42595c;}
.canvasFoot #hint {color:#385759;background:#f6fafaea;line-height:1.3;}
.camera {border-color:#afcacc;box-shadow:0 2px 6px #183e4315;}
footer {background:#151c1f;color:#c8dfe1;border-color:#3e5759;min-height:36px;}
footer .icon {color:#62e8ea;}.footerSep {color:#84a5a9;}
#settings label {color:#2c484b;}#settings input,.priceGrid input,#assetForm>label input,#logisticsForm textarea,#reasonForm textarea,#exitForm textarea,#exitForm select,.variantName input,.variantChoices select {border:1px solid #a5bfc2;border-radius:7px;background:#fff;color:#152629;min-height:39px;}
.edges input,.graphicControls input{accent-color:#07727a;}
.layoutChoices .layoutIcon {color:#007079;}.layoutChoices .layoutIcon rect {fill:#e2f5f5;stroke:#80a8ad;}.layoutChoices button:hover .layoutIcon {color:#004c54;}
#inspector {border-color:#b4d1d2;border-top:3px solid #109fa8;background:#fbffff;box-shadow:var(--lift);}
.graphicControls,.roundControls,.crmLead,.startBody fieldset,.variantRows li {border-color:#bed6d8;}
.selHead h3 {font-weight:800;} .placementStatus:not(:empty){border-color:#a6c5c6;background:#f4ffff;color:#174d53;}
#toast {color:#ecffff;background:#13272b;border:1px solid #4fabad;box-shadow:var(--lift);}
dialog {border-color:#c3d7d9;border-radius:13px;box-shadow:0 24px 88px #0b1c20aa;}
dialog::backdrop {background:#0b1417a8;}
#dialog .modalHead {border-bottom:1px solid var(--line);padding-bottom:12px;}
.modalHead h2 {font-weight:800;font-size:clamp(1.15rem,2.1vw,1.44rem);}
.modalActions {flex-wrap:wrap;}
.quoteTotal {border-top:3px solid #0b969e;padding-top:10px;color:#133a3f;font-weight:650;}
.quoteTotal strong {font-weight:800;}
th {background:#edf8f8;color:#28494d;}
th,td {padding-inline:7px;}
.variantRows li .label {color:#0a6166;}
.cityMap {background-color:#eaf6f7;background-image:linear-gradient(to right,#a9cccf55 1px,transparent 1px),linear-gradient(to bottom,#a9cccf55 1px,transparent 1px);border-color:#b4d3d4;}
.mapMarker {border-color:#93bfc2;background:#fff;color:#144d52;}
#startDialog {width:min(710px,95vw);max-width:95vw;padding:0;}
#startDialog .startHead {background:#152326;border-bottom:3px solid #18c8d0;color:#fff;padding:19px 22px 17px;margin:0;}
.startHead .studioLabel {color:#7deef1;}
.startHead .dialogLanguage {background:#1e383d;color:#dcffff;border-color:#507175;white-space:nowrap;}
.startBody {padding:18px 21px 20px;}.startBody legend {font-weight:750;padding-inline:4px;}
.startBody>p:first-child {margin:0 0 15px;}
#languageDialog {width:min(890px,95vw);max-width:95vw;padding:0;border-color:#3f5b5f;background:#111719;color:#fff;border-radius:14px;}
.languageLayout {display:grid;grid-template-columns:1.04fr 1fr;}
.languageBody {padding:36px clamp(21px,4.2vw,56px) 46px;min-width:0;}
.welcomeBrand {display:block;width:132px;height:auto;margin-bottom:43px;}
.welcomeProduct {display:block;width:128px;height:auto;margin-bottom:14px;}
.languageBody .welcomeTitle {margin:0;color:white;font-size:clamp(2rem,4vw,3.55rem);line-height:1.01;font-weight:800;letter-spacing:-.055em;}
.languageBody .welcomeEn {margin:10px 0 27px;color:#b9d4d8;font-size:.95rem;}
.languageBody h2 {font-size:.78rem;color:#d9eeee;letter-spacing:.04em;margin:0 0 10px;}
.languageChoices {gap:8px;}
.languageChoices button {font-size:.9rem;min-height:45px;border-radius:999px;padding:8px;}
.languageChoices button:not(.primary) {color:white;background:#1a2b2e;border-color:#5c8183;}
.languageChoices button:not(.primary):hover {background:#275055;}
.welcomePhoto {min-width:0;min-height:290px;position:relative;overflow:hidden;background:linear-gradient(145deg,#04101105,#06272e44),url('brand/goframe-hero.webp') center/cover no-repeat,#193d43;}
.welcomePhoto::before {content:"";position:absolute;inset:auto -92px -113px auto;height:295px;width:295px;border:31px solid #13e1e6;border-radius:50%;box-sizing:border-box;opacity:.87;}
.welcomePhoto::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#10171982,transparent 20%);}
@media(max-width:1150px){.brand img{width:125px}.brandLockup{gap:9px}.studioHeader{gap:12px}.studio{font-size:.65rem}.head-actions .quiet{padding-inline:6px;font-size:.79rem}}
@media(max-width:870px){.studioHeader{align-items:flex-start;flex-direction:column;gap:7px;padding-block:10px}.head-actions{margin-left:0;justify-content:flex-start}.studio{display:inline!important}.studioHeader .divider{display:inline}.brand img{width:132px}}
@media(max-width:640px){
  .studioHeader{padding:10px 11px 8px;gap:6px}.head-actions{gap:3px 4px}.head-actions button{min-height:34px}.head-actions #summaryBtn{padding-inline:8px;margin-left:0}
  .head-actions .quiet{font-size:.73rem}.head-actions .icon{width:15px;height:15px}.brand img{width:130px}
  .workspace{height:clamp(375px,57dvh,580px)}.viewbar{padding:12px 12px 8px}.viewbar h2{font-size:1.28rem}.studioLabel{margin-bottom:3px;font-size:.62rem}
  #liveQuote{margin-inline:9px;padding:6px 8px;gap:3px 10px}.quoteBreakdown summary{font-size:.76rem}.quoteBreakdown .quoteScope{font-size:.7rem}.liveTotal span{font-size:.69rem}
  .planNotice{margin-inline:9px;padding:4px 7px;font-size:.69rem}.quoteBreakdown[open]{max-height:142px;overflow:auto}
  .startBody{padding:12px}.startBody .priceGrid{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}
  .languageLayout{grid-template-columns:1fr}.languageBody{padding:23px 20px 21px}.welcomeBrand{width:119px;margin-bottom:26px}.welcomeProduct{width:105px;margin-bottom:10px}.languageBody .welcomeEn{margin:8px 0 17px}.welcomePhoto{min-height:145px;background-position:center 42%;}.welcomePhoto::before{height:163px;width:163px;inset:auto -43px -57px auto;border-width:18px}.welcomePhoto::after{background:linear-gradient(#10171966,transparent 35%);}
  #inspector{max-height:62%;overflow:auto}.cardText small{font-size:.67rem}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;}}
/* Raise specificity over the original generic dialog paragraph rule. */
#languageDialog .welcomeTitle {margin:0;color:#fff;font-size:clamp(2rem,4vw,3.55rem);line-height:1.04;}
#languageDialog .welcomeEn {margin:11px 0 25px;color:#c7e0e3;font-size:.95rem;}
#dialog {width:min(650px,94vw);padding:20px clamp(13px,3vw,26px);}
@media(max-width:640px){
  #languageDialog .welcomeTitle{font-size:clamp(1.7rem,8vw,2.6rem)}
  #languageDialog .welcomeEn{margin:8px 0 17px}
}
@media(max-width:640px) {
  .head-actions{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;}
  .head-actions .quiet,.head-actions #summaryBtn{min-width:0;width:100%;padding:5px 4px;white-space:normal;line-height:1.13;text-align:center;font-size:.7rem;overflow-wrap:anywhere;}
  .head-actions #fileBtn i,.head-actions #summaryBtn i{display:none;}
}

/* Stand 360: a high-contrast frame around the working drawing. */
:root {
  --carbon:#080909;
  --panel:#111516;
  --cyan:#00fbff;
  --brandGradient:linear-gradient(100deg,#239da1,#00fbff);
}
.studioHeader {
  min-height:78px;
  padding-inline:clamp(16px,3vw,48px);
  border-bottom:1px solid #353d3e;
}
.brand img{width:clamp(126px,12vw,176px)}
.studioHeader .studio{color:#e4e6e6;font-size:.73rem;letter-spacing:.105em}
.studioHeader .divider{border-color:#6f7474}
.head-actions .quiet{border-radius:3px;letter-spacing:.012em}
.head-actions .quiet:hover{background:#252727;border-color:#393c3c}
.head-actions #langBtn{border:1px solid #495253;border-radius:20px;min-width:40px}
main{grid-template-columns:clamp(204px,20vw,288px) minmax(0,1fr) clamp(220px,19vw,286px)}
#sidebar{border-right-color:#dbe0e1}
.workspace{
  background-color:#f5f7f7;
  background-image:linear-gradient(#869b9e21 1px,transparent 1px),linear-gradient(90deg,#869b9e21 1px,transparent 1px);
  background-size:28px 28px;
}
.viewbar{background:linear-gradient(180deg,#fff 55%,#fff0);padding-top:27px}
.viewbar h2{color:#111212;font-size:clamp(1.7rem,2.7vw,2.85rem);line-height:1.04}
.studioLabel{letter-spacing:.17em}
.card,.filter select,#settings input{border-radius:4px}
.cardArt{background:#f1f3f3}
.cardPlus{color:#111;background:#c8f5f5}
.sTabs,.mode{border-radius:6px}
.sTabs button,.mode button{border-radius:3px}
footer{background:#080909;border-color:#303637;color:#d4d8d8}
.quoteRail{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  overflow:auto;
  padding:0;
  background:#080909;
  color:#fff;
  border-left:1px solid #263536;
  scrollbar-color:#678283 #1a2324;
}
.quoteRailBrand{
  min-height:115px;
  display:flex;
  align-items:flex-end;
  padding:20px 21px;
  flex:none;
  background:linear-gradient(90deg,#080909f0,#0809092b),linear-gradient(0deg,#080909d6,transparent 75%),url('brand/goframe-hero.webp') center 53%/cover no-repeat,#131a1b;
  border-bottom:2px solid #20d0d5;
}
.quoteRailBrand img{display:block;width:118px;height:auto;max-width:100%}
.quoteRailPanel{min-width:0;padding:24px 18px 20px;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:15px}
.quoteRail #liveQuote{
  display:grid;
  min-width:0;
  grid-template-columns:minmax(0,1fr);
  margin:0;padding:0;
  border:0;border-radius:0;box-shadow:none;
  background:transparent;color:inherit;
  gap:15px;
}
.quoteRail .liveTotal{gap:4px}
.quoteRail .liveTotal strong{
  color:#fff;
  font-size:clamp(1.25rem,1.9vw,1.95rem);
  line-height:1.08;
  overflow-wrap:anywhere;
}
.quoteRail .liveTotal span{color:#ced9d9;font-size:.77rem;line-height:1.35}
.quoteRail .quoteBreakdown{
  min-width:0;
  border-top:1px solid #556163;
  padding-top:9px;
}
.quoteRail .quoteBreakdown summary,.quoteRail .quoteBreakdown .quoteScope{color:#d8e6e7}
.quoteRail .quoteBreakdown summary{
  padding:3px 0;
  font-size:.78rem;
  line-height:1.27;
}
.quoteRail .quoteBreakdown summary::marker{color:#00fbff}
.quoteRail .quoteBreakdown .liveRows{display:grid;gap:5px}
.quoteRail .liveRows>li{
  justify-content:space-between;
  flex-wrap:wrap;
  padding:7px;
  color:#eff6f6;
  background:#182223;
  border-radius:3px;
  min-width:0;
}
.quoteRail .liveRows span{color:#dbe9e9;font-size:.72rem}
.quoteRail .liveRows b{color:#fff;font-size:.75rem}
.quoteRail .liveRows small{color:#bfcfd0}
.quoteRail .quoteBreakdown .quoteScope{font-size:.68rem}
.quoteRail #summaryBtn{
  min-width:0;
  width:100%;
  min-height:43px;
  padding:7px 10px;
  font-size:.78rem;
  overflow-wrap:anywhere;
  border-color:transparent;
}
.quoteRail :is(summary,button):focus-visible{outline-color:#89ffff}
#languageDialog,.startHead{--brandGradient:linear-gradient(100deg,#239da1,#00fbff)}
#languageDialog{background:#080909;border-radius:8px}
#languageDialog .welcomeTitle{font-weight:780;letter-spacing:-.06em}
.welcomePhoto::before{display:none}
.welcomePhoto::after{background:linear-gradient(90deg,#080909a0,transparent 24%)}
#startDialog .startHead{background:#080909}
@media(min-width:861px) and (max-width:1080px){
  .quoteRailPanel{padding-inline:13px}
  .viewbar{padding-inline:16px}
}
@media(max-width:860px){
  main{grid-template-columns:minmax(185px,32vw) minmax(0,1fr)}
  .studioHeader{min-height:0;padding-inline:14px}
  .quoteRail{
    position:fixed;z-index:6;left:auto;
    right:max(8px,env(safe-area-inset-right));
    bottom:calc(8px + env(safe-area-inset-bottom));
    width:min(440px,calc(100vw - 16px));
    max-height:calc(60dvh - env(safe-area-inset-bottom));
    border:1px solid #475b5e;border-top:2px solid #00fbff;border-radius:8px;
    box-shadow:0 6px 25px #0f292968;
  }
  .quoteRailBrand{display:none}
  .quoteRailPanel{grid-template-columns:minmax(0,1fr) minmax(91px,auto);align-items:start;gap:7px;padding:8px 9px}
  .quoteRail #liveQuote{gap:3px}
  .quoteRail .liveTotal{gap:1px}
  .quoteRail .liveTotal strong{font-size:clamp(.97rem,4vw,1.19rem)}
  .quoteRail .liveTotal span{font-size:.62rem}
  .quoteRail .quoteBreakdown{padding-top:0;border-top:0}
  .quoteRail .quoteBreakdown summary{font-size:.67rem}
  .quoteRail .quoteBreakdown[open]{max-height:calc(38dvh - 45px);overflow:auto}
  .quoteRail #summaryBtn{min-height:39px;font-size:.7rem;align-self:start;padding:5px 8px;gap:4px}
  .quoteRail #summaryBtn .icon{width:13px;height:13px}
}
@media(min-width:641px) and (max-width:860px){
  .workspace{padding-bottom:72px}
}
@media(max-width:640px){
  .head-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .head-actions .quiet{font-size:.67rem}
  .viewbar{padding-top:16px}
  .viewbar h2{font-size:clamp(1.35rem,6vw,1.8rem)}
  body{padding-bottom:calc(89px + env(safe-area-inset-bottom))}
  html{scroll-padding-bottom:calc(89px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){ .quoteRail #summaryBtn .icon{display:none} }
/* Only the detail list scrolls on desktop; the amount and CTA stay in view. */
@media(min-width:861px){
  .quoteRail{overflow:hidden}
  .quoteRailPanel{display:flex;min-height:0;flex:1;flex-direction:column;gap:15px}
  .quoteRail #liveQuote{display:flex;align-items:stretch;flex-direction:column;justify-content:flex-start;min-height:0}
  .quoteRail .liveTotal{flex:none}
  .quoteRail .quoteBreakdown{flex:0 1 auto;min-height:0;overflow:auto;scrollbar-color:#678283 #1a2324}
  .quoteRail #summaryBtn{flex:none}
}
@media(min-width:861px) and (max-height:660px){
  .quoteRailBrand{min-height:73px;padding-block:12px}
  .quoteRailPanel{padding-block:14px}
}
@media(max-width:860px){#toast{bottom:calc(121px + env(safe-area-inset-bottom))}}

/* Keep both the layout diagram and its label readable in the narrower editor rail. */
.layoutChoices button{gap:5px;padding-inline:6px;line-height:1.26}
.layoutChoices .layoutIcon{width:18px;height:17px}
.layoutChoices button span{min-width:0;overflow-wrap:anywhere}
