/* Midnight's fonts, part of the plugin (SIL Open Font License, see assets/fonts/LICENSE-*.txt). One weight of each heading and figure
   font, two of the text font: the browser uses the nearer one for the weights in between. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:400 500;font-display:optional;src:url(fonts/bricolage-grotesque-400.woff2) format("woff2")}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:600 800;font-display:optional;src:url(fonts/bricolage-grotesque-700.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 500;font-display:optional;src:url(fonts/instrument-sans-400.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600 800;font-display:optional;src:url(fonts/instrument-sans-700.woff2) format("woff2")}
@font-face{font-family:"DM Mono";font-style:normal;font-weight:400 500;font-display:optional;src:url(fonts/dm-mono-400.woff2) format("woff2")}
/* The designs of wp-admin > Audio Tools > Look > Design (see awb_designs() in theme.php). Loaded after awb.css, only when a design other
   than "Classic" is chosen. Each design is a set of values (ground, surfaces, lines, corners, fonts) on body.awb-d-<name>; the rules below,
   shared by all three (body.awb-flat), take the glow, the gloss and the glass edge off and use those values. The accent is the plugin's
   accent colour (var(--awb-orange), named for the first design), set per design in theme.php. */
.awb-d-signal{--d-ground:#0C0D0C;--d-surface:#131411;--d-ground2:#1D1F19;--d-line:#2E3128;--d-line-hi:#3A3E33;--d-soft:#B4B8AA;
	--d-r-lg:14px;--d-r:14px;--d-r-btn:10px;--d-r-sm:10px;--d-shadow:none;
	--d-head:"Space Grotesk","Inter",system-ui,sans-serif;--d-body:"Inter","Inter Fallback",system-ui,sans-serif;--d-num:"JetBrains Mono",ui-monospace,Consolas,monospace;--d-h-weight:700;--d-h-track:-.035em}
.awb-d-midnight{--d-ground:#0A0D14;--d-surface:#121826;--d-ground2:#1B2334;--d-line:#232B3D;--d-line-hi:#2F3950;--d-soft:#A3AEC4;
	--d-r-lg:24px;--d-r:20px;--d-r-btn:999px;--d-r-sm:14px;--d-shadow:none;
	--d-head:"Bricolage Grotesque","Instrument Sans",system-ui,sans-serif;--d-body:"Instrument Sans","Inter","Inter Fallback",system-ui,sans-serif;--d-num:"DM Mono",ui-monospace,Consolas,monospace;--d-h-weight:700;--d-h-track:-.035em}
/* Daylight is seen turned inside out (light surfaces, see ":root.awb-inv" in awb.css): what is near black here is paper there, and the
   pale lines here are the ink lines there. */
.awb-d-daylight{--d-ground:#0A0A0D;--d-surface:#000000;--d-ground2:#16161A;--d-line:#EEEEEE;--d-line-hi:#EEEEEE;--d-soft:#B9B9B1;
	--d-r-lg:6px;--d-r:6px;--d-r-btn:4px;--d-r-sm:4px;--d-shadow:6px 6px 0 #EEEEEE;
	--d-head:"Bricolage Grotesque","Inter",system-ui,sans-serif;--d-body:"Inter","Inter Fallback",system-ui,sans-serif;--d-num:"JetBrains Mono",ui-monospace,Consolas,monospace;--d-h-weight:700;--d-h-track:-.045em}

