/* am-chrome.css — the charcoal chrome of the AI Animatics shell (/animatics), on the
   classic Animatic Media and Storyboards pages. The values are the shell's
   (public/animatics/tools/product-shell-mockup.html, "THE CHARCOAL CHROME"), without
   the fold: the logo, the workspace switch, New production and the avatar on the top
   row; the page's title and its one line on the second. The markup is
   resources/views/layouts/headers/chrome.blade.php; the fonts come from /animatics/fonts/. */
.header.container-ani, .header.container-sbo, .header.container-sbo #header { background: #17171b; }
.header.container-sbo #header { padding: 0; position: relative; }
.amc {
  position: relative;
  background: #17171b;
  color: #f4f4f2;
  font-family: "Söhne", "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  --chrome-fg: #f4f4f2;
  --chrome-fg2: rgba(244, 244, 242, .72);
  --chrome-fg3: rgba(244, 244, 242, .55);
  --chrome-line: rgba(244, 244, 242, .16);
  --chrome-line2: rgba(244, 244, 242, .32);
  --ember: #e0691f;
  --ember-hi: #ff8a33;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
.amc-in { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 26px; height: 46px; }
.amc.has-title .amc-in { height: 104px; }

/* the top row */
.amc-top { position: absolute; left: 26px; top: 0; height: 46px; display: flex; align-items: center; gap: 14px; }
.amc-logo { display: inline-flex; align-items: center; flex: none; }
.amc-logo img { display: block; height: 15px; width: auto; filter: brightness(0) invert(1); }
.amc-logo.sbo img { height: 22px; }
.amc-ws { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--chrome-line); border-radius: 9px; }
.amc-ws a {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; border-radius: 7px; padding: 6px 12px;
  font: inherit; font-size: 11.5px; font-weight: 500; line-height: 1.2;
  color: rgba(244, 244, 242, .6); white-space: nowrap; text-decoration: none;
  transition: background 180ms linear, color 180ms linear;
}
.amc-ws a:hover, .amc-ws a:focus { color: var(--chrome-fg); text-decoration: none; }
.amc-ws a.is-active { background: rgba(244, 244, 242, .12); color: var(--chrome-fg); }

