/* Logo Studio — Midnight Studio design system v40 */
:root {
  --studio-ink: #07111f;
  --studio-navy: #0a1830;
  --studio-navy-2: #112748;
  --studio-yellow: #ffd84d;
  --studio-yellow-strong: #f4bd12;
  --studio-yellow-soft: #fff3b7;
  --studio-canvas: #f3f3ef;
  --studio-card: #fffefa;
  --studio-card-soft: #f8f7f2;
  --studio-line: #dfe2e5;
  --studio-muted: #647084;
  --studio-success: #148166;
  --studio-danger: #bd423d;
  --studio-radius-sm: 12px;
  --studio-radius: 18px;
  --studio-radius-lg: 26px;
  --studio-shadow: 0 16px 40px rgba(7, 17, 31, .09);
  --studio-shadow-strong: 0 30px 90px rgba(7, 17, 31, .22);
  --card: var(--studio-card);
  --ink: var(--studio-ink);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #aab2bf transparent;
}

body {
  min-height: 100vh;
  color: var(--studio-ink);
  background:
    linear-gradient(rgba(10, 24, 48, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 24, 48, .025) 1px, transparent 1px),
    radial-gradient(circle at 88% -10%, rgba(255, 216, 77, .28), transparent 27rem),
    var(--studio-canvas);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(244, 189, 18, .45);
  outline-offset: 3px;
}

.shell {
  position: relative;
}

.topbar {
  position: relative;
  z-index: 5;
  padding: 7px 9px;
  border: 1px solid rgba(10, 24, 48, .08);
  border-radius: 17px;
  background: rgba(255, 254, 250, .78);
  box-shadow: 0 8px 30px rgba(7, 17, 31, .055);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 10px;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, #16345f, var(--studio-navy));
  box-shadow: 0 7px 18px rgba(7, 17, 31, .2);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--studio-yellow);
  box-shadow: 0 0 0 3px rgba(255, 216, 77, .14);
}

.brand strong {
  color: var(--studio-ink);
  font-size: 14px;
  letter-spacing: -.02em;
}

.brand small {
  color: var(--studio-muted);
  font-weight: 850;
}

.secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3f6458;
  font-weight: 800;
}

.ghost {
  min-height: 36px;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: rgba(255, 254, 250, .88);
  color: var(--studio-ink);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(7, 17, 31, .04);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ghost:hover {
  transform: translateY(-1px);
  border-color: #d3aa24;
  background: var(--studio-yellow-soft);
  box-shadow: 0 8px 18px rgba(7, 17, 31, .08);
}

.eyebrow {
  color: #9a6b00;
  font-weight: 950;
  letter-spacing: .2em;
}

footer {
  color: #778294;
  font-weight: 800;
}

/* Hub */
.page-hub .hero {
  position: relative;
  overflow: hidden;
  margin: 8px 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 91% 22%, rgba(255, 216, 77, .34), transparent 11rem),
    linear-gradient(125deg, #07111f 0%, #0d2141 68%, #15345f 100%);
  box-shadow: 0 18px 42px rgba(7, 17, 31, .18);
}

.page-hub .hero::after {
  content: "LS";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-51%);
  color: rgba(255, 255, 255, .055);
  font-size: 105px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.08em;
}

.page-hub .hero .eyebrow {
  color: var(--studio-yellow);
}

.page-hub .hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
}

.page-hub .hero h1 span {
  color: var(--studio-yellow);
}

.page-hub .hero > p:last-child {
  position: relative;
  z-index: 1;
  color: #becbe0;
}

.page-hub .news-board {
  position: relative;
  border: 1px solid #e5d696;
  border-radius: 17px;
  background:
    linear-gradient(110deg, rgba(255, 216, 77, .17), transparent 36%),
    var(--studio-card);
  box-shadow: 0 9px 26px rgba(7, 17, 31, .06);
}

.page-hub .news-board::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 4px;
  height: 34px;
  border-radius: 0 6px 6px 0;
  background: var(--studio-yellow-strong);
}

.page-hub .news-card {
  border-color: #e4e1d8;
  background: rgba(255, 254, 250, .88);
  box-shadow: none;
}

.page-hub .section-heading h2 {
  color: var(--studio-ink);
  letter-spacing: -.03em;
}