.awb-body.awb-flat{font-family:var(--d-body)}
.awb-flat h1,.awb-flat h2,.awb-flat .awb-fd-h,.awb-flat .awb-foot-h,.awb-flat .awb-logo,.awb-flat .awb-item-name,.awb-flat .awb-post-name,.awb-flat .awb-try-name{font-family:var(--d-head)}
.awb-body.awb-flat h1{font-weight:var(--d-h-weight);letter-spacing:var(--d-h-track)}
.awb-flat h2{letter-spacing:-.02em}
.awb-flat .awb-big,.awb-flat .awb-num,.awb-flat .awb-mono,.awb-flat .awb-time,.awb-flat .awb-field-val{font-family:var(--d-num);font-weight:500;letter-spacing:-.03em}
.awb-flat .awb-label{font-family:var(--d-num);font-weight:500;letter-spacing:.08em}
/* the dark page takes the design's ground */
:root[data-theme="dark"] .awb-body.awb-flat{--awb-page:var(--d-ground);--awb-surface:var(--d-surface);--awb-line:var(--d-line);--awb-tint:var(--d-ground2);--awb-ink-soft:var(--d-soft)}
.awb-flat .awb-bar,.awb-flat .awb-foot{background:var(--d-ground)}
:root[data-theme] .awb-body.awb-flat .awb-bar{border-bottom:0;box-shadow:inset 0 -1px 0 var(--d-line)}
.awb-flat .awb-foot{border-top:1px solid var(--d-line)}
.awb-flat .awb-fd{background:var(--d-surface);border-bottom:1px solid var(--d-line)}
/* surfaces: one flat colour, a thin line, no glow, no glass edge */
.awb-flat .awb-hero,.awb-flat .awb-tool,.awb-body.awb-flat .awb-daily{background:var(--d-surface);border:1px solid var(--d-line);box-shadow:var(--d-shadow);border-radius:var(--d-r-lg)}
.awb-flat .awb-tool::before,.awb-flat .awb-hero::before,.awb-flat .awb-daily::before,.awb-flat .awb-hero::after,.awb-flat .awb-daily::after{display:none}
.awb-flat .awb-hero-side{background:var(--d-ground);border:1px solid var(--d-line);box-shadow:none;border-radius:var(--d-r)}
.awb-flat .awb-find-box{background:var(--d-surface);border:1px solid var(--d-line-hi);box-shadow:none;border-radius:var(--d-r-btn)}
.awb-flat .awb-find-box:focus-within{box-shadow:0 0 0 3px var(--awb-ring)}
.awb-flat .awb-box,.awb-flat .awb-tr-box{background:transparent;border-color:var(--d-line);box-shadow:none;border-radius:var(--d-r)}
.awb-flat .awb-drop{background:var(--d-ground);border-color:var(--d-line-hi);border-radius:var(--d-r)}
.awb-flat .awb-ab{background:var(--d-ground);border-color:var(--d-line);box-shadow:none;border-radius:var(--d-r-btn)}
.awb-flat .awb-panel,.awb-flat .awb-card{border-radius:var(--d-r)}
.awb-flat .awb-ico-box{background:var(--d-ground2);border-radius:var(--d-r-sm)}
:root[data-theme="light"] .awb-flat .awb-panel .awb-ico-box,:root[data-theme="light"] .awb-flat .awb-title .awb-ico-box{background:var(--d-ground)}
.awb-body.awb-flat .awb-daily .awb-ico-box,.awb-flat .awb-item:hover .awb-ico-box{background:var(--awb-orange);box-shadow:none}
/* On the light look the rule for boxes in a panel above is the stronger one: without this the box stayed dark under the pointer while its drawing turned dark too. */
:root[data-theme="light"] .awb-flat .awb-item:hover .awb-ico-box{background:var(--awb-orange)}
.awb-flat .awb-hot{background:var(--awb-orange);box-shadow:none}
/* buttons: flat; the main one is the accent, plain */
.awb-flat .awb-btn{background:transparent;box-shadow:none;border-color:var(--d-line-hi);border-radius:var(--d-r-btn)}
.awb-flat .awb-btn:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.5)}
.awb-body.awb-flat .awb-btn-main,.awb-body.awb-flat a.awb-btn-main,.awb-body.awb-flat .awb-btn-main:hover{background:var(--awb-orange);border-color:var(--awb-orange);box-shadow:none}
.awb-body.awb-flat .awb-btn-main:hover{filter:brightness(1.08)}
.awb-flat .awb-btn[aria-pressed="true"]{background:var(--awb-white);border-color:var(--awb-white);box-shadow:none}
@container (max-width:963.98px){.awb-flat .awb-btn.awb-dm-name.is-sel{background:var(--awb-white);border-color:var(--awb-white)}} /* the chosen drum pad: white with dark text, as in the other designs (the flat buttons above had dropped its fill) */
.awb-flat .awb-input,.awb-flat .awb-select{border-radius:var(--d-r-btn);background:var(--d-ground);border-color:var(--d-line-hi)}
.awb-flat .awb-nav-btn,.awb-flat .awb-bar-find,.awb-flat .awb-bar-ico{border-radius:var(--d-r-btn)}
.awb-flat .awb-chips a,.awb-flat .awb-cat-chip{border-radius:var(--d-r-btn)}
/* Midnight: the pills need more room at the sides */
.awb-d-midnight .awb-btn{padding-left:22px;padding-right:22px}
.awb-d-midnight .awb-input{padding-left:18px;padding-right:18px}
/* Daylight: ink lines and hard shadows; selected things are solid */
.awb-d-daylight .awb-btn{border-color:var(--d-line)}
.awb-d-daylight .awb-hero-side,.awb-d-daylight .awb-box,.awb-d-daylight .awb-find-box{border-color:var(--d-line)}

