.owner-page { width: min(1400px, calc(100% - 64px)); padding-top: 38px; }
.owner-page + .site-footer .footer-line { display: flex; justify-content: space-between; gap: 20px; }
.owner-summary, .owner-section-title { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.owner-summary { margin: 25px 0 10px; }
.owner-summary p { margin-bottom: 5px; }
.owner-create { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; gap: 48px; border-block: 1px solid var(--line); padding: 30px 0; margin: 30px 0; }
.owner-create p { font-size: 14px; }
.owner-create .meta { font-size: 12px; }
.owner-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.owner-page label { display: block; font-size: 13px; }
.owner-page input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 7px; padding: 10px; border: 1px solid #9ba393; background: white; border-radius: 0; color: var(--ink); }
.owner-fields .owner-wide { grid-column: 1 / -1; }
.owner-page .owner-check { display: flex; gap: 9px; align-items: start; margin-bottom: 12px; }
.owner-check input { margin-top: 5px; width: 16px; height: 16px; }
.owner-result { padding: 25px; border: 1px solid var(--line-strong); background: white; margin: 25px 0; }
.owner-key { display: flex; gap: 12px; align-items: end; }
.owner-key input { font-family: var(--mono); font-size: 12px; }
.owner-key .button { white-space: nowrap; }
.owner-result .meta { margin: 12px 0 0; }
.owner-section-title { margin: 32px 0 10px; align-items: center; }
.owner-section-title h2 { margin: 0; }
.gift-card { border: 1px solid var(--line); background: white; padding: 22px; margin: 14px 0; overflow-wrap: anywhere; }
.gift-card h3 { margin: 0 0 12px; }
.gift-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; font-size: 13px; margin-bottom: 15px; }
.gift-facts p { margin: 0 0 5px; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-card .owner-fields { margin-top: 20px; }
.gift-confirm { margin-top: 18px; padding: 16px; border: 1px solid #a26754; }
.gift-confirm p { font-size: 13px; }
@media(max-width:700px) { .owner-page { width: calc(100% - 40px); padding-top: 35px; } .owner-create { grid-template-columns: 1fr; gap: 15px; } .owner-summary { flex-direction: column; gap: 15px; } .owner-fields,.gift-facts { grid-template-columns: 1fr; } .owner-key { align-items: stretch; flex-direction: column; } .owner-key .button { align-self: start; } .owner-section-title { flex-wrap: wrap; } }

.control-header { background: #283c33; color: #fff; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.control-header .nav { width: min(1400px, calc(100% - 64px)); min-height: 66px; }
.control-header .brand, .control-header .nav-link { color: #fff; }
.control-header .brand { margin-right: 0; }
.control-header .nav-link { margin-left: auto; }
.control-wordmark { font: 11px var(--mono); color: #cfddd1; border-left: 1px solid #627569; padding-left: 24px; letter-spacing: .04em; }
.owner-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.owner-heading h1 { font-size: 32px; }
.owner-heading .eyebrow { margin-bottom: 10px; }
.private-label { border: 1px solid #b8cabc; background: #e5eee6; color: #284536; padding: 6px 10px; font: 11px var(--mono); white-space: nowrap; }
#owner-status { margin: 20px 0 0; padding: 12px 0; min-height: 46px; }
.owner-summary { margin: 14px 0 28px; align-items: center; }
.owner-summary p { margin-bottom: 2px; }
#owner-identity { font-size: 13px; }
.owner-summary .button { min-height: 38px; font-size: 12px; }
.control-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.control-nav { display: flex; flex-direction: column; gap: 5px; align-self: start; position: sticky; top: 20px; }
.control-nav button { padding: 12px; min-height: 46px; border: 1px solid transparent; background: transparent; font: 13px var(--sans); text-align: left; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.control-nav button:hover { background: #e9ede5; }
.control-nav button[aria-current="page"] { background: #dde7dc; border-color: #cad9ca; color: #1d452d; font-weight: 600; }
.nav-symbol { font-size: 21px; line-height: 1; min-width: 22px; text-align: center; }
.nav-note { margin: 30px 12px 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.control-panels { min-width: 0; }
.control-panel { min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.panel-heading h2 { margin: 0; font-size: 26px; }
.panel-heading .eyebrow { margin-bottom: 9px; }
.panel-heading .button { min-height: 40px; }
.panel-intro { max-width: 70ch; font-size: 14px; color: var(--muted); margin-bottom: 25px; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.metric-card { display: flex; flex-direction: column; align-items: start; padding: 23px; text-align: left; border: 1px solid var(--line); background: white; cursor: pointer; min-width: 0; transition: border-color 150ms ease; }
.metric-card:hover { border-color: #627c62; }
.metric-card > span { font-size: 12px; color: var(--muted); }
.metric-card strong { font-size: 26px; line-height: 1.25; letter-spacing: -.03em; font-weight: 500; margin: 10px 0; }
.metric-card small { font-size: 11px; color: var(--muted); }
.overview-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.workspace-card { border: 1px solid var(--line); padding: 24px; min-width: 0; }
.workspace-card h3 { margin: 0 0 15px; font-size: 20px; }
.workspace-card p { font-size: 13px; }
.workspace-card p.meta { font-size: 11px; margin: 12px 0 0; }
.workspace-card > .eyebrow { font-size: 10px; margin: 0 0 13px; }
.workspace-card .button { margin-top: 6px; }
.service-status { margin: 12px 0 0; }
.service-status > div { display: flex; align-items: start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 12px; }
.service-status > div:last-child { border-bottom: 0; }
.service-status dt { color: var(--muted); }
.service-status dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.directory-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 20px 0 14px; }
.directory-toolbar > label:first-child { flex: 1 1 250px; }
.directory-toolbar > label { font-size: 11px; }
.owner-page select { display: block; width: 100%; min-height: 44px; margin-top: 7px; padding: 8px 34px 8px 10px; border: 1px solid #9ba393; background: white; color: var(--ink); border-radius: 0; font: 13px var(--sans); }
.owner-page select:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.directory-toolbar input { font-size: 13px; }
.directory-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.directory-table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; }
.directory-table th { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .045em; font-weight: 500; padding: 13px 16px; background: #edf0e9; }
.directory-table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; max-width: 280px; }
.directory-table td strong, .directory-table td small { display: block; }
.directory-table td strong { font-weight: 500; }
.directory-table td small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.directory-table .button { font-size: 11px; min-height: 34px; padding: 7px 10px; white-space: nowrap; }
.record-state { display: inline-block; font-size: 10px; line-height: 1.5; padding: 3px 7px; background: #eaf0e7; color: #36533b; }
.record-state.inactive { color: #76513c; background: #f4eade; }
.empty-state { padding: 34px 24px; text-align: center; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 13px; }
.directory-list + .button { margin-top: 16px; }
.directory-note { margin-top: 22px; }
#create-license { border: 1px solid var(--line); background: #edf1e9; padding-inline: 22px; margin: 20px 0 25px; }
#create-license > summary { font-size: 13px; }
.owner-create { border: 0; padding: 8px 0 18px; margin: 0; grid-template-columns: minmax(150px, .8fr) 2fr; gap: 25px; }
.owner-create h3 { margin-top: 0; }
.owner-result { border-color: #91ad93; background: #edf4ea; padding: 20px; }
.owner-result .owner-section-title { margin: 0 0 14px; }
.owner-result .owner-section-title h3 { margin: 0; }
.gift-card { padding: 20px; }
.gift-card .gift-actions .button { font-size: 11px; min-height: 36px; padding: 8px 10px; }
.gift-facts { font-size: 12px; }
.gift-facts p { line-height: 1.5; }
.paid-section { margin-top: 36px; border-top: 1px solid var(--line-strong); }
.workspace-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.workspace-links > a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 21px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.workspace-links > a:hover { background: #eaf0e6; color: var(--ink); }
.workspace-links strong { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.workspace-links > a > span { font-size: 12px; color: var(--muted); }
#panel-product > p:last-child { margin-top: 22px; }
.support-message { margin-top: 24px; border: 1px solid var(--line-strong); padding: 24px; background: #fff; overflow-wrap: anywhere; }
.support-message .owner-section-title { margin-top: 0; }
.support-message h3 { margin: 0; }
.support-message pre { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; font: 14px/1.7 var(--sans); padding: 20px 0; border-block: 1px solid var(--line); }
.support-message .gift-confirm { width: 100%; }
@media (min-width: 1250px) { .overview-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } .metric-card { padding: 20px; } .metric-card strong { font-size: 24px; } }
@media (max-width: 1050px) { .control-layout { grid-template-columns: 175px minmax(0,1fr); gap: 22px; } .control-nav button { font-size: 12px; padding: 10px; gap: 8px; } .overview-bottom { grid-template-columns: 1fr; } .owner-create { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 760px) { .control-header .nav { width: calc(100% - 40px); min-height: 64px; } .control-wordmark { display: none; } .owner-heading h1 { font-size: 27px; } .control-layout { display: block; padding-top: 16px; } .control-nav { position: static; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-bottom: 26px; } .control-nav button { display: flex; flex-direction: column; justify-content: center; text-align: center; font-size: 11px; padding: 10px 4px; } .nav-note { display: none; } .panel-heading { flex-wrap: wrap; gap: 12px; } .panel-heading h2 { font-size: 24px; } .panel-heading .button { font-size: 11px; min-height: 36px; } .metric-card { padding: 18px; } .metric-card strong { font-size: 21px; } .workspace-links { grid-template-columns: 1fr; } .directory-table th, .directory-table td { padding: 12px; } .owner-summary { align-items: start; } .directory-table { min-width: 570px; } .workspace-card { padding: 20px; } }
@media (max-width: 390px) { .overview-grid { grid-template-columns: 1fr; } .private-label { display: none; } .owner-fields { gap: 14px; } .control-nav button { font-size: 10px; } #create-license { padding-inline: 16px; } .owner-key { flex-direction: column; align-items: stretch; } .gift-actions { flex-direction: column; align-items: stretch; } }
@media (max-width: 760px) {
  .directory-table { min-width: 0; display: block; }
  .directory-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .directory-table tbody { display: block; }
  .directory-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--line-strong); }
  .directory-table tr:last-child { border-bottom: 0; }
  .directory-table td { display: block; min-width: 0; max-width: none; border: 0; padding: 12px 15px; }
  .directory-table td:first-child { grid-column: 1 / -1; background: #f0f3eb; }
  .directory-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) { .metric-card { transition: none; } }