.page-hub .app-card,
.page-hub .graphic-featured {
  --accent: var(--studio-yellow-strong);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--studio-line);
  color: var(--studio-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 254, 250, .96)),
    var(--studio-card);
  box-shadow: 0 8px 22px rgba(7, 17, 31, .055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page-hub .app-card::before,
.page-hub .graphic-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: auto;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--studio-yellow), transparent 78%);
  opacity: 1;
}

.page-hub .app-card::after,
.page-hub .graphic-featured::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -28px;
  bottom: -38px;
  width: 92px;
  height: 92px;
  border: 18px solid rgba(255, 216, 77, .085);
  border-radius: 50%;
}

.page-hub .app-card:hover,
.page-hub .graphic-featured:hover {
  transform: translateY(-4px);
  border-color: #d3aa24;
  box-shadow: 0 16px 32px rgba(7, 17, 31, .12);
}

.page-hub .app-card .icon,
.page-hub .graphic-featured .icon {
  color: var(--studio-navy);
  background: linear-gradient(145deg, #ffe681, var(--studio-yellow));
  box-shadow: inset 0 0 0 1px rgba(122, 85, 0, .08), 0 6px 14px rgba(244, 189, 18, .18);
}

.page-hub .app-card h3,
.page-hub .graphic-featured h3 {
  color: var(--studio-ink);
  letter-spacing: -.025em;
}

.page-hub .app-card small,
.page-hub .app-card b,
.page-hub .graphic-featured small,
.page-hub .graphic-featured b {
  color: #8d6500;
}

.page-hub .app-card .number,
.page-hub .graphic-featured .number {
  color: #8c96a5;
}

.page-hub .owner-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  background:
    radial-gradient(circle at 0 50%, rgba(255, 216, 77, .18), transparent 16rem),
    var(--studio-navy);
  box-shadow: 0 14px 36px rgba(7, 17, 31, .16);
}

.page-hub .owner-panel h2 {
  color: #fff;
}

.page-hub .owner-panel .eyebrow,
.page-hub .owner-panel nav span {
  color: var(--studio-yellow);
}

.page-hub .owner-panel nav a {
  border: 1px solid rgba(255, 255, 255, .11);
  color: #f6f8fc;
  background: rgba(255, 255, 255, .065);
}

.page-hub .owner-panel nav a:hover {
  border-color: rgba(255, 216, 77, .6);
  color: var(--studio-navy);
  background: var(--studio-yellow);
}

.page-hub .owner-panel nav a:hover span {
  color: var(--studio-navy);
}

.news-dialog {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--studio-radius-lg);
  background: var(--studio-card);
  box-shadow: var(--studio-shadow-strong);
}

.news-primary {
  border-radius: 13px;
  color: var(--studio-navy);
  background: linear-gradient(135deg, var(--studio-yellow), var(--studio-yellow-strong));
  box-shadow: 0 10px 22px rgba(244, 189, 18, .2);
}

/* HR admin */
.page-hr-admin .sub-hero {
  position: relative;
  overflow: hidden;
  margin: 12px 0 26px;
  padding: 28px;
  border-radius: var(--studio-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 216, 77, .28), transparent 16rem),
    linear-gradient(130deg, var(--studio-ink), #13335e);
  box-shadow: 0 22px 55px rgba(7, 17, 31, .2);
}

.page-hr-admin .sub-hero h1 {
  color: #fff;
}

.page-hr-admin .sub-hero p {
  color: #c2cede;
}

.page-hr-admin .sub-hero .eyebrow {
  color: var(--studio-yellow);
}

.page-hr-admin .hr-seal {
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--studio-navy);
  background: var(--studio-yellow);
  box-shadow: 0 16px 35px rgba(244, 189, 18, .22);
}

.page-hr-admin .admin-card {
  min-height: 420px;
  border-color: var(--studio-line);
  border-radius: var(--studio-radius-lg);
  background: var(--studio-card);
  box-shadow: var(--studio-shadow);
}

.page-hr-admin .admin-card:hover {
  transform: translateY(-5px);
  border-color: #d3aa24;
}

.page-hr-admin .admin-card .icon {
  color: var(--studio-navy);
  background: var(--studio-yellow);
}

.page-hr-admin .admin-card small,
.page-hr-admin .admin-card b {
  color: #8d6500;
}

.page-hr-admin .live {
  color: #0c654e;
  background: #dff4ea;
}

.page-hr-admin .future-strip {
  border-color: #d7c574;
  background: #fff8d7;
}

/* Revenue login */
.page-revenue {
  background: var(--studio-canvas);
}

