body:is(.account-screen,.md-account-checking) > :is(main,.rail,.presentation-bar) {display:none!important}
.account-screen {display:block;min-height:100vh;padding:clamp(16px,5vw,56px)}
.account-card,.account-settings {color:var(--ink,#20342a);background:#faf8f3;border:1px solid #ddd8cb;border-radius:24px;padding:clamp(16px,4vw,38px)}
.account-card {width:min(100%,760px);margin:auto}
.account-card h1 {font-size:clamp(1.6rem,5vw,2.5rem);margin:0 0 18px}
.account-card h2,.account-settings h2 {margin:20px 0 12px}
.account-card .field,.account-settings .field {margin:12px 0}
.account-buttons {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.account-buttons p:empty {display:none}
.account-business {display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #ddd8cb;padding:12px 0}
.account-business p {margin:4px 0}
.account-settings {width:min(calc(100% - 24px),680px);max-height:85vh;overflow:auto}
.account-settings details {padding:10px 0;border-bottom:1px solid #ddd8cb}
.account-settings summary {cursor:pointer;font-weight:700}

/* Login and administration only. */
body.md-account-page {
 --md-paper:#f8f5f0;--md-surface:#fffdf9;--md-text:#29221e;--md-muted:#6e625a;--md-line:#e8dfd4;
 --md-clay:#b35d43;--md-clay-dark:#93462f;--md-focus:#994a36;--md-shadow:0 12px 36px #4b30200c;
 margin:0;padding:0;min-width:0;min-height:100vh;background:var(--md-paper);color:var(--md-text);
 font-family:Inter,"Segoe UI",system-ui,sans-serif;line-height:1.5;letter-spacing:normal;
}
.md-account-shell * {box-sizing:border-box}
.md-account-shell [hidden] {display:none!important}
.md-account-shell :is(h1,h2,p) {margin:0;color:inherit;text-align:start}
.md-account-shell h1 {font-size:clamp(1.8rem,3.4vw,2.6rem);font-weight:680;letter-spacing:-.055em;line-height:1.08}
.md-account-shell h2 {font-size:1.08rem;font-weight:660;line-height:1.3;letter-spacing:-.025em}
.md-account-shell .md-account-muted {color:var(--md-muted);font-size:.91rem}
.md-account-shell button,.md-account-shell input,.md-account-shell select {font:inherit;letter-spacing:normal;min-width:0}
.md-account-shell button {cursor:pointer}
.md-account-shell button:disabled {opacity:.55;cursor:wait}
.md-account-shell :is(button,input,select):focus-visible {outline:2px solid var(--md-focus);outline-offset:3px}
.md-account-shell svg {width:19px;height:19px;flex:none}
.md-account-brand {display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:.96rem;font-weight:700;letter-spacing:-.025em}
.md-account-brand img {display:block;width:37px;height:37px;object-fit:contain;border-radius:9px}
.md-account-shell :is(.md-button,.md-icon-button,.primary) {
 appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:42px;width:auto;padding:0 13px;border:1px solid transparent;border-radius:9px;
 background:transparent;color:var(--md-text);box-shadow:none;text-transform:none;white-space:nowrap;
 font-size:.85rem;font-weight:620;transition:background .18s,border-color .18s,color .18s,box-shadow .18s;
}
.md-account-shell .md-icon-button {width:42px;padding:0}
.md-icon-button > span {display:none}
.md-account-shell :is(.md-icon-button,.md-button):hover {background:#f1e8df}
.md-account-shell :is(.md-button-accent,.primary) {background:var(--md-clay-dark);color:white;border-color:var(--md-clay-dark);box-shadow:0 3px 6px #66341e23}
.md-account-shell :is(.md-button-accent,.primary):hover {background:#7c3a28;border-color:#7c3a28}
.md-account-shell .md-button-secondary {border-color:var(--md-line);background:var(--md-surface)}
.md-account-shell .md-account-form {display:grid;gap:16px;margin:0}
.md-account-shell .md-account-form .field {display:grid;gap:7px;margin:0;color:var(--md-text);font-size:.84rem;font-weight:630;text-align:start}
.md-account-shell :is(.md-account-form input:not([type=checkbox]),.md-admin-tools input,.md-admin-tools select) {
 width:100%;min-height:45px;margin:0;padding:9px 12px;border:1px solid var(--md-line);border-radius:9px;background:var(--md-surface);
 color:var(--md-text);box-shadow:none;font-weight:450;font-size:.875rem;line-height:1.4;
}
.md-account-shell input::placeholder {color:#81756d;opacity:1}
.md-account-shell .md-form-message {color:#8d3726;font-size:.84rem}
.md-account-shell :is(.md-form-message,.md-admin-message,.md-admin-table-count):empty {display:none}

.md-account-login .md-account-shell {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:100svh;padding:16px}
.md-login-art {position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;min-height:420px;border-radius:19px;background:radial-gradient(ellipse at 68% 27%,#c47a60,transparent 56%),linear-gradient(145deg,#a85841,#773a2c);color:#f6e1d0}
.md-login-art::before {content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#fbead024 1px,transparent 1px),linear-gradient(90deg,#fbead024 1px,transparent 1px);background-size:34px 34px;mask-image:radial-gradient(ellipse,#000 10%,transparent 76%)}
.md-login-cabinet {position:relative;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:36% 64%;width:min(67%,405px);aspect-ratio:1.12;border:1px solid #f7e0c8ad;transform:perspective(850px) rotateY(-15deg) rotateX(5deg);box-shadow:13px 13px 0 #652b2129,24px 27px 0 #652b211b}
.md-login-cabinet::before,.md-login-cabinet::after {content:"";position:absolute;inset:-22px;border:1px solid #fae1ce41;pointer-events:none}
.md-login-cabinet::after {inset:-10px;border-color:#fae1ce26}
.md-login-cabinet span {position:relative;border:1px solid #f7e0c870;background:#fff1df10}
.md-login-cabinet span:nth-child(2n) {background:#69342721}
.md-login-cabinet span::after {content:"";position:absolute;top:16%;right:12%;height:25%;width:2px;background:#f5dbc5a8}
.md-login-cabinet span:nth-child(-n+3)::after {height:2px;width:23%;top:auto;bottom:13%;right:12%}
.md-login-frame {display:grid;place-items:center;padding:clamp(22px,5.5vw,80px)}
.md-login-card {width:min(100%,410px);padding:clamp(23px,3vw,40px);border:1px solid var(--md-line);border-radius:18px;background:var(--md-surface);box-shadow:var(--md-shadow);animation:md-account-enter .32s ease-out both}
.md-login-card .md-account-brand {margin-bottom:34px}
.md-login-card h1 {margin-bottom:10px}
.md-login-card > p {margin-bottom:26px}
.md-input-wrap {display:flex;align-items:center;gap:9px;padding:0 10px 0 12px;border:1px solid var(--md-line);border-radius:9px;color:var(--md-muted)}
.md-input-wrap:focus-within {border-color:var(--md-focus);box-shadow:0 0 0 3px #b35d431b}
.md-account-shell .md-password-toggle {width:36px;min-height:36px;margin-right:-5px}
.md-login-card .primary {width:100%;min-height:46px;margin-top:4px;justify-content:space-between;padding:0 15px}
@keyframes md-account-enter {from {opacity:.25;transform:translateY(7px)} to {opacity:1;transform:none}}

.md-account-admin .md-account-shell {display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100svh}
.md-account-admin .md-sidebar-collapsed {grid-template-columns:76px minmax(0,1fr)}
.md-admin-sidebar {position:sticky;top:0;display:flex;flex-direction:column;gap:22px;height:100svh;padding:19px 13px 16px;border-right:1px solid var(--md-line);background:#fcf9f4}
.md-admin-sidebar .md-account-brand {padding:0 5px;min-height:42px}
.md-admin-nav {display:grid;gap:5px}
.md-account-shell .md-side-button {width:100%;justify-content:flex-start;text-align:left;padding:0 11px;color:var(--md-muted)}
.md-account-shell .md-side-button[aria-current] {background:#f4e5da;color:#823e2a}
.md-admin-sidebar > .md-side-button {margin-top:auto}
.md-sidebar-collapsed .md-account-brand span,.md-sidebar-collapsed .md-side-button span {display:none}
.md-sidebar-collapsed .md-account-brand,.md-account-shell.md-sidebar-collapsed .md-side-button {justify-content:center;padding-inline:0}
.md-admin-shade {display:none}
.md-account-shell .md-admin-header {position:sticky;z-index:2;top:0;display:flex;justify-content:flex-start;align-items:center;gap:13px;min-height:66px;margin:0;padding:8px clamp(16px,3vw,36px);border:0;border-bottom:1px solid var(--md-line);background:#fcf9f4;color:var(--md-text);box-shadow:none;backdrop-filter:none}
.md-admin-page-label {font-size:.89rem;font-weight:620}
.md-admin-identity {margin-left:auto;display:flex;align-items:center;gap:9px;font-size:.83rem;font-weight:650}
.md-admin-avatar,.md-business-avatar {display:grid;place-items:center;width:33px;height:33px;flex:none;border-radius:9px;color:#86452f;background:#f2e3d8;font-weight:690}
.md-admin-content {max-width:1440px;margin:auto;padding:clamp(20px,4vw,46px) clamp(16px,4vw,42px)}
.md-admin-intro {display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:24px}
.md-admin-intro h1 {margin-bottom:8px}
.md-admin-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.md-admin-stat,.md-admin-table-panel {border:1px solid var(--md-line);border-radius:13px;background:var(--md-surface);box-shadow:var(--md-shadow)}
.md-admin-stat {display:grid;justify-items:start;align-content:start;gap:8px;padding:15px}
.md-admin-stat strong {font-size:clamp(1.38rem,3vw,1.9rem);line-height:1.1;font-weight:670;letter-spacing:-.035em}
.md-admin-stat .md-account-muted {font-size:.78rem}
.md-stat-icon {display:grid;place-items:center;width:33px;height:33px;margin-bottom:2px;border-radius:8px}
.md-tone-clay {background:#f5e7df;color:#944a33}
.md-tone-green {background:#e6f0e6;color:#3d674d}
.md-tone-amber {background:#f8edd7;color:#825819}
.md-tone-neutral {background:#efece7;color:#685c54}
.md-admin-table-header {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px}
.md-admin-tools {display:flex;gap:8px}
.md-admin-search {position:relative;display:block}
.md-admin-search svg {position:absolute;top:12px;left:11px;color:var(--md-muted);pointer-events:none}
.md-account-shell .md-admin-search input {padding-left:37px}
.md-account-shell .md-admin-tools :is(input,select) {min-height:42px}
.md-admin-table-space {overflow:auto}
.md-admin-table {width:100%;border-collapse:collapse;text-align:left;font-size:.85rem}
.md-admin-table th,.md-admin-table td {padding:12px 14px;border-top:1px solid var(--md-line);text-align:left;white-space:nowrap}
.md-admin-table th {font-weight:630;font-size:.76rem;color:var(--md-muted);background:#faf6f0}
.md-admin-table td {background:transparent;color:var(--md-text)}
.md-admin-table tbody tr:hover {background:#faf6f0}
.md-business-name {display:flex;align-items:center;gap:9px}
.md-admin-table td:last-child,.md-admin-table th:last-child {text-align:right}
.md-admin-table .md-button {min-height:36px}
.md-state {display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:99px;font-size:.76rem;font-weight:630}
.md-state::before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.md-state-active {background:#e7f0e7;color:#3e644b}
.md-state-expired {background:#f8ecd6;color:#805416}
.md-state-suspended {background:#f0e8e4;color:#784f43}
.md-account-shell :is(.md-admin-table-count,.md-admin-empty) {padding:13px 16px;border-top:1px solid var(--md-line);color:var(--md-muted);font-size:.82rem}
.md-account-shell .md-admin-empty {padding:32px 16px;text-align:center}
.md-account-shell .md-admin-message {margin:0 0 14px;padding:10px 12px;border:1px solid var(--md-line);border-radius:8px;background:#fffdf9;font-size:.86rem}
.md-account-shell .md-admin-dialog {position:fixed;inset:0;margin:auto;width:min(calc(100% - 26px),478px);max-height:90svh;overflow:auto;padding:22px;border:1px solid var(--md-line);border-radius:16px;background:var(--md-surface);color:var(--md-text);box-shadow:0 22px 72px #38251e3d}
.md-admin-dialog::backdrop {background:#33231e65;backdrop-filter:blur(3px)}
.md-editor-header,.md-editor-actions,.md-term-buttons {display:flex;align-items:center;gap:8px}
.md-editor-header {justify-content:space-between;margin-bottom:14px}
.md-editor-actions {justify-content:flex-end;padding-top:6px}
.md-account-shell .md-check-field {display:flex!important;flex-direction:row-reverse;justify-content:flex-end;align-items:center;min-height:35px}
.md-check-field input {width:17px;height:17px;accent-color:var(--md-clay-dark)}
@media (max-width:980px) {
 .md-admin-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
 .md-account-login .md-account-shell {grid-template-columns:minmax(0,.7fr) minmax(0,1fr)}
}
@media (max-width:720px) {
 .md-account-login .md-account-shell {grid-template-columns:minmax(0,1fr);padding:0}
 .md-login-art {display:none}
 .md-login-frame {padding:18px}
 .md-account-admin .md-account-shell {display:block}
 .md-admin-sidebar {position:fixed;z-index:10;inset:0 auto 0 0;width:min(264px,85vw);visibility:hidden;transform:translateX(-100%);transition:transform .2s,visibility .2s}
 .md-menu-open .md-admin-sidebar {visibility:visible;transform:none}
 .md-menu-open .md-admin-shade {position:fixed;z-index:9;inset:0;display:block;width:100%;height:100%;border:0;border-radius:0;background:#38251e61;box-shadow:none}
 .md-admin-intro {align-items:flex-start;flex-direction:column}
 .md-admin-tools {width:100%;flex-wrap:wrap}
 .md-admin-search {flex:1 1 130px}
 .md-admin-tools select {width:auto;max-width:100%}
}
@media (max-width:520px) {
 .md-admin-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .md-admin-table,.md-admin-table tbody,.md-admin-table tr,.md-admin-table td {display:block;width:100%}
 .md-admin-table tr {padding:8px 12px;border-top:1px solid var(--md-line)}
 .md-admin-table td {display:flex;justify-content:space-between;align-items:center;gap:9px;padding:6px 0;border:0;white-space:normal;overflow-wrap:anywhere}
 .md-admin-table td:not(:first-child,:last-child)::before {content:attr(data-label);color:var(--md-muted);font-size:.76rem}
 .md-admin-table td:last-child {justify-content:flex-end}
}
@media (prefers-reduced-motion:reduce) {
 .md-account-shell * {animation:none!important;transition:none!important}
}
/* The login wrapper draws the border and focus ring. */
.md-account-login .md-input-wrap > :is(#md-login-username,#md-login-password) {
 appearance:none;
 flex:1 1 0;
 width:0;
 min-width:0;
 min-height:46px;
 margin:0;
 padding:9px 0;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
 outline:0;
}
/* Studio's focus rules also match these inputs. Keep the ring on the wrapper. */
.md-account-login .md-input-wrap > :is(#md-login-username,#md-login-password):focus {
 outline:none!important;
}
.md-account-login .md-login-card .field > label {margin:0;color:var(--md-text);font:inherit}
.md-account-login .md-input-wrap > :is(#md-login-username,#md-login-password):-webkit-autofill {
 box-shadow:0 0 0 100px var(--md-surface) inset;
 -webkit-text-fill-color:var(--md-text);
}
.md-admin-search {width:clamp(160px,18vw,250px)}
.md-account-shell .md-admin-search input[type=search] {width:100%;padding:9px 10px 9px 37px;min-height:42px}
.md-account-shell .md-admin-tools select {width:auto;min-width:145px}
.md-login-art {background-color:var(--md-clay)}
.md-admin-search {display:flex;align-items:center;gap:8px;min-height:42px;padding:0 10px;border:1px solid var(--md-line);border-radius:9px;background:var(--md-surface)}
.md-admin-search svg {position:static}
.md-account-shell .md-admin-tools .md-admin-search input[type=search] {min-height:38px;padding:0;border:0;background:transparent;box-shadow:none;outline:0}
.md-admin-search:focus-within {border-color:var(--md-focus);box-shadow:0 0 0 3px #b35d431b}
body.md-account-drawer-open {overflow:hidden}
.md-account-shell .md-admin-retry {margin:0 16px 16px}
.md-account-shell .md-admin-identity {min-width:0}
.md-admin-identity > span:last-child {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.md-business-name strong {overflow-wrap:anywhere}
.md-admin-table td:first-child {white-space:normal}
@media (max-width:720px) {
 body.md-account-page .md-account-shell input:not([type=checkbox]),body.md-account-page .md-account-shell select,
 body.md-account-page .md-account-shell .md-admin-tools input[type=search] {font-size:16px}
 .md-account-shell .md-admin-identity {max-width:48%}
}


/* Keep the Studio input treatment out of the admin search. */
.md-account-shell .md-admin-tools .md-admin-search {
 width:clamp(192px,19vw,260px);
}
.md-account-shell .md-admin-tools .md-admin-search input[type=search] {
 appearance:none;
 flex:1 1 0;
 width:0;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
 outline:none!important;
}
.md-account-shell .md-admin-tools .md-admin-search input[type=search] {
 padding-inline:0!important;
}
@media (min-width:721px) {
 .md-account-shell .md-admin-tools .md-admin-search {min-width:192px}
}

.md-account-shell .md-admin-identity {
 margin-inline-end:clamp(12px,1.4vw,24px);
 padding:5px 11px 5px 6px;border:1px solid var(--md-line);border-radius:12px;
 background:var(--md-surface);gap:8px;
}
.md-admin-profile {display:grid;min-width:0;line-height:1.2}
.md-admin-profile strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.83rem}
.md-admin-profile small {font-size:.68rem;font-weight:500;color:var(--md-muted)}
.md-admin-avatar svg {width:17px;height:17px}
.md-account-shell .md-editor-danger {border-top:1px solid var(--md-line);padding-top:10px}
.md-account-shell .md-danger-link,.md-account-shell .md-delete-warning {color:#8a3529}
.md-account-shell .md-delete-warning {margin-top:12px;font-size:.87rem}
.md-account-shell .md-delete-button {background:#913b30;border-color:#913b30}
.md-account-shell .md-delete-button:hover {background:#783127;border-color:#783127}

/* Premium login composition. */
body.md-account-login {
 background:#f4f0e9;
 background-image:radial-gradient(ellipse at 10% 0%,#e8d8c76b,transparent 52%),radial-gradient(ellipse at 95% 100%,#eadfd073,transparent 55%);
}
.md-account-login .md-account-shell {
 width:min(1220px,100%);
 min-height:100svh;
 margin:auto;
 padding:clamp(16px,4vw,64px);
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-content:center;
 align-items:stretch;
 gap:0;
}
.md-account-login .md-login-art {
 min-height:650px;
 border-radius:24px 0 0 24px;
 background:radial-gradient(ellipse at 80% 12%,#ddbaa0,transparent 62%),linear-gradient(145deg,#b9785b,#704531);
 box-shadow:0 24px 60px #62432e10;
}
.md-account-login .md-login-art::before {
 background-size:48px 48px;
 opacity:.42;
 mask-image:linear-gradient(155deg,transparent,#000 65%,transparent);
}
.md-account-login .md-login-art::after {
 content:"";
 position:absolute;
 bottom:-7%;
 width:145%;
 height:36%;
 transform:rotate(-12deg);
 background:linear-gradient(165deg,#341d142b,transparent 76%);
 pointer-events:none;
}
.md-account-login .md-login-cabinet {
 width:66%;
 aspect-ratio:.91;
 grid-template-rows:40% 60%;
 transform:perspective(1000px) rotateY(-17deg) rotateX(3deg);
 border-color:#f4dfc999;
 background:linear-gradient(110deg,#dfb8983b,#fff2d90d);
 box-shadow:14px 17px 0 #57322024,29px 37px 40px #36201525;
}
.md-account-login .md-login-cabinet::before {
 inset:-17px;border-color:#ffead322;
}
.md-account-login .md-login-cabinet::after {
 inset:auto -15% -30px;height:1px;border:0;background:#f7dfbf38;
}
.md-account-login .md-login-cabinet span {
 border-color:#f8e4cd66;
 background:linear-gradient(95deg,#f9e3c90b,#75422b12);
}
.md-account-login .md-login-frame {
 min-width:0;
 padding:clamp(30px,4vw,64px);
 border:1px solid #e6ddd2;
 border-left:0;
 border-radius:0 24px 24px 0;
 background:#fffdf9;
 box-shadow:18px 24px 60px #62432e08;
}
.md-account-login .md-login-card {
 width:100%;
 max-width:370px;
 padding:0;
 border:0;
 border-radius:0;
 background:transparent;
 box-shadow:none;
}
.md-account-login .md-login-card .md-account-brand {
 gap:11px;
 margin-bottom:55px;
 color:#392d26;
 font-size:.95rem;
}
.md-account-login .md-login-card .md-account-brand img {
 width:39px;height:39px;border-radius:10px;
}
.md-account-login .md-login-card h1 {
 margin-bottom:13px;
 font-size:clamp(30px,3.2vw,42px);
 line-height:1.12;
 font-weight:620;
 letter-spacing:-.055em;
}
.md-account-login .md-login-card > .md-account-muted {
 max-width:290px;
 margin-bottom:33px;
 font-size:.89rem;
 line-height:1.75;
 color:#786b60;
}
.md-account-login .md-account-form {gap:21px}
.md-account-login .md-account-form .field {gap:9px}
.md-account-login .md-input-wrap {
 min-height:52px;
 padding-inline:14px 9px;
 border-color:#e1d7cd;
 border-radius:10px;
 background:#fcfaf6;
 color:#877568;
 transition:border-color .18s,box-shadow .18s,background .18s;
}
.md-account-login .md-input-wrap:hover {border-color:#bca18f}
.md-account-login .md-input-wrap:focus-within {
 border-color:#ac6348;
 background:#fffdf9;
 box-shadow:0 0 0 3px #b35d4312;
}
.md-account-login .md-input-wrap > :is(#md-login-username,#md-login-password) {min-height:50px;font-size:14px}
.md-account-login .md-account-form .field > label {font-weight:580;font-size:.8rem;color:#4a3b31}
.md-account-login .md-login-card .primary {
 min-height:51px;
 margin-top:7px;
 padding:0 17px;
 border-radius:10px;
 background:#a4563e!important;
 border-color:#a4563e!important;
 box-shadow:0 2px 3px #63351e14,0 5px 12px #63351e0d!important;
 font-size:.89rem;
}
.md-account-login .md-login-card .primary:hover {
 background:#8d4632!important;
 border-color:#8d4632!important;
 box-shadow:0 4px 13px #63351e24!important;
}
.md-account-login .md-form-message:not(:empty) {
 padding:11px 13px;
 border:1px solid #edd3c8;
 border-radius:8px;
 background:#fcf1eb;
 line-height:1.6;
}
@media (max-width:900px) {
 .md-account-login .md-account-shell {padding:24px;grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
 .md-account-login .md-login-frame {padding:32px}
 .md-account-login .md-login-art {min-height:600px}
}
@media (max-width:720px) {
 .md-account-login .md-account-shell {grid-template-columns:minmax(0,1fr);padding:24px 18px}
 .md-account-login .md-login-art {display:none}
 .md-account-login .md-login-frame {
  min-height:570px;padding:36px clamp(24px,7vw,48px);
  border:1px solid #e6ddd2;border-radius:22px;
  box-shadow:0 18px 45px #62432e0c;
 }
 .md-account-login .md-login-card {max-width:370px}
 .md-account-login .md-login-card .md-account-brand {margin-bottom:44px}
 .md-account-login .md-input-wrap > :is(#md-login-username,#md-login-password) {font-size:16px}
}
@media (max-width:380px) {
 .md-account-login .md-account-shell {padding:14px 12px}
 .md-account-login .md-login-frame {padding:28px 22px;min-height:550px}
 .md-account-login .md-login-card h1 {font-size:30px}
}

/* Login motion respects the operating system's reduced-motion setting. */
.md-account-login .md-login-card {animation:md-login-reveal .55s cubic-bezier(.2,.65,.3,1) both}
.md-account-login .md-login-art {animation:md-login-art-reveal .7s ease-out both}
.md-account-login .md-login-card .md-account-brand,
.md-account-login .md-login-card h1,
.md-account-login .md-login-card > p,
.md-account-login .md-account-form .field,
.md-account-login .md-account-form > .primary {
 animation:md-login-reveal .5s cubic-bezier(.2,.65,.3,1) both;
}
.md-account-login .md-login-card h1 {animation-delay:50ms}
.md-account-login .md-login-card > p {animation-delay:90ms}
.md-account-login .md-account-form .field:first-child {animation-delay:120ms}
.md-account-login .md-account-form .field:nth-child(2) {animation-delay:160ms}
.md-account-login .md-account-form > .primary {animation-delay:200ms}
.md-account-login .md-login-card .primary {
 transition:background-color .18s,border-color .18s,box-shadow .18s,translate .18s;
}
@media (hover:hover) {
 .md-account-login .md-login-card .primary:not(:disabled):hover {translate:0 -1px}
 .md-account-login .md-login-card .primary:not(:disabled):hover > svg {transform:translateX(3px)}
}
.md-account-login .md-login-card .primary > svg {transition:transform .18s}
.md-account-login .md-login-card .primary:not(:disabled):active {translate:0 1px}
.md-account-login .md-account-form[aria-busy=true] .primary > svg {display:none}
.md-account-login .md-account-form[aria-busy=true] .primary::after {
 content:"";width:16px;height:16px;border:2px solid #ffffff55;border-top-color:white;border-radius:50%;
 animation:md-login-spin .7s linear infinite;
}
.md-account-login .md-account-form[aria-busy=true] .primary {opacity:.85;cursor:wait}
@keyframes md-login-reveal {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes md-login-art-reveal {from{opacity:.5}to{opacity:1}}
@keyframes md-login-spin {to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce) {
 .md-account-login .md-account-shell * {animation:none!important;transition:none!important;translate:none!important}
 .md-account-login .md-account-form[aria-busy=true] .primary::after {border-style:dotted}
}


/* Photographic atelier login. */
.md-account-login .md-account-shell {width:min(1390px,100%);padding:clamp(18px,4vw,64px);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.md-account-login .md-login-art {
 min-height:700px;
 background:#77543b url('./public/assets/login-slides/00-kitchen-desktop-e375752b4780.webp') center center / cover no-repeat;
}
.md-account-login .md-login-cabinet {display:none}
.md-account-login .md-login-art::before {
 background:linear-gradient(180deg,transparent 65%,#7f3c2426);
 opacity:1;mask-image:none;
}
.md-account-login .md-login-art::after {display:none}
.md-account-login .md-login-frame {padding:clamp(38px,5vw,80px)}
.md-account-login .md-login-card {max-width:405px}
.md-account-login .md-login-card .md-account-brand {margin-bottom:52px;font-size:1.12rem;letter-spacing:-.04em;gap:13px}
.md-account-login .md-login-card .md-account-brand img {width:52px;height:52px;border-radius:13px}
.md-account-login .md-login-card h1 {font-size:clamp(34px,3.4vw,48px);font-weight:650}
.md-account-login .md-login-card > .md-account-muted {max-width:340px;font-size:.94rem;margin-bottom:35px}
.md-account-login .md-login-card .primary {justify-content:center;gap:13px;min-height:54px;font-size:.95rem}
.md-account-login .md-account-form[aria-busy=true] .primary {justify-content:space-between}
@media (max-width:1000px) {
 .md-account-login .md-account-shell {padding:24px;grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}
 .md-account-login .md-login-frame {padding:34px}
 .md-account-login .md-login-art {min-height:640px}
}
@media (max-width:720px) {
 .md-account-login .md-account-shell {padding:20px 16px;grid-template-columns:minmax(0,1fr)}
 .md-account-login .md-login-art {display:none}
 .md-account-login .md-login-frame {padding:40px clamp(23px,7vw,48px);min-height:600px}
 .md-account-login .md-login-card .md-account-brand {margin-bottom:43px;font-size:1rem}
 .md-account-login .md-login-card h1 {font-size:36px}
}
@media (max-width:380px) {
 .md-account-login .md-account-shell {padding:14px 12px}
 .md-account-login .md-login-frame {padding:30px 22px;min-height:570px}
 .md-account-login .md-login-card h1 {font-size:32px}
}


/* Architectural brand identity. */
.md-account-brand .md-wordmark {display:grid;gap:5px;line-height:1}
.md-account-brand .md-wordmark-name {
 font-family:"Instrument Serif",Georgia,serif;font-size:28px;font-weight:400;
 letter-spacing:-.045em;color:#332b25;
}
.md-account-brand .md-wordmark-detail {
 font-family:Inter,"Segoe UI",sans-serif;font-size:9px;font-weight:550;
 letter-spacing:.35em;color:#82705e;padding-left:2px;
}
.md-account-login .md-login-card .md-account-brand {
 gap:16px;margin-bottom:48px;padding-bottom:26px;border-bottom:1px solid #e9dfd3;
 align-items:center;
}
.md-account-login .md-login-card .md-account-brand img {
 width:56px;height:56px;border-radius:15px;box-shadow:0 5px 12px #34291d12;
}
.md-account-login .md-login-card .md-wordmark-name {font-size:37px}
.md-account-login .md-login-card .md-wordmark-detail {font-size:10px;letter-spacing:.39em}
.md-account-login .md-login-card h1 {font-weight:560;letter-spacing:-.055em;font-size:clamp(34px,3.1vw,44px)}
.md-account-login .md-login-frame {background:#fffdf8}
.md-account-login .md-login-card .primary {
 background:#44362b!important;border-color:#44362b!important;
 box-shadow:0 4px 12px #34291d17!important;
}
.md-account-login .md-login-card .primary:hover {
 background:#614835!important;border-color:#614835!important;
}
.md-admin-sidebar .md-account-brand .md-wordmark-name {font-size:24px}
.md-admin-sidebar .md-account-brand .md-wordmark-detail {font-size:8px}
.md-account-login .md-login-art {
 animation:md-atelier-arrive 1.15s cubic-bezier(.16,1,.3,1) both;
 transform-origin:right center;
}
.md-account-login .md-login-art::before {
 background:linear-gradient(110deg,#fff4dd00 28%,#fff4dd30 45%,#fff4dd00 62%);
 background-size:250% 100%;animation:md-atelier-light 1.8s ease-out both;
}
.md-account-login .md-login-card {animation:md-form-arrive .85s cubic-bezier(.16,1,.3,1) both}
.md-account-login .md-login-card .md-account-brand {animation-delay:100ms}
.md-account-login .md-login-card h1 {animation-delay:180ms}
.md-account-login .md-login-card > p {animation-delay:250ms}
.md-account-login .md-account-form .field:first-child {animation-delay:320ms}
.md-account-login .md-account-form .field:nth-child(2) {animation-delay:390ms}
.md-account-login .md-account-form > .primary {animation-delay:460ms}
@keyframes md-atelier-arrive {
 from{opacity:0;transform:translateX(-20px);filter:saturate(.65)}
 to{opacity:1;transform:none;filter:saturate(1)}
}
@keyframes md-form-arrive {from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes md-atelier-light {from{background-position:100% 0}to{background-position:0 0}}
@media (max-width:720px) {
 .md-account-login .md-login-card .md-account-brand {margin-bottom:34px;padding-bottom:23px}
 .md-account-login .md-login-card .md-wordmark-name {font-size:34px}
}
@media (prefers-reduced-motion:reduce) {
 .md-account-login .md-account-shell *,.md-account-login .md-login-art::before {animation:none!important;transition:none!important}
}

.md-account-brand .md-wordmark-name {
 font-family:Inter,"Segoe UI",system-ui,sans-serif;
 font-weight:650;
 letter-spacing:-.045em;
}
.md-account-login .md-login-card .md-wordmark-name {font-size:29px}
.md-account-login .md-login-card .md-wordmark-detail {font-size:9px;letter-spacing:.3em}
@media(max-width:380px) {
 .md-account-login .md-login-card .md-wordmark-name {font-size:26px}
}


/* Administration follows the walnut, ivory and bronze identity of the login. */
body.md-account-admin {
 --md-paper:#f5f1eb;--md-surface:#fffdf8;--md-text:#342c25;
 --md-muted:#75675a;--md-line:#e6ddd2;--md-clay-dark:#44362b;
 --md-focus:#95694c;--md-shadow:0 6px 22px #50351e06;
 background:var(--md-paper);
}
.md-account-admin .md-admin-sidebar {
 background:#fbf8f2;
 border-color:#e6ddd2;
 padding:24px 14px 18px;
 gap:32px;
}
.md-account-admin .md-admin-sidebar .md-account-brand {
 gap:11px;min-height:48px;padding-inline:7px;
}
.md-account-admin .md-account-brand img {border-radius:11px;width:39px;height:39px}
.md-account-admin .md-admin-sidebar .md-wordmark-name {font-size:25px;font-weight:650}
.md-account-admin .md-admin-sidebar .md-wordmark-detail {font-size:8px;letter-spacing:.32em}
.md-account-admin .md-side-button {
 min-height:46px;border-radius:10px;font-size:.85rem;
 transition:background .18s,color .18s;
}
.md-account-admin .md-side-button[aria-current] {
 background:#eae0d4;color:#44362b;border:1px solid #e2d5c6;
}
.md-account-admin .md-admin-header {
 min-height:76px;
 background:#fbf8f2;
 padding-block:12px;
}
.md-account-admin .md-admin-identity {
 padding:6px 12px 6px 6px;border-radius:12px;background:#fffdf8;
}
.md-account-admin .md-admin-avatar {
 background:#44362b;color:#f4e5ce;
}
.md-account-admin .md-admin-content {
 padding:clamp(24px,4vw,52px) clamp(18px,3.3vw,46px);
}
.md-account-admin .md-admin-intro {margin-bottom:30px;align-items:center}
.md-account-admin .md-admin-intro h1 {
 font-size:clamp(28px,3vw,38px);font-weight:600;letter-spacing:-.05em;margin-bottom:11px;
}
.md-account-admin .md-admin-intro .md-account-muted {font-size:.89rem;line-height:1.6}
.md-account-admin .md-button-accent,
.md-account-admin .md-admin-dialog .primary:not(.md-delete-button) {
 background:#44362b;border-color:#44362b;box-shadow:0 3px 7px #44362b12;
 min-height:44px;border-radius:10px;
}
.md-account-admin .md-button-accent:hover,
.md-account-admin .md-admin-dialog .primary:not(.md-delete-button):hover {
 background:#644934;border-color:#644934;
}
.md-account-admin .md-admin-stats {gap:15px;margin-bottom:27px}
.md-account-admin .md-admin-stat {
 padding:21px;gap:12px;position:relative;border-radius:15px;
 box-shadow:0 4px 16px #49301e05;
 transition:border-color .18s,box-shadow .18s;
}
.md-account-admin .md-admin-stat:hover {border-color:#cdb8a3;box-shadow:0 7px 20px #49301e0b}
.md-account-admin .md-admin-stat strong {font-weight:580;font-size:34px;font-variant-numeric:tabular-nums}
.md-account-admin .md-admin-stat .md-account-muted {font-size:.81rem}
.md-account-admin .md-stat-icon {width:35px;height:35px;border-radius:10px;margin-bottom:0}
.md-account-admin .md-tone-clay {background:#eee3d6;color:#78543b}
.md-account-admin .md-tone-neutral {background:#eeeae3;color:#6c6055}
.md-account-admin .md-admin-table-panel {border-radius:16px;overflow:hidden;box-shadow:0 7px 24px #49301e05}
.md-account-admin .md-admin-table-header {padding:22px;gap:15px}
.md-account-admin .md-admin-table-header h2 {font-size:1rem;letter-spacing:-.025em;font-weight:620}
.md-account-admin .md-admin-tools {gap:10px;max-width:100%}
.md-account-admin .md-admin-search {background:#fbf8f3;border-radius:9px}
.md-account-admin .md-admin-tools select {background:#fffdf8;border-color:#e6ddd2}
.md-account-admin .md-admin-table th {padding:13px 22px;background:#f9f5ee;color:#796b5d;font-weight:560}
.md-account-admin .md-admin-table td {padding:18px 22px;font-size:.86rem}
.md-account-admin .md-business-name {gap:12px}
.md-account-admin .md-business-name strong {font-weight:600}
.md-account-admin .md-business-avatar {background:#eee4d8;color:#78543b;width:36px;height:36px;border-radius:10px}
.md-account-admin .md-state {padding:4px 9px;font-weight:550}
.md-account-admin .md-button-secondary {border-radius:8px;min-height:38px}
.md-account-admin .md-admin-table-count {padding:15px 22px;background:#fdfaf4}
.md-account-admin .md-admin-dialog {padding:28px;border-radius:19px;background:#fffdf8}
.md-account-admin .md-editor-header {margin-bottom:24px}
.md-account-admin .md-editor-header h2 {font-size:1.2rem;font-weight:610}
.md-account-admin .md-account-form {gap:18px}
.md-account-admin .md-account-form .field {font-weight:550;font-size:.82rem;gap:8px}
.md-account-admin .md-account-form input:not([type=checkbox]) {
 min-height:47px;background:#fcfaf6;border-radius:9px;border-color:#e1d7cd;
}
.md-account-admin .md-term-buttons {gap:8px}
.md-account-admin .md-editor-actions {border-top:1px solid #e6ddd2;padding-top:18px;flex-wrap:wrap}
.md-account-admin .md-admin-message {border-radius:10px;line-height:1.6}
.md-account-admin .md-admin-stats,.md-account-admin .md-admin-table-panel {
 animation:md-admin-arrive .38s ease-out both;
}
.md-account-admin .md-admin-table-panel {animation-delay:70ms}
@keyframes md-admin-arrive {from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:980px) {
 .md-account-admin .md-admin-stat {padding:18px}
 .md-account-admin .md-admin-table-header {padding:18px}
}
@media(max-width:720px) {
 .md-account-admin .md-admin-sidebar {padding:20px 14px}
 .md-account-admin .md-admin-header {min-height:68px;padding-inline:14px;gap:9px}
 .md-account-admin .md-admin-content {padding:25px 16px}
 .md-account-admin .md-admin-intro {align-items:flex-start;gap:18px}
 .md-account-admin .md-admin-identity {margin-inline-end:0}
 .md-account-admin .md-admin-stats {gap:10px;margin-bottom:20px}
 .md-account-admin .md-admin-stat {padding:15px;gap:11px}
 .md-account-admin .md-admin-stat strong {font-size:29px}
 .md-account-admin .md-admin-tools {flex-direction:column;align-items:stretch}
 .md-account-admin .md-admin-tools .md-admin-search {width:100%;flex:auto}
 .md-account-admin .md-admin-tools select {width:100%;max-width:100%}
 .md-account-admin .md-admin-dialog {padding:22px;max-height:90svh}
}
@media(max-width:520px) {
 .md-account-admin .md-admin-table td {padding:7px 0}
 .md-account-admin .md-admin-table tr {padding:13px 16px}
 .md-account-admin .md-admin-table td:first-child {margin-bottom:7px}
}
@media(prefers-reduced-motion:reduce) {
 .md-account-admin .md-account-shell * {animation:none!important;transition:none!important}
}

/* Quiet luxury motion: transform and opacity only. */
body.md-account-login {position:relative;isolation:isolate}
body.md-account-login::before {
 content:"";position:fixed;z-index:-1;inset:-15%;pointer-events:none;
 background:radial-gradient(ellipse at 20% 25%,#c8a98d21,transparent 56%),radial-gradient(ellipse at 80% 75%,#ead6b629,transparent 56%);
 animation:md-ambient-drift 24s ease-in-out infinite alternate;
}
.md-account-login .md-account-shell {
 animation:md-page-entrance 700ms cubic-bezier(.2,.65,.3,1) both;
}
.md-account-login .md-login-card {animation:none}
.md-account-login .md-login-art {
 animation:md-photo-entrance 700ms ease-out both;
}
.md-login-photo-layer {position:absolute;inset:-12px;z-index:-1;transition:transform .45s cubic-bezier(.2,.6,.3,1);pointer-events:none}
.md-login-photo {position:absolute;inset:0;background-size:cover;background-position:center;animation:md-cinematic-zoom 24s ease-in-out infinite alternate}
.md-account-login .md-login-art::before {z-index:0;pointer-events:none}
.md-account-login .md-login-card :is(.md-account-brand,h1),
.md-account-login .md-login-card > p,
.md-account-login .md-account-form > :is(.field,.primary) {
 animation-name:md-login-reveal;animation-duration:700ms;animation-timing-function:cubic-bezier(.2,.65,.3,1);
}
.md-account-login .md-login-card .md-account-brand {animation-delay:60ms}
.md-account-login .md-login-card h1 {animation-delay:120ms}
.md-account-login .md-login-card > p {animation-delay:180ms}
.md-account-login .md-account-form .field:first-child {animation-delay:240ms}
.md-account-login .md-account-form .field:nth-child(2) {animation-delay:300ms}
.md-account-login .md-account-form > .primary {animation-delay:360ms}
.md-account-login .md-input-wrap {transition:border-color .22s,box-shadow .22s,background-color .22s}
.md-account-login .md-password-toggle {border-radius:7px;transition:background-color .18s,color .18s}
.md-account-login .md-password-toggle[aria-pressed=true] {color:#7e4d32;background:#f0e6da}
.md-account-login .md-form-message:not(:empty) {animation:md-feedback-arrive .25s ease-out both}
.md-account-login .md-login-error .md-input-wrap:has([aria-invalid=true]) {border-color:#ad6050}
.md-account-login .md-login-success .primary {background:#42634c!important;border-color:#42634c!important}
.md-account-login .md-login-success .primary::after {display:none}
.md-account-login .md-login-success .primary > svg {display:block!important}
html.md-auth-transition {background:#f5f1eb}
html.md-auth-transition::view-transition-old(root) {animation:md-auth-out 500ms cubic-bezier(.4,0,.2,1) both}
html.md-auth-transition::view-transition-new(root) {animation:md-auth-in 500ms cubic-bezier(.2,.65,.3,1) both}
.md-account-arriving .md-admin-sidebar,
.md-account-arriving .md-admin-header,
.md-account-arriving .md-admin-intro,
.md-account-arriving .md-admin-stat,
.md-account-arriving .md-admin-table-panel {animation:md-dashboard-arrive .6s ease-out both}
.md-account-arriving .md-admin-header {animation-delay:50ms}
.md-account-arriving .md-admin-intro {animation-delay:90ms}
.md-account-arriving .md-admin-stat:nth-child(1) {animation-delay:130ms}
.md-account-arriving .md-admin-stat:nth-child(2) {animation-delay:170ms}
.md-account-arriving .md-admin-stat:nth-child(3) {animation-delay:210ms}
.md-account-arriving .md-admin-stat:nth-child(4) {animation-delay:250ms}
.md-account-arriving .md-admin-table-panel {animation-delay:290ms}
@keyframes md-page-entrance {from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@keyframes md-photo-entrance {from{opacity:.35}to{opacity:1}}
@keyframes md-ambient-drift {from{transform:translate3d(-1%,0,0)}to{transform:translate3d(1%,2%,0)}}
@keyframes md-cinematic-zoom {from{transform:scale(1)}to{transform:scale(1.055)}}
@keyframes md-feedback-arrive {from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@keyframes md-auth-out {to{opacity:0;transform:scale(.985)}}
@keyframes md-auth-in {from{opacity:0}to{opacity:1}}
@keyframes md-dashboard-arrive {from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media(max-width:720px),(pointer:coarse) {
 body.md-account-login::before {animation:none}
 .md-login-photo {animation:none}
 .md-login-photo-layer {transform:none!important;transition:none}
}
@media(prefers-reduced-motion:reduce) {
 body.md-account-login::before,
 .md-account-login .md-account-shell,
 .md-account-login .md-account-shell *,
 .md-account-arriving * {animation:none!important;transition:none!important;transform:none!important}
 html.md-auth-transition::view-transition-old(root),
 html.md-auth-transition::view-transition-new(root) {animation:none!important}
}

/* Six local interior photographs share two decoded image slots. */
.md-account-login .md-login-slide {position:absolute;inset:0;opacity:0;transition:opacity 1.5s ease-in-out;overflow:hidden}
.md-account-login .md-login-slide.is-visible {opacity:1}
.md-account-login .md-login-slide img {display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1)}
.md-account-login .md-login-slide[data-animated=true] img {animation:md-slide-zoom 7.5s linear both}
.md-account-login .md-login-slider-controls {
 position:absolute;z-index:3;bottom:24px;left:24px;right:24px;display:flex;align-items:center;gap:12px;
 padding:5px 10px;border:1px solid #ffffff30;border-radius:12px;background:#2c211d66;backdrop-filter:blur(10px);
}
.md-account-login .md-login-slide-dots {display:flex;align-items:center;gap:7px;flex:1;min-width:0}
.md-account-login .md-login-slide-dot {
 display:grid;place-items:center;flex:1;min-width:0;min-height:34px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:5px;
}
.md-account-login .md-login-slide-dot > span {position:relative;display:block;width:100%;height:2px;overflow:hidden;background:#fff6;border-radius:4px}
.md-account-login .md-login-slide-dot[aria-current=true] > span {background:#fff}
.md-account-login .md-login-slider-controls[data-running=true] .md-login-slide-dot[aria-current=true] > span {background:#fff5}
.md-account-login .md-login-slider-controls[data-running=true] .md-login-slide-dot[aria-current=true] > span::after {
 content:"";position:absolute;inset:0;background:#fff;transform-origin:left;animation:md-slide-progress 6s linear both;
}
.md-account-login .md-login-slider-pause {width:34px;min-height:34px;border:0;border-radius:7px;background:transparent;color:#fff;font-size:16px;cursor:pointer}
.md-account-login .md-login-slider-pause:hover {background:#ffffff20}
.md-account-login .md-login-slider-pause:disabled {opacity:.5;cursor:default}
.md-account-login .md-login-slider-controls button:focus-visible {outline:2px solid white!important;outline-offset:2px}
@keyframes md-slide-zoom {from{transform:scale(1)}to{transform:scale(1.055)}}
@keyframes md-slide-progress {from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (max-width:720px) {
 .md-account-login .md-account-shell {align-content:center}
 .md-account-login .md-login-art {display:block;min-height:0;height:190px;border-radius:22px 22px 0 0}
 .md-account-login .md-login-frame {border-left:1px solid #e6ddd2;border-radius:0 0 22px 22px;min-height:0;padding-block:30px}
 .md-account-login .md-login-photo-layer {inset:0}
 .md-account-login .md-login-slide img {object-position:center 55%}
 .md-account-login .md-login-slider-controls {left:16px;right:16px;bottom:12px;backdrop-filter:none}
 .md-account-login .md-login-slide[data-animated=true] img {animation:none}
 .md-account-login .md-login-card .md-account-brand {margin-bottom:26px;padding-bottom:20px}
}
@media (prefers-reduced-motion:reduce) {
 .md-account-login .md-login-slide {transition:none!important}
 .md-account-login .md-login-slide img,
 .md-account-login .md-login-slide-dot > span::after {animation:none!important}
}

.md-account-login .md-login-slider-controls {
 left:24px;right:24px;bottom:20px;padding:2px 8px 2px 12px;gap:12px;
 background:#261c164d;border-color:#ffffff26;border-radius:10px;
}
.md-account-login .md-login-slide-dots {gap:8px}
.md-account-login .md-login-slider-pause {
 display:grid;place-items:center;flex:0 0 32px;width:32px;min-width:32px;height:32px;min-height:32px;
 padding:0;line-height:1;
}
.md-account-login .md-login-slider-pause svg {display:block;width:17px;height:17px;flex:none}
.md-account-login .md-login-slide-dot {min-height:32px}
@media(max-width:720px) {
 .md-account-login .md-login-slider-controls {left:14px;right:14px;bottom:10px}
}

/* Authentication pages share the existing login shell and local photography. */
.md-account-login .md-login-options {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.md-account-login .md-auth-checkbox {display:flex;align-items:flex-start;gap:9px;font-size:.79rem;line-height:1.6;color:#65564a;cursor:pointer}
.md-account-login .md-auth-checkbox input {flex:none;width:17px;height:17px;min-height:17px;margin:3px 0 0;accent-color:#78523a}
.md-account-login .md-auth-link {display:inline-flex;align-items:center;min-height:36px;color:#70503a;text-decoration:underline;text-decoration-color:#ad927970;text-underline-offset:4px;font-size:.8rem;font-weight:560;border-radius:4px}
.md-account-login .md-auth-link:hover {color:#35291f;text-decoration-color:currentColor}
.md-account-login .md-auth-link:focus-visible {outline:2px solid #95694c;outline-offset:3px}
.md-account-login .md-auth-navigation {display:flex;align-items:center;gap:5px;margin-top:23px;padding-top:17px;border-top:1px solid #e8ddd0;font-size:.8rem;color:#796a5c;flex-wrap:wrap}
.md-account-login .md-auth-consent {margin-top:4px}
.md-account-login .md-auth-consent a {color:#70503a;text-underline-offset:3px}
.md-account-login .md-password-strength {display:flex;gap:10px;align-items:center;margin-top:-10px;font-size:.73rem;color:#796a5c}
.md-account-login .md-password-strength meter {width:70px;height:6px;flex:none}
.md-account-login .md-auth-success {display:grid;gap:17px;padding:20px 0;color:#42634c;line-height:1.7;font-size:.9rem}
.md-account-login .md-auth-success > svg {width:27px;height:27px}
.md-account-login .md-login-card .primary {transition:background-color .25s,border-color .25s,box-shadow .25s,translate .25s}
@media(hover:hover) {
 .md-account-login .md-login-card .primary:not(:disabled):hover {translate:0 -2px}
 .md-account-login .md-login-slider-pause {opacity:0;transition:opacity .2s,background-color .2s}
 .md-account-login .md-login-art:hover .md-login-slider-pause,
 .md-account-login .md-login-slider-controls:focus-within .md-login-slider-pause {opacity:1}
}
.md-account-login .md-login-slide-dot {min-height:44px}
.md-account-login .md-login-slider-pause {width:44px;min-width:44px;flex-basis:44px;height:44px;min-height:44px}
.md-account-login .md-login-slider-controls {padding-block:0;background:#261c163d;border-color:#ffffff20;backdrop-filter:blur(6px)}
.md-account-login .md-slider-paused .md-login-photo,
.md-account-login .md-slider-paused .md-login-slide img,
.md-account-login.md-auth-tab-hidden::before {animation-play-state:paused!important}
.md-account-admin .md-state-pending {color:#67512c;background:#eee5d4}
.md-account-login .md-account-shell[data-auth-mode=register] .md-login-card {padding-block:10px}
.md-account-login .md-account-shell[data-auth-mode=register] .md-account-brand {margin-bottom:24px;padding-bottom:18px}
.md-account-login .md-account-shell[data-auth-mode=register] .md-account-form {gap:15px}
.md-account-login .md-account-shell[data-auth-mode=register] .md-login-card > p {margin-bottom:22px}
.md-account-login .md-input-wrap > input {font-size:16px!important}
@media(max-width:720px) {
 .md-account-login .md-auth-link {min-height:44px}
 .md-account-login .md-login-slider-pause {opacity:1}
 .md-account-login .md-login-art {height:clamp(130px,23svh,175px)}
 .md-account-login .md-account-shell {padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}
 .md-account-login .md-login-frame {padding-block:26px}
 .md-account-login .md-login-slider-controls {backdrop-filter:none}
 .md-account-login .md-account-shell[data-auth-mode=register] .md-login-art {height:130px}
}
@media(prefers-reduced-motion:reduce) {
 .md-account-login .md-login-slider-pause {transition:none}
}

.md-account-login.md-auth-tab-hidden .md-account-shell *,
.md-account-login.md-auth-tab-hidden .md-login-slide-dot > span::after {animation-play-state:paused!important}
.md-account-login .md-login-options .md-auth-checkbox {min-height:44px;align-items:center}
.md-account-login .md-auth-navigation .md-auth-link {min-height:44px}

/* Subscription management shares the existing authentication palette. */
.md-account-subscription{min-height:100dvh;background:#f8f5f0;color:#352c25;padding:24px max(24px,env(safe-area-inset-right)) 48px max(24px,env(safe-area-inset-left));}
.md-subscription{width:min(1040px,100%);margin:auto;font-family:Inter,system-ui,sans-serif;}
.md-subscription-header,.md-subscription-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.md-subscription-intro{text-align:center;margin:64px auto 32px;max-width:650px;}
.md-subscription-intro h1{font-size:clamp(32px,5vw,52px);letter-spacing:-.045em;line-height:1.1;margin:18px 0;}
.md-subscription-eyebrow{font-size:11px;letter-spacing:.18em;color:#8a6c58;}
.md-pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0;}
.md-pricing-card{background:#fffdf9;border:1px solid #e7ddd2;border-radius:24px;padding:32px;box-shadow:0 18px 50px #49352808;transition:transform .25s,box-shadow .25s;}
.md-pricing-card.is-featured{border-color:#97705a;background:#f3ece3;}
.md-pricing-card h2{font-size:24px;margin:24px 0 12px;}
.md-pricing-card p{line-height:1.65;}
.md-pricing-badge{font-size:12px;color:#7b5944;}
.md-pricing-amount strong{font-size:clamp(32px,4vw,44px);letter-spacing:-.04em;}
.md-pricing-amount span{color:#827468;}
.md-pricing-card button{width:100%;margin-top:24px;background:#513b2c;color:#fffdf9;border:0;border-radius:12px;min-height:48px;}
.md-subscription button,.md-subscription a{min-height:44px;}
.md-subscription-overview{border:1px solid #e5dbd0;border-radius:16px;padding:20px 24px;background:#fffdf9;}
.md-subscription-overview h2{font-size:18px;}
.md-subscription-note{text-align:center;color:#756b60;font-size:13px;margin:24px 0;}
.md-subscription-security{margin-top:32px;max-width:440px;}
.md-subscription-security summary{cursor:pointer;padding:16px 0;}
.md-subscription-control{white-space:normal;font-size:12px;}
@media(hover:hover){.md-pricing-card:hover{transform:translateY(-3px);box-shadow:0 24px 60px #49352812;}}
@media(max-width:640px){.md-pricing-grid{grid-template-columns:1fr;gap:16px;}.md-pricing-card{padding:24px;}.md-subscription-intro{margin-top:36px;}.md-account-subscription{padding:20px 16px 40px;}.md-subscription-actions{align-items:stretch;}.md-subscription-actions>*{max-width:100%;}}
@media(prefers-reduced-motion:reduce){.md-pricing-card{transition:none;}.md-pricing-card:hover{transform:none;}}

body.md-account-login .md-account-shell .md-input-wrap input[type=tel],
body.md-account-login .md-account-shell .md-input-wrap input[type=tel]:focus,
body.md-account-login .md-account-shell .md-input-wrap input[type=tel]:focus-visible{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:0!important;min-width:0;width:100%;}
.md-account-subscription .md-account-shell{display:block;width:100%;}
.md-account-subscription .md-subscription-header{position:static;background:none;border:0;box-shadow:none;padding:0;margin:0;}
.md-account-subscription .md-subscription-intro h1{font-size:clamp(32px,5vw,52px);text-align:center;margin:18px 0;}
.md-account-subscription .md-subscription-intro p{text-align:center;line-height:1.6;}
.md-account-subscription .md-pricing-card h2{font-size:24px;margin:24px 0 12px;}
.md-account-subscription .md-pricing-card p{margin:12px 0;}
.md-account-subscription .md-pricing-amount strong{font-size:clamp(32px,4vw,44px);}
.md-account-subscription .md-subscription-overview p{margin-top:8px;}
.md-account-subscription .md-subscription-note{margin:24px 0;text-align:center;}
.md-account-subscription .md-pricing-card .primary{background:#513b2c;}

body.md-account-subscription .md-account-shell .md-pricing-card button.primary{width:100%;min-height:48px;margin-top:24px;background:#513b2c;border-radius:12px;justify-content:center;}
body.md-account-subscription .md-account-shell .md-subscription-actions a{color:#684b37;display:inline-flex;align-items:center;}
@media(prefers-reduced-motion:no-preference){
 .md-subscription-intro,.md-subscription-overview,.md-pricing-card{animation:md-subscription-reveal .6s cubic-bezier(.2,.7,.3,1) both;}
 .md-subscription-overview{animation-delay:.08s;}.md-pricing-card{animation-delay:.14s;}.md-pricing-card.is-featured{animation-delay:.21s;}
}
@keyframes md-subscription-reveal{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}

/* Keep subscription content independent of global Studio main/header rules. */
body.md-account-subscription{padding:0!important;}
body.md-account-subscription .md-account-shell > main.md-subscription{
 display:block;float:none;width:min(1120px,100%);max-width:1120px;min-width:0;margin:0 auto!important;
 padding:28px max(24px,env(safe-area-inset-right)) max(44px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
}
body.md-account-subscription .md-account-shell .md-subscription-header{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:48px;}
body.md-account-subscription .md-subscription-header .md-account-brand{margin:0;padding:0;border:0;}
body.md-account-subscription .md-account-shell .md-subscription-feedback:empty{display:none;}
body.md-account-subscription .md-account-shell .md-subscription-feedback:not(:empty){margin:0 0 20px;padding:14px 18px;border:1px solid #dcc4b6;border-radius:12px;background:#f3e8df;color:#754c38;line-height:1.6;}
body.md-account-subscription .md-account-shell .md-subscription-feedback button{margin-left:12px;}
body.md-account-subscription .md-account-shell .md-subscription-notice{padding-top:14px;margin-top:16px;border-top:1px solid #e7ddd2;color:#7a6250;line-height:1.6;}
body.md-account-subscription .md-account-shell button:disabled{cursor:default;opacity:.55;}
body.md-account-subscription .md-account-shell .md-subscription-overview{min-height:126px;}
body.md-account-subscription .md-account-shell .md-subscription-overview p{line-height:1.6;}
body.md-account-subscription .md-account-shell .md-subscription-actions{justify-content:flex-start;gap:12px;}
body.md-account-subscription .md-subscription-header .md-subscription-actions{margin-left:auto;}
body.md-account-subscription .md-account-shell .md-subscription-actions button{min-height:44px;padding:10px 16px;}
body.md-account-subscription .md-account-shell .md-subscription-security input{min-width:0;width:100%;}
@media(max-width:640px){body.md-account-subscription .md-account-shell > main.md-subscription{padding:20px max(16px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));}}

/* Fit the authentication shell to the viewport while allowing genuine content scroll. */
body.md-account-login .md-account-shell{
 box-sizing:border-box;min-height:100svh;min-height:100dvh;
 padding:clamp(16px,3svh,40px) clamp(16px,3vw,48px);
}
body.md-account-login .md-login-art{min-height:min(700px,calc(100svh - 2 * clamp(16px,3svh,40px)));}
body.md-account-login .md-login-frame{padding:clamp(28px,3.6svh,48px) clamp(28px,3.5vw,56px);}
body.md-account-login .md-login-options a,
body.md-account-login .md-login-options a:visited{color:#70503a;text-decoration-color:#ad927970;font-size:.8rem;font-weight:560;line-height:1.5;}
body.md-account-login .md-login-options a:hover{color:#35291f;text-decoration-color:currentColor;}
@media(min-width:721px) and (max-height:800px){
 body.md-account-login .md-login-card .md-account-brand{margin-bottom:22px;padding-bottom:16px;}
 body.md-account-login .md-login-card .md-account-brand img{width:44px;height:44px;border-radius:11px;}
 body.md-account-login .md-login-card h1{font-size:clamp(30px,3vw,40px);margin-bottom:10px;}
 body.md-account-login .md-login-card > .md-account-muted{margin-bottom:20px;}
 body.md-account-login .md-account-form{gap:12px;}
 body.md-account-login .md-input-wrap{min-height:46px;}
 body.md-account-login .md-login-card .primary{min-height:48px;}
 body.md-account-login .md-auth-navigation{margin-top:16px;padding-top:12px;}
}
@media(max-width:720px){
 body.md-account-login .md-account-shell{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));}
 body.md-account-login .md-login-art{min-height:0;height:clamp(110px,20svh,160px);}
 body.md-account-login .md-login-frame{min-height:0;padding:26px clamp(22px,6vw,40px);}
 body.md-account-login .md-login-card .md-account-brand{margin-bottom:22px;padding-bottom:16px;}
 body.md-account-login .md-login-card > .md-account-muted{margin-bottom:22px;}
 body.md-account-login .md-account-form{gap:14px;}
 body.md-account-login .md-auth-navigation{margin-top:18px;padding-top:12px;}
}
@media(min-width:721px) and (max-height:640px){
 body.md-account-login .md-login-frame{padding-block:18px;}
 body.md-account-login .md-login-card .md-account-brand{margin-bottom:14px;padding-bottom:12px;}
 body.md-account-login .md-login-card > .md-account-muted{margin-bottom:16px;}
 body.md-account-login .md-auth-navigation{margin-top:12px;padding-top:8px;}
}
/* In-page subscription and secure card payment panel. */
body.md-account-subscription .md-subscription-intro{margin:42px auto 28px;}
body.md-account-subscription .md-billing-account{font-size:13px;color:#77695c;}
body.md-account-subscription .md-billing-overview{margin:0 0 24px;display:flex;align-items:center;gap:12px;color:#746353;font-size:14px;}
body.md-account-subscription .md-billing-overview svg{width:18px;flex:none;}
body.md-account-subscription .md-billing-overview p{line-height:1.6;}
body.md-account-subscription .md-billing-overview.is-active{display:flex;flex-wrap:wrap;padding:24px;border:1px solid #e2d7ca;border-radius:18px;background:#fffdf9;}
body.md-account-subscription .md-billing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;flex:1;}
body.md-account-subscription .md-billing-stats>div{display:grid;gap:6px;}
body.md-account-subscription .md-billing-stats span{font-size:12px;color:#847467;}
body.md-account-subscription .md-billing-stats strong{font-size:18px;color:#3d3027;}
body.md-account-subscription .md-billing-layout{display:block;}
body.md-account-subscription .md-billing-layout.has-payment{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);gap:24px;align-items:start;}
body.md-account-subscription .md-pricing-grid{margin:0;align-items:stretch;}
body.md-account-subscription .has-payment .md-pricing-grid{grid-template-columns:1fr;gap:16px;}
body.md-account-subscription .has-payment .md-pricing-card{padding:24px;}
body.md-account-subscription .md-pricing-card{padding:30px;border-radius:20px;box-shadow:0 12px 36px #46311c06;}
body.md-account-subscription .md-pricing-card.is-featured{background:#f4ede4;border-color:#d6c3ad;}
body.md-account-subscription .md-pricing-card.is-selected{border-color:#79573e;box-shadow:0 0 0 1px #79573e;}
body.md-account-subscription .md-plan-features{padding:0;margin:24px 0 0;list-style:none;display:grid;gap:12px;}
body.md-account-subscription .md-plan-features li{display:flex;align-items:center;gap:10px;font-size:13px;color:#645345;line-height:1.5;}
body.md-account-subscription .md-plan-features svg{width:17px;height:17px;color:#896d50;}
body.md-account-subscription .md-account-shell .md-pricing-card .md-plan-caption{margin:14px 0 0;color:#8a7b6d;font-size:11px;line-height:1.6;}
body.md-account-subscription .md-inline-payment{position:sticky;top:24px;padding:28px;border:1px solid #dfd2c2;border-radius:20px;background:#fffdf9;box-shadow:0 16px 42px #46311c0c;}
body.md-account-subscription .md-payment-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;}
body.md-account-subscription .md-account-shell .md-payment-header h2{font-size:20px;}
body.md-account-subscription .md-payment-close{display:grid;place-items:center;min-width:36px;min-height:36px;padding:0;border:0;box-shadow:none;background:transparent;color:#8d7c6b;font-size:24px;}
body.md-account-subscription .md-payment-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:16px 0;border-top:1px solid #ece3d9;border-bottom:1px solid #ece3d9;margin-bottom:24px;color:#7c6957;font-size:13px;}
body.md-account-subscription .md-payment-summary strong{color:#463425;}
body.md-account-subscription .md-card-form{display:grid;gap:18px;}
body.md-account-subscription .md-secure-card-field{display:grid;gap:8px;min-width:0;}
body.md-account-subscription .md-secure-card-field>label{font-size:12px;font-weight:600;color:#5b4939;cursor:pointer;}
body.md-account-subscription .md-card-element{min-height:50px;padding:12px;border:1px solid #e4d8cb;border-radius:10px;background:#fff;transition:border-color .2s,box-shadow .2s;}
body.md-account-subscription .md-card-element.is-focused{border-color:#997356;box-shadow:0 0 0 3px #99735614;}
body.md-account-subscription .md-card-element.is-invalid{border-color:#ae6858;}
body.md-account-subscription .md-card-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
body.md-account-subscription .md-account-shell .md-card-form>.primary{width:100%;min-height:50px;justify-content:center;background:#4c3728;border-color:#4c3728;border-radius:11px;}
body.md-account-subscription .md-account-shell .md-payment-message{font-size:13px;line-height:1.65;color:#984f3c;}
body.md-account-subscription .md-payment-message:empty{display:none;}
body.md-account-subscription .md-payment-message.is-success,body.md-account-subscription .md-subscription-feedback.is-success{color:#416347;background:#edf3eb;border-color:#cddcc9;}
body.md-account-subscription .md-account-shell .md-payment-consent{font-size:11px;line-height:1.7;color:#8b7a68;}
body.md-account-subscription .md-account-shell .md-payment-secure{font-size:11px;text-align:center;color:#8f826f;}
body.md-account-subscription .md-billing-management{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px;}
body.md-account-subscription .md-billing-refresh{background:none!important;border:0!important;box-shadow:none!important;font-size:12px;color:#7e6b58;padding:10px 0;}
body.md-account-subscription .md-renewal-confirm{flex-basis:100%;padding:18px;border:1px solid #dfd0bd;border-radius:12px;background:#faf5ee;}
body.md-account-subscription .md-renewal-confirm p{font-size:13px;margin-bottom:12px;line-height:1.6;}
body.md-account-subscription .md-renewal-confirm button{margin-right:10px;}
body.md-account-subscription .md-billing-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:30px;padding-top:20px;border-top:1px solid #e6dcd0;font-size:11px;color:#8c7c6b;}
body.md-account-subscription .md-billing-footer a{color:#795c42;}
@media(max-width:860px){body.md-account-subscription .md-billing-layout.has-payment{grid-template-columns:1fr;}body.md-account-subscription .md-inline-payment{position:static;}body.md-account-subscription .has-payment .md-pricing-grid{grid-template-columns:1fr 1fr;}body.md-account-subscription .md-billing-stats{grid-template-columns:1fr;gap:18px;}}
@media(max-width:560px){body.md-account-subscription .has-payment .md-pricing-grid{grid-template-columns:1fr;}body.md-account-subscription .md-inline-payment{padding:22px;}body.md-account-subscription .md-subscription-intro{margin-top:32px;}body.md-account-subscription .md-billing-account{display:none;}body.md-account-subscription .md-billing-overview{align-items:flex-start;flex-wrap:wrap;}}
@media(prefers-reduced-motion:reduce){body.md-account-subscription .md-card-element{transition:none;}}
body.md-account-subscription .md-inline-payment{scroll-margin-top:24px;}
body.md-account-subscription .has-payment .md-pricing-card h2{font-size:19px;margin:12px 0 8px;}
body.md-account-subscription .has-payment .md-pricing-card .md-pricing-amount strong{font-size:30px;}
body.md-account-subscription .has-payment .md-pricing-card .md-plan-features{margin-top:16px;}
body.md-account-subscription .has-payment .md-plan-features li:not(:first-child),
body.md-account-subscription .has-payment .md-plan-caption{display:none;}
body.md-account-subscription .md-account-shell .has-payment .md-pricing-card button.primary{min-height:44px;margin-top:18px;}

/* Subscription plans and secure checkout drawer. Scoped to the account page. */
body.md-account-subscription{background:#F8F5F0;color:#2A2522;}
body.md-account-subscription .md-account-shell > main.md-subscription{width:100%;max-width:1320px;margin:auto;padding:28px clamp(16px,3vw,40px) 48px;box-sizing:border-box;}
body.md-account-subscription .md-subscription-intro{margin:54px auto 30px;max-width:760px;text-align:center;}
body.md-account-subscription .md-account-shell .md-subscription-intro h1{font-size:clamp(30px,3.4vw,49px);line-height:1.12;letter-spacing:-.045em;color:#2A2522;}
body.md-account-subscription .md-subscription-intro p{font-size:clamp(14px,1.3vw,16px);line-height:1.7;color:#7D6F66;}
body.md-account-subscription .md-subscription-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:600;color:#927664;}
body.md-account-subscription .md-billing-layout,
body.md-account-subscription .md-billing-layout.has-payment{display:block;}
body.md-account-subscription .md-pricing-grid,
body.md-account-subscription .has-payment .md-pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch;}
body.md-account-subscription .md-pricing-card,
body.md-account-subscription .has-payment .md-pricing-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:clamp(22px,2.2vw,32px);border:1px solid #E7D8CC;border-radius:20px;background:#FDFBF8;box-shadow:0 12px 36px #49372a05;transition:transform .25s,border-color .25s,box-shadow .25s;}
body.md-account-subscription .md-pricing-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #49372a0d;}
body.md-account-subscription .md-pricing-card.is-featured{border:1px solid #B35D43;background:linear-gradient(160deg,#fdfbf8,#f4ebe3);box-shadow:0 12px 36px #B35D4310;}
body.md-account-subscription .md-pricing-card.is-selected{box-shadow:0 0 0 2px #B35D43;}
body.md-account-subscription .md-plan-ribbon{position:absolute;top:-12px;left:24px;padding:7px 12px;border-radius:7px;background:#B35D43;color:#fff;font-size:9px;font-weight:700;letter-spacing:.12em;}
body.md-account-subscription .md-pricing-badge{margin-top:8px;color:#7D6F66;font-size:12px;}
body.md-account-subscription .md-account-shell .md-pricing-card h2,
body.md-account-subscription .has-payment .md-pricing-card h2{font-size:22px;margin:16px 0 22px;letter-spacing:-.025em;}
body.md-account-subscription .md-pricing-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin:0;}
body.md-account-subscription .md-pricing-card .md-pricing-amount strong,
body.md-account-subscription .has-payment .md-pricing-card .md-pricing-amount strong{font-size:clamp(30px,3vw,43px);line-height:1.2;letter-spacing:-.05em;white-space:nowrap;}
body.md-account-subscription .md-pricing-amount>span{font-size:12px;color:#7D6F66;}
body.md-account-subscription .md-plan-credit{display:flex;align-items:center;gap:10px;padding:19px 0;margin:20px 0 0;border-top:1px solid #E7D8CC;border-bottom:1px solid #E7D8CC;}
body.md-account-subscription .md-plan-credit strong{font-size:24px;font-weight:600;color:#B35D43;}
body.md-account-subscription .md-plan-credit span{font-size:12px;line-height:1.5;color:#7D6F66;}
body.md-account-subscription .md-plan-features,
body.md-account-subscription .has-payment .md-pricing-card .md-plan-features{gap:14px;margin:24px 0 28px;}
body.md-account-subscription .has-payment .md-plan-features li:not(:first-child){display:flex;}
body.md-account-subscription .md-plan-features li{font-size:12px;color:#6d6057;}
body.md-account-subscription .md-plan-features svg{flex:none;color:#A47760;}
body.md-account-subscription .md-account-shell .md-pricing-card button.primary,
body.md-account-subscription .md-account-shell .has-payment .md-pricing-card button.primary{margin-top:auto;min-height:48px;width:100%;border-radius:10px;border:1px solid #DCC6B6;background:transparent;color:#8C4E3B;box-shadow:none;}
body.md-account-subscription .md-account-shell .md-pricing-card.is-featured button.primary{background:#B35D43;border-color:#B35D43;color:#fff;}
body.md-account-subscription .md-account-shell .md-pricing-card button.primary:hover{background:#a65039;border-color:#a65039;color:#fff;}
body.md-account-subscription .md-account-shell .md-pricing-card button.primary:disabled{opacity:.5;transform:none;cursor:not-allowed;}
body.md-account-subscription .md-account-shell .md-pricing-card .md-plan-caption,
body.md-account-subscription .has-payment .md-plan-caption{display:block;font-size:10px;line-height:1.65;text-align:center;color:#8c7b70;margin:14px 0 0;}
body.md-account-subscription .md-billing-overview{margin-bottom:30px;}
body.md-account-subscription .md-billing-faq{max-width:800px;margin:72px auto 0;}
body.md-account-subscription .md-account-shell .md-billing-faq h2{font-size:27px;letter-spacing:-.035em;margin:12px 0 26px;}
body.md-account-subscription .md-billing-faq details{border-bottom:1px solid #E7D8CC;padding:0;}
body.md-account-subscription .md-billing-faq summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:12px 0;box-sizing:border-box;list-style:none;cursor:pointer;font-size:14px;font-weight:600;}
body.md-account-subscription .md-billing-faq summary::-webkit-details-marker{display:none;}
body.md-account-subscription .md-billing-faq summary:after{content:'+';font-size:22px;font-weight:400;color:#A47760;}
body.md-account-subscription .md-billing-faq details[open] summary:after{content:'−';}
body.md-account-subscription .md-account-shell .md-billing-faq details p{padding:0 32px 20px 0;font-size:13px;line-height:1.85;color:#7D6F66;}
body.md-account-subscription .md-subscription-security{max-width:800px;margin:32px auto 0;}
body.md-account-subscription .md-pricing-skeleton{height:460px;border-radius:20px;border:1px solid #E7D8CC;background:linear-gradient(100deg,#f0e9e1 20%,#faf6f0 40%,#f0e9e1 60%);background-size:220% 100%;animation:md-pricing-shimmer 1.5s linear infinite;}
@keyframes md-pricing-shimmer{to{background-position:-220% 0;}}
body.md-account-subscription.md-checkout-open{overflow:hidden;}
body.md-account-subscription .md-checkout-backdrop{position:fixed;inset:0;z-index:10000;border:0;border-radius:0;padding:0;background:#2A252266;backdrop-filter:blur(3px);cursor:default;}
body.md-account-subscription .md-inline-payment,
body.md-account-subscription .has-payment .md-inline-payment{position:fixed;inset:0 0 0 auto;z-index:10001;width:min(500px,100vw);height:100dvh;max-height:100dvh;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border:0;border-left:1px solid #E7D8CC;border-radius:0;background:#FDFBF8;padding:max(28px,env(safe-area-inset-top)) clamp(20px,3vw,38px) max(30px,env(safe-area-inset-bottom));box-shadow:-20px 0 70px #34261c1a;animation:md-checkout-enter .3s ease both;}
body.md-account-subscription .md-inline-payment[hidden],body.md-account-subscription .md-checkout-backdrop[hidden]{display:none;}
@keyframes md-checkout-enter{from{transform:translateX(40px);opacity:0;}to{transform:translateX(0);opacity:1;}}
body.md-account-subscription .md-payment-header{margin-bottom:28px;}
body.md-account-subscription .md-payment-close{min-width:44px;min-height:44px;border-radius:10px;}
body.md-account-subscription .md-payment-close:hover{background:#f0e7de;}
body.md-account-subscription .md-card-row{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;}
body.md-account-subscription .md-card-element{min-width:0;box-sizing:border-box;}
body.md-account-subscription .md-card-element input{width:100%;min-width:0;box-sizing:border-box;}
body.md-account-subscription .md-account-shell .md-card-form>.primary{background:#B35D43;border-color:#B35D43;min-height:50px;}
body.md-account-subscription .md-card-element.is-focused{border-color:#B35D43;box-shadow:0 0 0 3px #B35D4315;}
body.md-account-subscription :is(button,a,summary):focus-visible{outline:2px solid #B35D43;outline-offset:4px;}
@media(min-width:768px) and (max-width:1023px){body.md-account-subscription .md-pricing-grid,body.md-account-subscription .has-payment .md-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}body.md-account-subscription .md-pricing-card:last-child{grid-column:1/-1;max-width:600px;width:100%;justify-self:center;box-sizing:border-box;}}
@media(max-width:767px){body.md-account-subscription .md-pricing-grid,body.md-account-subscription .has-payment .md-pricing-grid{grid-template-columns:1fr;gap:28px;}body.md-account-subscription .md-subscription-intro{margin-top:34px;margin-bottom:26px;}body.md-account-subscription .md-subscription-header{gap:12px;}body.md-account-subscription .md-billing-faq{margin-top:48px;}body.md-account-subscription .md-pricing-card{padding:26px;}body.md-account-subscription .md-inline-payment{width:100%;border:0;}body.md-account-subscription .md-billing-footer{gap:16px;line-height:1.6;}}
@media(prefers-reduced-motion:reduce){body.md-account-subscription .md-pricing-card,body.md-account-subscription .md-card-element{transition:none;}body.md-account-subscription .md-pricing-card:hover{transform:none;}body.md-account-subscription .md-pricing-skeleton,body.md-account-subscription .md-inline-payment{animation:none;}}

/* Interior-led visual treatment matching the supplied pricing reference. */
body.md-account-subscription{isolation:isolate;background:#f8f5f0;}
body.md-account-subscription:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#f8f5f008 0%,#f8f5f0d9 22%,#f8f5f0f5 48%,#f8f5f0f7 100%),linear-gradient(0deg,#f8f5f092,#f8f5f020),url('./public/assets/login-slides/02-beige-living-room.webp') left center/cover no-repeat;}
body.md-account-subscription .md-account-shell > main.md-subscription{max-width:1220px;padding:100px clamp(20px,3vw,46px) 36px!important;}
body.md-account-subscription .md-subscription-header{position:fixed;inset:0 0 auto;z-index:50;width:auto!important;max-width:none;height:66px;padding:0 clamp(24px,6vw,88px);box-sizing:border-box;background:#fdfaf6ed;border-bottom:1px solid #e5d9cf;backdrop-filter:blur(14px);}
body.md-account-subscription .md-subscription-header .md-account-brand img{width:30px;height:30px;border-radius:8px;}
body.md-account-subscription .md-subscription-header .md-wordmark-name{font-size:19px;}
body.md-account-subscription .md-subscription-header .md-wordmark-detail{font-size:6px;}
body.md-account-subscription .md-subscription-intro{margin:0 auto 22px;max-width:760px;}
body.md-account-subscription .md-subscription-intro .md-subscription-eyebrow{display:inline-flex;align-items:center;gap:6px;background:#f4ddcd;color:#8f472d;letter-spacing:.02em;padding:6px 10px;border-radius:20px;font-size:10px;}
body.md-account-subscription .md-subscription-eyebrow svg{width:13px;height:13px;}
body.md-account-subscription .md-account-shell .md-subscription-intro h1{font-size:clamp(26px,2.7vw,38px);margin:13px 0 10px;}
body.md-account-subscription .md-account-shell .md-subscription-intro p{font-size:12px;line-height:1.6;color:#51483f;}
body.md-account-subscription .md-billing-overview:not(.is-active){font-size:11px;margin-bottom:24px;justify-content:center;opacity:.8;}
body.md-account-subscription .md-pricing-grid,body.md-account-subscription .has-payment .md-pricing-grid{gap:14px;}
body.md-account-subscription .md-pricing-card,body.md-account-subscription .has-payment .md-pricing-card{padding:24px 20px 18px;border-radius:16px;background:#fffdf8c9;backdrop-filter:blur(16px);box-shadow:0 10px 32px #513b2810;}
body.md-account-subscription .md-pricing-card.is-featured{border-color:#9f573b;background:linear-gradient(145deg,#fffaf4e8,#f7e9dded);box-shadow:0 0 0 1px #a75c3a20,0 12px 30px #69422a0a;}
body.md-account-subscription .md-plan-ribbon{top:10px;left:20px;background:#f3c6a2;color:#844327;border-radius:20px;padding:5px 10px;font-size:10px;letter-spacing:0;}
body.md-account-subscription .md-pricing-card.is-featured .md-pricing-badge{margin-top:23px;}
body.md-account-subscription .md-pricing-badge{display:flex;align-items:center;gap:6px;font-size:11px;color:#574033;min-height:16px;margin-top:9px;}
body.md-account-subscription .md-pricing-badge svg{width:14px;height:14px;color:#9a4f31;}
body.md-account-subscription .md-account-shell .md-pricing-card h2,body.md-account-subscription .has-payment .md-pricing-card h2{font-size:20px;margin:14px 0 9px;}
body.md-account-subscription .md-pricing-card .md-pricing-amount strong,body.md-account-subscription .has-payment .md-pricing-card .md-pricing-amount strong{font-size:clamp(29px,2.8vw,40px);}
body.md-account-subscription .md-pricing-amount>span{font-size:10px;}
body.md-account-subscription .md-plan-credit{border:0;padding:0;margin:18px 0 0;gap:5px;align-items:flex-start;}
body.md-account-subscription .md-plan-credit svg{width:14px;height:14px;color:#a34f2d;flex:none;margin-right:2px;}
body.md-account-subscription .md-plan-credit strong,body.md-account-subscription .md-plan-credit span{font-size:11px;color:#3e342d;line-height:1.45;font-weight:400;}
body.md-account-subscription .md-plan-credit strong{font-weight:600;}
body.md-account-subscription .md-plan-features,body.md-account-subscription .has-payment .md-pricing-card .md-plan-features{gap:9px;margin:10px 0 24px;}
body.md-account-subscription .md-plan-features li{font-size:11px;gap:7px;}
body.md-account-subscription .md-plan-features svg{width:14px;height:14px;color:#a34f2d;}
body.md-account-subscription .md-account-shell .md-pricing-card button.primary,
body.md-account-subscription .md-account-shell .has-payment .md-pricing-card button.primary{min-height:44px;background:#ebdfd3!important;border-color:#ebdfd3!important;color:#352920!important;box-shadow:none!important;font-size:12px;}
body.md-account-subscription .md-account-shell .md-pricing-card.is-featured button.primary{background:#a45335!important;border-color:#a45335!important;color:#fff!important;}
body.md-account-subscription .md-account-shell .md-pricing-card button.primary:hover{background:#d8c4b2!important;}
body.md-account-subscription .md-account-shell .md-pricing-card.is-featured button.primary:hover{background:#8e442c!important;}
body.md-account-subscription .md-account-shell .md-pricing-card .md-plan-caption{font-size:9px;min-height:30px;line-height:1.5;}
body.md-account-subscription .md-billing-assurances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px auto 0;}
body.md-account-subscription .md-billing-assurances>div{display:flex;gap:12px;align-items:center;padding:0 12px;border-right:1px solid #dfcdbb;}
body.md-account-subscription .md-billing-assurances>div:last-child{border:0;}
body.md-account-subscription .md-billing-assurances svg{width:26px;height:26px;color:#a45335;flex:none;}
body.md-account-subscription .md-billing-assurances strong,body.md-account-subscription .md-billing-assurances span{display:block;font-size:11px;line-height:1.65;}
body.md-account-subscription .md-billing-assurances span{font-size:10px;color:#6c5a4e;}
body.md-account-subscription .md-billing-management{margin-top:8px;justify-content:flex-end;}
body.md-account-subscription .md-billing-refresh{font-size:10px;padding:6px 0;}
body.md-account-subscription .md-billing-footer{margin-top:16px;padding-top:12px;font-size:10px;}
body.md-account-subscription .md-billing-faq{max-width:850px;margin:28px auto 0;}
body.md-account-subscription .md-account-shell .md-billing-faq h2{font-size:18px;margin:0 0 12px;}
body.md-account-subscription .md-billing-faq details{border:1px solid #e5d5c5;border-radius:20px;background:#fdfaf6b3;padding:0 18px;margin-bottom:8px;}
body.md-account-subscription .md-billing-faq summary{font-size:12px;min-height:44px;padding:9px 0;}
body.md-account-subscription .md-billing-faq summary:after{font-size:18px;}
body.md-account-subscription .md-account-shell .md-billing-faq details p{font-size:12px;}
body.md-account-subscription .md-inline-payment,body.md-account-subscription .has-payment .md-inline-payment{width:min(420px,100vw);padding:54px 24px 28px;box-shadow:-8px 0 30px #39251b12;background:#fffdfb;}
body.md-account-subscription .md-payment-header{margin:8px 0 4px;}
body.md-account-subscription .md-account-shell .md-payment-header h2{font-size:22px;letter-spacing:-.035em;}
body.md-account-subscription .md-payment-close{position:absolute;right:12px;top:10px;}
body.md-account-subscription .md-account-shell .md-payment-subtitle{font-size:11px;color:#645247;line-height:1.6;margin:0 0 18px;}
body.md-account-subscription .md-payment-summary{background:#f5eee7;border:1px solid #e5d7cb;border-radius:10px;padding:15px;margin:0 0 24px;align-items:flex-start;gap:8px;}
body.md-account-subscription .md-payment-summary>div{display:grid;gap:5px;}
body.md-account-subscription .md-payment-summary strong{color:#2a2522;font-size:14px;}
body.md-account-subscription .md-payment-summary span{font-size:11px;}
body.md-account-subscription .md-card-form{gap:16px;}
body.md-account-subscription .md-secure-card-field>label{font-size:11px;color:#2a2522;}
body.md-account-subscription .md-card-element{border-radius:8px;min-height:44px;padding:9px 10px;}
body.md-account-subscription .md-account-shell .md-card-form>.primary{min-height:46px;margin-top:6px;background:#a45335!important;border-color:#a45335!important;}
body.md-account-subscription .md-account-shell .md-payment-secure{display:flex;align-items:center;gap:12px;background:#f5eee7;border-radius:10px;padding:14px;text-align:left;}
body.md-account-subscription .md-payment-secure svg{width:24px;height:24px;flex:none;color:#a45335;}
body.md-account-subscription .md-payment-secure strong,body.md-account-subscription .md-payment-secure span{display:block;font-size:11px;line-height:1.6;color:#4a3a30;}
body.md-account-subscription .md-payment-secure strong{font-size:12px;}
body.md-account-subscription .md-payment-terms{list-style:none;padding:0;margin:0;display:grid;gap:10px;}
body.md-account-subscription .md-payment-terms li{display:flex;gap:8px;align-items:flex-start;font-size:11px;line-height:1.5;color:#5e4b40;}
body.md-account-subscription .md-payment-terms svg{width:14px;height:14px;flex:none;color:#946047;}
body.md-account-subscription .md-card-form>.primary{display:flex;gap:9px;align-items:center;justify-content:center;}
body.md-account-subscription .md-card-form>.primary svg{width:14px;height:14px;}
body.md-account-subscription .md-account-shell .md-subscription-header{padding:0 clamp(24px,6vw,88px)!important;}
@media(min-width:1100px){body.md-account-subscription.md-checkout-open .md-account-shell .md-subscription-header{padding:0 32px!important;}}
@media(max-width:767px){body.md-account-subscription .md-account-shell > main.md-subscription{padding:92px 18px 28px!important;}body.md-account-subscription .md-account-shell .md-subscription-header{padding:0 18px!important;}}
body.md-account-subscription .md-billing-overview[hidden]{display:none;}
body.md-account-subscription.md-checkout-open{overflow-anchor:none;}
body.md-account-subscription.md-checkout-open .md-account-shell{overflow-anchor:none;}
body.md-account-subscription .md-pricing-card .md-pricing-amount{margin:6px 0!important;}
body.md-account-subscription .md-plan-features,body.md-account-subscription .has-payment .md-pricing-card .md-plan-features{margin-bottom:14px;}
body.md-account-subscription .md-account-shell .md-pricing-card .md-plan-caption{min-height:0;margin-top:10px;}
@media(min-width:1100px){body.md-account-subscription.md-checkout-open{overflow:auto;}body.md-account-subscription.md-checkout-open .md-account-shell{padding-right:420px;box-sizing:border-box;}body.md-account-subscription.md-checkout-open .md-subscription-header{right:420px;padding:0 32px;}body.md-account-subscription .md-checkout-backdrop{background:transparent;backdrop-filter:none;width:calc(100% - 420px);right:auto;}}
@media(max-width:1099px){body.md-account-subscription .md-checkout-backdrop{background:#30231b66;}}
@media(max-width:767px){body.md-account-subscription:before{background:linear-gradient(#f8f5f0de,#f8f5f0f5),url('./public/assets/login-slides/02-beige-living-room.webp') left center/cover no-repeat;}body.md-account-subscription .md-account-shell > main.md-subscription{padding:92px 18px 28px;}body.md-account-subscription .md-inline-payment,body.md-account-subscription .has-payment .md-inline-payment{width:100%;padding-top:max(54px,env(safe-area-inset-top));padding-bottom:max(28px,env(safe-area-inset-bottom));}body.md-account-subscription .md-subscription-header{padding:0 18px;}body.md-account-subscription .md-pricing-grid,body.md-account-subscription .has-payment .md-pricing-grid{gap:22px;}body.md-account-subscription .md-billing-assurances{grid-template-columns:1fr;gap:16px;margin-top:22px;}body.md-account-subscription .md-billing-assurances>div{border:0;}body.md-account-subscription .md-pricing-card,body.md-account-subscription .has-payment .md-pricing-card{padding:25px;}body.md-account-subscription .md-pricing-card .md-pricing-amount strong{font-size:36px;}body.md-account-subscription .md-payment-summary{flex-wrap:nowrap;}}

/* Account dropdown, payment brand marks and plan switching. */
body.md-account-subscription{--md-billing-accent:#a45335;--md-billing-ink:#2a2522;--md-billing-muted:#77675d;font-family:Inter,system-ui,sans-serif;}
body.md-account-subscription .md-profile-dropdown{position:relative;}
body.md-account-subscription .md-profile-dropdown>summary{display:flex;align-items:center;gap:10px;min-height:44px;max-width:240px;padding:4px 9px 4px 5px;border:1px solid #e7d9cc;border-radius:25px;list-style:none;background:#fffdf9;cursor:pointer;box-shadow:0 2px 5px #49352804;transition:border-color .2s,box-shadow .2s;}
body.md-account-subscription .md-profile-dropdown>summary::-webkit-details-marker{display:none;}
body.md-account-subscription .md-profile-dropdown>summary:hover,body.md-account-subscription .md-profile-dropdown[open]>summary{border-color:#c9a78d;box-shadow:0 3px 12px #4935280b;}
body.md-account-subscription .md-profile-avatar{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:linear-gradient(140deg,#f1e0ce,#e6c9b3);color:#8e482f;font-size:13px;font-weight:700;border:1px solid #e6d2c1;}
body.md-account-subscription .md-profile-name{font-size:12px;color:#45352b;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.md-account-subscription .md-profile-chevron{font-size:16px;color:#947a66;transition:transform .2s;}
body.md-account-subscription .md-profile-dropdown[open] .md-profile-chevron{transform:rotate(180deg);}
body.md-account-subscription .md-profile-menu{position:absolute;right:0;top:calc(100% + 10px);width:250px;max-width:calc(100vw - 32px);padding:7px;border:1px solid #e6d8cb;border-radius:16px;background:#fffdf9;box-shadow:0 16px 50px #49352820;z-index:90;box-sizing:border-box;animation:md-profile-enter .16s ease both;}
@keyframes md-profile-enter{from{opacity:0;transform:translateY(-5px);}to{opacity:1;transform:translateY(0);}}
body.md-account-subscription .md-profile-identity{padding:12px 10px 14px;margin-bottom:5px;border-bottom:1px solid #eee3d9;display:grid;gap:4px;overflow-wrap:anywhere;}
body.md-account-subscription .md-profile-identity strong{font-size:13px;color:#352a24;}
body.md-account-subscription .md-profile-identity span{font-size:11px;color:#8c7868;}
body.md-account-subscription .md-account-shell .md-profile-action{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:11px 10px;border:0!important;border-radius:9px;background:transparent!important;color:#554336!important;box-shadow:none!important;font-size:12px;font-weight:500;text-align:left;justify-content:flex-start;}
body.md-account-subscription .md-account-shell .md-profile-action:hover{background:#f3eae0!important;transform:none;}
body.md-account-subscription .md-profile-action svg{width:17px;height:17px;color:#96755e;}
body.md-account-subscription .md-account-shell .md-profile-exit{color:#9f513b!important;}
body.md-account-subscription .md-security-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:30px;border:1px solid #e4d5c7;border-radius:20px;background:#fffdf9;color:#302720;box-shadow:0 26px 100px #2b1f1938;font-family:Inter,system-ui,sans-serif;}
body.md-account-subscription .md-security-dialog::backdrop{background:#33271d66;backdrop-filter:blur(5px);}
body.md-account-subscription .md-security-dialog>svg{width:24px;height:24px;color:#a45335;margin-bottom:14px;}
body.md-account-subscription .md-security-dialog h2{font-size:22px;font-weight:650;letter-spacing:-.035em;margin:0 0 9px;}
body.md-account-subscription .md-security-dialog>p{font-size:12px;line-height:1.7;color:#7c6859;margin:0 0 24px;}
body.md-account-subscription .md-security-dialog .md-account-form{display:grid;gap:17px;}
body.md-account-subscription .md-security-dialog .md-account-form label{font-size:12px;color:#5d493b;}
body.md-account-subscription .md-security-dialog input{min-height:46px;width:100%;box-sizing:border-box;border-radius:9px;border:1px solid #dfcfc0;padding:10px 12px;font:inherit;font-size:16px;background:#fdfaf6;color:#302720;}
body.md-account-subscription .md-security-dialog input:focus{outline:0;border-color:#a45335;box-shadow:0 0 0 3px #a4533512;}
body.md-account-subscription .md-security-dialog button[type=submit]{min-height:46px;border-radius:10px;background:#a45335!important;border-color:#a45335!important;color:white!important;}
body.md-account-subscription .md-security-close{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:44px;height:44px;border:0!important;border-radius:10px;background:transparent!important;color:#8d7563!important;box-shadow:none!important;font-size:24px;}
body.md-account-subscription .md-payment-picker{display:grid;gap:8px;font-size:11px;font-weight:600;color:#655044;margin:0 0 16px;}
body.md-account-subscription .md-payment-picker select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;border:1px solid #e1d1c2;border-radius:9px;padding:10px 30px 10px 12px;background:#fdfaf6;color:#554032;font-family:inherit;font-size:12px;cursor:pointer;}
body.md-account-subscription .md-payment-picker select:focus-visible{outline:2px solid #a45335;outline-offset:2px;}
body.md-account-subscription .md-card-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:22px;}
body.md-account-subscription .md-card-label-row label{font-size:11px;font-weight:600;color:#302720;cursor:pointer;}
body.md-account-subscription .md-card-brands{display:inline-flex;align-items:center;gap:7px;flex:none;}
body.md-account-subscription .md-card-visa{font-family:Arial,sans-serif;font-size:13px;font-weight:900;font-style:italic;letter-spacing:-.5px;color:#17428c;}
body.md-account-subscription .md-card-mastercard{position:relative;display:inline-block;width:28px;height:18px;}
body.md-account-subscription .md-card-mastercard i{position:absolute;top:1px;left:0;width:16px;height:16px;border-radius:50%;background:#e94037;}
body.md-account-subscription .md-card-mastercard i+i{left:11px;background:#f8a621;mix-blend-mode:multiply;}
body.md-account-subscription .md-card-amex{display:inline-block;background:#256ca6;color:#fff;font:700 8px/18px Arial,sans-serif;letter-spacing:-.2px;padding:0 3px;border-radius:3px;}
body.md-account-subscription .md-plan-credit strong,body.md-account-subscription .md-plan-credit span,body.md-account-subscription .md-plan-features li{font-size:12px;line-height:1.55;}
body.md-account-subscription .md-account-shell .md-payment-subtitle{font-size:12px;color:#7c685a;}
body.md-account-subscription .md-payment-consent{color:#7d6959;}
@media(min-width:1100px){body.md-account-subscription .md-checkout-backdrop{pointer-events:none;}}
@media(max-width:767px){body.md-account-subscription .md-profile-name{max-width:105px;}body.md-account-subscription .md-security-dialog{padding:25px;}body.md-account-subscription .md-payment-picker select{font-size:16px;}body.md-account-subscription .md-profile-menu{width:235px;}}
@media(prefers-reduced-motion:reduce){body.md-account-subscription .md-profile-menu{animation:none;}body.md-account-subscription .md-profile-chevron{transition:none;}}

body.md-account-subscription .md-profile-dropdown>summary::before,
body.md-account-subscription .md-profile-dropdown>summary::after,
body.md-account-subscription .md-plan-chooser>summary::before,
body.md-account-subscription .md-plan-chooser>summary::after{display:none!important;content:none!important;}
body.md-account-subscription .md-profile-dropdown>summary::marker,
body.md-account-subscription .md-plan-chooser>summary::marker{content:'';}
body.md-account-subscription .md-profile-chevron{display:flex;align-items:center;justify-content:center;width:18px;height:18px;line-height:1;flex:none;}
body.md-account-subscription .md-profile-chevron svg{display:block;width:16px;height:16px;}
body.md-account-subscription .md-plan-chooser{position:relative;min-width:0;z-index:3;}
body.md-account-subscription .md-plan-chooser>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;box-sizing:border-box;list-style:none;padding:12px;border:1px solid #dfcfc0;border-radius:10px;background:#fdfaf6;color:#554032;font-size:12px;font-weight:600;cursor:pointer;}
body.md-account-subscription .md-plan-chooser>summary::-webkit-details-marker{display:none;}
body.md-account-subscription .md-plan-chooser>summary span{min-width:0;white-space:normal;line-height:1.5;}
body.md-account-subscription .md-plan-chooser>summary svg{width:16px;height:16px;flex:none;color:#98775e;transition:transform .18s;}
body.md-account-subscription .md-plan-chooser[open]>summary svg{transform:rotate(180deg);}
body.md-account-subscription .md-plan-chooser[open]>summary{border-color:#b17c5d;box-shadow:0 0 0 3px #b17c5d12;}
body.md-account-subscription .md-plan-options{position:absolute;top:calc(100% + 7px);left:0;right:0;max-height:230px;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;border:1px solid #e0cebd;border-radius:12px;background:#fffdf9;padding:5px;box-shadow:0 14px 38px #422b1920;}
body.md-account-subscription .md-account-shell .md-plan-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:60px;padding:11px 10px!important;border:0!important;border-radius:8px;background:transparent!important;color:#4f392b!important;box-shadow:none!important;text-align:left;font-family:inherit;transform:none!important;}
body.md-account-subscription .md-plan-option>span{display:grid;gap:4px;min-width:0;}
body.md-account-subscription .md-plan-option strong{font-size:12px;}
body.md-account-subscription .md-plan-option small{font-size:10px;font-weight:400;color:#907764;line-height:1.4;}
body.md-account-subscription .md-plan-option b{font-size:12px;white-space:nowrap;margin-left:auto;}
body.md-account-subscription .md-plan-option svg{width:16px;height:16px;flex:none;color:#a45335;visibility:hidden;}
body.md-account-subscription .md-plan-option[aria-pressed=true] svg{visibility:visible;}
body.md-account-subscription .md-account-shell .md-plan-option:hover,
body.md-account-subscription .md-account-shell .md-plan-option[aria-pressed=true]{background:#f2e6d9!important;}
body.md-account-subscription .md-plan-option:disabled{opacity:.45;cursor:not-allowed;}
body.md-account-subscription .md-account-shell .md-subscription-intro .md-sandbox-notice{display:inline-block;margin:14px 0 0;padding:9px 13px;border:1px solid #e3cda7;border-radius:8px;background:#fff4db;color:#84602d;font-size:11px;line-height:1.6;}
body.md-account-subscription .md-account-shell .md-subscription-intro .md-sandbox-notice[hidden]{display:none;}
body.md-account-subscription .md-account-shell .md-subscription-intro h1{white-space:normal!important;overflow-wrap:break-word;max-width:100%;line-height:1.18!important;}
body.md-account-subscription .md-account-shell .md-subscription-header{flex-wrap:nowrap!important;}
body.md-account-subscription .md-subscription-actions{flex-wrap:nowrap;min-width:0;}
@media(max-width:360px){body.md-account-subscription .md-profile-name{display:none;}}
@media(max-width:767px){
 body.md-account-subscription .md-account-shell .md-subscription-intro h1{font-size:clamp(25px,7vw,32px)!important;letter-spacing:-.035em;}
 body.md-account-subscription .md-subscription-intro{width:100%;min-width:0;}
 body.md-account-subscription .md-account-shell .md-subscription-intro p{font-size:12px;line-height:1.7;white-space:normal!important;}
 body.md-account-subscription .md-profile-dropdown>summary{gap:7px;padding-right:8px;}
 body.md-account-subscription .md-profile-name{max-width:90px;}
 body.md-account-subscription .md-profile-menu{width:min(260px,calc(100vw - 36px));top:calc(100% + 9px);}
 body.md-account-subscription .md-plan-chooser>summary{font-size:13px;min-height:48px;}
 body.md-account-subscription .md-plan-option strong,body.md-account-subscription .md-plan-option b{font-size:12px;}
}

/* Hide login slideshow indicators while retaining automatic slide rotation. */
body.md-account-login .md-login-slider-controls{display:none!important;}

.md-session-ended{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;overflow:auto;box-sizing:border-box;padding:24px;background:#f8f5f0;color:#2a2522;font-family:Inter,system-ui,sans-serif;}
body.md-session-locked{overflow:hidden!important;display:block!important;padding:0!important;}
body.md-session-locked>:not(.md-session-ended):not(script){display:none!important;}
.md-session-ended-card{width:min(440px,100%);box-sizing:border-box;padding:36px;border:1px solid #e5d7c9;border-radius:22px;background:#fffdf9;box-shadow:0 18px 65px #4935280d;}
.md-session-ended-card h1{font-size:28px;line-height:1.2;letter-spacing:-.035em;margin:28px 0 14px;}
.md-session-ended-card p{font-size:14px;line-height:1.8;color:#7d6a5b;margin:0 0 24px;}
.md-session-ended-card button{width:100%;min-height:48px;border:0;border-radius:10px;background:#a45335;color:#fff;font:600 14px Inter,system-ui,sans-serif;cursor:pointer;}
.md-session-ended-card button:focus-visible{outline:2px solid #a45335;outline-offset:4px;}
@supports not (height:100dvh){body.md-account-subscription .md-inline-payment{height:100vh;max-height:100vh;}body.md-account-subscription .md-security-dialog{max-height:calc(100vh - 32px);}}
@media(max-width:767px){body.md-account-login input,body.md-account-subscription .md-card-element{font-size:16px;}.md-session-ended{padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));}.md-session-ended-card{padding:28px 24px;}.md-session-ended-card h1{font-size:25px;}}

/* Shared finishing: native, crisp typography without a blocking font download. */
body:is(.md-account-login,.md-account-admin,.md-account-subscription){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body:is(.md-account-login,.md-account-admin,.md-account-subscription) :is(button,input,select,textarea){font-family:inherit;}
body:is(.md-account-login,.md-account-admin,.md-account-subscription) :is(h1,h2){text-wrap:balance;}
.md-admin-stat-value,.md-plan-price{font-variant-numeric:tabular-nums;}
body:is(.md-account-login,.md-account-admin,.md-account-subscription) :is(button,a,summary){-webkit-tap-highlight-color:transparent;touch-action:manipulation;}
body:is(.md-account-login,.md-account-admin,.md-account-subscription) :is(button,a,summary):focus-visible{outline:2px solid #a45335;outline-offset:3px;}
body.md-auth-tab-hidden::before,
body.md-auth-tab-hidden .md-login-photo,
body.md-auth-tab-hidden .md-login-slide img{animation-play-state:paused!important;}
@media(hover:none),(pointer:coarse){
 body.md-account-login::before{animation:none;}
 body.md-account-login .md-login-photo-layer{transition:none;}
 body.md-account-login .md-login-art::before{animation:none;}
}
@media(max-width:767px){
 body:is(.md-account-login,.md-account-admin,.md-account-subscription) :is(input,select,textarea){font-size:16px!important;}
 body.md-account-login .md-password-toggle{min-width:44px;min-height:44px;}
 body.md-account-login .md-login-card{min-width:0;}
 body.md-account-subscription .md-inline-payment{padding-bottom:max(24px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;}
 body.md-account-subscription .md-security-dialog{scroll-padding-bottom:24px;}
}
@media(prefers-reduced-motion:reduce){
 body:is(.md-account-login,.md-account-admin,.md-account-subscription) *,
 body:is(.md-account-login,.md-account-admin,.md-account-subscription)::before{scroll-behavior:auto!important;animation:none!important;transition:none!important;}
}

body.md-account-subscription .md-account-shell .md-customer-home-link{display:inline-flex;width:auto;min-height:42px;margin:15px 0 0;padding:8px 12px;border:1px solid #ddc9b7;border-radius:9px;background:#fffaf3;color:#754831;font-size:12px;}
.md-account-admin .md-admin-credit-value{font-variant-numeric:tabular-nums;color:#87563b;white-space:nowrap}
.md-account-admin .md-customer-dialog{width:min(1060px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;background:#fbf8f2;color:#43352b;border:1px solid #e3d5c6;border-radius:22px}
.md-customer-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;border-bottom:1px solid #e8ddcf;background:#f5ede2}
.md-customer-identity{display:flex;align-items:center;gap:14px;min-width:0}.md-customer-identity h2{font-size:22px;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}.md-customer-identity p{margin:4px 0 0;color:#927b65;font-size:12px}.md-customer-identity .md-business-avatar{width:46px;height:46px;font-size:18px;flex:none}
.md-customer-tabs{display:flex;gap:5px;border-bottom:1px solid #e4d8ca;padding:10px 24px;background:#fdfaf5}.md-customer-tabs .md-button{border:0;background:transparent;color:#88705d;padding:11px 16px;box-shadow:none}.md-customer-tabs [aria-selected=true]{background:#eadaca;color:#764c31}
.md-customer-tab-content{padding:24px 28px}.md-customer-tab-content[hidden]{display:none!important}.md-customer-message{margin:0;padding:0 28px;color:#986042;font-size:12px;overflow-wrap:anywhere}.md-customer-message:not(:empty){padding-top:16px}
.md-customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.md-customer-stats>div{padding:17px 19px;border:1px solid #e6dacb;border-radius:14px;background:#fffdf9}.md-customer-stats span{font-size:11px;color:#8c7561;display:block}.md-customer-stats strong{font-size:30px;font-weight:650;letter-spacing:-1px;display:block;margin-top:4px}
.md-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.md-customer-card{background:#fffdf8;border:1px solid #e6dacb;border-radius:16px;padding:22px;min-width:0;margin-bottom:16px}.md-customer-grid .md-customer-card{margin:0}.md-customer-card h3{font-size:15px;letter-spacing:-.2px;margin:0 0 18px;color:#533d2b}
.md-customer-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 18px}.md-customer-facts>div{min-width:0}.md-customer-facts dt{font-size:11px;color:#927b68;margin-bottom:4px}.md-customer-facts dd{font-size:12px;font-weight:600;margin:0;overflow-wrap:anywhere}
.md-credit-form{border-top:1px solid #eee3d5;padding-top:18px;display:grid;gap:12px}.md-credit-form label{font-size:11px;font-weight:600;color:#7c614a;display:grid;gap:7px}.md-credit-form input{box-sizing:border-box;width:100%;border:1px solid #ded0bf;border-radius:10px;background:#fcf8f2;color:#493729;padding:12px;font:inherit;font-size:13px;min-height:42px}.md-credit-form input:focus{outline:2px solid #bc9173;outline-offset:1px}.md-credit-presets{display:flex;gap:7px;flex-wrap:wrap}.md-credit-presets .md-button{padding:6px 13px;min-height:32px;font-size:11px;background:#f5ebde}
.md-customer-actions{display:flex;flex-wrap:wrap;gap:8px}.md-customer-actions .md-button{font-size:11px;min-height:39px;padding:10px 12px}.md-customer-stripe-link{font-size:12px;color:#895236;display:inline-block;margin-top:18px;text-underline-offset:4px}
.md-customer-confirm{padding:16px;border:1px solid #dfb79c;background:#f8eee4;border-radius:12px;margin:16px 0 0}.md-customer-confirm[hidden]{display:none}.md-customer-confirm strong{font-size:12px}.md-customer-confirm p{font-size:12px;line-height:1.6;color:#846650}.md-customer-confirm .md-button{margin:5px 6px 0 0;font-size:11px}
.md-customer-danger{margin-top:22px;padding-top:18px;border-top:1px solid #e5d5c4;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.md-customer-danger p{font-size:11px;color:#92765f;margin-right:auto}.md-customer-danger .md-button{font-size:11px}.md-customer-history-row{display:grid;grid-template-columns:1fr 1.6fr;gap:4px 16px;padding:14px 0;border-top:1px solid #ede1d3;font-size:12px}.md-customer-history-row strong{color:#825139}.md-customer-history-row small{grid-column:1/-1;color:#a08770;font-size:10px}.md-customer-tab-content .md-account-muted{font-size:11px;line-height:1.65}
@media(max-width:740px){.md-account-admin .md-customer-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}.md-customer-header{padding:18px}.md-customer-tab-content{padding:16px}.md-customer-tabs{padding:8px 12px;gap:2px}.md-customer-tabs .md-button{padding:10px 12px;font-size:12px}.md-customer-stats{grid-template-columns:1fr 1fr;gap:8px}.md-customer-stats>div{padding:12px 14px}.md-customer-stats strong{font-size:25px}.md-customer-grid{grid-template-columns:1fr}.md-customer-card{padding:18px}.md-customer-header h2{font-size:19px}.md-customer-message{padding-left:18px;padding-right:18px}.md-customer-danger{align-items:stretch}.md-customer-danger p{width:100%;margin-bottom:0}.md-customer-danger .md-button{flex:1}.md-customer-history-row{grid-template-columns:1fr}}

.md-customer-chrome{position:sticky;top:0;z-index:3;background:#fcf8f1}
.md-account-admin .md-customer-dialog{width:min(1060px,calc(100% - 32px))}
@media(max-width:740px){.md-account-admin .md-customer-dialog{width:calc(100% - 16px)}}

.md-customer-mode{display:inline-flex;padding:5px 9px;background:#f0e1d0;color:#8a5a39;border-radius:6px;font-size:10px;margin:0 0 16px;font-weight:600}

.md-customer-tabs .md-button[aria-selected="false"]{background:transparent;color:#88705d}.md-customer-tabs .md-button[aria-selected="true"]{background:#eadaca;color:#764c31}

/* Keep mobile scrolling and compositing light without changing the form. */
@media(max-width:767px),(pointer:coarse){
 body.md-account-login .md-login-slide img{animation:none!important;will-change:auto!important;transform:none!important}
 body.md-account-subscription .md-pricing-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#fffdf8f5}
 body.md-account-login .md-login-photo-layer{will-change:auto!important}
}

@media(max-width:767px){body.md-account-login .md-login-art{background-image:url('./public/assets/login-slides/00-kitchen-mobile-28155496a1c3.webp')}}
