/* PrintBros identity: original supplied artwork, green actions, readable ink. */
:root {
  --accent: #00ce13;
  --accent-hover: #00b811;
  --brand-bright: #1fea32;
  --green: #096b29;
  --green-dark: #123c20;
  --ink: #151a16;
  --muted: #4a554c;
  --line: #dce4dd;
  --bg: #f3f6f3;
  --light: #e8f9eb;
  --card-shadow: 0 3px 16px #16331c06;
}
::selection { background: #baf5c2; color: var(--ink); }
body { color: var(--ink); }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline-color: var(--green); }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px #00ce1314; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); }

/* The logo keeps its native aspect ratio; PrintOS remains the app's name. */
.identity.printbros-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 0 8px 28px; letter-spacing: 0; text-decoration: none; }
.printbros-logo { display: block; width: 100%; max-width: 210px; height: auto; }
.brand-context { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.3; }
.brand-context strong { font-size: 14px; font-weight: 600; letter-spacing: -.35px; color: var(--ink); border-right: 1px solid #c9d6cc; padding-right: 10px; }
.sidebar { background: #fff; border-color: var(--line); }
.navbutton { color: #414c44; }
.navbutton:hover, .brand-button:hover { background: #f0f6f1; color: var(--ink); }
.navbutton.active { color: #123c20; background: #e4f8e7; box-shadow: inset 3px 0 0 var(--accent); }
.navbutton.active .ui-icon { color: var(--green); }
.brand-button.chosen { background: #eff5f0; }
.brand-button.chosen .dot { box-shadow: 0 0 0 3px #dcf4e1; }
.brand-button .check, .secure span { color: var(--green); }
.account-avatar { background: #e4f4e7; color: var(--green-dark); box-shadow: 0 0 0 1px var(--line); }
.topbar { border-bottom: 1px solid #e1e8e2; }
.top-search { background: #fff; border-color: var(--line); color: #4a554c; box-shadow: none; }
.top-search:hover { border-color: #9dbda5; color: var(--ink); }
.header-create { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: none; }
.header-create:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.connection i { background: var(--green); box-shadow: 0 0 0 3px #e0f1e3; }
.username { background: #e7eee8; color: #38493d; }

.btn { background: #fff; border-color: #d6e0d8; color: #26382c; box-shadow: none; }
.btn:hover { background: #edf5ee; border-color: #a9c6af; box-shadow: none; }
.btn.primary { color: #102613; background: var(--accent); border-color: var(--accent); box-shadow: 0 3px 10px #007b1710; }
.btn.primary:hover { color: #102613; background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 4px 14px #007b1718; }
.btn.dark { color: #fff; background: #183822; border-color: #183822; }
.btn.dark:hover { background: #254d32; border-color: #254d32; }
.btn.ghost { color: #46544a; background: transparent; border-color: transparent; }
.btn.ghost:hover { background: #edf5ee; }
.card, .dashboard-card, .catalog-offer { background: #fff; border: 1px solid #e3ebe4; border-radius: 16px; }
.step, .line-number { color: var(--green); background: var(--light); }
.metric-symbol { color: var(--green); background: #eaf6ec; }
.line-result { background: #ecf8ee; color: #3e5745; }
.line-result strong { color: var(--green-dark); }
.summary-card { border-color: #bfdcc6; box-shadow: 0 4px 20px #14351c07; }
.summary-head { background: #e7f9ea; border-top-color: var(--accent); border-bottom-color: #d8ebdc; }
.summary-head p { color: #435c49; }
.summary-total strong { color: #153c21; }
.tag.green { background: #e2f7e7; color: #155d2b; }
.hint:not(.warning):not(.error) { background: #eef7f0; color: #36573f; }
.notice:not(.warning):not(.error) { background: #eaf8ee; border-color: #bcdcc6; color: #235d33; }
.loading-bar { background: #dbefdf; }
.loading-bar:after { background: var(--accent); }
.tier { background: #edf4ee; color: #455b4a; }
.disclosure summary, .mobile-account summary { color: var(--green); }
.internal-alternative { background: #f0f6f1; }
.product-choice:hover, .product-choice:focus-visible { background: #e9f8ed; }
.channel-switch [aria-pressed="true"] { background: #e1f8e6; border-color: #23863c; box-shadow: inset 0 0 0 1px #23863c; }
tbody tr:hover { background: #f5faf6; }

/* Use the symbol's geometry as a quiet brand detail, never behind copy. */
.dashboard-kpi { background: #fff; border: 1px solid #e3ebe4; border-radius: 16px; }
.dashboard-kpi:first-child { background: #e4f8e8; border-color: #b8e7c1; }
.dashboard-kpi:first-child:after { width: 70px; height: 85px; right: -8px; bottom: -14px; border: 0; border-radius: 0; background: url('./brand/printbros-symbol.png') center/contain no-repeat; opacity: .18; }
.kpi-icon { color: #285d35; background: #edf6ef; }
.kpi-label, .kpi-value { color: var(--ink); }
.dashboard-card-head .btn, .dashboard-recents .btn { color: var(--green); }
.chart-area { fill: #00ce1312; }
.chart-line { stroke: #158630; }
.chart-dot { fill: var(--accent); stroke: #fff; }
.donut-segment.status-accepted { stroke: #187336; }
.status-dot.status-accepted { background: #187336; }
.dashboard-status-badge.status-sent { color: #135d29; background: #ddf8e3; }
.dashboard-status-badge.status-accepted { color: #174d2a; background: #e5f0e8; }
.chart-empty>.ui-icon { color: #3b794a; }
.quick-action { background: #f5f8f5; border-color: #e3ece5; color: #263e2e; }
.quick-action:hover { background: #e8f7ec; border-color: #a6d9b3; }
.quick-action-icon { color: var(--green); border-color: #d9e8dd; box-shadow: none; }

/* Login and account screens: a larger original wordmark and open space. */
.auth-page { background: var(--bg); }
.auth-brand { background: #e6f7e9; border: 1px solid #cdebd4; border-radius: 20px; isolation: isolate; }
.auth-brand:before { content: ''; position: absolute; width: 5px; height: 96px; background: var(--accent); left: 0; top: 43%; }
.auth-brand:after { width: clamp(180px,22vw,320px); height: clamp(220px,27vw,390px); right: -40px; bottom: -55px; border: 0; border-radius: 0; background: url('./brand/printbros-symbol.png') center/contain no-repeat; opacity: .12; z-index: -1; }
.auth-brand .identity { padding: 0; gap: 22px; }
.auth-brand .printbros-logo { width: min(100%,370px); max-width: 100%; }
.auth-brand .brand-context { font-size: 12px; }
.auth-brand .brand-context strong { font-size: 17px; }
.auth-intro { max-width: 100%; }
.auth-intro h1 { color: #14241a; font-size: clamp(34px,3.7vw,52px); letter-spacing: -1.8px; max-width: none; }
.auth-intro h1 span { display: block; }
.auth-intro .eyebrow { color: #215e32; font-size: 12px; }
.auth-intro p { color: #395b43; }
.auth-brands { color: #335b3f; }
.auth-content { border-radius: 20px; border: 1px solid #e3ebe4; }
.auth-card h2 { color: var(--ink); }
.auth-card .btn.primary { width: 100%; }

@media (max-width:700px) {
  .identity.printbros-identity { padding: 0 0 22px; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .sidebar .printbros-logo { width: 190px; max-width: 58%; }
  .sidebar .brand-context { display: block; text-align: right; font-size: 9px; }
  .sidebar .brand-context strong { display: block; padding: 0; border: 0; margin-bottom: 3px; font-size: 15px; }
  .navbutton.active { box-shadow: inset 0 -3px 0 var(--accent); }
  .auth-brand .identity { flex-direction: column; align-items: flex-start; padding: 0; gap: 14px; }
  .auth-brand .printbros-logo { width: 265px; }
  .auth-brand .brand-context { font-size: 10px; }
  .auth-brand .brand-context strong { font-size: 14px; }
  .auth-brand:before { display: none; }
  .auth-brand:after { width: 150px; height: 180px; bottom: -45px; right: -30px; }
  .auth-intro h1 { font-size: clamp(24px,7.2vw,34px); letter-spacing: -1.2px; }
}