.page-revenue .revenue-login-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 77% 24%, rgba(255, 216, 77, .23), transparent 19rem),
    radial-gradient(circle at 18% 82%, rgba(58, 112, 181, .25), transparent 24rem),
    linear-gradient(140deg, #050b14, #0a1830 52%, #132b4d);
}

.page-revenue .revenue-login-shell::before {
  content: "DAILY\A REVENUE";
  position: absolute;
  z-index: -1;
  left: clamp(20px, 7vw, 110px);
  top: 50%;
  transform: translateY(-52%);
  white-space: pre;
  color: rgba(255, 255, 255, .035);
  font-size: clamp(74px, 12vw, 176px);
  font-weight: 950;
  line-height: .78;
  letter-spacing: -.075em;
}

.page-revenue .revenue-login-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 72px solid rgba(255, 216, 77, .07);
  border-radius: 50%;
}

.page-revenue .revenue-login-card {
  position: relative;
  width: min(460px, 100%);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-top-color: rgba(255, 216, 77, .75);
  border-radius: 30px;
  color: #f7f9fd;
  background: rgba(10, 24, 48, .78);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .34);
  backdrop-filter: blur(24px);
}

.page-revenue .login-mark {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: var(--studio-navy);
  background: var(--studio-yellow);
  box-shadow: 0 10px 28px rgba(244, 189, 18, .23);
}

.page-revenue .revenue-login-card .eyebrow {
  margin-top: 18px;
  color: var(--studio-yellow);
}

.page-revenue .revenue-login-card h1 {
  margin: 7px 0 22px;
  color: #fff;
  font-size: 32px;
  letter-spacing: -.04em;
}

.page-revenue .revenue-login-card > label {
  color: #c9d3e2;
}

.page-revenue .revenue-login-card input {
  min-height: 49px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .075);
  color: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.page-revenue .revenue-login-card input:focus {
  border-color: var(--studio-yellow);
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 4px rgba(255, 216, 77, .12);
  outline: 0;
}

.page-revenue .revenue-login-card input::placeholder {
  color: #8190a5;
}

.page-revenue .revenue-login-card > small {
  color: #94a3b8;
}

.page-revenue .revenue-login-card .primary-btn {
  color: var(--studio-navy);
}

/* Revenue workspace */
.page-revenue .revenue-shell {
  max-width: 1240px;
}

.page-revenue .revenue-hero {
  position: relative;
  overflow: hidden;
  margin: 14px 0 18px;
  padding: 30px;
  border-radius: var(--studio-radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 88% 26%, rgba(255, 216, 77, .3), transparent 14rem),
    linear-gradient(126deg, var(--studio-ink), #102b52);
  box-shadow: 0 22px 55px rgba(7, 17, 31, .2);
}

.page-revenue .revenue-hero::after {
  content: "฿";
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-54%);
  color: rgba(255, 255, 255, .055);
  font-size: 150px;
  font-weight: 950;
}

.page-revenue .revenue-hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  letter-spacing: -.055em;
}

.page-revenue .revenue-hero p:last-child {
  position: relative;
  z-index: 1;
  color: #c1cde0;
}

.page-revenue .revenue-hero .eyebrow {
  color: var(--studio-yellow);
}

.page-revenue .demo-badge {
  position: relative;
  z-index: 2;
  border-color: rgba(255, 216, 77, .28);
  color: var(--studio-yellow);
  background: rgba(255, 216, 77, .08);
}

.page-revenue .kpi-grid article,
.page-revenue .panel {
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  background: var(--studio-card);
  box-shadow: var(--studio-shadow);
}

.page-revenue .kpi-grid article {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
}

.page-revenue .kpi-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--studio-yellow), transparent 80%);
}

