/* Shared monochrome theme. Loaded after page styles, including administration. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("fonts/inter-0.fca7eac3aac5.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("fonts/inter-1.47cef4beb631.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/inter-2.6c9e9a732755.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-3.a32ace5dba84.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-4.eb0312411b13.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-5.84cf795ee940.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-6.c59d7314123c.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/inter-7.ef9e4fbd408c.ttf") format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/inter-8.1d46080e9b7a.ttf") format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-0.3d12b91dc3e0.ttf") format('truetype');
}
html,html[data-theme=light]{--mono-bg:#f3f3f3;--mono-panel:#ffffff;--mono-ink:#171717;--mono-muted:#606060;--mono-line:#cecece;--mono-soft:#ededed;--mono-action:#171717;--mono-on-action:#ffffff;--mono-hover:#e5e5e5;--mono-inset:#eaeaea;color-scheme:light}
html[data-theme=dark]{--mono-bg:#101010;--mono-panel:#1c1c1c;--mono-ink:#f5f5f5;--mono-muted:#b0b0b0;--mono-line:#454545;--mono-soft:#292929;--mono-action:#f5f5f5;--mono-on-action:#171717;--mono-hover:#303030;--mono-inset:#141414;color-scheme:dark}
html:root{--bg:var(--mono-bg);--surface:var(--mono-panel);--ink:var(--mono-ink);--muted:var(--mono-muted);--line:var(--mono-line);--purple:var(--mono-action);--purple-light:var(--mono-soft);--sidebar:var(--mono-panel);font-family:Inter,'Segoe UI',Arial,sans-serif}
html body,html:root[data-theme] .app-main{background:var(--mono-bg)!important;color:var(--mono-ink)!important;font-family:Inter,'Segoe UI',Arial,sans-serif}
html:root[data-theme] .sidebar,html:root[data-theme] .topbar,html:root[data-theme] .login-entry{background:var(--mono-panel)!important;color:var(--mono-ink)!important;border-color:var(--mono-line)!important}
html:root[data-theme] .sidebar{border-right:1px solid var(--mono-line)}
html:root[data-theme] .brand,html:root[data-theme] .brand-dot,html:root[data-theme] .workspace strong,html:root[data-theme] .user-card strong,html:root[data-theme] .breadcrumb strong{color:var(--mono-ink)!important}
html:root[data-theme] .brand-mark{background:var(--mono-action)!important;color:var(--mono-on-action)!important}html:root[data-theme] .brand-mark>span{color:inherit!important}
html:root[data-theme] .workspace,html:root[data-theme] .user-avatar,html:root[data-theme] .top-avatar,html:root[data-theme] .workspace-avatar,html:root[data-theme] .mode-badge,html:root[data-theme] .metric-icon,html:root[data-theme] .project-pill,html:root[data-theme] .soft-label{background:var(--mono-soft)!important;color:var(--mono-ink)!important;border-color:var(--mono-line)!important}
html:root[data-theme] .nav-label,html:root[data-theme] .workspace small,html:root[data-theme] .user-card small,html:root[data-theme] .nav-item,html:root[data-theme] .breadcrumb,html:root[data-theme] .top-date,html:root[data-theme] .app-footer{color:var(--mono-muted)!important}
html:root[data-theme] .nav-item:hover{background:var(--mono-soft)!important;color:var(--mono-ink)!important}
html:root[data-theme] .nav-item.active{background:var(--mono-action)!important;color:var(--mono-on-action)!important}html:root[data-theme] .nav-item.active .icon{color:inherit!important}html:root[data-theme] .nav-count{background:transparent!important;color:inherit!important}
html:root[data-theme] :is(.panel,.metric-card,.form-section,.directory-card,.srv-folder,.srv-card,.pay-card,.day-dialog,.month-panel,.funds-card,.ops-surface,.expiry-row,.expiry-filters,.tip-card,.setup-strip){background:var(--mono-panel)!important;border-color:var(--mono-line)!important;color:var(--mono-ink)!important;box-shadow:none}
html:root[data-theme] :is(.srv-budget,.funds-primary,.featured){background:var(--mono-panel)!important;background-image:none!important;border-color:var(--mono-line)!important;color:var(--mono-ink)!important}
html:root[data-theme] .srv-page .srv-budget{padding-top:25px;padding-bottom:25px}
html:root[data-theme] :is(.srv-folder-content,.srv-card-footer,.day-editor){background:var(--mono-inset)!important;border-color:var(--mono-line)!important}
html:root[data-theme] :is(.srv-folder>summary:hover,.expiry-row:hover){background:var(--mono-hover)!important}
html:root[data-theme] :is(.srv-card-name,.srv-folder-name strong,.srv-folder-budget strong,.srv-card-price strong,.srv-card-payment strong,.expiry-price strong,.expiry-server h3,.page-heading h1,.app-main h2,.app-main h3){color:var(--mono-ink)!important}
html:root[data-theme] :is(.srv-card-region,.srv-card-provider,.srv-card-price small,.srv-card-payment small,.srv-card-price>span,.srv-card-payment>span,.srv-folder-name small,.expiry-provider,.expiry-column-label,.expiry-server p,.expiry-price small,.srv-card-ip){color:var(--mono-muted)!important}
html:root[data-theme] :is(.button:not(.secondary),.button-primary,.srv-add,.ops-apply,.expiry-apply,.expiry-renew,.srv-pay-link,.login-submit){background:var(--mono-action)!important;border-color:var(--mono-action)!important;color:var(--mono-on-action)!important;box-shadow:none!important;border-radius:7px}
html:root[data-theme] :is(.button:not(.secondary),.button-primary,.srv-add,.ops-apply,.expiry-apply,.expiry-renew,.srv-pay-link,.login-submit):hover{opacity:.85}
html:root[data-theme] :is(.button.secondary,.theme-switch,.srv-edit-link,.srv-login-link,.srv-project-add,.expiry-reset,.expiry-host,.day-presets button,.compact-select,.period-form){background:var(--mono-panel)!important;border-color:var(--mono-line)!important;color:var(--mono-ink)!important;box-shadow:none!important}
html:root[data-theme] input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),html:root[data-theme] select,html:root[data-theme] textarea{background:var(--mono-panel)!important;color:var(--mono-ink)!important;border-color:var(--mono-line)!important;accent-color:var(--mono-action)}
html:root[data-theme] input::placeholder,html:root[data-theme] textarea::placeholder{color:var(--mono-muted)!important}
html:root[data-theme] :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--mono-ink)!important;outline-offset:3px}
html:root[data-theme] .srv-page .srv-tabs-modern>a{background:var(--mono-panel)!important;color:var(--mono-ink)!important;border:1px solid var(--mono-line)!important;border-radius:7px;box-shadow:none;padding:12px 16px;font-weight:500}
html:root[data-theme] .srv-page .srv-tabs-modern>a:hover{background:var(--mono-hover)!important}
html:root[data-theme] .srv-page .srv-tabs-modern>a.selected{background:var(--mono-action)!important;color:var(--mono-on-action)!important;border-color:var(--mono-action)!important}
html:root[data-theme] .srv-page .srv-tabs-modern>a b{background:transparent!important;color:inherit!important;opacity:.8}
html:root[data-theme] :is(.srv-currency-bar a.selected,.section-tabs .selected,.month-grid button[aria-pressed=true],.day-grid button[aria-pressed=true]){background:var(--mono-action)!important;color:var(--mono-on-action)!important;border-color:var(--mono-action)!important}
html:root[data-theme] .srv-page .srv-infra-icon{background:var(--mono-soft)!important;border-color:var(--mono-line)!important}
html:root[data-theme] .home-overview{--ho-text:var(--mono-ink);--ho-muted:var(--mono-muted);--ho-line:var(--mono-line);--ho-fill:var(--mono-soft);--ho-accent:var(--mono-action)}
html:root[data-theme] .ho-period-menu{background:var(--mono-panel)!important}html:root[data-theme] .ho-add{background:var(--mono-action);color:var(--mono-on-action);border-color:var(--mono-action)}
html:root[data-theme] :is(.ops-input,.ops-filter,.ops-row,.ops-table tr){border-color:var(--mono-line)!important}html:root[data-theme] .ops-row:hover{background:var(--mono-soft)!important}
html:root[data-theme] :is(th,thead,.ops-table thead){background:var(--mono-soft)!important;color:var(--mono-muted)!important}
html:root[data-theme] :is(.status,.ops-status){background:var(--mono-soft)!important;color:var(--mono-ink)!important}
html:root[data-theme] :is(.srv-card-ip,.expiry-server code,code){font-family:'JetBrains Mono',monospace}
html:root[data-theme] :is(.money,.metric-value,.srv-budget-value,.srv-card-price,.expiry-price,.ho-number){font-variant-numeric:tabular-nums}
html:root[data-theme] .login-story{background:#171717!important;background-image:none!important;color:#f5f5f5!important}html:root[data-theme] .login-layout{background:var(--mono-bg)!important}html:root[data-theme] .login-story .brand{color:#fff!important}
html:root[data-theme] .login-form-wrap h2,html:root[data-theme] .login-form-wrap label{color:var(--mono-ink)!important}html:root[data-theme] .login-subtitle,html:root[data-theme] .login-help p,html:root[data-theme] .entry-footer,html:root[data-theme] .login-kicker{color:var(--mono-muted)!important}
/* Django admin uses the same theme and preserves its native controls. */
html:root{--primary:var(--mono-action);--secondary:var(--mono-panel);--accent:var(--mono-ink);--primary-fg:var(--mono-on-action);--body-fg:var(--mono-ink);--body-bg:var(--mono-bg);--body-quiet-color:var(--mono-muted);--body-loud-color:var(--mono-ink);--header-color:var(--mono-ink);--header-branding-color:var(--mono-ink);--header-bg:var(--mono-panel);--header-link-color:var(--mono-ink);--breadcrumbs-fg:var(--mono-muted);--breadcrumbs-link-fg:var(--mono-ink);--breadcrumbs-bg:var(--mono-soft);--link-fg:var(--mono-ink);--link-hover-color:var(--mono-muted);--link-selected-fg:var(--mono-ink);--hairline-color:var(--mono-line);--border-color:var(--mono-line);--darkened-bg:var(--mono-soft);--selected-bg:var(--mono-soft);--selected-row:var(--mono-soft);--button-bg:var(--mono-action);--button-hover-bg:var(--mono-muted);--default-button-bg:var(--mono-action);--default-button-hover-bg:var(--mono-muted);--object-tools-bg:var(--mono-action);--object-tools-hover-bg:var(--mono-muted)}
html:root[data-theme] .module,html #nav-sidebar{background:var(--mono-panel)!important}html:root[data-theme] .theme-toggle{display:flex}html:root[data-theme] .module h2,html:root[data-theme] .module caption{color:var(--mono-ink)!important;background:var(--mono-soft)!important}
@media(max-width:480px){html:root[data-theme] .srv-page .srv-tabs-modern>a{padding:11px 10px;font-size:12px}}

