.admin{margin-block:20px 70px}
.admin-top{
  min-height:94px;
  padding:14px clamp(14px,2.5vw,28px);
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--card);
}
.admin-identity{display:flex;align-items:center;gap:13px;min-width:0}
.admin-identity img{width:54px;height:54px;object-fit:contain;padding:8px;background:#e7f1ea;border:1px solid #d9e8df;border-radius:14px}
.admin-identity p{font-size:12px;color:var(--teal);font-weight:760;overflow-wrap:anywhere}
.admin-identity .admin-actor{color:var(--muted);font-weight:500}
.admin-top .btn{background:#f2f7f2;border-color:#d5e5dd}
.admin-top .btn:hover{background:var(--mint);border-color:#a0baac}
.admin-top .admin-logout{background:transparent;border-color:var(--border)}
.admin-top .btn svg{width:17px;height:17px}
.admin h1{font-size:clamp(25px,3vw,34px)}
.admin h2{font-size:clamp(25px,3.2vw,34px)}
.admin .admin-heading{display:flex;align-items:center;justify-content:space-between;gap:9px}
.admin .admin-heading .kicker{margin-bottom:4px}
.admin-layout{display:grid;grid-template-columns:198px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}
.admin-nav{position:sticky;top:12px;min-width:0;max-height:calc(100vh - 24px);overflow:auto;padding:8px;background:var(--card);border:1px solid var(--border);border-radius:16px}
.admin-nav .admin-nav-toggle{display:none}
.admin-layout nav{display:grid;gap:4px}
.admin-layout nav button{display:flex;align-items:center;gap:9px;min-height:42px;border:1px solid transparent;padding:6px 9px;font-size:12px;text-align:start;background:transparent;border-radius:9px}
.admin-layout nav button svg{width:17px;height:17px;color:var(--teal)}
.admin-layout nav button:hover{background:#e8eee6}
.admin-layout nav button[aria-pressed=true]{background:#dbede4;border-color:#c5dfd1;color:var(--dark);font-weight:800}
.admin-layout>.admin-content{min-height:180px;padding:clamp(12px,2vw,23px);border:1px solid var(--border);border-radius:15px;background:#fffdf8}
.admin-layout>.admin-content[data-view=dashboard]{background:transparent;border:0;padding:0;min-width:0}
.admin-content>p{color:var(--muted);margin:8px 0 16px}
.admin-section-intro{margin-bottom:17px}
.admin-section-intro p{margin-top:6px;color:var(--muted);font-size:13px}
.staff-form{display:grid;gap:10px;max-width:44rem}
.staff-list,.staff-activity{display:grid;gap:8px;margin-block:12px}
.staff-account small{display:block;color:var(--muted);font-size:12px;font-weight:500}
.staff-account bdi,.staff-activity bdi{overflow-wrap:anywhere}
.staff-account-static{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:10px 11px;background:#f7f5ec;font-weight:750}
.staff-account-actions{display:flex;align-items:center;gap:8px}
.admin-code{font-family:ui-monospace,monospace}
.staff-activity{list-style:none;padding:0}
.staff-activity .admin-heading{flex-wrap:wrap}
.staff-activity time,.staff-activity p,.staff-activity dl{color:var(--muted);font-size:13px}
.staff-activity dl{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0}
.staff-activity dl div{display:flex;flex-wrap:wrap;gap:0 6px}
.staff-activity dd{margin:0;color:var(--dark)}
.home-editor-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:17px;align-items:start}
.home-editor-layout form,.editor-preview{min-width:0}
.editor-preview{position:sticky;top:12px;background:#eef1e9;border:1px solid #d7ded4;border-radius:12px;overflow:hidden}
.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-bottom:1px solid #d7ded4;background:#fffdf8}
.preview-toolbar strong{font-size:13px}
.preview-state{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}
.preview-state span{width:6px;height:6px;border-radius:50%;background:var(--teal)}
.preview-devices{display:flex;gap:3px;padding:3px;background:#edf0e8;border-radius:8px}
.preview-devices button{display:grid;place-items:center;width:33px;height:29px;border:0;border-radius:6px;color:var(--teal);background:transparent}
.preview-devices button[aria-pressed=true]{background:#fffdf8;box-shadow:0 1px 4px #1736301c}
.preview-devices svg{width:17px;height:17px}
.preview-viewport{height:490px;direction:ltr;overflow:hidden;background:#f1ede3;padding:0}
.preview-viewport iframe{
  display:block;
  width:1200px;
  height:calc(490px / var(--preview-scale, .34));
  border:0;
  transform-origin:top left;
  transform:scale(var(--preview-scale,.34));
}
.preview-viewport[data-preview-device=mobile] iframe{width:390px}
.home-preview{overflow-x:hidden}
.home-preview .skip{display:none}
.edit-panel{border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--card)}
.edit-panel>summary{list-style:none;cursor:pointer;padding:10px 11px;background:#f7f5ec;display:flex;align-items:center;justify-content:space-between;font-weight:750;gap:7px}
.edit-panel[open]>summary{background:#e8f0e8;color:var(--dark)}
.edit-panel>summary::-webkit-details-marker{display:none}
.edit-panel-body{padding:12px;display:grid;gap:9px}
.editorial-path{overflow-wrap:anywhere}
.editorial-warnings{margin:0;padding-inline-start:1.4rem}
.editorial-warnings li+li{margin-top:.35rem}
.edit-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.group-item{display:grid;gap:8px;border:1px solid var(--border);padding:7px;border-radius:6px}
.image-field{display:grid;gap:5px;justify-items:start;max-width:100%;min-width:0}
.image-field>img{width:94px;height:62px;object-fit:cover;border:1px solid var(--border);border-radius:5px;background:var(--sand)}
.image-field>label{width:100%;overflow:hidden}
.image-field input[type=file]{font-size:11px;min-width:0}
.article-editor-blocks{display:grid;gap:9px;min-width:0}
.article-editor-blocks h4{font-size:18px;margin:0}
.article-editor-blocks>p{color:var(--muted);font-size:14px}
.article-block-editor{display:grid;gap:9px;min-width:0;padding:10px 13px 13px;margin:0;background:var(--card);border:1px solid var(--border);border-radius:10px}
.article-block-editor legend{padding-inline:7px;color:var(--teal);font-weight:800}
.article-block-editor .image-field{width:100%}
.article-block-types,.article-block-actions{display:flex;flex-wrap:wrap;gap:6px}
.article-block-actions .btn,.article-block-types .btn{min-height:34px;font-size:12px;padding:3px 8px}
.article-insert{padding:6px 0}
.article-insert summary,.article-live-preview summary{cursor:pointer;color:var(--teal);font-weight:750}
.article-insert summary{width:max-content;font-size:13px}
.article-block-types{padding-block:6px}
.article-live-preview{min-width:0;padding:12px;border:1px solid var(--border);border-radius:10px}
.article-live-preview .article-block-actions{margin-top:10px}
.article-live-preview .article-block-actions [aria-pressed=true]{background:var(--teal);color:white}
.article-live-preview .prose{margin-top:14px;overflow-wrap:anywhere}
.article-live-preview .prose.article-preview-narrow{max-width:360px}
.article-preview-narrow .article-split,.article-preview-narrow .article-split.image-right{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "art";gap:10px}
.article-live-preview .article-signature{margin-top:18px;padding-top:12px;border-top:1px solid var(--border)}
.article-workspace{padding:clamp(10px,2vw,16px);border:1px solid #e5e3d8;border-radius:15px;background:#f3f3eb}
.article-workspace .article-workspace-heading{margin-bottom:12px;justify-content:flex-start;flex-wrap:wrap;gap:8px}
.article-workspace .article-workspace-heading h3{margin:0;font-size:clamp(17px,2vw,22px)}
.article-workspace-heading .tag{color:#205b51;background:#deece4}
.article-workspace-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(214px,.42fr);grid-template-areas:"meta cover" "blocks publish" "settings publish";gap:11px;align-items:start}
.article-workspace-card{display:grid;gap:10px;min-width:0;padding:clamp(11px,2vw,18px);border:1px solid var(--border);border-radius:13px;background:var(--card)}
.article-workspace-card h4{font-size:16px;line-height:1.5;margin:0;color:var(--dark)}
.article-meta{grid-area:meta;align-self:stretch;align-content:start}
.article-cover{grid-area:cover}
.article-workspace .article-editor-blocks{grid-area:blocks}
.article-settings{grid-area:settings;min-width:0}
.article-settings .edit-panel{margin:0}
.article-publish{grid-area:publish;position:sticky;top:12px}
.article-saved-preview{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--teal);overflow-wrap:anywhere}
.article-saved-preview:hover{text-decoration:underline}
.article-saved-preview svg{width:16px;height:16px}
.article-publish-actions{display:flex;flex-wrap:wrap;gap:6px}
.article-publish-actions .btn{min-height:39px;padding-inline:9px}
.article-upload{display:grid;gap:4px;width:100%;min-width:0}
.article-workspace .article-upload-zone{position:relative;display:grid;place-items:center;align-content:center;gap:5px;min-height:132px;padding:9px;cursor:pointer;text-align:center;border:1px dashed #a7bdaf;border-radius:11px;background:#f0f5ed;color:var(--dark)}
.article-upload-zone:hover,.article-upload-zone:focus-within{background:#e5f0e8;border-color:var(--teal)}
.article-upload-zone:focus-within{outline:2px solid var(--teal);outline-offset:2px}
.article-upload-zone input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0}
.article-upload-zone img{width:auto;max-width:100%;height:auto;max-height:170px;object-fit:contain;border-radius:7px}
.article-upload-empty{display:grid;justify-items:center;gap:3px}
.article-upload-empty svg{width:30px;height:30px;color:var(--teal)}
.article-upload-empty small{font-size:11px;font-weight:400;color:var(--muted)}
.article-upload-label{font-size:12px;font-weight:800}
.article-upload-options{font-size:11px;color:var(--muted)}
.article-upload-options label{margin-top:5px;font-size:12px}
.article-upload [data-image-status]:empty,.article-upload [data-artwork-preview]:empty,.article-publish [role=status]:empty{display:none}
.article-image-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.article-composer-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"copy photo";gap:11px;align-items:start}
.article-composer-split.image-right{grid-template-areas:"photo copy"}
.article-composer-copy{grid-area:copy;min-width:0}
.article-composer-photo{grid-area:photo;display:grid;gap:7px;min-width:0}
.article-composer-photo .article-image-fields{grid-template-columns:minmax(0,1fr)}
.article-row-placeholder{align-self:center;display:grid;place-items:center;width:min(100%,55px);height:42px;border-radius:7px;background:#e8efe6;color:var(--teal)}
.article-row-placeholder svg{width:18px;height:18px}
@media(max-width:1080px){.article-workspace-form{grid-template-columns:minmax(0,1fr);grid-template-areas:"meta" "cover" "blocks" "settings" "publish"}.article-publish{position:static}}
@media(max-width:650px){.article-composer-split,.article-composer-split.image-right{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "photo"}.article-image-fields{grid-template-columns:minmax(0,1fr)}}
.save-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.list-status{margin-block:8px}
.admin-list,.ticket-list{display:grid;gap:8px;margin-top:12px}
.admin-row{display:grid;align-items:center;grid-template-columns:50px 1fr auto;gap:8px;padding:6px 8px;border:1px solid var(--border);border-radius:7px}
.admin-row img{width:45px;height:42px;border-radius:4px}
.admin-row small{display:block;color:var(--muted);font-size:11px}
.admin-row strong{font-size:14px;overflow-wrap:anywhere}
.row-actions{display:flex;gap:3px}
.row-actions .btn{min-height:33px;padding:3px 7px}
.remove{color:#9e3027;background:transparent}
.remove:hover{background:#f6e4d9}
.entry-editor{margin-block:9px;background:#f7f5ed}
.entry-editor h3{margin-bottom:10px}
form .check{display:flex;align-items:center;gap:5px}
.check input{accent-color:var(--teal)}
.ticket h3,.ticket-contact,.ticket-message{overflow-wrap:anywhere}
.ticket .ticket-message{color:var(--ink);white-space:normal;padding:8px 0}
.ticket-contact{font-size:12px}
.ticket .tag{white-space:nowrap}
.ticket-payment-actions { margin-bottom: 12px; flex-wrap: wrap }
.order-search { display:flex; flex-wrap:wrap; align-items:end; gap:8px; margin-bottom:12px }
.order-search label { flex:0 1 250px }
.payment-note{color:var(--muted);font-size:12px}
.sms-settings { max-width:640px }
.finance-settings { max-width:680px }
.finance-heading { display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px }
.finance-icon { display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--mint);color:var(--teal) }
.finance-state { padding:3px 9px;margin-inline-start:auto;border-radius:999px;background:#f3e9e4;color:#674b3e;font-size:11px }
.finance-state[data-enabled=true] { background:var(--mint);color:var(--teal) }
@media(max-width:520px){.finance-state{margin-inline-start:0}}
[data-slide-list],[data-buttons] { display:grid;gap:8px }
.slide-tools { display:flex;flex-wrap:wrap;gap:4px }
.slide-tools .btn,.slide-button-editor .btn { min-height:34px }
.slide-editor [data-slide-label] { min-width:0;overflow-wrap:anywhere }
.slide-button-editor { display:grid;gap:6px;border:1px solid var(--border);border-radius:8px;background:#f5f7ef;padding:8px }
.slide-button-editor input[type=color] { height:43px;padding:4px;cursor:pointer }
[data-add-slide],[data-add-button] { justify-self:start }
.report-overview{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 15px;margin-bottom:15px}
.report-dashboard-actions{display:flex;flex-wrap:wrap;gap:8px}
.report-finance{background:var(--card);border-color:#cadcd1}
.report-finance svg{width:17px;height:17px}
.report-filter{display:flex;align-items:end;flex-wrap:wrap;gap:8px 10px;padding:14px;margin-bottom:16px;border:1px solid var(--border);border-radius:15px;background:var(--card)}
.report-filter label{flex:0 1 165px;min-width:min(100%,132px)}
.report-filter .btn{min-height:43px}
.report-filter .btn[aria-disabled=true]{opacity:.6;cursor:default}
.report-filter p{flex-basis:100%;margin:0}
.report-filter #report-timezone{color:var(--muted);font-size:12px}
.report-results{margin-bottom:18px}
.report-results>h3{font-size:clamp(17px,2vw,22px);margin-bottom:9px}
.report-revenue{position:relative;isolation:isolate;overflow:hidden;min-height:205px;padding:clamp(18px,3vw,30px);border-radius:19px;background:#143d37;color:#fffdf4}
.report-revenue::before{content:'';position:absolute;inset:0 auto 0 0;width:49%;z-index:-1;background:linear-gradient(270deg,#143d37 0%,#143d3738 34%,#143d370c 78%),url('/assets/about-studio-painting-640.578c91e2e80983f1.webp') center 47% / cover}
.report-revenue-content{width:min(100%,58%);min-width:0}
.report-revenue h3{font-size:clamp(15px,2vw,19px);color:#e3eee5}
.report-total{font-size:clamp(29px,5vw,55px);font-weight:900;line-height:1.38;overflow-wrap:anywhere;margin:4px 0 12px}
.report-total small{font-size:14px;font-weight:700;color:#d4e8dc}
.report-revenue-details{display:flex;flex-wrap:wrap;gap:10px clamp(15px,3vw,30px);margin:0;padding-top:11px;border-top:1px solid #ffffff3d}
.report-revenue-details dt{font-size:11px;color:#cce0d5}
.report-revenue-details dd{font-size:14px;margin:0;color:#fffdf4;font-weight:800;overflow-wrap:anywhere}
.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}
.report-metric{display:grid;justify-items:start;align-content:start;gap:4px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:15px;background:var(--card)}
.report-icon{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:12px;color:#175f52;background:#e1eee6}
.report-icon svg{width:20px;height:20px}
.report-metric-sand .report-icon{background:#f6ead9;color:#8a5429}
.report-metric-lilac .report-icon{background:#eee8f4;color:#655481}
.report-metric-rose .report-icon{background:#f7e7eb;color:#83475b}
.report-metric dt{color:var(--muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}
.report-metric dd{color:var(--dark);font-size:clamp(20px,3vw,31px);font-weight:900;line-height:1.2;margin:0;overflow-wrap:anywhere;max-width:100%}
.report-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:14px;align-items:start}
.report-chart{display:flex;flex-direction:column;min-width:0;min-height:238px;padding:clamp(14px,2vw,20px);border:1px solid var(--border);border-radius:16px;background:var(--card)}
.report-chart-heading{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.report-chart-heading h3{font-size:clamp(15px,1.7vw,19px)}
.report-chart-heading p{margin-top:3px;color:var(--muted);font-size:11px}
.report-chart ol{padding:0;margin:0 0 12px}
.report-product-list li{margin-inline-start:22px}
.report-product-list li::marker{color:var(--teal);font-size:12px;font-weight:800}
.report-chart li{padding:8px 0}
.report-chart li+li{border-top:1px solid #ebe7dc}
.report-chart li strong{font-size:13px;overflow-wrap:anywhere}
.report-chart footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:10px;border-top:1px solid #eee9df;color:var(--muted);font-size:12px}
.report-chart footer strong{color:var(--dark)}
.report-chart-empty{display:grid;justify-items:center;align-content:center;gap:6px;min-height:108px;margin-bottom:11px;padding:10px;text-align:center;border:1px dashed #d9dfd5;border-radius:12px;background:#f5f6ef;color:var(--muted);font-size:12px}
.report-chart-empty .report-icon{width:31px;height:31px;background:#e6eee4}
.report-chart-empty .report-icon svg{width:17px;height:17px}
.report-chart-empty .btn{background:transparent;min-height:29px;padding-block:2px;font-size:12px}
.report-bar{--bar-fill:#25786b;display:grid;grid-template-columns:minmax(0,1fr) minmax(22px,auto);gap:7px;align-items:center;margin-top:2px;color:var(--muted);font-size:12px}
.report-bar meter{width:100%;height:14px;appearance:none}
.report-bar meter::-webkit-meter-bar{background:#e8eee5;border:0;border-radius:7px;box-shadow:none}
.report-bar meter::-webkit-meter-optimum-value{background:var(--bar-fill);border-radius:7px}
.report-bar meter::-moz-meter-bar{background:var(--bar-fill);border-radius:7px}
.report-empty { padding:12px 9px;border-radius:7px;background:#f4f2e9;color:var(--muted);font-size:13px }
.report-user-search { display:grid;grid-template-columns:minmax(0,340px) auto;justify-content:start;align-items:end }
.report-user-search .feedback { grid-column:1/-1 }
.report-user-count { margin:12px 0 7px;color:var(--muted);font-size:13px }
.report-table { overflow:auto;border:1px solid var(--border);border-radius:10px }
.report-table table { width:100%;min-width:340px;border-collapse:collapse;text-align:start;font-size:13px }
.report-table th,.report-table td { padding:9px;text-align:start;overflow-wrap:anywhere }
.report-table th { background:#eaf1e8 }
.report-table tbody tr+tr { border-top:1px solid var(--border) }
.report-course-table{margin-bottom:12px;max-height:min(52vh,25rem)}
.report-course-table table{min-width:555px}
.report-course-table thead th{position:sticky;inset-block-start:0}
.report-course-table th[scope=row]{background:transparent}
.report-course-table td{white-space:nowrap}
.report-course-table:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.report-pages { display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:13px }
.admin-row .row-actions { flex-wrap:wrap;justify-content:end }
@media(max-width:1020px){.admin-layout{grid-template-columns:159px minmax(0,1fr);gap:13px}}
@media(max-width:850px){.report-charts{grid-template-columns:minmax(0,1fr)}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:870px){.home-editor-layout{grid-template-columns:1fr}.editor-preview{position:static;grid-row:1}.preview-viewport{height:350px}.preview-viewport iframe{height:calc(350px / var(--preview-scale,.34))}}
@media(max-width:650px){
  .admin{margin-top:12px}
  .admin .admin-top{min-height:0;flex-wrap:wrap}
  .admin-top .actions{gap:5px}
  .admin-top .btn{min-height:38px;padding-inline:8px;font-size:11px}
  .admin-identity{gap:7px}
  .admin-identity img{width:41px;height:41px;padding:5px;border-radius:10px}
  .admin-identity p{font-size:10px}
  .admin-layout{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:10px}
  .admin-nav{position:static;max-height:none;padding:5px}
  .admin-nav .admin-nav-toggle{display:flex;justify-content:flex-start;width:100%;border:0;min-height:39px}
  .admin-nav-toggle svg{width:18px;height:18px}
  .admin-nav nav{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding-top:4px}
  .admin-nav-toggle[aria-expanded=true]+nav{display:grid}
  .admin-layout nav button{gap:6px;padding:5px;font-size:11px;min-height:37px}
  .admin-layout nav button svg{width:14px;height:14px}
  .report-revenue{min-height:0;padding:16px}
  .report-revenue::before{width:69%;background-image:linear-gradient(270deg,#143d37,#143d37d9 27%,#143d372e),url('/assets/about-studio-painting-640.578c91e2e80983f1.webp')}
  .report-revenue-content{width:100%}
  .report-revenue-details{gap:8px 20px}
  .report-metrics{gap:8px;margin-block:11px}
  .report-metric{padding:10px}
  .report-finance{min-height:38px;padding-inline:8px;font-size:11px}
  .admin-row{grid-template-columns:37px 1fr auto}
  .admin-row img{width:35px;height:35px}
  .admin-row strong{font-size:12px}
  .row-actions .btn{font-size:11px}
  .edit-columns{grid-template-columns:1fr}
}
