:root { --brand: #1f5fae; --brand-2: #e8a33d; --ink: #1d232b; --muted: #5f6b7a; --line: #e1e6ec; --bg: #f4f6f9; --card: #fff; --bad: #b42318; --good: #157f3d;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08); }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); }
h1 { font-size: 26px; margin: 8px 0 16px; letter-spacing: -.01em; }
h2 { font-size: 18px; margin: 0 0 12px; }
code { background: #eef1f5; padding: 1px 5px; border-radius: 4px; font-size: 13px; word-break: break-all; }

/* ---- top bar (Clean style, and the base for the others) ---- */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px 24px; padding: 10px 24px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); }
.brandmark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brandmark img { height: 34px; max-width: 140px; object-fit: contain; }
details.menu { flex: 1; min-width: 0; }
details.menu > summary { list-style: none; display: none; }
details.menu > summary::-webkit-details-marker { display: none; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.top nav a { color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.top nav a:hover { background: #eef2f7; }
.top nav a.on { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 600; }
/* Manage and Hub open as dropdowns in the top bar styles */
.navgroup { position: relative; }
.navhead { display: inline-block; padding: 6px 10px; border-radius: 8px; font-size: 14px; cursor: default; }
.navhead::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.navgroup:hover .navhead, .navgroup:focus-within .navhead { background: #eef2f7; }
.navgroup:has(a.on) .navhead { color: var(--brand); font-weight: 600; }
.navitems { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.14); z-index: 20; }
.navgroup:hover .navitems, .navgroup:focus-within .navitems { display: flex; flex-direction: column; }
.navitems a { color: var(--ink) !important; }
.count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; line-height: 18px; text-align: center; font-weight: 600; }
.who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.who form { margin: 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; }

@media (max-width: 900px) {
  .top { flex-wrap: wrap; padding: 10px 16px; }
  details.menu { order: 3; flex-basis: 100%; }
  details.menu > summary { display: inline-block; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
  details.menu[open] nav { flex-direction: column; align-items: stretch; margin-top: 8px; }
  .navhead { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px 2px; }
  .navhead::after { display: none; }
  .navitems { display: flex; flex-direction: column; position: static; border: 0; box-shadow: none; padding: 0; background: none; }
  .navgroup:hover .navhead, .navgroup:focus-within .navhead { background: none; }
  .who { margin-left: auto; }
  .whoname { display: none; }
}

/* ---- home ---- */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 8px 0 20px; }
.hero h1 { margin: 0; font-size: 28px; }
.today { margin: 0; color: var(--muted); font-size: 14px; }
.heads { margin: 6px 0 0; }
#find { max-width: 320px; border-radius: 999px; padding: 9px 16px; }
.foot { margin-top: 24px; }
.tile .kind { margin-top: auto; font-size: 12px; color: var(--muted); }

main { max-width: 1160px; margin: 0 auto; padding: 20px 24px 40px; }
.banner { padding: 8px 24px; font-size: 14px; }
.banner.warn { background: #fff4e0; color: #7a4a00; }
.banner.test { background: #ffe8f0; color: #8a1240; font-weight: 600; }
.pill.test { background: #ffe8f0; color: #8a1240; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.narrow { max-width: 440px; margin: 40px auto; }
.center { text-align: center; }
.biglogo { max-height: 90px; max-width: 240px; margin-bottom: 8px; }
.smalllogo { height: 32px; display: block; margin: 4px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.note { background: #f0f4f9; border-radius: 8px; padding: 10px 12px; }

.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; background: #e7f6ec; color: var(--good); }
.flash.error { background: #fdecea; color: var(--bad); }

form.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.row > label { flex: 1 1 180px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
label.inline { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
input, select, textarea { font: inherit; padding: 8px 10px; border: 1px solid #c5ced8; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; }
input[type=color] { padding: 2px; height: 40px; }
input.copy { font-size: 13px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 20px; }

button { font: inherit; cursor: pointer; }
.button { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 9px 18px; font-weight: 600; text-decoration: none; }
.button:hover { filter: brightness(1.08); }
.button.big { padding: 12px 24px; font-size: 16px; margin: 12px 0; }
button.small { padding: 5px 12px; border: 1px solid #c5ced8; background: #fff; border-radius: 6px; }
button.link { background: none; border: 0; color: var(--brand); padding: 0; }
button.link.danger, .danger { color: var(--bad); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--ink); text-decoration: none; min-height: 150px; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: var(--brand); }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; }
.icon.inline { width: 30px; height: 30px; font-size: 13px; vertical-align: middle; }
.tile .name { font-weight: 700; }
.tile .desc { font-size: 13px; color: var(--muted); }

table.list, table.grid-table { width: 100%; border-collapse: collapse; }
table.list th, table.list td, table.grid-table th, table.grid-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr.sub td { border-bottom: 1px solid var(--line); padding-top: 0; }
table.list tr:has(+ tr.sub) td { border-bottom: 0; }
form.inline { display: inline; margin-left: 12px; }
.grid-table select { min-width: 100px; }
.grid-table tr.section td { background: #f0f4f9; font-weight: 600; font-size: 13px; }
.scroll { overflow-x: auto; }
.votes { width: 60px; }
.vote { border: 1px solid #c5ced8; background: #fff; border-radius: 6px; padding: 4px 10px; }
.vote.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.status { width: 190px; }
.status select { width: auto; }

.pill { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #eef1f5; color: var(--muted); margin-right: 4px; text-transform: capitalize; }
.pill.problem { background: #fdecea; color: var(--bad); }
.pill.praise { background: #e7f6ec; color: var(--good); }
.pill.idea { background: #fff4e0; color: #7a4a00; }

.checklist { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; counter-reset: s; }
.checklist li { counter-increment: s; color: var(--muted); }
.checklist li::before { content: counter(s); display: inline-flex; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); align-items: center; justify-content: center; margin-right: 6px; font-size: 13px; }
.checklist li.done { color: var(--ink); }
.checklist li.done::before { content: "\2713"; background: var(--good); border-color: var(--good); color: #fff; }
.steps li { margin-bottom: 6px; }
details { margin-bottom: 12px; }
summary { cursor: pointer; color: var(--brand); }

.depth-1 { margin-left: 24px; } .depth-2 { margin-left: 48px; } .depth-3 { margin-left: 72px; } .depth-4 { margin-left: 96px; } .depth-5 { margin-left: 120px; }
.grid-table td.depth-1 { margin: 0; padding-left: 32px; } .grid-table td.depth-2 { margin: 0; padding-left: 56px; } .grid-table td.depth-3 { margin: 0; padding-left: 80px; } .grid-table td.depth-4 { margin: 0; padding-left: 104px; } .grid-table td.depth-5 { margin: 0; padding-left: 128px; }

@media (max-width: 640px) {
  .top { padding: 10px 16px; }
  main { padding: 12px; }
  .depth-1, .depth-2, .depth-3, .depth-4, .depth-5 { margin-left: 0; }
}

.appbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.appbar h1 { margin: 0; font-size: 20px; }
.appbar-links { display: flex; gap: 16px; font-size: 14px; }
.app-frame { display: block; width: 100%; height: calc(100vh - 170px); min-height: 480px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-top: 12px; }
main.wide { max-width: none; }

.pill.agent { background: #ece8fb; color: #4b3a9a; }
.pill.review-needed { background: #fff4e0; color: #7a4a00; }
.pill.review-approved, .pill.review-auto { background: #e7f6ec; color: var(--good); }
.pill.review-declined { background: #eef1f5; color: var(--muted); }
form.review { margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.pre { white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: #f6f7f9; padding: 8px; border-radius: 6px; }

tr.unread td { font-weight: 600; }
.ok { color: var(--good); } .bad { color: var(--bad); }

/* ---- Sidebar style: dark menu down the left ---- */
@media (min-width: 901px) {
  body.style-sidebar.signed-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
  .style-sidebar.signed-in .top { position: sticky; top: 0; height: 100vh; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 14px; background: #18202b; border: 0; box-shadow: none; overflow-y: auto; }
  .style-sidebar.signed-in .top::before { width: 3px; height: auto; bottom: 0; left: auto; right: 0; }
  .style-sidebar.signed-in .brandmark { color: #fff; padding: 0 8px; white-space: normal; }
  .style-sidebar.signed-in .brandmark img { background: #fff; border-radius: 8px; padding: 4px; }
  .style-sidebar.signed-in details.menu { flex: 1; }
  .style-sidebar.signed-in .top nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .style-sidebar.signed-in .top nav a { color: #c9d2de; padding: 8px 12px; }
  .style-sidebar.signed-in .top nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
  .style-sidebar.signed-in .top nav a.on { background: var(--brand); color: #fff; }
  .style-sidebar.signed-in .navhead { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #7d8897; padding: 14px 12px 4px; background: none !important; }
  .style-sidebar.signed-in .navhead::after { display: none; }
  .style-sidebar.signed-in .navitems { display: flex; flex-direction: column; gap: 2px; position: static; border: 0; box-shadow: none; padding: 0; background: none; }
  .style-sidebar.signed-in .navitems a { color: #c9d2de !important; }
  .style-sidebar.signed-in .navitems a.on { color: #fff !important; }
  .style-sidebar.signed-in .who { flex-wrap: wrap; color: #c9d2de; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); white-space: normal; }
  .style-sidebar.signed-in .who a, .style-sidebar.signed-in .who button.link { color: #c9d2de; }
  .style-sidebar.signed-in .app-frame { height: calc(100vh - 110px); }
}
@media (max-width: 900px) {
  .style-sidebar .top { background: #18202b; border: 0; }
  .style-sidebar .brandmark, .style-sidebar .who, .style-sidebar .who button.link { color: #fff; }
  .style-sidebar .top nav a { color: #c9d2de; }
  .style-sidebar details.menu > summary { color: #fff; border-color: rgba(255,255,255,.25); }
}
.style-sidebar main { max-width: 1240px; }

/* ---- Launcher style: colored welcome band and large app buttons ---- */
.style-launcher .top { background: var(--brand); border: 0; }
.style-launcher .top::before { display: none; }
.style-launcher .brandmark, .style-launcher .who, .style-launcher .who a, .style-launcher .who button.link { color: #fff; }
.style-launcher .brandmark img { background: #fff; border-radius: 8px; padding: 3px; }
.style-launcher .top nav a { color: rgba(255,255,255,.88); }
.style-launcher .top nav a:hover { background: rgba(255,255,255,.14); }
.style-launcher .top nav a.on { background: rgba(255,255,255,.2); color: #fff; }
.style-launcher .navhead { color: rgba(255,255,255,.88); }
.style-launcher .navgroup:hover .navhead, .style-launcher .navgroup:focus-within .navhead { background: rgba(255,255,255,.14); }
.style-launcher .navgroup:has(a.on) .navhead { color: #fff; }
.style-launcher .navitems a:hover { background: #eef2f7; }
.style-launcher .avatar { background: #fff; color: var(--brand); }
.style-launcher details.menu > summary { color: #fff; border-color: rgba(255,255,255,.4); }
.style-launcher .hero { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0b1320)); color: #fff; border-radius: 18px; padding: 32px; align-items: center; box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 25%, transparent); }
.style-launcher .hero h1 { font-size: 34px; }
.style-launcher .today { color: rgba(255,255,255,.8); }
.style-launcher .heads a { color: #fff; font-weight: 600; }
.style-launcher #find { border: 0; max-width: 360px; padding: 12px 18px; }
.style-launcher .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.style-launcher .tile { align-items: center; text-align: center; border: 0; padding: 22px 14px; }
.style-launcher .tile .icon { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
.style-launcher .tile .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.style-launcher .tile .kind { margin-top: 4px; }
.style-launcher .icon.c1 { background: #0f8b8d; } .style-launcher .icon.c2 { background: #7a4fd0; }
.style-launcher .icon.c3 { background: #d9822b; } .style-launcher .icon.c4 { background: #c23b5a; }
.style-launcher .icon.c5 { background: #2f8a3e; }
.style-launcher .tile:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(16,24,40,.12); }

/* ---- team tree ---- */
.tree .team { position: relative; padding: 14px 18px; margin-bottom: 10px; }
.tree .team h2 { font-size: 16px; margin: 0 0 6px; }
.tree .team.depth-1, .tree .team.depth-2, .tree .team.depth-3, .tree .team.depth-4, .tree .team.depth-5 { border-left: 3px solid color-mix(in srgb, var(--brand) 35%, var(--line)); }
.tree .team.mine { border-color: var(--brand); }
.avatar.sm { width: 22px; height: 22px; font-size: 11px; vertical-align: middle; }
.people { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.person { background: #eef1f5; border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.pill.good { background: #e7f6ec; color: var(--good); }
/* App review */
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tabs .tab { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.tabs .tab .n { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: #eef1f5; color: var(--muted); font-size: 12px; text-align: center; }
.tabs .tab:hover { border-color: var(--brand); }
.tabs .tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.tabs .tab.on .n { background: rgba(255,255,255,.25); color: #fff; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: #f0f4f9; border-radius: 8px; margin-bottom: 8px; }
.bulkbar select, .moveone select { width: auto; padding: 5px 8px; }
table.approvals td { vertical-align: top; }
table.approvals td.pick { width: 28px; }
table.approvals td.pick input { width: auto; margin-top: 12px; }
table.approvals td.actions { width: 250px; }
table.approvals td.actions form, table.approvals td.actions details { margin: 0 0 6px; }
.moveone { display: flex; gap: 6px; align-items: center; }
table.approvals .note { margin-top: 6px; }
label.tick { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-weight: 600; margin: 0; }
label.tick input { width: auto; }

/* ---- App buttons on the home page (Setup > Look > App buttons); classic needs no rules ---- */
.grid.tiles-bright .tile, .grid.tiles-icons .tile, .grid.tiles-big .tile { border: 0; }
/* Bright: bold colored cards */
.grid.tiles-bright { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.grid.tiles-bright .tile { --c: var(--brand); position: relative; overflow: hidden; color: #fff; text-align: left; align-items: flex-start;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 62%, #0b1320)); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 30%, transparent); min-height: 160px; padding: 20px; }
.grid.tiles-bright .tile.t1 { --c: #0f8b8d; } .grid.tiles-bright .tile.t2 { --c: #7a4fd0; } .grid.tiles-bright .tile.t3 { --c: #d9822b; }
.grid.tiles-bright .tile.t4 { --c: #c23b5a; } .grid.tiles-bright .tile.t5 { --c: #2f8a3e; }
.grid.tiles-bright .tile .icon { background: rgba(255,255,255,.22) !important; color: #fff; width: 52px; height: 52px; border-radius: 14px; font-size: 20px; backdrop-filter: blur(2px); }
.grid.tiles-bright .tile::after { content: attr(data-mark); position: absolute; right: -8px; top: -14px; font-size: 96px; font-weight: 800; opacity: .09; line-height: 1; pointer-events: none; }
.grid.tiles-bright .tile > * { position: relative; z-index: 1; }
.grid.tiles-bright .tile .name { font-size: 17px; }
.grid.tiles-bright .tile .desc, .grid.tiles-bright .tile .kind { color: rgba(255,255,255,.85); }
.grid.tiles-bright .tile:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 14px 28px color-mix(in srgb, var(--c) 40%, transparent); }
/* App icons: phone home screen */
.grid.tiles-icons { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 22px 12px; }
.grid.tiles-icons .tile { background: transparent; box-shadow: none; min-height: 0; padding: 6px; align-items: center; text-align: center; gap: 8px; }
.grid.tiles-icons .tile .icon { --c: var(--brand); width: 76px; height: 76px; border-radius: 22px; font-size: 26px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c)) !important; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); transition: transform .15s; }
.grid.tiles-icons .tile .icon.c1 { --c: #0f8b8d; } .grid.tiles-icons .tile .icon.c2 { --c: #7a4fd0; } .grid.tiles-icons .tile .icon.c3 { --c: #d9822b; }
.grid.tiles-icons .tile .icon.c4 { --c: #c23b5a; } .grid.tiles-icons .tile .icon.c5 { --c: #2f8a3e; }
.grid.tiles-icons .tile .name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.grid.tiles-icons .tile .desc, .grid.tiles-icons .tile .kind { display: none; }
.grid.tiles-icons .tile:hover { transform: none; box-shadow: none; }
.grid.tiles-icons .tile:hover .icon { transform: scale(1.08) translateY(-2px); }
/* Big buttons: large and easy to tap */
.grid.tiles-big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.grid.tiles-big .tile { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: center; text-align: left;
  min-height: 0; padding: 20px 22px; border-left: 6px solid var(--brand); }
.grid.tiles-big .tile.t1 { border-left-color: #0f8b8d; } .grid.tiles-big .tile.t2 { border-left-color: #7a4fd0; } .grid.tiles-big .tile.t3 { border-left-color: #d9822b; }
.grid.tiles-big .tile.t4 { border-left-color: #c23b5a; } .grid.tiles-big .tile.t5 { border-left-color: #2f8a3e; }
.grid.tiles-big .tile.t1 .icon { background: #0f8b8d; } .grid.tiles-big .tile.t2 .icon { background: #7a4fd0; } .grid.tiles-big .tile.t3 .icon { background: #d9822b; }
.grid.tiles-big .tile.t4 .icon { background: #c23b5a; } .grid.tiles-big .tile.t5 .icon { background: #2f8a3e; }
.grid.tiles-big .tile .icon { grid-row: 1 / span 3; width: 72px; height: 72px; border-radius: 20px; font-size: 26px; }
.grid.tiles-big .tile .name { font-size: 19px; align-self: end; }
.grid.tiles-big .tile .desc { align-self: start; font-size: 14px; }
.grid.tiles-big .tile .kind { grid-column: 2; margin-top: 0; }
.grid.tiles-big .tile:hover { transform: translateY(-3px); }
/* The look picker on Setup */
.lookpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 8px 0 14px; }
.lookpick label { display: block; border: 2px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; background: var(--bg); }
.lookpick label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.lookpick input { width: auto; margin-right: 6px; }
.lookpick .grid { margin-top: 10px; pointer-events: none; transform-origin: top left; }
.lookpick .grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
.lookpick .grid .tile { min-height: 0 !important; padding: 10px !important; font-size: 12px; }
.lookpick .grid .tile .icon { width: 34px !important; height: 34px !important; font-size: 13px !important; border-radius: 10px !important; }
.lookpick .grid .tile .name { font-size: 12px !important; }
.lookpick .grid .tile .desc { display: none; }
.lookpick .grid.tiles-big { grid-template-columns: 1fr !important; }
.lookpick .grid.tiles-big .tile { grid-template-columns: 34px 1fr; }
.lookpick .grid.tiles-bright .tile::after { font-size: 44px; top: -6px; }
@media (max-width: 700px) {
  table.approvals, table.approvals tbody { display: block; }
  table.approvals tr { display: grid; grid-template-columns: 28px 40px minmax(0, 1fr); padding: 8px 0; border-bottom: 1px solid var(--line); }
  table.approvals td { border: 0; padding: 4px; }
  table.approvals td.actions { grid-column: 1 / -1; width: auto; }
}
