:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #111114;
  --surface-2: #17171b;
  --line: rgba(255,255,255,.09);
  --text: #f5f3ef;
  --muted: #96949d;
  --violet: #9b7cff;
  --lime: #c8ff52;
  --orange: #ff8c5a;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; background: var(--bg); color: var(--text); overflow-x: hidden; }
button, textarea, input { font: inherit; }
button { color: inherit; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 99; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.browser-notice { position: fixed; top: 0; inset-inline: 0; z-index: 101; padding: 8px 16px; text-align: center; font-size: 11px; background: var(--lime); color: #0b0b0d; font-weight: 700; }
.browser-notice:not([hidden]) + .app-shell .topbar { top: 31px; }
.app-shell { width: min(100%, 680px); min-height: 100vh; margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 30; height: 68px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(9,9,11,.97), rgba(9,9,11,.78), transparent); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: 17px; font-weight: 950; border-radius: 10px 4px 10px 4px; transform: rotate(-3deg); }
.brand-name { font-size: 13px; font-weight: 900; letter-spacing: .07em; }
.brand-name span { color: var(--muted); font-weight: 600; }
.avatar { position: relative; border: 1px solid var(--line); background: var(--surface-2); width: 39px; height: 39px; border-radius: 50%; font-weight: 850; cursor: pointer; }
.avatar i { position: absolute; right: -1px; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 2px solid var(--bg); }
main { padding: 0 0 calc(94px + var(--safe-bottom)); }
.screen { display: none; padding: 0 18px; }
.screen.active { display: block; animation: screenIn .35s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } }

.hero { position: relative; min-height: 620px; padding: 56px 0 28px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 18px; right: -120px; width: 290px; height: 290px; border-radius: 50%; background: radial-gradient(circle, rgba(155,124,255,.2), transparent 68%); filter: blur(8px); }
.hero-orbit { position: absolute; width: 255px; height: 255px; right: -105px; top: 45px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; animation: rotate 22s linear infinite; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.hero-orbit::after { inset: 72px; }
.hero-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); top: 43px; left: 14px; box-shadow: 0 0 20px var(--violet); }
.hero-orbit i:nth-child(2) { background: var(--lime); top: auto; left: 76px; bottom: -4px; box-shadow: 0 0 20px var(--lime); }
.hero-orbit i:nth-child(3) { background: var(--orange); left: auto; right: -2px; top: 120px; box-shadow: 0 0 20px var(--orange); }
@keyframes rotate { to { transform: rotate(360deg); } }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #b6b3bc; font-size: 10px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }
.eyebrow span { width: 18px; height: 1px; background: var(--lime); box-shadow: 0 0 8px rgba(200,255,82,.7); }
.hero h1, .page-intro h1 { position: relative; margin: 0; font-size: clamp(46px, 13.2vw, 75px); line-height: .95; letter-spacing: -.065em; font-weight: 880; }
h1 em { color: var(--violet); font-style: normal; font-weight: 500; }
.hero-copy { width: min(88%, 450px); margin: 28px 0 26px; color: #b2afb8; font-size: 15px; line-height: 1.58; }
.primary-button { border: 0; background: var(--lime); color: #10110e; min-height: 55px; padding: 0 8px 0 19px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-weight: 820; cursor: pointer; box-shadow: 0 12px 40px rgba(200,255,82,.12); transition: transform .2s, filter .2s; }
.primary-button:active { transform: scale(.97); }
.primary-button:disabled { opacity: .55; cursor: wait; }
.primary-button b { width: 39px; height: 39px; display: grid; place-items: center; background: #11130c; color: var(--lime); border-radius: 12px; font-size: 20px; }
.hero .primary-button { width: min(100%, 345px); }
.hero-meta { position: absolute; bottom: 25px; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 0 0; border-top: 1px solid var(--line); }
.hero-meta div { padding: 0 12px; border-right: 1px solid var(--line); }
.hero-meta div:first-child { padding-left: 0; }
.hero-meta div:last-child { border: 0; }
.hero-meta strong, .hero-meta span { display: block; }
.hero-meta strong { font-size: 18px; }
.hero-meta span { margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

.content-block { margin: 56px 0 74px; }
.section-heading { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading > div { display: flex; gap: 10px; align-items: flex-start; }
.section-index { color: var(--violet); font: 700 10px ui-monospace, monospace; padding-top: 3px; }
.section-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.text-button { padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.service-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.service-rail::-webkit-scrollbar { display: none; }
.service-card { position: relative; min-height: 240px; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); scroll-snap-align: start; cursor: pointer; }
.service-card:active { transform: scale(.985); }
.service-card .visual { height: 102px; margin: -3px -3px 16px; position: relative; border-radius: 17px; overflow: hidden; background: var(--accent, var(--violet)); }
.service-card .visual::before { content: attr(data-letter); position: absolute; right: -5px; top: -35px; font-size: 145px; font-weight: 950; color: rgba(10,10,12,.23); letter-spacing: -.1em; transform: rotate(8deg); }
.service-card .visual::after { content: ""; position: absolute; inset: 16px 45% 16px 16px; border: 1px solid rgba(0,0,0,.25); border-radius: 50%; box-shadow: 45px 20px 0 -1px transparent, 45px 20px 0 0 rgba(0,0,0,.2); }
.service-card .card-number { font: 650 9px ui-monospace, monospace; color: var(--muted); }
.service-card h3 { margin: 7px 0; font-size: 21px; letter-spacing: -.035em; }
.service-card p { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-footer strong { font-size: 14px; }
.card-footer span { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.steps { border-top: 1px solid var(--line); }
.steps article { display: grid; grid-template-columns: 43px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps article > span { color: var(--violet); font: 650 10px ui-monospace, monospace; padding-top: 4px; }
.steps h3 { margin: 0 0 6px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.page-intro { padding: 48px 0 38px; }
.page-intro.compact { padding-bottom: 24px; }
.page-intro > p:last-child { margin: 24px 0 0; max-width: 460px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.catalog-grid { display: grid; gap: 14px; }
.catalog-grid .service-card { min-height: 280px; }
.catalog-grid .service-card .visual { height: 125px; }
.filter-pills { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; scrollbar-width: none; }
.filter-pills button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 14px; color: var(--muted); font-size: 11px; cursor: pointer; }
.filter-pills button.active { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 750; }
.orders-list { display: grid; gap: 10px; }
.order-card { position: relative; width: 100%; text-align: left; padding: 17px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); cursor: pointer; overflow: hidden; }
.order-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--status-color, var(--violet)); }
.order-card-top, .order-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-card small { color: var(--muted); font-size: 10px; }
.order-card h3 { margin: 10px 0 16px; font-size: 17px; }
.status-pill { padding: 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--status-color, var(--violet)) 14%, transparent); color: var(--status-color, var(--violet)); font-size: 9px; font-weight: 750; white-space: nowrap; }
.empty-state { padding: 38px 22px; text-align: center; border: 1px dashed var(--line); border-radius: 22px; }
.empty-state .empty-icon { margin: 0 auto 15px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 19px; background: var(--surface-2); color: var(--violet); font-size: 25px; }
.empty-state h3 { margin: 0 0 7px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-state button { border: 0; background: none; color: var(--lime); font-weight: 700; }

.profile-card { margin: 35px 0 12px; padding: 30px 20px; text-align: center; border: 1px solid var(--line); border-radius: 27px; background: radial-gradient(circle at 50% -20%, rgba(155,124,255,.28), transparent 55%), var(--surface); }
.profile-monogram { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--violet); color: #101014; border-radius: 27px 10px 27px 10px; font-size: 28px; font-weight: 950; transform: rotate(-3deg); }
.profile-card p { margin: 0 0 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.profile-card h1 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.profile-card > span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.profile-stats div { padding: 17px; text-align: center; }
.profile-stats div + div { border-left: 1px solid var(--line); }
.profile-stats strong, .profile-stats span { display: block; }
.profile-stats strong { font-size: 21px; }
.profile-stats span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.profile-menu { border: 1px solid var(--line); border-radius: 19px; background: var(--surface); overflow: hidden; }
.profile-menu button { width: 100%; display: grid; grid-template-columns: 39px 1fr 15px; gap: 12px; align-items: center; padding: 13px; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: none; cursor: pointer; }
.profile-menu button:last-child { border: 0; }
.profile-menu button div { display: grid; gap: 3px; }
.profile-menu strong { font-size: 13px; }
.profile-menu small, .profile-menu b { color: var(--muted); font-size: 10px; }
.menu-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #111; font-weight: 900; }
.menu-icon.violet { background: var(--violet); }.menu-icon.lime { background: var(--lime); }.menu-icon.orange { background: var(--orange); }
.menu-icon.blue { background: #74d8ff; }.menu-icon.red { background: #ff6f72; }
.about-card { margin: 12px 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, rgba(255,255,255,.04), transparent); }
.about-card > span { color: var(--violet); font: 700 9px ui-monospace, monospace; letter-spacing: .13em; }
.about-card p { margin: 12px 0 20px; line-height: 1.55; font-size: 14px; }
.about-card small { color: var(--muted); font-size: 9px; }

.bottom-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 40; width: min(100%, 680px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 9px 10px calc(8px + var(--safe-bottom)); border-top: 1px solid var(--line); background: rgba(12,12,15,.93); backdrop-filter: blur(18px); }
.bottom-nav button { position: relative; display: grid; justify-items: center; gap: 4px; border: 0; padding: 3px; background: none; color: #77747e; cursor: pointer; }
.bottom-nav i { height: 23px; font-style: normal; font-size: 20px; line-height: 1; }
.bottom-nav span { font-size: 9px; }
.bottom-nav button.active { color: var(--text); }
.bottom-nav button.active i { color: var(--lime); }
.bottom-nav b { position: absolute; right: 23%; top: -2px; min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--orange); color: #111; font-size: 8px; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); animation: fadeIn .25s ease both; }
.bottom-sheet { position: fixed; left: 50%; bottom: 0; z-index: 61; width: min(100%, 680px); max-height: 92dvh; transform: translateX(-50%); display: flex; flex-direction: column; border: 1px solid var(--line); border-bottom: 0; border-radius: 28px 28px 0 0; background: #101013; animation: sheetIn .35s cubic-bezier(.2,.8,.2,1) both; }
.bottom-sheet[hidden], .sheet-backdrop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetIn { from { transform: translate(-50%, 100%); } }
.sheet-handle { flex: 0 0 auto; width: 36px; height: 4px; margin: 9px auto 0; border-radius: 999px; background: #45444b; }
.sheet-close { position: absolute; right: 14px; top: 16px; z-index: 2; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); font-size: 21px; line-height: 1; cursor: pointer; }
.sheet-content { overflow-y: auto; padding: 28px 18px 18px; overscroll-behavior: contain; }
.sheet-content .eyebrow { margin-bottom: 17px; }
.sheet-content h2 { margin: 0 50px 18px 0; font-size: 28px; letter-spacing: -.045em; }
.selected-service-mark { float: right; margin: 25px 42px 0 0; color: var(--violet); font: 800 11px ui-monospace, monospace; }
.selected-service { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 24px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.selected-service strong, .selected-service span { font-size: 12px; }
.selected-service span { color: var(--lime); }
.field-label { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 750; }
textarea { width: 100%; min-height: 155px; resize: vertical; padding: 15px; border: 1px solid var(--line); outline: 0; border-radius: 17px; background: #0b0b0e; color: var(--text); font-size: 13px; line-height: 1.5; transition: border-color .2s; }
textarea:focus { border-color: var(--violet); }
textarea::placeholder { color: #5f5c65; }
.field-meta { display: flex; justify-content: space-between; margin: 6px 2px 16px; color: var(--muted); font-size: 9px; }
.upload-zone { min-height: 75px; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed #48464f; border-radius: 17px; background: rgba(255,255,255,.02); cursor: pointer; }
.upload-zone input { display: none; }
.upload-icon { flex: 0 0 auto; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--violet); color: #111; font-size: 24px; }
.upload-zone div { display: grid; gap: 4px; }
.upload-zone strong { font-size: 12px; }
.upload-zone small { color: var(--muted); font-size: 9px; }
.file-list { display: grid; gap: 7px; margin-top: 10px; }
.file-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 11px; border-radius: 11px; background: var(--surface-2); font-size: 10px; }
.file-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item button { border: 0; background: none; color: var(--orange); font-size: 15px; }
.privacy-note { display: flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--muted); font-size: 9px; }
.privacy-note span { color: var(--lime); font-size: 16px; }
.sheet-footer { flex: 0 0 auto; display: grid; grid-template-columns: 1fr minmax(180px, 1.7fr); gap: 10px; align-items: center; padding: 11px 18px calc(11px + var(--safe-bottom)); border-top: 1px solid var(--line); background: #101013; }
.sheet-footer > div { display: grid; gap: 3px; }
.sheet-footer small { color: var(--muted); font-size: 9px; }
.sheet-footer strong { font-size: 13px; }
.sheet-footer .primary-button { min-height: 51px; font-size: 12px; }
.sheet-footer .primary-button b { width: 35px; height: 35px; font-size: 16px; }
.detail-sheet .sheet-content { padding-bottom: calc(24px + var(--safe-bottom)); }
.detail-head { margin-bottom: 22px; }
.detail-head .status-pill { display: inline-block; margin-bottom: 13px; }
.detail-head h2 { margin-bottom: 5px; }
.detail-head p { margin: 0; color: var(--muted); font-size: 11px; }
.detail-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 22px; }
.detail-summary div { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.detail-summary small, .detail-summary strong { display: block; }
.detail-summary small { margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.detail-summary strong { font-size: 12px; }
.detail-section { margin: 22px 0; }
.detail-section h3 { margin: 0 0 10px; font-size: 13px; }
.brief-box { padding: 14px; border-left: 2px solid var(--violet); background: var(--surface-2); color: #c8c5cc; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 5px; bottom: 5px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-left: 23px; display: flex; justify-content: space-between; gap: 10px; font-size: 10px; }
.timeline-item::before { content: ""; position: absolute; left: 1px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--violet); }
.timeline-item:first-child::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 10px rgba(200,255,82,.4); }
.timeline-item time { color: var(--muted); font-size: 9px; }
.detail-action { width: 100%; margin-top: 14px; }
.danger-button { width: 100%; padding: 13px; border: 1px solid rgba(255,140,90,.25); border-radius: 14px; background: rgba(255,140,90,.07); color: var(--orange); font-size: 11px; }
.secondary-button { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); color: var(--text); font-size: 11px; font-weight: 720; }
.hidden-input { display: none; }

.portfolio-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; padding-bottom: 7px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.portfolio-grid { display: grid; gap: 14px; padding-bottom: 25px; }
.portfolio-card { min-width: 0; padding: 10px 10px 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); scroll-snap-align: start; }
.portfolio-image { height: 210px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 15px; background: linear-gradient(145deg, rgba(155,124,255,.25), rgba(200,255,82,.08)); background-position: center; background-size: cover; color: var(--muted); font-size: 10px; }
.portfolio-card small { color: var(--violet); font: 700 9px ui-monospace, monospace; text-transform: uppercase; }
.portfolio-card h3 { margin: 6px 3px 0; font-size: 17px; }
.portfolio-card p { margin: 7px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.action-sheet { max-height: 88dvh; }
.action-form { display: grid; gap: 11px; }
.action-form label { color: #c9c6ce; font-size: 10px; font-weight: 750; }
.action-form input:not([type="checkbox"]), .action-form select, .admin-search input, .price-row input { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #0b0b0e; color: var(--text); font: inherit; font-size: 12px; }
.action-form input:focus, .action-form select:focus, .admin-search input:focus { border-color: var(--violet); }
.action-form .primary-button { width: 100%; margin-top: 6px; }
.compact-upload { margin: 2px 0 3px; }
.muted-copy { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.support-chat { max-height: 32vh; display: grid; gap: 9px; overflow-y: auto; margin: 0 0 18px; padding: 2px; }
.message-list { display: grid; gap: 8px; }
.message-bubble { max-width: 90%; padding: 10px 12px; border-radius: 15px 15px 15px 5px; background: var(--surface-2); }
.message-bubble.client { margin-left: auto; border-radius: 15px 15px 5px 15px; background: rgba(155,124,255,.13); border: 1px solid rgba(155,124,255,.17); }
.message-bubble.admin { margin-right: auto; }
.message-bubble small, .message-bubble time { color: var(--muted); font-size: 8px; }
.message-bubble p { margin: 5px 0; color: #d9d6dd; font-size: 11px; line-height: 1.45; white-space: pre-wrap; }
.chat-file { display: block; margin: 6px 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.04); color: var(--lime); font-size: 9px; }
.file-actions { display: grid; gap: 7px; }
.file-actions button { width: 100%; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 10px; padding: 10px; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); }
.file-actions button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--violet); color: #101014; font-weight: 900; }
.file-actions button div { min-width: 0; display: grid; gap: 3px; }
.file-actions strong, .file-actions small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-actions strong { font-size: 10px; }.file-actions small, .file-actions b { color: var(--muted); font-size: 8px; }

.admin-intro { padding-bottom: 18px; }
.admin-nav { display: flex; gap: 7px; overflow-x: auto; margin: 0 -18px 18px; padding: 0 18px 5px; scrollbar-width: none; }
.admin-nav button { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 10px; }
.admin-nav button.active { border-color: var(--lime); background: rgba(200,255,82,.1); color: var(--lime); }
.admin-content { padding-bottom: 28px; }
.admin-heading { display: flex; align-items: flex-start; justify-content: space-between; margin: 22px 0 14px; }
.admin-heading p { margin: 0 0 4px; color: var(--violet); font: 700 8px ui-monospace, monospace; letter-spacing: .13em; }
.admin-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.admin-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.admin-heading > button { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 17px; }
.loading-card { padding: 35px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); text-align: center; font-size: 11px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.stat-grid article { min-height: 105px; display: grid; align-content: space-between; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.stat-grid article.accent { background: var(--violet); color: #101014; border-color: var(--violet); }
.stat-grid small { font-size: 8px; letter-spacing: .08em; }.stat-grid strong { font-size: 29px; }
.revenue-card { display: grid; gap: 5px; margin: 9px 0; padding: 18px; border: 1px solid rgba(200,255,82,.18); border-radius: 18px; background: linear-gradient(140deg, rgba(200,255,82,.09), transparent); }
.revenue-card small { color: var(--lime); font-size: 8px; letter-spacing: .1em; }.revenue-card strong { font-size: 26px; }.revenue-card span { color: var(--muted); font-size: 9px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.quick-grid button { min-height: 92px; display: grid; align-content: space-between; justify-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: left; }
.quick-grid b { font-size: 21px; color: var(--violet); }.quick-grid span { font-size: 10px; color: var(--muted); }
.admin-search { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-bottom: 10px; }
.admin-search button, .price-row button { padding: 0 14px; border: 0; border-radius: 13px; background: var(--violet); color: #111; font-size: 10px; font-weight: 800; }
.admin-filters { margin-bottom: 13px; }
.admin-list { display: grid; gap: 9px; }
.admin-list-card { display: grid; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.admin-list-card h3 { margin: 5px 0; font-size: 18px; }.admin-list-card p, .admin-list-card time, .admin-list-card small { margin: 0; color: var(--muted); font-size: 9px; }
.admin-list-card .support-text { margin: 8px 0; color: #d1ced5; font-size: 11px; line-height: 1.5; white-space: pre-wrap; }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-actions button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 9px; }
.inline-actions .positive { border-color: rgba(200,255,82,.25); color: var(--lime); }.inline-actions .negative { border-color: rgba(255,111,114,.25); color: #ff8c8e; }
.settings-card { padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.switch-row { display: flex !important; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 7px; }
.switch-row div { display: grid; gap: 3px; }.switch-row small { color: var(--muted); font-size: 8px; }
.switch-row input { width: 42px; height: 23px; accent-color: var(--lime); }
.subheading { margin: 25px 0 10px; font-size: 13px; }
.price-row { display: grid; grid-template-columns: 1fr 80px auto; gap: 8px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.price-row div { display: grid; gap: 3px; min-width: 0; }.price-row strong { overflow: hidden; text-overflow: ellipsis; font-size: 10px; }.price-row small { color: var(--muted); font-size: 8px; }
.price-row input { min-height: 39px; }.price-row button { min-height: 39px; padding: 0 9px; }
.full-button { width: 100%; margin-bottom: 13px; }
.warning-note { padding: 11px; border: 1px solid rgba(255,140,90,.2); border-radius: 12px; background: rgba(255,140,90,.06); color: #d8ac98; font-size: 9px; line-height: 1.45; }
.admin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.admin-actions button { min-height: 43px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-size: 9px; font-weight: 700; }
.admin-actions .lime { border-color: var(--lime); background: var(--lime); color: #111; }.admin-actions .danger { color: #ff8c8e; border-color: rgba(255,111,114,.25); }
.toast { position: fixed; left: 50%; bottom: calc(86px + var(--safe-bottom)); z-index: 100; width: min(calc(100% - 34px), 430px); padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: #202025; color: var(--text); text-align: center; font-size: 11px; box-shadow: 0 14px 40px rgba(0,0,0,.45); opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(255,140,90,.4); color: #ffc0a5; }
.reveal { animation: reveal .65s ease both; }.delay-1 { animation-delay: .08s; }.delay-2 { animation-delay: .14s; }.delay-3 { animation-delay: .2s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
body.modal-open { overflow: hidden; }

@media (min-width: 560px) {
  .screen { padding-inline: 28px; }
  .topbar { padding-inline: 28px; }
  .hero { min-height: 650px; }
  .service-rail { grid-auto-columns: 48%; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-rail { grid-auto-columns: 48%; }
  .sheet-content, .sheet-footer { padding-inline: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
