/* Stage 11f · Crisp and clean (CRISP-CLEAN1 + HERO-SLIM1, Troy 26 Nov 2026: "most professional fresh crisp ... clear concise
   ... non confusing"). Loaded after the looks, so every look gets it. The look's own colours, fonts and shading stay; what goes:
   blur, glows, SHOUTING capitals, boxes inside boxes, the second menu on a computer, and the space before the real content.
   Small status tags (SAMPLE, READY, HELD, LIVE ...) keep their capitals: they're labels, not headings. */

/* 1. A plain, calm background (no glow behind the page). The "Holo Glass" look keeps its see-through glass and glow as a choice
      in Customise (FMU-HOLO1, Troy 16 Nov: "see through screen"); the default is crisp. */
html:not([data-look="trades-holo"]) body{background:var(--bg)}

/* 2. The real content near the top: a one-line sample notice, a slim header photo by default (big is a choice in Customise) */
.samplebar{margin:10px 22px 0;padding:5px 12px;border-radius:8px;font-size:12.5px;background:transparent;border-color:color-mix(in srgb,var(--amber) 35%,transparent)}
.samplebar .btn{padding:3px 10px;font-size:12px}
.hero{margin:12px 22px 0;border-radius:12px}
.hero[data-mode=banner]{height:140px}
.hero[data-mode=banner] .over h1{font-size:26px}
.hero .credit{opacity:.75}
/* Troy 26 Nov ("on warm natural the images are faded"): the photo shows in full colour. A light shade on the left only,
   and a soft shadow behind the words so they still read on any photo. */
.hero .over{background:linear-gradient(90deg,color-mix(in srgb,var(--bg) 62%,transparent) 0,color-mix(in srgb,var(--bg) 22%,transparent) 42%,transparent 68%)}
.hero .over h1,.hero .over p{text-shadow:0 1px 2px color-mix(in srgb,var(--bg) 70%,transparent),0 0 14px color-mix(in srgb,var(--bg) 55%,transparent)}

/* 3. Page header in plain words */
.crumb{text-transform:none;letter-spacing:0;font-weight:500;font-size:12.5px;color:var(--muted)}
.crumbp{text-decoration:none;color:var(--accent)}

/* 4. One menu: on a computer the left menu already lists this part's pages, so the row of page buttons isn't shown twice.
      The left menu shows the one-line description for the part you're in only. */