html:root[data-theme] .srv-budget :is(p,small,span){color:var(--mono-muted)!important}html:root[data-theme] .srv-budget{box-shadow:none!important}html:root[data-theme] .srv-currency-bar>div,html:root[data-theme] .srv-currency-bar nav{background:var(--mono-panel)!important;border-color:var(--mono-line)!important}
html:root[data-theme] .srv-budget .srv-budget-amounts strong{color:var(--mono-ink)!important}
html:root[data-theme] .srv-budget .srv-budget-amounts b{color:var(--mono-muted)!important}
html:root[data-theme] .pa-bots a.selected{background:var(--mono-action)!important;color:var(--mono-on-action)!important}
html:root[data-theme] .pa-metric,html:root[data-theme] .pa-chart{background:var(--mono-panel)!important;border-color:var(--mono-line)!important}
html:root[data-theme] .nav-count{margin-left:auto}
html:root[data-theme] .srv-page .srv-tabs-modern>a :is(b,span){background:transparent!important;color:inherit!important}
html:root[data-theme] .srv-infra-icon img,html:root[data-theme] .expiry-icon:not(.expiry-project-avatar) img{filter:grayscale(1)}
html:root[data-theme] .theme-toggle{display:none}
.srv-hosting-title{display:flex;align-items:center;gap:8px}.srv-hosting-pencil{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:6px;opacity:0;pointer-events:none;color:var(--mono-muted);transition:opacity .12s,background-color .12s}.srv-folder:hover>summary .srv-hosting-pencil,.srv-hosting-pencil:focus-visible{opacity:1;pointer-events:auto}.srv-hosting-pencil:hover{background:var(--mono-soft);color:var(--mono-ink)}.srv-hosting-pencil svg{display:block}@media(hover:none){.srv-folder[open]>summary .srv-hosting-pencil{opacity:1;pointer-events:auto}.srv-hosting-pencil{width:44px;height:44px;flex-basis:44px}}
.bs-dialog{width:min(800px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:26px;border:1px solid var(--mono-line);border-radius:12px;background:var(--mono-panel);color:var(--mono-ink)}.bs-dialog::backdrop{background:#0009}.bs-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}#bs-bridge-summary{border-top:1px solid var(--mono-line);padding-top:20px;margin-top:16px}#bs-bridge-summary>span{display:block;margin:8px 0 14px}.bs-bridge-link{padding:16px 24px;border-top:1px solid var(--mono-line);font-size:13px}.bs-bridge-link a{text-decoration:underline}#bs-form input[type=radio]{width:auto;accent-color:var(--mono-action)}#bs-form [id=id_bridge_mode]{display:flex;gap:22px;flex-wrap:wrap}
#bs-form .field{min-width:0}#bs-form input:not([type=radio]):not([type=checkbox]):not([type=hidden]),#bs-form select,#bs-form textarea{width:100%;max-width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid var(--mono-line);border-radius:7px}#bs-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){#bs-form .form-grid{grid-template-columns:minmax(0,1fr)}.bs-dialog{padding:18px}}
.bs-timeweb{padding:16px;margin:18px 0 24px;border:1px solid var(--mono-line);border-radius:8px;background:var(--mono-soft)}.bs-timeweb>label{display:block;font-weight:500;margin-bottom:10px}.bs-timeweb>div{display:flex;align-items:center;gap:10px}.bs-timeweb input{flex:1;min-width:0}.bs-timeweb button{white-space:nowrap}.bs-timeweb p{margin-top:12px;font-size:13px;line-height:1.6;color:var(--mono-ink)}#bridge-fields input:disabled,#bridge-fields select:disabled,#bridge-fields textarea:disabled{opacity:1;color:var(--mono-muted)!important}@media(max-width:600px){.bs-timeweb>div{flex-direction:column;align-items:stretch}}
.bs-supplier{font-size:13px;color:var(--mono-muted);margin:7px 0 10px}
html:root[data-theme] .srv-bs-symbol{background:var(--mono-soft)!important;border:1px solid var(--mono-line)!important;color:var(--mono-ink)!important}html:root[data-theme] .srv-bs-symbol .icon{width:30px;height:30px;stroke-width:1.5;color:inherit}
.srv-section-summary{background:var(--mono-panel);border:1px solid var(--mono-line);border-radius:10px;margin:0 0 28px;overflow:hidden}.srv-section-summary>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 24px 0}.srv-section-summary>header h2{font-size:17px;font-weight:600}.srv-section-summary>header>span{font-size:12px;color:var(--mono-muted)}.sss-main{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:30px;padding:20px 24px 25px}.sss-amounts{display:flex;flex-wrap:wrap;gap:10px 24px}.sss-amounts strong{font-size:34px;font-weight:600;letter-spacing:-.8px;font-variant-numeric:tabular-nums;white-space:nowrap}.sss-amounts small{font-size:14px;font-weight:400;color:var(--mono-muted);letter-spacing:0}.sss-main p{font-size:12px;color:var(--mono-muted);margin-top:8px}.sss-main dl{margin:0;border-left:1px solid var(--mono-line);padding-left:24px;display:grid;gap:14px}.sss-main dl>div{display:flex;justify-content:space-between;gap:16px;align-items:center}.sss-main dt{font-size:13px;color:var(--mono-muted)}.sss-main dd{margin:0;font-size:20px;font-variant-numeric:tabular-nums}.sss-detail{border-top:1px solid var(--mono-line);padding:16px 24px;background:var(--mono-bg);display:flex;gap:12px 30px;flex-wrap:wrap;font-size:13px}.sss-detail>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sss-detail span{color:var(--mono-muted)}.sss-detail b{font-weight:500}.sss-note{padding:0 24px 16px;font-size:12px;line-height:1.6;color:var(--mono-muted);background:var(--mono-bg)}@media(max-width:650px){.sss-main{grid-template-columns:1fr;padding:18px;gap:20px}.srv-section-summary>header{padding:18px 18px 0;align-items:start}.sss-main dl{border-left:0;border-top:1px solid var(--mono-line);padding:16px 0 0;grid-template-columns:1fr 1fr;gap:20px}.sss-amounts strong{font-size:27px}.sss-detail{padding:16px 18px}.sss-note{padding:0 18px 16px}}

.sss-cost-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:24px;gap:32px}.sss-cost-column{min-width:0}.sss-cost-column+ .sss-cost-column{border-left:1px solid var(--mono-line);padding-left:32px}.sss-cost-column h3{font-size:14px;font-weight:500;margin:0 0 12px}.sss-cost-column p{font-size:12px;color:var(--mono-muted);margin:10px 0 0}@media(max-width:650px){.sss-cost-columns{grid-template-columns:1fr;padding:18px;gap:20px}.sss-cost-column+ .sss-cost-column{border-left:0;border-top:1px solid var(--mono-line);padding:20px 0 0}}