/* ---------- Midnight, in detail ----------
   Type: Bricolage Grotesque for headings (a grotesque with some hand in it), Instrument Sans for text, DM Mono for figures.
   The files are in assets/fonts (Latin letters only, see the @font-face rules at the top of this file): nothing is fetched from Google.
   Home: the banner is not a box. A welcome line, the headline, the owner's shortcuts, then the big search box, all centred; the daily
   ear test is the one block in the accent colour. (The banner and its side box are taken apart with display:contents so that their
   parts can be put in this order beside the search box.) */
.awb-d-midnight .awb-hl{white-space:normal}
.awb-d-midnight.awb-home .awb-hero,.awb-d-midnight.awb-home .awb-hero-side{display:contents}
.awb-d-midnight.awb-home .awb-hero-wave{order:-5;align-self:center;min-height:0;margin-top:36px;background:transparent;border:0;border-radius:0;overflow:visible}
.awb-d-midnight.awb-home .awb-hero-bars,.awb-d-midnight.awb-home .awb-hero-head{display:none}
.awb-d-midnight.awb-home .awb-hero-hello{padding:0;gap:4px}
.awb-d-midnight.awb-home .awb-hero-hello-a{font-family:var(--d-num);font-size:13px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--awb-ink-soft)}
.awb-d-midnight.awb-home .awb-hero-hello-a b{color:var(--awb-orange);font-weight:500}
.awb-d-midnight.awb-home .awb-hero-hello-b{font-size:15px;color:var(--awb-ink-soft)}
.awb-d-midnight.awb-home .awb-hero-text{order:-4;align-self:center;margin-top:36px;align-items:center;text-align:center;gap:18px;max-width:900px;color:var(--awb-ink)}
.awb-d-midnight.awb-home .awb-hero h1{font-size:clamp(40px,6.2vw,78px);line-height:.98;letter-spacing:-.04em}
.awb-d-midnight.awb-home .awb-hero .awb-lead{max-width:560px;font-size:19px;color:var(--awb-ink-soft)}
.awb-d-midnight.awb-home .awb-hero-acts{display:none}
.awb-d-midnight.awb-home .awb-find{order:-3;align-self:center;width:100%;max-width:720px;margin-top:8px}
.awb-d-midnight.awb-home .awb-find-box{height:68px;padding:0 26px;border-radius:999px;background:var(--awb-surface);color:var(--awb-ink)}
.awb-d-midnight.awb-home .awb-find-box input{color:var(--awb-ink);font-size:18px}
.awb-d-midnight.awb-home .awb-find-box input::placeholder{color:var(--awb-ink-soft)}
.awb-d-midnight.awb-home .awb-hero-side>.awb-label{display:none}
.awb-d-midnight.awb-home .awb-find>*:not(.awb-find-box){justify-content:center;text-align:center}
.awb-d-midnight.awb-home .awb-hero-quick{order:-2;align-self:center;display:flex;flex-wrap:wrap;justify-content:center;gap:14px 8px;padding:6px 0 20px}
.awb-d-midnight.awb-home .awb-hero-quick .awb-btn{min-height:44px;padding:0 18px;color:var(--awb-ink);border-color:var(--awb-line)}
.awb-d-midnight.awb-home .awb-daily{order:-1}
:root[data-theme="light"] .awb-d-midnight.awb-home .awb-hero-quick .awb-btn{border-color:#C9CEDA}
:root[data-theme="light"] .awb-d-midnight.awb-home .awb-find-box{border-color:#C9CEDA;box-shadow:0 10px 30px -18px rgba(10,13,20,.35)}
/* the daily ear test: the one block in the accent */
.awb-body.awb-d-midnight .awb-daily{background:var(--awb-orange);border-color:var(--awb-orange);color:#0A0D14;padding:20px 24px}
.awb-body.awb-d-midnight .awb-daily *{color:#0A0D14}
.awb-body.awb-d-midnight .awb-daily .awb-ico-box{background:#0A0D14;color:var(--awb-orange)}
.awb-body.awb-d-midnight .awb-daily .awb-ico-box *{color:var(--awb-orange)}
.awb-body.awb-d-midnight .awb-daily .awb-btn,.awb-body.awb-d-midnight .awb-daily .awb-btn-main{background:#0A0D14;border-color:#0A0D14;color:#EEF2FA}
.awb-body.awb-d-midnight .awb-daily .awb-btn *{color:#EEF2FA}
/* tool pages: a round play button, bigger figures, softer boxes */
.awb-d-midnight .awb-play{border-radius:999px;min-height:52px}
.awb-d-midnight .awb-big{font-family:var(--d-head);font-weight:700;letter-spacing:-.05em}
.awb-d-midnight .awb-box,.awb-d-midnight .awb-tr-box{background:var(--d-ground);border-color:var(--d-line)}
.awb-d-midnight .awb-tool{padding:28px}
.awb-d-midnight .awb-title h1{font-size:clamp(34px,4.2vw,52px);line-height:1}
.awb-d-midnight .awb-panel-head h2{font-size:20px}
.awb-d-midnight .awb-item-name{font-size:18px}
@media (max-width:640px){
	.awb-d-midnight.awb-home .awb-hero-wave{margin-top:16px}
	.awb-d-midnight.awb-home .awb-hero .awb-lead{display:block;font-size:17px}
	.awb-d-midnight.awb-home .awb-find-box{height:60px;padding:0 20px}
	.awb-d-midnight .awb-tool{padding:18px}
}
.awb-flat .awb-select{min-width:64px}

/* The site's own pages (pages.php) in the flat designs: figures and box names in the heading font, the designs' own corners. */
.awb-flat .awb-fact-n,.awb-flat .awb-catbox-n,.awb-flat .awb-mail-a{font-family:var(--d-head)}
.awb-flat .awb-fact,.awb-flat a.awb-catbox,.awb-flat .awb-callout,.awb-flat .awb-mail{border-radius:var(--d-r-sm)}
.awb-flat .awb-callout-t,.awb-flat .awb-mail-l,.awb-flat .awb-catbox-c{font-family:var(--d-num)}
.awb-body.awb-flat .awb-text a.awb-mail-go{border-radius:var(--d-r-btn);background:var(--awb-orange);color:#0A0D14}

/* The sign of the site in Midnight: the name in small letters and set tight, as on the mark; the m in the navy of the page. */
.awb-d-midnight .awb-logo{gap:10px;font-size:21px;letter-spacing:-.04em}
.awb-flat .awb-logo-m{stroke:var(--d-ground)}
