/* Cue Panel — the look of a Material-style control panel, built for this server.
   Roboto (OFL 1.1) is bundled; icons are Lucide (ISC). */

@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url(fonts/roboto-300.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url(fonts/roboto-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(fonts/roboto-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url(fonts/roboto-700.woff2) format("woff2"); }

:root {
  --primary: #38a5d3;          /* buttons; the brand accent replaces it */
  --primary-dark: color-mix(in srgb, var(--primary) 82%, #000);
  --navy: #3b7dc0;             /* service header, tab bars, blue card headers */
  --navy-2: #3a78b6;
  --sky: #29b6f6;              /* active sidebar item */
  --bg: #eeeeee;
  --card: #ffffff;
  --card-2: #f7f7f7;           /* table rows, inset areas */
  --text: #3c4858;
  --text-strong: #2b3440;
  --muted: #999999;
  --line: #e7e7e7;
  --field-line: #d2d2d2;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px -12px rgba(0,0,0,.42), 0 4px 25px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;
  --info: #00bcd4;
  --rose: #e91e63;
  --grey: #999999;
  --g-green: linear-gradient(60deg, #66bb6a, #43a047);
  --g-orange: linear-gradient(60deg, #ffa726, #fb8c00);
  --g-red: linear-gradient(60deg, #ef5350, #e53935);
  --g-blue: linear-gradient(60deg, #42a5f5, #1e88e5);
  --g-sky: linear-gradient(60deg, #29b6f6, #0288d1);
  --g-cyan: linear-gradient(60deg, #26c6da, #00acc1);
  --g-grey: linear-gradient(60deg, #a5a5a5, #8a8a8a);
  --g-purple: linear-gradient(60deg, #ab47bc, #8e24aa);
  --radius: 10px;
  --sidebar: 80px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1a2035; --card: #202940; --card-2: #273150; --text: #d8dce6; --text-strong: #ffffff; --muted: #8b92a9;
  --line: #2f3a57; --field-line: #46507a; --navy: #2d5f94; --navy-2: #2a5a8c;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.35), 0 2px 4px -1px rgba(0,0,0,.2);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 300 14px/1.5 Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-weight: 400; color: var(--text-strong); margin: 0; }
b, strong { font-weight: 500; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.right { text-align: end; }
.center { text-align: center; }
.grow { flex: 1; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stack > * + * { margin-top: 20px; }
.gap-s > * + * { margin-top: 8px; }
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; stroke-width: 2; }

/* ---- boot ---- */
#root.booting { display: grid; place-items: center; min-height: 100vh; }
.boot-spinner, .spinner { width: 42px; height: 42px; border: 3px solid rgba(0,0,0,.08); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.small { width: 16px; height: 16px; border-width: 2px; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { display: grid; place-items: center; min-height: 240px; }

/* ---- layout: mini sidebar + main panel ---- */
.sidebar { position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--sidebar); background: var(--card); box-shadow: var(--shadow-lg);
  z-index: 30; display: flex; flex-direction: column; transition: width .2s ease; overflow: hidden; }
.sidebar::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; opacity: .5;
  background: linear-gradient(to top, color-mix(in srgb, var(--primary) 7%, transparent), transparent); }
.sidebar .logo { height: 68px; display: flex; align-items: center; justify-content: center; padding: 0 12px;
  border-bottom: 1px solid var(--line); margin: 0 14px; flex: none; }
.sidebar .logo img { max-width: 100%; max-height: 34px; }
.sidebar .logo .wordmark { font-weight: 700; font-size: 15px; color: var(--primary); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.sidebar .logo .wordmark .ico { width: 20px; height: 20px; }
.sidebar nav { padding: 14px 0; overflow-y: auto; flex: 1; scrollbar-width: none; }
.sidebar nav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 18px; }
.sidebar nav a { display: flex; align-items: center; gap: 16px; height: 46px; margin: 3px 14px; padding: 0 12px; border-radius: 6px;
  color: #a9afbb; text-decoration: none; white-space: nowrap; font-weight: 400; font-size: 13.5px; }
.sidebar nav a .ico { width: 22px; height: 22px; flex: none; }
.sidebar nav a span { opacity: 0; transition: opacity .15s; color: var(--text); }
.sidebar nav a:hover { background: var(--card-2); color: var(--text); }
.sidebar nav a.active { background: var(--sky); color: #fff; box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(3,169,244,.4); }
.sidebar nav a.active span { color: #fff; }
.sidebar:hover, .sidebar:focus-within { width: 250px; }
.sidebar:hover nav a span, .sidebar:focus-within nav a span { opacity: 1; }
.sidebar .logo .full { display: none; }
.sidebar:hover .logo .full { display: inline; }

.main-panel { margin-inline-start: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.navbar { display: flex; align-items: flex-start; gap: 16px; padding: 14px 30px 0; min-height: 86px; }
.navbar .titles { flex: 1; min-width: 0; }
.navbar .page-title { font-size: 18px; font-weight: 500; color: #555; line-height: 30px; margin: 0; }
:root[data-theme="dark"] .navbar .page-title { color: var(--text-strong); }
.breadcrumb { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font: 400 14px/21px "Open Sans", Roboto, sans-serif; }
.breadcrumb li + li::before { content: "/"; color: #ccc; margin-inline-end: 6px; }
.breadcrumb a { color: #29a8e0; }
.breadcrumb .home .ico { width: 15px; height: 15px; vertical-align: -2px; }
.nav-right { display: flex; align-items: center; gap: 14px; padding-top: 2px; }
.searchbox { position: relative; }
.searchbox input { width: 230px; height: 30px; border: 0; border-radius: 10px; background: #e2e2e2; padding-block: 0; padding-inline: 32px 12px;
  font: 400 13px Roboto, sans-serif; color: var(--text); outline: none; transition: width .2s, background .2s; }
:root[data-theme="dark"] .searchbox input { background: var(--card-2); }
.searchbox input:focus { width: 300px; background: #fff; box-shadow: var(--shadow); }
:root[data-theme="dark"] .searchbox input:focus { background: var(--card); }
.searchbox > .ico { position: absolute; inset-inline-start: 10px; top: 8px; width: 15px; height: 15px; color: #999; }
.search-results { position: absolute; inset-inline-end: 0; top: 38px; width: 360px; max-height: 420px; overflow: auto; background: var(--card);
  border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 50; padding: 6px 0; }
.search-results a { display: flex; gap: 10px; align-items: center; padding: 8px 14px; color: var(--text); }
.search-results a:hover, .search-results a.sel { background: var(--card-2); text-decoration: none; }
.search-results small { display: block; color: var(--muted); }
.icon-btn { background: none; border: 0; cursor: pointer; color: #555; padding: 4px; border-radius: 50%; display: inline-grid; place-items: center; }
:root[data-theme="dark"] .icon-btn { color: var(--text); }
.icon-btn:hover { background: rgba(0,0,0,.06); }
.icon-btn .ico { width: 20px; height: 20px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: #e0e0e0; color: #666; display: inline-grid; place-items: center;
  font: 500 10px Roboto, sans-serif; text-transform: uppercase; flex: none; }
.avatar.lg { width: 34px; height: 34px; font-size: 12px; }
:root[data-theme="dark"] .avatar { background: #3a4466; color: #cfd6ea; }
.content { padding: 12px 30px 30px; flex: 1; }
.footer { padding: 14px 30px; text-align: end; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.footer a { color: #29a8e0; }
.impersonating { background: var(--g-orange); color: #fff; padding: 8px 30px; display: flex; align-items: center; gap: 12px; font-weight: 400; }
.impersonating button { margin-inline-start: auto; }

/* ---- cards ---- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.card-body { padding: 15px 20px; }
.card-head { padding: 15px 20px 0; display: flex; align-items: center; gap: 10px; }
.card-head h3, .card-title { font-size: 16px; font-weight: 500; color: var(--text-strong); margin: 0; }
.card-head .grow + * { margin-inline-start: auto; }
.card.float-icon { margin-top: 26px; padding-top: 6px; }
.card.float-icon > .fi { position: absolute; inset-inline-start: 15px; top: -20px; width: 50px; height: 50px; border-radius: 3px; display: grid; place-items: center;
  color: #fff; box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(33,150,243,.4); }
.card.float-icon > .fi .ico { width: 24px; height: 24px; }
.card.float-icon > .card-head { padding-inline-start: 80px; min-height: 40px; }
.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.side { grid-template-columns: 250px minmax(0, 1fr); align-items: start; }
.grid.w-8-4 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1200px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .grid.two, .grid.three, .grid.four, .grid.dash, .grid.side, .grid.w-8-4 { grid-template-columns: minmax(0, 1fr); } }

/* stat cards: the coloured block standing out of the card's corner */
.stat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; min-height: 96px;
  margin-top: 26px; padding: 12px 20px 14px; text-align: end; display: block; color: inherit; }
a.stat:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.stat .blk { position: absolute; inset-inline-start: 15px; top: -20px; width: 86px; height: 86px; border-radius: 3px; display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(0,0,0,.25); }
.stat .blk .ico { width: 36px; height: 36px; }
.stat .cat { color: var(--muted); font-size: 14px; margin: 0; padding-top: 4px; }
.stat .val { font-size: 26px; color: var(--text-strong); font-weight: 400; margin: 8px 0 0; }
.stat .val small { font-size: 16px; }
.stat .foot { text-align: start; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; font-size: 12.5px; color: var(--muted); }
.stat.compact { min-height: 80px; }
.stat.compact .blk { width: 64px; height: 64px; } .stat.compact .blk .ico { width: 28px; height: 28px; }
.bg-green { background: var(--g-green); } .bg-orange { background: var(--g-orange); } .bg-red { background: var(--g-red); }
.bg-blue { background: var(--g-blue); } .bg-sky { background: var(--g-sky); } .bg-cyan { background: var(--g-cyan); }
.bg-grey { background: var(--g-grey); } .bg-purple { background: var(--g-purple); }

/* notices (announcements) */
.notice { border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.notice > h4 { padding: 10px 16px; font-size: 16px; font-weight: 500; background: #d9edf7; color: #31708f; display: flex; align-items: center; gap: 10px; }
.notice.success > h4 { background: #dff0d8; color: #3c763d; } .notice.warning > h4 { background: #fcf8e3; color: #8a6d3b; }
.notice.danger > h4 { background: #f2dede; color: #a94442; }
:root[data-theme="dark"] .notice > h4 { background: #1f3c55; color: #b8dcf2; }
.notice > div { padding: 12px 16px; white-space: pre-wrap; }
.notice .x { margin-inline-start: auto; }
.alert { padding: 12px 16px; border-radius: 6px; color: #fff; background: var(--g-orange); box-shadow: 0 4px 20px 0 rgba(0,0,0,.14); display: flex; gap: 10px; align-items: flex-start; }
.alert.info { background: var(--g-cyan); } .alert.danger { background: var(--g-red); } .alert.success { background: var(--g-green); }
.alert .ico { width: 18px; height: 18px; margin-top: 2px; }

/* ---- buttons ---- */
.btn { font: 400 12px Roboto, sans-serif; text-transform: uppercase; letter-spacing: 0; border: 0; border-radius: 4px; padding: 11px 22px;
  cursor: pointer; color: #fff; background: #999; box-shadow: 0 2px 2px 0 rgba(153,153,153,.14), 0 3px 1px -2px rgba(153,153,153,.2), 0 1px 5px 0 rgba(153,153,153,.12);
  display: inline-flex; align-items: center; gap: 7px; line-height: 1.4; white-space: nowrap; text-decoration: none; transition: box-shadow .2s, background .2s; }
.btn:hover { text-decoration: none; box-shadow: 0 14px 26px -12px rgba(0,0,0,.35), 0 4px 23px 0 rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2); }
.btn .ico { width: 15px; height: 15px; }
.btn-primary { background: var(--primary); box-shadow: 0 2px 2px 0 color-mix(in srgb, var(--primary) 14%, transparent), 0 3px 1px -2px color-mix(in srgb, var(--primary) 20%, transparent), 0 1px 5px 0 color-mix(in srgb, var(--primary) 12%, transparent); }
.btn-success { background: var(--success); } .btn-danger { background: var(--danger); } .btn-warning { background: var(--warning); }
.btn-info { background: var(--info); } .btn-rose { background: var(--rose); } .btn-navy { background: var(--navy); }
.btn-default { background: #999; }
.btn-simple { background: transparent; color: var(--muted); box-shadow: none; }
.btn-simple:hover { box-shadow: none; background: rgba(153,153,153,.12); }
.btn-sm { padding: 6px 12px; font-size: 11px; } .btn-xs { padding: 4px 8px; font-size: 10px; }
.btn-lg { padding: 14px 30px; font-size: 13px; }
.btn[disabled] { opacity: .55; cursor: default; pointer-events: none; }
.btn-group { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.kebab { background: none; border: 0; cursor: pointer; color: var(--primary); padding: 4px 6px; border-radius: 4px; }
.kebab:hover, .kebab.open { background: #555; color: #fff; }
.kebab .ico { width: 18px; height: 18px; }

/* dropdown menus */
.menu { position: absolute; z-index: 60; background: var(--card); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 5px 0; min-width: 160px; }
.menu button, .menu a { display: flex; width: 100%; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 18px; font: 400 13px Roboto, sans-serif;
  color: var(--text); cursor: pointer; text-align: start; text-decoration: none; }
.menu button:hover, .menu a:hover { background: var(--primary); color: #fff; }
.menu .danger { color: var(--danger); } .menu .danger:hover { background: var(--danger); color: #fff; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.menu .ico { width: 14px; height: 14px; }

/* ---- badges, status ---- */
.badge { display: inline-block; font: 500 10px/1 Roboto, sans-serif; text-transform: uppercase; color: #fff; border-radius: 12px; padding: 5px 12px; background: #999; white-space: nowrap; }
.badge.customer { background: #29b6f6; } .badge.reseller { background: #ef6c00; } .badge.admin { background: #43a047; }
.badge.green { background: var(--success); } .badge.red { background: var(--danger); } .badge.orange { background: var(--warning); }
.badge.blue { background: var(--primary); } .badge.grey { background: #9e9e9e; } .badge.dark { background: #616161; }
.state { display: inline-flex; align-items: center; gap: 6px; color: #1e88e5; font-weight: 400; white-space: nowrap; }
.state::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: currentColor; flex: none; }
.state.online { color: #1e88e5; } .state.live { color: var(--success); } .state.offline { color: #9e9e9e; } .state.suspended { color: var(--warning); }
.state.missing { color: var(--danger); }
.state.live::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 25%, transparent); } }
.status-line { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.status-line .state { font-weight: 500; }
.tag { display: inline-block; background: var(--card-2); border-radius: 4px; padding: 2px 8px; font-size: 12px; margin: 2px; }

/* usage meter with its figures inside, as on the service overview */
.meter { position: relative; height: 18px; border-radius: 4px; background: #eee; overflow: hidden; min-width: 100px; }
:root[data-theme="dark"] .meter { background: #2c365a; }
.meter > i { position: absolute; inset-block: 0; inset-inline-start: 0; background: #1e88e5; border-radius: 4px; min-width: max-content; display: block; font-style: normal; }
.meter > i.warn { background: var(--warning); } .meter > i.bad { background: var(--danger); } .meter > i.light { background: #4fc3f7; }
.meter > i > span { display: block; font: 400 11px/18px Roboto, sans-serif; color: #fff; padding: 0 8px; white-space: nowrap; }
.meter.thin { height: 5px; margin-top: 4px; } .meter.thin > i { min-width: 0; }
.cell-meter { min-width: 110px; }
.cell-meter .fig { font-size: 12px; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.table th { font-weight: 400; color: var(--text); text-align: start; padding: 10px 8px; white-space: nowrap; font-size: 14px; }
.table th.sortable { cursor: pointer; color: #29a8e0; user-select: none; }
.table th .ico { width: 13px; height: 13px; }
.table td { padding: 9px 8px; background: var(--card-2); vertical-align: middle; font-size: 13.5px; }
.table td:first-child { border-start-start-radius: 4px; border-end-start-radius: 4px; } .table td:last-child { border-start-end-radius: 4px; border-end-end-radius: 4px; }
.table tr.clickable td { cursor: pointer; }
.table tr:hover td { background: color-mix(in srgb, var(--card-2) 80%, var(--primary) 6%); }
.table tr.selected td { background: color-mix(in srgb, var(--card-2) 70%, var(--primary) 14%); }
.table .name-cell { display: flex; align-items: center; gap: 10px; }
.table.plain { border-spacing: 0; }
.table.plain td { background: none; border-top: 1px solid var(--line); border-radius: 0; }
.table.plain tr:hover td { background: var(--card-2); }
.table.kv td:first-child { font-weight: 500; width: 40%; color: var(--text-strong); }
.table.kv td { background: none; border-top: 1px solid var(--line); border-radius: 0; }
.bulkbar { display: flex; align-items: center; gap: 10px; padding: 10px 4px 0; flex-wrap: wrap; }
.bulkbar .count { color: var(--muted); margin-inline-end: 6px; }
.pager { display: flex; gap: 4px; padding: 12px 0 0; }
.pager button { min-width: 36px; height: 30px; border: 0; border-radius: 4px; background: var(--card-2); color: var(--text); cursor: pointer; }
.pager button.cur { background: #9fd9f4; color: #fff; }
.empty { padding: 30px; text-align: center; color: var(--muted); }
input[type=checkbox].check { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; margin: 0; vertical-align: middle; }

/* ---- forms: labels above, underlined fields ---- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 40px; }
@media (max-width: 800px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: block; padding: 10px 0 6px; }
.field > label, .field > .label { display: block; font-size: 11px; color: #aaa; font-weight: 400; margin-bottom: 2px; }
.field.req > label::after { content: " *"; color: var(--danger); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), .field select, .field textarea {
  display: block; width: 100%; border: 0; border-bottom: 1px solid var(--field-line); background: transparent; color: var(--text);
  font: 400 14px Roboto, sans-serif; padding: 7px 0; outline: none; border-radius: 0;
  background-image: linear-gradient(var(--primary), var(--primary)); background-size: 0 2px; background-repeat: no-repeat; background-position: center bottom;
  transition: background-size .3s; }
.field select { padding-inline-end: 20px; cursor: pointer; }
.field select option { background: var(--card); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { background-size: 100% 2px; }
.field textarea { resize: vertical; min-height: 72px; font-family: Roboto, sans-serif; }
.field textarea.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.field .help { font-size: 12px; color: var(--muted); margin-top: 3px; }
.field .err { font-size: 12px; color: var(--danger); margin-top: 3px; }
.field input[type=color] { width: 60px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; }
.checkline { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-weight: 400; color: var(--text); }
.checkline input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; flex: none; }
.checkgrid { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.switch { position: relative; width: 38px; height: 20px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; background: #ccc; border-radius: 20px; transition: .2s; cursor: pointer; }
.switch i::before { content: ""; position: absolute; width: 16px; height: 16px; inset-inline-start: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + i { background: var(--primary); }
.switch input:checked + i::before { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--primary); outline-offset: 2px; }

/* settings table (Configure pages): label + help on the left, the field on the right */
.settings-table { width: 100%; border-collapse: collapse; }
.settings-table td { border-top: 1px solid var(--line); padding: 12px 10px; vertical-align: middle; }
.settings-table tr:first-child td { border-top: 0; }
.settings-table td.lbl { width: 45%; }
.settings-table td.lbl b { display: block; font-weight: 500; color: var(--text-strong); }
.settings-table td.lbl small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.settings-table td.val .field { padding: 0; }
.settings-table .input, .settings-table td.val input:not([type=checkbox]):not([type=radio]), .settings-table td.val select, .settings-table td.val textarea {
  display: block; width: 100%; border: 0; border-bottom: 1px solid var(--field-line); background: transparent; color: var(--text); font: 400 14px Roboto, sans-serif; padding: 7px 0; outline: none; }
.settings-table td.val textarea { min-height: 70px; resize: vertical; }
.settings-table td.val input:focus, .settings-table td.val select:focus, .settings-table td.val textarea:focus { border-bottom: 2px solid var(--primary); padding-bottom: 6px; }
.save-row { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 0 8px; }

/* ---- blue tab bar (service pages, configure, reports) ---- */
.tabbar { background: var(--navy); border-radius: 6px; box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(59,125,192,.4);
  display: flex; flex-wrap: wrap; padding: 0 10px; position: relative; z-index: 2; }
.tabbar button, .tabbar a { background: none; border: 0; color: #fff; font: 500 12px Roboto, sans-serif; text-transform: uppercase; padding: 13px 16px;
  display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; opacity: .92; }
.tabbar button:hover, .tabbar a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.tabbar .on { background: rgba(255,255,255,.2); opacity: 1; }
.tabbar .ico { width: 15px; height: 15px; }
.tabcard { margin-top: -6px; border-top-left-radius: 0; border-top-right-radius: 0; padding: 20px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills button { border: 0; border-radius: 30px; padding: 8px 16px; font: 500 12px Roboto, sans-serif; text-transform: uppercase; cursor: pointer; background: var(--card-2); color: var(--text); }
.pills button.on { background: var(--primary); color: #fff; box-shadow: 0 4px 20px 0 rgba(0,0,0,.14); }

/* ---- the service page: header card with its menu ---- */
.svc-card { overflow: hidden; }
.svc-head { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: 18px 12px 16px; }
.svc-head .ico-type { width: 26px; height: 26px; opacity: .9; margin-bottom: 4px; }
.svc-head h2 { color: #fff; font-size: 19px; font-weight: 500; word-break: break-all; line-height: 1.3; }
.svc-head .clock { font-size: 12px; font-weight: 500; opacity: .95; margin-top: 4px; }
.svc-menu { padding: 8px 6px 10px; }
.svc-menu a { display: flex; align-items: center; gap: 14px; padding: 8px 14px; margin: 2px 0; border-radius: 6px; color: var(--text); font-weight: 400;
  font-size: 13.5px; text-decoration: none; }
.svc-menu a .ico { width: 16px; height: 16px; color: #555; flex: none; }
:root[data-theme="dark"] .svc-menu a .ico { color: var(--text); }
.svc-menu a:hover { background: var(--card-2); text-decoration: none; }
.svc-menu a.on { background: #2196f3; color: #fff; box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(33,150,243,.4); }
.svc-menu a.on .ico { color: #fff; }
.svc-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.svc-menu a.warn { color: var(--warning); font-weight: 500; } .svc-menu a.warn .ico { color: var(--warning); }
.svc-menu a.bad { color: var(--danger); font-weight: 500; } .svc-menu a.bad .ico { color: var(--danger); }

/* overview blocks */
.info-rows { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; align-items: center; }
.info-rows > .k { font-weight: 500; color: var(--text-strong); }
.info-rows > .v { text-align: end; }
.info-rows > .v.left { text-align: start; }
.player-box { background: #000; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; position: relative; }
.player-box iframe, .player-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-box .offline { position: absolute; inset: 0; display: grid; place-items: center; color: #888; font-size: 13px; text-align: center; padding: 20px; }
.blue-card > .bh { background: var(--navy); color: #fff; padding: 14px 18px; font-size: 20px; font-weight: 300; border-radius: 6px 6px 0 0; }
.blue-card { border: 1px solid color-mix(in srgb, var(--navy) 60%, transparent); border-radius: 8px; overflow: hidden; background: var(--card); }
.blue-card > .bb { padding: 14px 18px; }
.conn-rows { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 8px 14px; align-items: center; }
.conn-rows > .k { font-weight: 500; color: var(--text-strong); }
.conn-rows > .v { word-break: break-all; font-size: 13px; }
.copy { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px 4px; border-radius: 4px; }
.copy:hover { color: var(--primary); background: var(--card-2); }
.copy .ico { width: 14px; height: 14px; }
.secret { filter: blur(4px); cursor: pointer; transition: filter .2s; user-select: none; }
.secret.shown { filter: none; user-select: text; }
.health { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.health .h { display: flex; align-items: center; gap: 6px; background: var(--card-2); border-radius: 20px; padding: 4px 10px; font-size: 12px; }
.health .h .ico { width: 14px; height: 14px; }
.health .h.ok .ico { color: var(--success); } .health .h.warn .ico { color: var(--warning); } .health .h.bad .ico { color: var(--danger); }

/* charts */
.chart { display: block; max-width: 100%; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 400 10px Roboto, sans-serif; }
.chart .area { fill: color-mix(in srgb, #1e88e5 16%, transparent); }
.chart .line { fill: none; stroke: #1e88e5; stroke-width: 2; }
.chart .line2 { fill: none; stroke: #ff5722; stroke-width: 2; }
.chart .hover-line { stroke: var(--muted); stroke-dasharray: 3 3; }
.chart-tip { position: fixed; pointer-events: none; background: rgba(0,0,0,.8); color: #fff; padding: 6px 9px; border-radius: 4px; font-size: 12px; z-index: 90; white-space: nowrap; }
.legend { display: flex; gap: 14px; justify-content: center; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 22px; height: 10px; border-radius: 2px; margin-inline-end: 5px; vertical-align: -1px; }
.donut { display: grid; place-items: center; position: relative; padding: 6px 0; }
.donut svg { width: 118px; height: 118px; }
.donut .pct { position: absolute; font-size: 13px; color: var(--text-strong); font-weight: 400; }
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; display: block; }
.map-wrap path { fill: #d9dde3; stroke: var(--card); stroke-width: .5; transition: fill .2s; }
:root[data-theme="dark"] .map-wrap path { fill: #36406a; }
.map-wrap path.on { fill: #1e88e5; }
.map-wrap path:hover { fill: #ff9800; }
.map-zoom { position: absolute; inset-inline-start: 6px; top: 6px; display: flex; flex-direction: column; gap: 2px; }
.map-zoom button { width: 18px; height: 18px; border: 0; background: #444; color: #fff; font-size: 12px; line-height: 1; border-radius: 2px; cursor: pointer; }

/* ---- the Create Service wizard ---- */
.wizard { max-width: 760px; margin: 0 auto; }
.wizard .steps { display: flex; background: var(--card-2); border-radius: 30px; padding: 4px; margin: 18px 20px; }
.wizard .steps div { flex: 1; text-align: center; padding: 10px; font: 500 12px Roboto, sans-serif; text-transform: uppercase; color: var(--text); border-radius: 30px; }
.wizard .steps div.on { background: var(--rose); color: #fff; box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(233,30,99,.4); }
.wizard .steps div.done { color: var(--rose); }
.wizard h3.q { text-align: center; font-size: 17px; font-weight: 400; margin: 10px 0 18px; }
.pick-list { border: 1px solid var(--line); border-radius: 4px; max-height: 260px; overflow-y: auto; }
.pick-list button { display: block; width: 100%; text-align: start; border: 0; background: none; padding: 6px 14px; font: 400 14px Roboto, sans-serif; color: var(--text); cursor: pointer; }
.pick-list button:hover { background: var(--card-2); }
.pick-list button.sel { background: #5d9cec; color: #fff; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.types button { border: 2px solid transparent; background: none; border-radius: 10px; padding: 16px 10px; cursor: pointer; color: var(--text); text-align: center; }
.types button:hover { background: var(--card-2); }
.types button.sel { border-color: var(--rose); }
.types .tico { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; color: #fff; }
.types .tico .ico { width: 32px; height: 32px; }
.types b { display: block; text-transform: uppercase; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.types small { color: var(--muted); font-size: 12px; line-height: 1.4; display: block; }
.types button[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- modal, toast ---- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: grid; place-items: start center; padding: 60px 16px; overflow-y: auto; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--card); border-radius: 6px; box-shadow: 0 27px 24px 0 rgba(0,0,0,.2), 0 40px 77px 0 rgba(0,0,0,.22); width: min(560px, 100%); }
.modal.wide { width: min(860px, 100%); }
.modal .mh { padding: 22px 24px 0; display: flex; align-items: center; } .modal .mh h4 { font-size: 18px; font-weight: 500; }
.modal .mh .icon-btn { margin-inline-start: auto; }
.modal .mb { padding: 16px 24px; } .modal .mf { padding: 8px 24px 20px; display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.toasts { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { min-width: 280px; max-width: 420px; padding: 14px 18px; border-radius: 4px; color: #fff; background: var(--g-green); box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(76,175,80,.4);
  display: flex; gap: 10px; align-items: center; animation: slidein .25s; font-weight: 400; }
.toast.error { background: var(--g-red); box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(244,67,54,.4); }
.toast.info { background: var(--g-cyan); }
.toast .ico { width: 18px; height: 18px; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.qr { display: grid; place-items: center; padding: 10px; background: #fff; border-radius: 6px; width: max-content; margin: 0 auto; }

/* ---- sign-in page ---- */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: #37414f center/cover no-repeat; position: relative; }
.login-page.default-bg { background-image: linear-gradient(135deg, #1d2b3a 0%, #274b6d 45%, #3b7dc0 100%); }
.login-page .corner { position: absolute; top: 18px; inset-inline-start: 22px; color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.login-page .corner img { max-height: 34px; }
.login-page .tools { position: absolute; top: 14px; inset-inline-end: 18px; display: flex; gap: 8px; }
.login-page .tools .icon-btn { color: #fff; background: rgba(255,255,255,.12); }
.login-col { width: min(420px, 100%); display: flex; flex-direction: column; gap: 18px; }
.glass { background: rgba(255,255,255,.93); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.35); backdrop-filter: blur(8px); color: #3c4858; }
:root[data-theme="dark"] .glass { background: rgba(32,41,64,.94); color: var(--text); }
.login-info { padding: 14px 16px; display: flex; gap: 12px; font-size: 13px; }
.login-info .ic { width: 34px; height: 34px; border-radius: 8px; background: #e3f2fd; color: #1e88e5; display: grid; place-items: center; flex: none; }
.login-info b { display: block; font-size: 13px; }
.login-card { padding: 40px 38px 28px; }
.login-card h1 { font-size: 26px; font-weight: 500; display: flex; align-items: center; gap: 10px; color: inherit; }
.login-card h1 .ico { width: 22px; height: 22px; color: #666; }
.login-card p.sub { color: #999; margin: 6px 0 22px; font-size: 13px; }
.login-card .inp { display: flex; align-items: center; gap: 10px; background: #f3f5f8; border: 1px solid #e3e7ee; border-radius: 8px; padding: 0 12px; margin-bottom: 14px; }
:root[data-theme="dark"] .login-card .inp { background: #273150; border-color: #3a4466; }
.login-card .inp .ico { width: 15px; height: 15px; color: #999; }
.login-card .inp input { border: 0; background: transparent; outline: 0; height: 42px; flex: 1; font: 400 14px Roboto, sans-serif; color: inherit; }
.login-card .go { width: 100%; justify-content: center; padding: 13px; font-size: 13px; background: linear-gradient(180deg, #4fb3dd, #2f9bcf); border-radius: 6px; margin-top: 8px; }
.login-card .err { color: var(--danger); min-height: 20px; font-size: 13px; margin: 6px 0 0; }
.login-card .forgot { text-align: end; margin-top: 18px; font-size: 12px; }
.powered { position: absolute; inset-inline-end: 18px; bottom: 16px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 7px 12px; border-radius: 6px; }
.powered b { font-weight: 700; }

/* ---- command palette ---- */
.palette { width: min(620px, 100%); }
.palette input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 16px 20px; font: 400 16px Roboto, sans-serif; background: transparent; color: var(--text); outline: none; }
.palette .results { max-height: 380px; overflow-y: auto; padding: 6px 0; }
.palette .results a { display: flex; align-items: center; gap: 12px; padding: 9px 20px; color: var(--text); }
.palette .results a.sel, .palette .results a:hover { background: var(--card-2); text-decoration: none; }
.palette .results small { color: var(--muted); margin-inline-start: auto; }
kbd { font: 500 11px ui-monospace, monospace; background: var(--card-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 1px 5px; }

/* ---- small screens ---- */
.mobile-bar { display: none; }
@media (max-width: 991px) {
  :root { --sidebar: 0px; }
  .sidebar { transform: translateX(-100%); width: 250px; transition: transform .2s; }
  [dir="rtl"] .sidebar { transform: translateX(100%); }
  .sidebar nav a span { opacity: 1; }
  .sidebar .logo .full { display: inline; }
  body.nav-open .sidebar { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 25; }
  .navbar { padding: 12px 16px 0; min-height: 70px; }
  .content { padding: 8px 16px 24px; }
  .mobile-bar { display: inline-grid; }
  .searchbox input { width: 140px; } .searchbox input:focus { width: 180px; }
  .footer { padding: 12px 16px; }
  .impersonating { padding: 8px 16px; }
}
@media (max-width: 600px) {
  .nav-right .hide-sm { display: none; }
  .searchbox { display: none; }
  .stat .val { font-size: 22px; }
  .conn-rows { grid-template-columns: max-content minmax(0,1fr); }
  .conn-rows .copy { display: none; }
  .tabbar button, .tabbar a { padding: 11px 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Stream targets: each platform's colour behind a neutral icon, and the empty state's tiles. */
.platform { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; flex: none; }
.platform .ico { width: 17px; height: 17px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { display: grid; justify-items: start; gap: 6px; text-align: start; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--text); cursor: pointer; font: inherit; }
.tile:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.tile small { color: var(--muted); }
details > summary { cursor: pointer; margin-bottom: 8px; }

/* Code samples (Secure Links). */
pre.code { margin: 6px 0 0; padding: 12px 14px; background: var(--card-2); border-radius: 8px; overflow-x: auto; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; color: var(--text-strong); }

/* Media Library. */
.crumbs { gap: 6px; margin-bottom: 12px; font-size: 14px; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; }
.dropzone.over { outline: 2px dashed var(--primary); outline-offset: -6px; }
.upload-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; }
.upload-row .meter { margin: 6px 0 4px; }
.upload-row .meter.bad i { background: var(--danger); }
.toast.warning { background: var(--g-orange, #fb8c00); }

/* Playlists. */
.pl-items { border: 1px solid var(--line); border-radius: 8px; max-height: 50vh; overflow-y: auto; }
.pl-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); }
.pl-item:first-child { border-top: 0; }
.pl-item.clickable { cursor: pointer; }
.pl-item.clickable:hover, label.pl-item:hover { background: var(--card-2); }

/* TV Station schedule: a week of 24-hour columns */
.tv-week { --hh: 22px; display: grid; grid-template-columns: 46px repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 12px; }
.tv-week .wh { padding: 6px 2px; text-align: center; font-weight: 500; background: var(--card-2); border-inline-start: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tv-week .wh:first-child { border-inline-start: 0; }
.tv-week .wh.today { color: var(--primary); }
.tv-week .wh small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
.tv-week .hours { position: relative; height: calc(24 * var(--hh)); }
.tv-week .hours span { position: absolute; inset-inline-end: 6px; transform: translateY(-50%); color: var(--muted); font-size: 10.5px; }
.tv-week .wd { position: relative; height: calc(24 * var(--hh)); border-inline-start: 1px solid var(--line); cursor: copy;
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 100% var(--hh); }
.tv-week .ev { position: absolute; border-radius: 4px; padding: 2px 5px; color: #fff; overflow: hidden; cursor: pointer; line-height: 1.25; box-shadow: 0 1px 2px rgba(0,0,0,.25); z-index: 1; }
.tv-week .ev:hover { filter: brightness(1.1); z-index: 3; }
.tv-week .ev.open { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.tv-week .ev b, .tv-week .ev span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.tv-week .ev b { font-weight: 600; }
.tv-week .now { position: absolute; left: 0; right: 0; height: 2px; background: var(--danger); z-index: 2; pointer-events: none; }
.tv-week .now::before { content: ""; position: absolute; inset-inline-start: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.tv-days { gap: 4px 14px; }
@media (max-width: 700px) { .tv-week { --hh: 18px; grid-template-columns: 34px repeat(7, minmax(0, 1fr)); } .tv-week .ev span { display: none; } }

/* White label */
.brand-logo { min-height: 50px; display: flex; align-items: center; }
.brand-logo img { max-height: 60px; max-width: 240px; object-fit: contain; }
/* A watermark on a chequerboard, so its transparency shows. */
.wm-preview { display: inline-flex; padding: 8px; border: 1px solid var(--line); border-radius: 4px;
  background: repeating-conic-gradient(#d9d9d9 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.wm-preview img { display: block; max-height: 80px; max-width: 240px; object-fit: contain; }

/* Keyboard and screen readers */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.page-title:focus { outline: none; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 2000; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: 500 14px Roboto, sans-serif; box-shadow: 0 4px 20px rgba(0,0,0,.2); cursor: pointer; }
.skip-link:focus { top: 12px; }
th .th-sort { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  text-transform: inherit; letter-spacing: inherit; }

/* My Account > Accessibility Features: larger text, stronger contrast, underlined links, no motion */
.a11y body { font-size: 16px; font-weight: 400; }
.a11y { --muted: #5b6270; }
.a11y[data-theme="dark"] { --muted: #c3c8d4; }
.a11y a:not(.btn):not(.icon-btn) { text-decoration: underline; }
.a11y :focus-visible { outline-width: 3px; }
.a11y *, .a11y *::before, .a11y *::after { animation: none !important; transition: none !important; }

/* Right-to-left languages (Arabic, Persian, Hebrew): the rules above are written in logical
   properties and mirror by themselves; these are the few that need saying. Charts, maps and
   code keep their left-to-right reading. */
[dir="rtl"] .switch input:checked + i::before { transform: translateX(-18px); }
[dir="rtl"] .toast { animation-name: slidein-rtl; }
@keyframes slidein-rtl { from { transform: translateX(-40px); opacity: 0; } }
[dir="rtl"] .ico.flip { transform: scaleX(-1); }
[dir="rtl"] .chart, [dir="rtl"] .map-wrap svg, [dir="rtl"] .chart-tip { direction: ltr; }
[dir="rtl"] code, [dir="rtl"] pre, [dir="rtl"] .mono, [dir="rtl"] textarea.code { direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] input, [dir="rtl"] textarea { unicode-bidi: plaintext; }
[dir="rtl"] .meter span, [dir="rtl"] .fig, [dir="rtl"] .stat .val { direction: ltr; unicode-bidi: isolate; } /* 3 / 100 stays 3 / 100 */