.pay-rate-block{position:relative;margin:25px 0}.pay-rate-block .pay-rate{margin:0;padding-right:44px}.pay-rate-edit>summary{position:absolute;right:0;top:0;display:grid;place-items:center;width:36px;height:36px;border-radius:6px;cursor:pointer;color:var(--mono-muted);list-style:none}.pay-rate-edit>summary::-webkit-details-marker{display:none}.pay-rate-edit>summary:hover,.pay-rate-edit[open]>summary{background:var(--mono-soft);color:var(--mono-ink)}.pay-rate-edit form{margin-top:18px;padding:16px;background:var(--mono-inset);border:1px solid var(--mono-line);border-radius:8px}.pay-rate-edit label{display:block;font-size:13px;font-weight:500;margin-bottom:10px}.pay-rate-edit form>div{display:flex;gap:10px;align-items:center}.pay-rate-edit input[type=number]{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--mono-line);border-radius:6px;font:inherit;box-sizing:border-box}.pay-rate-edit button{flex-shrink:0}.pay-rate-edit p{font-size:12px;line-height:1.5;color:var(--mono-muted);margin:12px 0 0}@media(max-width:420px){.pay-rate-edit form>div{flex-direction:column;align-items:stretch}}

.pay-rate-edit .pay-rate-recalculate{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0;font-size:12px;line-height:1.5;font-weight:400}.pay-rate-recalculate input[type=checkbox]{flex:none;width:16px;height:16px;margin-top:1px}

