:root{font:14px 'Segoe UI',Arial,sans-serif;color:#18312c;background:#f2f1eb;--green:#123b34;--gold:#d8b978;--muted:#71807c;--border:#dfdfd7}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 80% 0%,#e0e9e3 0,transparent 30%),#f2f1eb}button,input,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 16px;border:1px solid #d4d6cc;border-radius:4px;background:white;color:#18312c;cursor:pointer;text-decoration:none}button:hover,.button:hover{background:#edf2ed}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b49554;outline-offset:3px}.primary{background:#173f37;color:white;border-color:#173f37}.primary:hover{background:#24584c}.topbar{height:72px;min-height:72px;display:flex;align-items:center;padding:0 42px;background:#123b34;color:white;gap:56px}.brand-lockup{align-self:center;display:flex;align-items:center;gap:14px;flex-shrink:0}.brand-wordmark{display:block;width:139.239px;height:37.908px;object-fit:contain;filter:brightness(0) invert(1);transform:translateY(5px)}.brand{position:relative;width:45.36px;height:51.84px;overflow:hidden;flex-shrink:0}.brand-logo{position:absolute;width:77.1687px;height:77.1687px;max-width:none;left:-15.9975px;top:-4.1472px}#account{align-self:center;padding:0;margin-left:auto;display:flex;align-items:center;gap:10px}#account small{color:#d8b978;display:block;margin-top:3px}#account button{background:transparent;color:white;border-color:#ffffff45}main{max-width:1240px;margin:auto;padding:54px 32px;min-height:calc(100vh - 72px)}h1{font-size:clamp(28px,3vw,38px);font-weight:400;margin:8px 0 12px}h2{font-size:24px;font-weight:400;margin:8px 0 20px}p{line-height:1.6}.muted,small{color:var(--muted)}.eyebrow{color:#9a7741;font-size:10px;letter-spacing:1.7px;text-transform:uppercase;font-weight:700}.header-nav{display:flex;gap:32px;margin:0;align-items:stretch;align-self:stretch}.header-nav:empty{display:none}.header-nav button{position:relative;min-height:72px;padding:0;border:0;border-radius:0;background:transparent;color:white;opacity:.62;white-space:nowrap}.header-nav button:hover{background:transparent;opacity:1}.header-nav button.selected{background:transparent;color:white;opacity:1}.header-nav button.selected:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:3px;background:var(--gold)}@media(max-width:1100px){.topbar{height:auto;flex-wrap:wrap;column-gap:24px}.header-nav{order:3;width:100%}.header-nav button{min-height:48px}}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.service{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:300px;padding:48px 36px;background:#e2e2e2;border:1px solid #c7ccc8;border-radius:8px;box-shadow:0 8px 24px #123b3415;text-decoration:none;color:#111;text-align:center;transition:box-shadow .2s,border-color .2s}.service-media{position:absolute;inset:0;overflow:hidden;z-index:-2}.service-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;transition:transform .5s}.service-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#dedede33 0%,#dedede4d 50%,#dedede59 100%)}.service-copy{width:100%;max-width:420px;position:relative;text-shadow:none}.service-copy:before{display:none}.service h2{margin:0 0 14px;font-size:clamp(24px,2.2vw,30px);font-weight:500;line-height:1.25;color:#111;text-wrap:balance}.service p{margin:0;color:#111;font-size:15px;line-height:1.6;text-wrap:balance}.service:hover{transform:none;box-shadow:0 14px 32px #123b3428;border-color:var(--gold)}.service:hover .service-photo{transform:scale(1.045)}.service:focus-visible{outline:3px solid #b49554;outline-offset:4px}@media(prefers-reduced-motion:reduce){.service,.service-photo{transition:none}.service:hover{transform:none}.service:hover .service-photo{transform:none}}.panel{padding:28px;background:#ffffffdb;border:1px solid var(--border);border-radius:4px;box-shadow:0 8px 30px #1c37310b;margin-bottom:24px}.login{max-width:600px;margin:50px auto}.login .button,.login button{margin-top:20px}.test-note{background:#f7edd8;border:1px solid #dec99d;padding:12px 16px;margin:16px 0;color:#73582c}.row{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.user-list{display:grid;gap:8px;margin-top:18px;max-height:600px;overflow:auto}.user-item{justify-content:space-between;text-align:left;width:100%}.user-item span{overflow-wrap:anywhere}.user-item small{display:block}label{display:block;margin:16px 0 6px}input:not([type=checkbox]),select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #cdd4cb;border-radius:4px;background:white;color:inherit}input[type=checkbox]{accent-color:#123b34;width:17px;height:17px}.check{display:flex;align-items:center;gap:9px}.actions{margin-top:24px;display:flex;gap:12px}#notice{padding:14px 18px;background:#fff0e8;color:#873c2b;border:1px solid #dfbdad;margin-bottom:24px;overflow-wrap:anywhere}.empty{padding:40px;border:1px dashed #b9c8bd;text-align:center}fieldset{border:0;margin:16px 0;padding:0}legend{padding:0;font-weight:600}.help{font-size:12px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:720px){.topbar{gap:15px;flex-wrap:wrap;padding:12px max(12px,env(safe-area-inset-left))}#account{width:100%;margin:0;justify-content:space-between}main{padding:30px 18px}.cards,.admin-grid{grid-template-columns:1fr}.service{min-height:250px;padding:42px 24px}.panel{padding:20px}.row{align-items:start;flex-wrap:wrap}}

.catalog-panel { padding: 24px; min-width: 0; overflow: hidden; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.catalog-add svg { width: 20px; height: 20px; color: #27834b; }
.catalog-search { width: min(360px, 100%); }
.table-wrap { overflow: auto; max-height: 65dvh; }
.catalog-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; font-size: 13px; }
.catalog-table th { position: sticky; top: 0; z-index: 1; background: #eeeee6; color: #425650; font-weight: 600; padding: 12px; border-bottom: 1px solid #d8dcd3; }
.catalog-table td { padding: 12px; border-bottom: 1px solid #e4e5de; vertical-align: middle; overflow-wrap: anywhere; max-width: 300px; }
.catalog-table tbody tr:hover { background: #f4f6f0; }
.catalog-table th:last-child { width: 82px; }
.catalog-table td:last-child { padding: 4px 8px; }
.catalog-table .table-empty { text-align: center; padding: 40px; color: var(--muted); }
.identity-issuer { display: block; margin-top: 4px; }
.row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.row-actions button { width: 26px; min-height: 28px; height: 28px; padding: 3px; flex: 0 0 26px; }
.row-actions svg { width: 18px; height: 18px; }
.row-actions [data-action=delete] { color: #a52b2b; }
.row-actions button:disabled { cursor: default; }
.service-tag { display: inline-block; margin: 2px 4px 2px 0; padding: 3px 7px; border: 1px solid #d9dfd4; border-radius: 4px; background: #f5f7f1; font-size: 12px; }
.status { white-space: nowrap; color: #8a7564; }
.status.enabled { color: #286957; }
.catalog-count { margin: 14px 0 0; font-size: 12px; }
.catalog-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid #deded5; border-radius: 16px; background: white; color: inherit; }
.catalog-dialog::backdrop { background: #0006; }
.catalog-dialog h2 { margin: 0 0 22px; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0 0 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid .check { flex-direction: row; align-items: center; gap: 8px; margin: 8px 0; }
.form-grid .check input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.form-grid input:not([type=checkbox]), .form-grid select, .form-grid textarea { font: inherit; border: 1px solid #d4d6cc; border-radius: 8px; padding: 10px; min-width: 0; width: 100%; background: white; color: inherit; }
.form-grid textarea { resize: vertical; min-height: 90px; }
.form-grid input[readonly] { background: #f2f3ed; color: var(--muted); }
.form-grid p { margin: 0; }
.form-grid h3 { margin: 0 0 12px; font-size: 15px; }
.dialog-actions { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.dialog-error { color: #873c2b; background: #fff0e8; border: 1px solid #dfbdad; padding: 12px; border-radius: 4px; overflow-wrap: anywhere; }
#notice.success { color: #245747; background: #edf5eb; border-color: #c6d9c2; }
.confirm-dialog { width: min(460px, calc(100% - 32px)); }
.delete-name { font-weight: 600; overflow-wrap: anywhere; }
.danger { color: #a52b2b; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 720px) {
  .catalog-panel { padding: 16px; }
  .catalog-toolbar { gap: 12px; }
  .catalog-search { width: 100%; }
  .catalog-dialog { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .header-nav { gap: 24px; }
}
.cards[data-style] .service { min-height: 320px; padding: 40px 32px; }
.cards[data-style] .service-copy { max-width: 440px; padding: 24px; border: 1px solid #ffffffb3; border-radius: 6px; box-shadow: 0 4px 20px #192c2512; }
.cards[data-style] .service-copy:before { margin-bottom: 16px; }
.cards[data-style] .service h2 { font-size: clamp(24px, 2.2vw, 30px); }
.cards[data-style] .service p { font-size: 14px; }
.cards[data-style=caption] { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 64px; }
.cards[data-style=caption] .service { flex: 0 1 320px; width: 320px; max-width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 270px minmax(120px, auto); justify-content: stretch; min-height: 390px; padding: 0; align-items: stretch; background: #f7f5ef; }
.cards[data-style=caption] .service-media { position: relative; inset: auto; grid-row: 1; width: 100%; height: 270px; z-index: 0; }
.cards[data-style=caption] .service-photo { width: 100%; height: 100%; object-fit: cover; }
.cards[data-style=caption] .service-shade { display: none; }
.cards[data-style=caption] .service-copy { grid-row: 2; align-self: center; max-width: none; padding: 22px 18px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.cards[data-style=caption] .service-copy:before { display: none; }
.cards[data-style=caption] .service h2 { margin-bottom: 8px; font-size: 26px; }
@media (max-width: 720px) {
  .cards[data-style] .service { min-height: 280px; padding: 26px 20px; }
  .cards[data-style] .service-copy { padding: 20px 16px; }
  .cards[data-style=caption] { max-width: none; gap: 32px; }
  .cards[data-style=caption] .service { min-height: 390px; padding: 0; }
  .cards[data-style=caption] .service-copy { padding: 22px 18px; }
}



body { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { flex-shrink: 0; }
main { width: 100%; flex: 1; min-height: 0; margin: 0 auto; display: flex; flex-direction: column; }
.home-page #app { flex: 1; display: flex; flex-direction: column; }
.home-page #content { flex: 1; display: flex; align-items: center; justify-content: center; }
.home-page .cards { width: 100%; }
.service-placeholder:disabled { opacity: 1; cursor: default; font: inherit; gap: 0; }