@media (min-width:821px){#pageHead .subtabs{display:none}}
.sidepart:not(.on) .pt small{display:none}
.sidepart{padding:7px 9px}
.navlabel{letter-spacing:.3px;text-transform:none;font-size:11.5px}

/* 5. Flat, quiet boxes: no blur, no glow, a thin line. Each look keeps its own corners and finish (flat, outline, soft, solid);
      only the "Holo Glass" look keeps see-through glass. */
html:not([data-look="trades-holo"]) .card{-webkit-backdrop-filter:none;backdrop-filter:none}
.card{border-color:color-mix(in srgb,var(--line) 75%,transparent);padding:18px 20px}
.card .card{border-color:transparent;background:color-mix(in srgb,var(--panel2) 55%,transparent)}
.scoretile,.card .rsbox{border-color:transparent;border-radius:10px}
.pbox{border-radius:12px}
html:not([data-look="trades-holo"]) :is(.light,.light.st-ahead,.light.st-ontrack,.light.st-behind){box-shadow:none;border-width:2px}

/* 6. Headings and labels in sentence case, not capitals */
.card h3{text-transform:none;letter-spacing:0;font-size:15px;font-weight:600;color:var(--text)}
.kpi small,.nums div small,.note.sechd,.lane,.deptname,.drawer h4,.qsec,.roomcol h2,.storyopen small,.zoom .zhead small,.drow>b,.dlabel,
.scoretile small,.rsbox small,.rsrule>small,.rsscript>small{text-transform:none;letter-spacing:0}
.kpi small{font-size:12px}
.kpi strong{font-weight:500;font-size:24px}
.note.sechd{font-size:12.5px;font-weight:600;color:var(--muted)}

/* 7. Reasons and warnings as plain coloured words, not boxed */
.flag{border:0;padding:0;font-weight:600}

/* 8. Buttons: one shape */
.btn{border-radius:8px}.chip{border-radius:8px}

/* 9. Minimal Mono, made truly black and white (Troy 26 Nov 2026 on his phone: "minimal mono text is different and looks
      washed out", "colours are to similar"). Plain readable type like the other looks (not typewriter text), neutral greys
      instead of tinted ones, outlines you can actually see, and brighter second lines. Each industry keeps its one accent
      colour (The Experts Oz: neon green, LOOKS-NEON1). It stays the outline style: see-through boxes with a clear line.
      Troy: "the text is not like holo glass", so it uses Holo Glass's typeface (Avenir Next on an iPhone or Mac). */
html[data-look$="-mono"]{--font:'Space Grotesk','Avenir Next','Segoe UI',system-ui,sans-serif;
  --bg:#f6f6f6;--panel:#ffffff;--panel2:#ededed;--line:#c9c9c9;--text:#111111;--muted:#4d4d4d;--btn:#ffffff}
html[data-look="trades-mono"]{--bg:#000000;--panel:#121212;--panel2:#1c1c1c;--line:#4a4a4a;--text:#ffffff;--muted:#bdbdbd;--btn:#0d0d0d;--amber:#ffd23f}
html[data-look$="-mono"] .card{border-color:var(--line)}
.lookc i[data-sw="trades-mono"]{background:linear-gradient(135deg,#000 55%,#39ff14)}

/* 10. BLACK-ACCENTS1 (Troy 26 Nov 2026: "give me more samples like that ... clourwise", then "leave all the colours as is add
       these as well"). The black Minimal Mono with one accent colour, offered to every business under "Black, with one colour".
       Same rules as MONO-CLEAR1: Holo Glass's typeface, neutral greys, outlines you can see, see-through boxes. */
html[data-look^="black-"]{--bg:#000000;--panel:#121212;--panel2:#1c1c1c;--line:#4a4a4a;--text:#ffffff;--muted:#bdbdbd;--btn:#0d0d0d;
  --green:#3ddc84;--red:#ff5c5c;--amber:#ffd23f;--radius:4px;--font:'Space Grotesk','Avenir Next','Segoe UI',system-ui,sans-serif}
html[data-look^="black-"] body{font-family:var(--font)}
html[data-look^="black-"] .card{background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line);padding:12px}
html[data-look^="black-"] .chip{background:transparent}
html[data-look^="black-"] .grid{gap:10px}
html[data-look^="black-"] .row{padding:7px 0}
html[data-look^="black-"] .kpi strong{font-size:22px}
html[data-look="black-green"]{--accent:#39ff14;--accent2:#39ff14;--glow:rgba(57,255,20,0.28);--green:#39ff14}
html[data-look="black-blue"]{--accent:#2e9bff;--accent2:#2e9bff;--glow:rgba(46,155,255,0.28)}
html[data-look="black-cyan"]{--accent:#00e5ff;--accent2:#00e5ff;--glow:rgba(0,229,255,0.28)}
html[data-look="black-orange"]{--accent:#ff7a1a;--accent2:#ff7a1a;--glow:rgba(255,122,26,0.28)}
html[data-look="black-yellow"]{--accent:#ffe100;--accent2:#ffe100;--glow:rgba(255,225,0,0.28)}
html[data-look="black-red"]{--accent:#ff3b3b;--accent2:#ff3b3b;--glow:rgba(255,59,59,0.28)}
html[data-look="black-teal"]{--accent:#19f5c1;--accent2:#19f5c1;--glow:rgba(25,245,193,0.28)}
html[data-look="black-white"]{--accent:#f2f2f2;--accent2:#f2f2f2;--glow:rgba(242,242,242,0.28)}
.lookc i[data-sw="black-green"]{background:linear-gradient(135deg,#000 55%,#39ff14)}
.lookc i[data-sw="black-blue"]{background:linear-gradient(135deg,#000 55%,#2e9bff)}
.lookc i[data-sw="black-cyan"]{background:linear-gradient(135deg,#000 55%,#00e5ff)}
.lookc i[data-sw="black-orange"]{background:linear-gradient(135deg,#000 55%,#ff7a1a)}
.lookc i[data-sw="black-yellow"]{background:linear-gradient(135deg,#000 55%,#ffe100)}
.lookc i[data-sw="black-red"]{background:linear-gradient(135deg,#000 55%,#ff3b3b)}
.lookc i[data-sw="black-teal"]{background:linear-gradient(135deg,#000 55%,#19f5c1)}
.lookc i[data-sw="black-white"]{background:linear-gradient(135deg,#000 55%,#f2f2f2)}

/* iPhone */
@media (max-width:820px){
  .samplebar{margin:8px 12px 0;font-size:12px;padding:4px 10px;gap:8px}
  .samplebar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .samplebar .btn{padding:2px 8px}
  .hero{margin:10px 12px 0}
  .hero[data-mode=banner]{height:120px}
  .hero[data-mode=banner] .over h1{font-size:22px}
  .pwhat{font-size:13.5px}
  /* Stage 11g (Troy 26 Nov, phone "look shit"): one row of buttons, a status pill instead of a big ring, content higher up. */
  #page:has(.ptabs) #pageHead .subtabs{display:none}  /* a page with its own tabs shows only those; the part's pages are in Menu */
  .hero[data-mode=banner]{height:96px}
  .hero[data-mode=banner] .over h1{font-size:20px}
  .hero[data-mode=banner] .over p{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hero[data-mode=banner] .over{padding:10px 14px 24px}
  .hero[data-mode=banner] .credit{bottom:6px;right:10px;font-size:9.5px}
  .pghead{margin-bottom:4px}
  /* Stage 11h: the program drawer's buttons (Connect, Continue to Xero's sign-in, Disconnect) are full iPhone tap size. */
  #connBody .btnrow .btn{min-height:44px}
  #xeroReading .btnrow .btn{min-height:44px}   /* 11i: Try again when Xero couldn't be read */
  .pwhat{margin:2px 0 4px}
  .ptabs{margin-top:6px}
  .ahead{gap:12px}
  .light,.light.st-ahead,.light.st-ontrack,.light.st-behind{width:auto;height:auto;border-radius:999px;display:inline-flex;align-items:baseline;gap:8px;padding:6px 14px;font-size:13px}
  .light small{display:inline;padding:0;font-size:12.5px}
}