.page-revenue .kpi-grid article:first-child {
  border-color: #e2c95a;
  background: linear-gradient(145deg, #fff8cf, #fffefa);
}

.page-revenue .kpi-grid strong,
.page-revenue .report-summary strong,
.page-revenue .goal-stats strong {
  color: var(--studio-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
}

.page-revenue .panel {
  padding: 26px;
}

.page-revenue .panel h2 {
  color: var(--studio-ink);
  letter-spacing: -.035em;
}

.page-revenue .step {
  color: var(--studio-navy);
  background: var(--studio-yellow);
  box-shadow: 0 7px 16px rgba(244, 189, 18, .18);
}

.page-revenue .type-picker span {
  border-color: var(--studio-line);
  border-radius: 16px;
  background: var(--studio-card-soft);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.page-revenue .type-picker label:hover span {
  transform: translateY(-1px);
  border-color: #d3aa24;
}

.page-revenue .type-picker input:checked + span {
  border-color: var(--studio-yellow-strong);
  color: var(--studio-ink);
  background: #fff5bd;
  box-shadow: inset 0 0 0 1px rgba(244, 189, 18, .35);
}

.page-revenue .form-grid input,
.page-revenue .form-grid select,
.page-revenue .form-grid textarea,
.page-revenue .goal-controls input {
  min-height: 45px;
  border: 1px solid var(--studio-line);
  border-radius: 13px;
  background: #f8f7f2;
  color: var(--studio-ink);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.page-revenue .form-grid textarea {
  min-height: 74px;
}

.page-revenue .form-grid :where(input, select, textarea):focus,
.page-revenue .goal-controls input:focus {
  border-color: var(--studio-yellow-strong);
  background: #fffefa;
  box-shadow: 0 0 0 4px rgba(255, 216, 77, .16);
  outline: 0;
}

.page-revenue .upload-field {
  border-color: #d7c36a;
  background: #fff9dc;
}

.page-revenue .primary-btn {
  min-height: 48px;
  border: 1px solid rgba(122, 85, 0, .08);
  border-radius: 14px;
  color: var(--studio-navy);
  background: linear-gradient(135deg, var(--studio-yellow), var(--studio-yellow-strong));
  box-shadow: 0 10px 22px rgba(244, 189, 18, .18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.page-revenue .primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(244, 189, 18, .26);
  filter: saturate(1.05);
}

.page-revenue .primary-btn:active {
  transform: translateY(0);
}

.page-revenue .primary-btn.dark {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #17365e, var(--studio-navy));
  box-shadow: 0 10px 22px rgba(7, 17, 31, .17);
}

.page-revenue .split-readout span,
.page-revenue .report-summary div {
  border: 1px solid #e7e5dd;
  background: var(--studio-card-soft);
}

.page-revenue .goal-panel {
  position: relative;
}

.page-revenue .goal-badge {
  border: 1px solid #e4cb61;
  color: #755400;
  background: #fff5bd;
}

.page-revenue .goal-progress {
  height: 10px;
  background: #e8e6de;
}

.page-revenue .goal-progress i {
  background: linear-gradient(90deg, var(--studio-yellow-strong), var(--studio-yellow), #148166);
}

.page-revenue .goal-stats article {
  border-color: #e5e3dc;
  background: var(--studio-card-soft);
}

.page-revenue .goal-stats article.focus {
  border-color: var(--studio-navy);
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 216, 77, .22), transparent 9rem),
    var(--studio-navy);
}

.page-revenue .goal-stats .focus strong {
  color: var(--studio-yellow);
}

.page-revenue .goal-advice {
  border: 1px solid #e4cb61;
  color: #5f4800;
  background: #fff8d5;
}

.page-revenue .period-tabs {
  border: 1px solid #e5e3dc;
  background: var(--studio-card-soft);
}

.page-revenue .period-tabs button {
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.page-revenue .period-tabs button.active {
  color: var(--studio-yellow);
  background: var(--studio-navy);
  box-shadow: 0 7px 16px rgba(7, 17, 31, .14);
}

.page-revenue .chart {
  border-color: #dedbd1;
}

.page-revenue .bar {
  background: linear-gradient(180deg, #315c91, var(--studio-navy));
}

.page-revenue .bar.manual {
  background: linear-gradient(180deg, #ffe681, var(--studio-yellow-strong));
}

.page-revenue table {
  font-variant-numeric: tabular-nums;
}

.page-revenue th {
  color: #758094;
  background: #f7f6f1;
}

.page-revenue tr:last-child td {
  border-bottom: 0;
}

.page-revenue tbody tr {
  transition: background .15s ease;
}

.page-revenue tbody tr:hover {
  background: #fff9dc;
}

/* Dark mode */
html[data-dark="true"] {
  --studio-canvas: #06101f;
  --studio-card: #0e1d34;
  --studio-card-soft: #13243d;
  --studio-line: #263a58;
  --studio-muted: #9ba9bd;
  --card: var(--studio-card);
  --ink: #eef4ff;
}

html[data-dark="true"] body {
  color: #eef4ff;
  background:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px),
    radial-gradient(circle at 88% -10%, rgba(255, 216, 77, .1), transparent 27rem),
    var(--studio-canvas);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

html[data-dark="true"] .topbar,
html[data-dark="true"] .ghost {
  border-color: var(--studio-line);
  color: #eef4ff;
  background: rgba(14, 29, 52, .82);
}

html[data-dark="true"] .brand strong,
html[data-dark="true"] .section-heading h2,
html[data-dark="true"] .page-revenue .panel h2,
html[data-dark="true"] .page-revenue .kpi-grid strong,
html[data-dark="true"] .page-revenue .report-summary strong,
html[data-dark="true"] .page-revenue .goal-stats strong {
  color: #eef4ff;
}

html[data-dark="true"] .page-hub .app-card,
html[data-dark="true"] .page-hub .graphic-featured,
html[data-dark="true"] .page-hub .news-board,
html[data-dark="true"] .page-hub .news-card,
html[data-dark="true"] .page-hr-admin .admin-card,
html[data-dark="true"] .page-revenue .kpi-grid article,
html[data-dark="true"] .page-revenue .panel {
  border-color: var(--studio-line);
  color: #eef4ff;
  background: var(--studio-card);
}

html[data-dark="true"] .page-hub .app-card h3,
html[data-dark="true"] .page-hub .graphic-featured h3,
html[data-dark="true"] .page-revenue .panel h2 {
  color: #eef4ff;
}

html[data-dark="true"] .page-hub .app-card:first-child,
html[data-dark="true"] .page-revenue .kpi-grid article:first-child {
  background: linear-gradient(145deg, #182942, #0e1d34);
}

html[data-dark="true"] .page-revenue .form-grid input,
html[data-dark="true"] .page-revenue .form-grid select,
html[data-dark="true"] .page-revenue .form-grid textarea,
html[data-dark="true"] .page-revenue .goal-controls input,
html[data-dark="true"] .page-revenue .split-readout span,
html[data-dark="true"] .page-revenue .report-summary div,
html[data-dark="true"] .page-revenue .goal-stats article,
html[data-dark="true"] .page-revenue .period-tabs {
  border-color: var(--studio-line);
  color: #eef4ff;
  background: var(--studio-card-soft);
}

html[data-dark="true"] .page-revenue th {
  color: #a9b5c7;
  background: #13243d;
}

html[data-dark="true"] .page-revenue tbody tr:hover {
  background: rgba(255, 216, 77, .07);
}

html[data-dark="true"] .page-hr-admin .future-strip,
html[data-dark="true"] .page-revenue .goal-advice {
  border-color: #6f6030;
  color: #f3d875;
  background: rgba(255, 216, 77, .08);
}

/* Responsive */
@media (min-width: 901px) {
  .page-hub .shell {
    width: min(1440px, calc(100% - 24px));
    padding-top: 8px;
  }

  .page-hub .topbar {
    min-height: 46px;
  }

  .page-hub .hero {
    min-height: 88px;
  }

  .page-hub .app-card,
  .page-hub .graphic-featured {
    min-height: 122px;
    padding: 11px 12px;
  }

  .page-hub .owner-panel {
    margin-top: 9px;
  }
}

@media (max-width: 900px) {
  .topbar {
    padding: 8px;
  }

  .page-hub .hero {
    padding: 22px;
  }

  .page-hub .hero::after {
    right: 14px;
    font-size: 84px;
  }

  .page-revenue .revenue-hero {
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .top-actions {
    gap: 7px;
  }

  .ghost {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .page-hub .hero {
    border-radius: 19px;
  }

  .page-hub .hero::after {
    opacity: .5;
  }

  .page-hub .app-card,
  .page-hub .graphic-featured {
    min-height: 128px;
  }

  .page-hub .owner-panel {
    border-radius: 19px;
  }

  .page-revenue .revenue-login-shell {
    padding: 14px;
  }

  .page-revenue .revenue-login-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .page-revenue .revenue-login-card h1 {
    font-size: 27px;
  }

  .page-revenue .revenue-hero {
    border-radius: 21px;
  }

  .page-revenue .revenue-hero::after {
    right: 15px;
    font-size: 110px;
  }

  .page-revenue .kpi-grid article,
  .page-revenue .panel {
    border-radius: 20px;
  }

  .page-revenue .panel {
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Canonical company logo */
.brand-mark,
.page-revenue .login-mark {
  overflow: hidden;
  padding: 5px;
  border: 1px solid rgba(16, 42, 67, .13);
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(10, 37, 64, .14);
}
.brand-mark::after {
  display: none;
}
.brand-mark img,
.page-revenue .login-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