.pay-payout-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--mono-line);padding-top:18px;margin-top:18px}.pay-payout-actions strong{display:block;font-size:13px;font-weight:500}.pay-payout-actions small{display:block;font-size:12px;color:var(--mono-muted);margin-top:6px}.pay-weeks{margin-top:18px;border-top:1px solid var(--mono-line);padding-top:15px}.pay-weeks summary{cursor:pointer;font-size:13px;font-weight:500}.pay-week{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--mono-line);padding:14px 0;font-size:12px}.pay-week span{min-width:0}.pay-week strong,.pay-week b{display:block;font-weight:500}.pay-week small,.pay-week a{display:block;margin-top:6px;color:var(--mono-muted)}.pay-week a{text-decoration:underline}.pay-week>span:last-child{text-align:right}.pay-notifications{border:1px solid var(--mono-line);border-left:3px solid var(--mono-ink);border-radius:8px;background:var(--mono-panel);padding:20px 24px;margin:0 0 24px}.pay-notifications h2{font-size:16px;margin:0 0 12px}.pay-notifications h2 span{font-size:12px;color:var(--mono-muted);margin-left:8px}.pay-notifications article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0}.pay-notifications article+article{border-top:1px solid var(--mono-line)}.pay-notifications strong{font-size:14px}.pay-notifications p{font-size:12px;color:var(--mono-muted);margin-top:7px;line-height:1.5}.pay-period-select{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}.pay-period-select label{font-size:13px}.pay-period-select input{padding:10px 12px;border:1px solid var(--mono-line);border-radius:6px;font:inherit}.pay-payout-hint{font-size:12px;color:var(--mono-muted);line-height:1.5;margin-top:14px}@media(max-width:480px){.pay-payout-actions,.pay-notifications article{flex-direction:column;align-items:stretch}.pay-payout-actions .button,.pay-notifications .button{text-align:center}.pay-notifications{padding:18px}}

.payment-form .field{min-width:0}.payment-form input:not([type=hidden]):not([type=checkbox]),.payment-form select,.payment-form textarea{width:100%;max-width:100%;box-sizing:border-box}.payment-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.payment-form .form-grid{grid-template-columns:minmax(0,1fr)}}

.daily-reminder-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.daily-charge-period{margin-bottom:20px}.daily-reminder-actions button{cursor:pointer}.daily-unpaid-feedback{font-weight:500}@media(max-width:600px){.daily-reminder-actions{flex-wrap:wrap}.daily-reminder-actions .button{flex:1}}