.amc-right { position: absolute; right: 26px; top: 0; height: 46px; display: flex; align-items: center; gap: 4px; }
.amc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; border-radius: 8px; padding: 7px 11px;
  font: inherit; font-size: 12.5px; color: var(--chrome-fg2); cursor: pointer; white-space: nowrap; text-decoration: none;
}
.amc-btn:hover { color: var(--chrome-fg); background: rgba(244, 244, 242, .08); text-decoration: none; }
.amc-btn.ember { background: var(--ember); color: #fff; font-weight: 500; padding: 8px 13px; }
.amc-btn.ember:hover { background: var(--ember-hi); color: #fff; }

/* New production: a menu under the one solid button */
.amc-new { position: relative; }
.amc-new > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.amc-new > summary::-webkit-details-marker { display: none; }
.amc-new > summary::marker { content: ""; }
.amc-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 80;
  margin: 0; padding: 6px; list-style: none; min-width: 190px;
  background: #21212a; border: 1px solid rgba(244, 244, 242, .18); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.amc-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #f4f4f2; text-decoration: none; }
.amc-menu a:hover { background: rgba(244, 244, 242, .08); color: #f4f4f2; text-decoration: none; }

/* the avatar, and the account menu under it in the chrome's own style */
.amc-account { position: relative; margin-left: 6px; }
.amc-account > summary { list-style: none; cursor: pointer; }
.amc-account > summary::-webkit-details-marker { display: none; }
.amc-account > summary::marker { content: ""; }
.amc .account-avatar-btn { width: 30px; height: 30px; padding: 0; background: rgba(244, 244, 242, .14); border: 1px solid var(--chrome-line); box-shadow: none; transform: none; }
.amc .account-avatar-btn:hover, .amc .account-avatar-btn:focus, .amc-account[open] > .account-avatar-btn { background: rgba(244, 244, 242, .22); border-color: var(--chrome-line2); box-shadow: none; transform: none; }
.amc .account-avatar { background: none; color: var(--chrome-fg); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.amc-account-menu { min-width: 256px; top: calc(100% + 10px); padding: 6px; background: rgba(24, 24, 29, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(244, 244, 242, .14); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .4); transform-origin: top right; animation: amc-in .14s ease-out; }
@keyframes amc-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .amc-account-menu { animation: none; } }
.amc-account-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; color: #e9e9e6; }
.amc-account-menu a svg { flex: none; color: var(--chrome-fg3); }
.amc-account-menu a:hover { color: #fff; }
.amc-account-menu a:hover svg { color: #fff; }
.amc-who { display: flex; align-items: center; gap: 11px; padding: 10px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(244, 244, 242, .1); }
.amc-big { flex: none; width: 36px; height: 36px; border-radius: 99px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e0691f, #9c2c8c); }
.amc-big .account-avatar { background: none; color: #fff; font-size: 13px; font-weight: 600; }
.amc-lines { display: grid; gap: 2px; min-width: 0; }
.amc-who b { font-size: 13.5px; font-weight: 600; color: #f4f4f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amc-who span { font-size: 11.5px; color: var(--chrome-fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amc-menu a.amc-signout { margin-top: 4px; color: #f0a0a0; }
.amc-menu a.amc-signout svg { color: #f0a0a0; }
.amc-menu a.amc-signout:hover { background: rgba(229, 72, 77, .14); color: #ffb4b4; }

/* Cinema / Paper at the bottom right, as the shell draws it (the tonebar in
   product-shell-mockup.html): paper's glass on the light theme, cinema's on the dark */
.tonebar {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  display: flex; align-items: center; overflow: hidden;
  background: rgba(246, 247, 248, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid #e4e6e9; border-radius: 2px;
}
.tonebar button {
  background: none; border: 0; padding: 9px 13px;
  font: 400 9px/1.2 "JetBrains Mono", ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase;
  color: #8b8f97; cursor: pointer;
}
.tonebar button.on { color: #17181b; background: #f6f7f8; }
html[data-theme="dark"] .tonebar { background: rgba(38, 38, 43, .86); border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .tonebar button { color: rgba(242, 243, 245, .56); }
html[data-theme="dark"] .tonebar button.on { color: #f2f3f5; background: #26262b; }

/* the title row */
.amc-title { position: absolute; left: 26px; top: 52px; right: 26px; display: flex; align-items: baseline; gap: 14px; overflow: hidden; }
.amc-title h1 { font-family: inherit; font-weight: 500; font-size: 25px; line-height: 1.15; letter-spacing: -.024em; color: var(--chrome-fg); margin: 0; white-space: nowrap; border-bottom: 0; /* job.css underlines every h1 on the job form */ }
.amc-eyebrow { font: 400 10px/1 var(--mono); letter-spacing: .06em; color: var(--chrome-fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the pages whose title the chrome now carries: the body's own heading goes, its
   actions stay where the chrome has none of its own */
#main-ani .jobs-intro .intro-row,
#main-sbo .jobs-intro .intro-row { display: none; }

/* its hover and focus in the chrome's ember, not the old pink (Catherine, 2026-09-15) */

@media (max-width: 900px) {
  .amc-in, .amc.has-title .amc-in { padding: 0 16px; }
  .amc-top { left: 16px; }
  .amc-right { right: 16px; }
  .amc-title { left: 16px; right: 16px; }
  .amc-eyebrow { display: none; }
  .amc-ws a { padding: 6px 9px; }
}

/* ---------- the ☰ menu (layouts/header + layouts/sidebar) ----------
   A drawer over the page, drawn as AI Animatics' Jobs menu (public/animatics
   shell.css .sidebar and .sb-*): the toggle in the left gutter says Show menu
   beside itself; Workspaces, this site's row with its own pages behind its +,
   then an admin's pages. Paper, or Cinema when data-theme is dark
   (Catherine, 2026-09-25). sidebar-menu.jquery.js opens and closes it. */
.amm {
  --amm-paper: #eef0f1;
  --amm-card: #ffffff;
  --amm-line: #e4e6e9;
  --amm-line2: #d6d9de;
  --amm-t1: #17181b;
  --amm-t2: #52555c;
  --amm-t3: #8b8f97;
  --amm-ember: #e0691f;
  --amm-ember-hi: #ff8a33;
  --amm-ember-deep: #b5501a;
  font-family: "Söhne", "Inter Tight", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="dark"] .amm {
  --amm-paper: #202024;
  --amm-card: #2e2e34;
  --amm-line: rgba(255, 255, 255, .12);
  --amm-line2: rgba(255, 255, 255, .22);
  --amm-t1: #f2f3f5;
  --amm-t2: rgba(242, 243, 245, .74);
  --amm-t3: rgba(242, 243, 245, .56);
}

/* the toggle, in the left gutter where AI Animatics has its own: 166px down
   under the titled chrome, the same 62px under the chrome without a title */
.amm-toggle {
  position: fixed; left: 22px; top: 108px; z-index: 35;
  width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid var(--amm-line2); border-radius: 50%;
  background: var(--amm-card); color: var(--amm-ember);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
}
.header:has(.amc.has-title) .amm-toggle { top: 166px; }
.amm-toggle:hover, .amm-toggle:focus-visible { border-color: rgba(224, 105, 31, .45); box-shadow: 0 6px 18px rgba(224, 105, 31, .18); }
.amm-toggle:focus-visible { outline: 2px solid var(--amm-ember); outline-offset: 3px; }
.amm-toggle svg, .amm-head > svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.amm-toggle::after {
  content: attr(data-tip);
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  padding: 5px 9px; border-radius: 7px;
  background: #17171b; color: #f4f4f2;
  font: 600 11.5px/1 "Söhne", "Inter Tight", system-ui, sans-serif; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.amm-toggle:hover::after, .amm-toggle:focus-visible::after { opacity: 1; }

/* the backdrop and the drawer, over the chrome and under a modal */
.amm-back {
  position: fixed; inset: 0; z-index: 1040;
  background: rgba(10, 10, 12, .45);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.amm-back.open { opacity: 1; pointer-events: auto; }
.amm-panel {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1041;
  width: 264px; max-width: calc(100vw - 48px); padding-bottom: 24px;
  display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: thin;
  background: var(--amm-paper); color: var(--amm-t1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35), 0 0 0 1px var(--amm-line2);
  transform: translateX(-100%); visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}
.amm-panel.open { transform: none; visibility: visible; transition: transform .22s ease; }
.amm-panel > * { flex: none; }

.amm-head {
  display: flex; align-items: center; gap: 11px;
  height: 76px; padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--amm-line2);
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--amm-t1);
}
.amm-head > svg { color: var(--amm-ember); }
.amm-close {
  margin-left: auto; width: 30px; height: 30px; padding: 0;
  border: 1px solid var(--amm-line2); border-radius: 9px;
  background: var(--amm-card); color: var(--amm-t2);
  font-size: 19px; line-height: 1; cursor: pointer;
  transition: background .15s, color .15s;
}
.amm-close:hover { color: var(--amm-t1); }

.amm-label {
  padding: 22px 24px 8px;
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amm-ember);
}
.amm-sep { height: 1px; margin: 10px 24px 0; background: var(--amm-line2); }
.amm-list { list-style: none; margin: 0; padding: 0 12px; }

/* a row: its icon on a tile, its name, a chevron (or this site's +) */
.amm a.amm-row, .amm a.amm-row:hover, .amm a.amm-row:focus {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 10px 12px;
  border-radius: 12px;
  color: var(--amm-t1); font-size: 13.5px; font-weight: 400;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.amm-row::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--amm-ember-hi), var(--amm-ember-deep));
  opacity: 0; transform: scaleY(0); transition: all .2s;
}
.amm-row:hover, .amm-row.expanded { background: var(--amm-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px var(--amm-line); }
.amm-row:hover::before, .amm-row.expanded::before { opacity: 1; transform: none; }
.amm-ic {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--amm-line2); border-radius: 9px;
  background: var(--amm-card); color: var(--amm-t2);
  transition: all .2s;
}
.amm-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.amm-row:hover .amm-ic, .amm-row.expanded .amm-ic { color: var(--amm-ember); border-color: rgba(224, 105, 31, .4); background: rgba(224, 105, 31, .1); }
.amm-lbl { flex: 1; }
.amm-chev { color: var(--amm-t3); font-size: 16px; transition: all .2s; }
.amm-row:hover .amm-chev { color: var(--amm-t2); transform: translateX(3px); }
.amm-plus::before { content: "+"; color: var(--amm-t3); font-size: 17px; line-height: 1; }
.amm-row.expanded .amm-plus::before { content: "\2013"; color: var(--amm-ember); }

/* this site's own pages, behind its + */
.amm-sub { display: grid; gap: 2px; margin: 4px 0 6px 56px; }
.amm .amm-subrow, .amm .amm-subrow:hover, .amm .amm-subrow:focus {
  display: flex; align-items: center; width: 100%;
  padding: 7px 10px; border: 0; border-radius: 8px;
  background: none; color: var(--amm-t2);
  font: inherit; font-size: 13px; font-weight: 400; text-align: left; text-decoration: none;
  cursor: pointer;
}
.amm .amm-subrow:hover { background: var(--amm-card); color: var(--amm-t1); }
.amm .add-plus-after::after { color: var(--amm-t3); font-size: 16px; }
.amm .add-plus-after:hover::after { color: var(--amm-ember); }
.amm-jobsub { display: flex; gap: 6px; padding: 2px 10px 6px; }
.amm .amm-jobsub a, .amm .amm-jobsub a:hover, .amm .amm-jobsub a:focus {
  flex: 1; padding: 6px 10px;
  border: 1px solid var(--amm-line2); border-radius: 8px;
  background: var(--amm-card); color: var(--amm-t1);
  font-size: 12.5px; text-align: center; text-decoration: none; white-space: nowrap;
}
.amm .amm-jobsub a:hover { border-color: rgba(224, 105, 31, .45); color: var(--amm-ember); }

/* on a phone or a narrow window the ☰ floats at the bottom left, clear of
   the search and the list, as AI Animatics' own does (2026-09-25) */
@media (max-width: 760px) {
  .amm-toggle, .header:has(.amc.has-title) .amm-toggle { top: auto; bottom: 18px; left: 14px; }
}
