/* Hyper v5: every workspace gets a new layout; checkout follows the supplied reference. */
.hyper-workspace { --bg-primary: var(--ui-surface); --bg-secondary: var(--ui-surface); --bg-card: var(--ui-surface); --bg-input: var(--ui-surface); --border-color: var(--ui-line); --text-primary: #f5f7fc; --text-secondary: var(--ui-muted); --text-muted: var(--ui-muted); --radius-lg: 20px; }
.hyper-workspace .hero-section:not(.storefront-hero) { position: relative; text-align: left; padding: 38px 40px; margin: 32px 0; border: 1px solid var(--ui-line); border-radius: 20px; background: linear-gradient(115deg, var(--ui-line), var(--ui-surface)); }
.hyper-workspace .hero-section:not(.storefront-hero) .hero-title { font-size: clamp(1.8rem, 3.5vw, 2.9rem); letter-spacing: -0.045em; margin-bottom: 12px; }
.hyper-workspace .hero-section:not(.storefront-hero) .hero-subtitle { margin: 0; max-width: 650px; }
.workspace-eyebrow { font-size: 10px; letter-spacing: 0.18em; color: var(--ui-muted); font-weight: 700; margin-bottom: 15px; }
.sound-toggle { border: 1px solid var(--ui-line); background: transparent; color: var(--ui-muted); font: inherit; font-size: 11px; padding: 7px 10px; border-radius: 7px; cursor: pointer; white-space: nowrap; }
.sound-toggle[aria-pressed="true"] { color: #7fe0b5; }
.hyper-workspace .header-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.hyper-workspace .header-top-row { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; padding: 0 0 16px; }
.hyper-workspace .nav-tabs { justify-content: flex-start; padding: 10px 0; border-top: 1px solid var(--ui-line); width: 100%; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.hyper-workspace .user-menu-area { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hyper-workspace .modal-box:not(.checkout-dialog) { background: var(--ui-surface); border-color: var(--ui-line); border-radius: 20px; }
.hyper-workspace .status-badge-pill { flex-shrink: 0; }
.hyper-workspace .glass-card { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 18px; box-shadow: 0 12px 35px #00000015; }
.hyper-workspace .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hyper-workspace .status-grid > * { border-radius: 18px; padding: 28px; background: var(--ui-surface); border: 1px solid var(--ui-line); }
.hyper-workspace #tab-section-purchases { display: none; }
.hyper-workspace #tab-section-purchases.active { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; }
.hyper-workspace #tab-section-purchases > .hero-section { grid-column: 1 / -1; margin-bottom: 0; }
.hyper-workspace .purchases-lookup-box { margin: 0; padding: 30px; max-width: none; align-self: start; border-radius: 18px; background: var(--ui-surface); }
.hyper-workspace .search-input-group { flex-direction: column; gap: 14px; }
.hyper-workspace .search-input-group input { width: 100%; min-height: 54px; border-radius: 10px; padding: 16px; }
.hyper-workspace .btn-search { min-height: 46px; width: 100%; border-radius: 10px; }
.hyper-workspace .order-reviews { margin-top: 0 !important; padding: 30px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 18px; }
.hyper-workspace .reviews-grid { grid-template-columns: 1fr; }
.hyper-workspace .mypage-header-card { margin: 32px 0 24px; padding: 32px; background: linear-gradient(115deg, var(--ui-line), var(--ui-surface)); border: 1px solid var(--ui-line); border-radius: 20px; }
.hyper-workspace .mypage-avatar { width: 66px; height: 66px; border-radius: 18px; box-shadow: none; }
.account-workspace { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; margin-bottom: 60px; align-items: start; }
.account-navigation { padding: 15px; position: sticky; top: 160px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 16px; display: grid; gap: 6px; }
.account-navigation button { text-align: left; border: 0; background: none; color: var(--ui-muted); padding: 16px 12px; font: inherit; font-size: 13px; cursor: pointer; border-radius: 10px; display: flex; gap: 12px; }
.account-navigation button span { color: var(--ui-muted); font-size: 10px; padding-top: 2px; }
.account-navigation button[aria-pressed="true"] { background: var(--ui-line); color: white; }
.account-pane[hidden] { display: none !important; }
.account-pane > h2 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 22px; }
.account-pane > .glass-card { padding: 30px !important; margin-bottom: 20px !important; }
.account-pane h3 { font-size: 18px !important; margin-bottom: 12px !important; }
.account-pane .wallet-card-header { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; }
.account-pane .wallet-card-balance-box { border: 1px solid var(--ui-line); border-radius: 14px; background: var(--ui-surface); padding: 25px; }
.account-pane .wallet-balance-amount { font-size: 36px; color: #f5f7fc; }
.account-pane .wallet-txs-wrapper { margin-top: 28px; border-top: 1px solid var(--ui-line); padding-top: 22px; }
.account-pane .form-control, .account-pane .styled-input { min-height: 48px; border-radius: 10px; }
.hyper-workspace .reseller-auth-box { max-width: 540px; margin: 0 auto 50px; padding: 40px; background: var(--ui-surface); border-radius: 20px; border: 1px solid var(--ui-line); }
.hyper-workspace .reseller-dashboard > .glass-card { padding: 28px !important; border-radius: 18px; }
.hyper-workspace .buy-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; margin-top: 32px; }
.hyper-workspace .buy-product-details > .glass-card { padding: 36px !important; }
.hyper-workspace .buy-checkout-card { background: var(--ui-surface); border: 1px solid var(--ui-line); padding: 28px; border-radius: 18px; }
.hyper-workspace .buy-plan-item { background: var(--ui-surface); }
.hyper-workspace .buy-plan-item.active { background: #382435; }
.hyper-workspace #modal-auth .modal-box { max-width: 620px; padding: 46px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 22px; }
.hyper-workspace #modal-auth .modal-box::before { content: 'HYPER / YOUR ACCOUNT'; display: block; font-size: 10px; letter-spacing: .2em; color: var(--ui-muted); margin-bottom: 24px; }
.hyper-workspace #modal-auth .form-control { height: 50px; border-radius: 9px; background: var(--ui-surface); }
.hyper-workspace #modal-auth .plan-selector { background: var(--ui-surface); padding: 6px; border-radius: 12px; margin-bottom: 26px; }

/* Seller workspace: new header, section surfaces, form rhythm and data tables. */
.hyper-workspace.seller-panel { --bg-main: var(--ui-surface); --bg-canvas: var(--ui-surface); --bg-panel: var(--ui-surface); --bg-card: var(--ui-line); --bg-input: var(--ui-surface); --border-color: var(--ui-line); background: var(--ui-surface); }
.hyper-workspace.seller-panel .main-content { padding: 0 40px 48px; max-width: 1800px; }
.workspace-topbar { min-height: 80px; margin: 0 -40px 30px; padding: 20px 40px; border-bottom: 1px solid var(--ui-line); background: var(--ui-surface); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--ui-muted); font-size: 13px; }
.workspace-topbar b { color: var(--ui-line); padding: 0 15px; }
.workspace-topbar a { text-decoration: none; color: var(--ui-muted); border: 1px solid var(--ui-line); border-radius: 8px; padding: 10px 14px; }
.section-layout { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: start; }
.section-content { min-width: 0; }
.section-navigation { position: sticky; top: 24px; display: grid; gap: 6px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 14px; padding: 18px 12px; }
.section-navigation p { font-size: 10px; letter-spacing: .12em; color: var(--ui-muted); padding: 0 10px 12px; }
.section-navigation button { font: inherit; font-size: 12px; line-height: 1.6; padding: 10px; border: 0; border-radius: 7px; background: none; color: var(--ui-muted); text-align: left; cursor: pointer; }
.section-navigation button:hover { background: var(--ui-line); color: white; }
.workspace-card { scroll-margin-top: 25px; }
.hyper-workspace.seller-panel .sidebar { background: var(--ui-surface); width: 240px; padding: 26px 16px; }
.hyper-workspace.seller-panel .sidebar .logo { flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--ui-line); padding-bottom: 24px; }
.hyper-workspace.seller-panel .nav-item { padding: 13px 15px; font-size: 13px; color: var(--ui-muted); }
.hyper-workspace.seller-panel .nav-item.active { background: var(--ui-line); box-shadow: none; color: white; }
.hyper-workspace.seller-panel .header, .hyper-workspace.seller-panel .restore-page-header, .hyper-workspace.seller-panel .restore-header-wrap { padding: 28px 30px !important; border: 1px solid var(--ui-line) !important; background: linear-gradient(105deg, var(--ui-line), var(--ui-line)) !important; border-radius: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.workspace-section .header > .workspace-eyebrow, .workspace-section .restore-page-header > .workspace-eyebrow, .workspace-section .restore-header-wrap > .workspace-eyebrow { flex-basis: 100%; margin-bottom: 0; }
.hyper-workspace.seller-panel .header h1 { font-size: 30px; letter-spacing: -1px; margin-bottom: 8px; }
.hyper-workspace.seller-panel .header p { font-size: 13px; line-height: 1.7; color: var(--ui-muted); }
.hyper-workspace.seller-panel .workspace-card, .hyper-workspace.seller-panel .project-card { background: var(--ui-line) !important; border: 1px solid var(--ui-line) !important; border-radius: 16px !important; padding: 28px !important; box-shadow: none !important; margin-bottom: 24px; }
.hyper-workspace.seller-panel .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hyper-workspace.seller-panel .table-container { padding: 0 !important; overflow-x: auto; }
.hyper-workspace.seller-panel .table-header { background: var(--ui-line); padding: 22px 26px; border-bottom: 1px solid var(--ui-line); }
.hyper-workspace.seller-panel .styled-table { border-collapse: separate; border-spacing: 0; }
.hyper-workspace.seller-panel .styled-table th { padding: 17px 24px; background: var(--ui-surface); font-size: 10px; letter-spacing: .13em; color: var(--ui-muted); text-transform: uppercase; }
.hyper-workspace.seller-panel .styled-table td { padding: 20px 24px; border-bottom: 1px solid var(--ui-line); font-size: 13px; }
.hyper-workspace.seller-panel .styled-table tbody tr:hover { background: var(--ui-line); }
.hyper-workspace.seller-panel .form-group { margin-bottom: 22px; }
.hyper-workspace.seller-panel label { font-size: 12px; letter-spacing: .01em; color: var(--ui-muted); }
.hyper-workspace.seller-panel .styled-input, .hyper-workspace.seller-panel .styled-select, .hyper-workspace.seller-panel textarea { background: var(--ui-surface) !important; border: 1px solid var(--ui-line) !important; border-radius: 10px !important; padding: 12px 14px; min-height: 46px; color: var(--ui-muted); }
.hyper-workspace.seller-panel .btn { min-height: 40px; border-radius: 9px; padding-inline: 18px; font-size: 12px; }
.hyper-workspace.seller-panel .btn-secondary { background: var(--ui-line) !important; border-color: var(--ui-line) !important; color: var(--ui-muted) !important; }
.hyper-workspace.seller-panel .restore-terminal-box { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 16px; padding: 28px; }
.hyper-workspace.seller-panel .restore-stat-card { background: var(--ui-line) !important; border: 1px solid var(--ui-line) !important; padding: 24px !important; border-radius: 14px !important; }
.hyper-workspace.seller-panel .restore-nav-tabs { padding: 8px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 12px; margin-bottom: 26px; }
.hyper-workspace.seller-panel .restore-nav-tab { padding: 13px 18px; }
.hyper-workspace.seller-panel .login-box { max-width: 520px; padding: 44px !important; border-radius: 24px !important; background: var(--ui-line); border: 1px solid var(--ui-line); }
.hyper-workspace.seller-panel .modal-content { background: var(--ui-line) !important; border-color: var(--ui-line) !important; border-radius: 20px !important; }

/* Reference checkout geometry with Hyper's red palette and restrained entrance effects. */
body.checkout-open { overflow: hidden; }
#modal-checkout { padding: 0; background: #fff; backdrop-filter: none; transition: opacity .15s; }
#modal-checkout .checkout-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fafafa; box-shadow: none; transform: none; color: #111827; color-scheme: light; overflow-y: auto; --checkout-red: #c6243e; --checkout-red-dark: #a71932; --checkout-red-soft: #fff0f2; --checkout-red-border: #f1c4cc; --text-muted: #6b7280; --text-secondary: #4b5563; --border-color: #e5e7eb; --bg-input: #fff; }
#modal-checkout .checkout-payment-layout { display: grid; grid-template-columns: 45% 55%; gap: 0; min-height: 100%; }
#modal-checkout .checkout-order-summary { display: flex; flex-direction: column; align-self: stretch; padding: 145px max(40px, calc((100vw - 1144px) / 2)) 60px; padding-right: 10.3vw; background: radial-gradient(ellipse at 0 100%, #fff0f2 0, transparent 55%), #fff; border: 0; border-right: 1px solid #f0e9eb; border-radius: 0; min-width: 0; }
#modal-checkout .checkout-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #111827; font-weight: 600; font-size: 15px; margin-bottom: 32px; }
#modal-checkout .checkout-brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 4px 12px #c6243e1a; }
#modal-checkout .checkout-label { font-size: 11px; color: #687386; letter-spacing: .1em; font-weight: 600; margin: 0 0 8px; }
#modal-checkout .checkout-grand-total { font-size: 34px; font-weight: 650; letter-spacing: -1px; margin-bottom: 30px; color: #111827; font-variant-numeric: tabular-nums; }
#modal-checkout .checkout-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 28px; }
#modal-checkout .checkout-item h3 { color: #111827; font-size: 14px; line-height: 1.5; margin: 0; font-weight: 500; }
#modal-checkout .checkout-item #checkout-period { font-size: 12px; color: #687386; }
#modal-checkout .checkout-item strong { font-size: 13px; font-weight: 500; color: #111827; }
#modal-checkout .checkout-item-icon { background: var(--checkout-red-soft); color: var(--checkout-red); border: 1px solid #f6dce1; border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 23px; }
#modal-checkout .checkout-totals { margin-bottom: 32px; }
#modal-checkout .checkout-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 13px; }
#modal-checkout .checkout-totals > div[hidden] { display: none; }
#modal-checkout .checkout-totals dt { color: #687386; }
#modal-checkout .checkout-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
#modal-checkout .checkout-totals > div:last-child { font-weight: 600; border-top: 1px solid #eee7e9; margin-top: 10px; padding-top: 16px; }
#modal-checkout .checkout-totals > div:last-child dt { color: #111827; }
#modal-checkout .checkout-help { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; border: 1px solid #efdae0; border-radius: 14px; background: linear-gradient(135deg, #fff, #fff6f7); padding: 18px 20px; font-size: 13px; box-shadow: 0 4px 18px #a7193205; }
#modal-checkout .checkout-help > span { width: 32px; height: 32px; background: var(--checkout-red-soft); color: var(--checkout-red); display: grid; place-items: center; border-radius: 50%; font-size: 20px; }
#modal-checkout .checkout-help strong { font-weight: 600; }
#modal-checkout .checkout-help p { color: #687386; line-height: 1.7; margin: 4px 0 10px; }
#modal-checkout .checkout-help button { border: 1px solid var(--checkout-red-border); border-radius: 9px; padding: 8px 12px; background: var(--checkout-red-soft); color: var(--checkout-red-dark); font-size: 12px; cursor: pointer; transition: background .18s, border-color .18s; }
#modal-checkout .checkout-help button:hover { background: #ffe4e9; border-color: #e496a5; }
#modal-checkout .checkout-invoice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid #efdae0; padding-top: 16px; margin-top: 24px; color: #687386; font-size: 11px; }
#modal-checkout .checkout-invoice > span, #modal-checkout .checkout-invoice > label { width: 100%; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #687386; }
#modal-checkout .checkout-invoice > div { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; }
#modal-checkout .checkout-invoice code { flex: 1; min-width: 0; color: #364152; font: 11px/1.7 ui-monospace, monospace; overflow-wrap: anywhere; }
#modal-checkout #btn-copy-invoice-id { border: 1px solid #efdae0; background: white; color: var(--checkout-red-dark); border-radius: 7px; padding: 7px 10px; cursor: pointer; font: inherit; }
#modal-checkout #btn-copy-invoice-id:disabled { opacity: .45; cursor: default; }
#modal-checkout .checkout-footer { display: grid; gap: 8px; margin-top: auto; padding-top: 42px; color: #788396; font-size: 11px; }
#modal-checkout .checkout-main { padding: 96px 48px 60px; min-width: 0; background: radial-gradient(ellipse at 100% 0, #fff0f3 0, transparent 45%), #fafafa; }
#modal-checkout .checkout-steps { display: flex; gap: 12px; align-items: center; padding: 0; margin: 0 0 42px; list-style: none; }
#modal-checkout .checkout-steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7b8595; white-space: nowrap; flex: 1; }
#modal-checkout .checkout-steps li:not(:last-child)::after { content: ''; flex: 1; height: 1px; background: #e8dade; margin-left: 4px; }
#modal-checkout .checkout-steps li span { width: 24px; height: 24px; flex-shrink: 0; border: 1px solid #d2d4d8; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: #fff; transition: background .2s, box-shadow .2s; }
#modal-checkout .checkout-steps li.active { color: #111827; }
#modal-checkout .checkout-steps li.active span { background: var(--checkout-red); color: white; border-color: var(--checkout-red); box-shadow: 0 0 0 4px #c6243e0d; }
#modal-checkout label { color: #526078; font-size: 13px; }
#modal-checkout .form-control { width: 100%; min-height: 50px; margin: 6px 0 0 !important; padding: 14px 16px; background: white !important; border: 1px solid #dedfe3; color: #111827; border-radius: 11px; box-shadow: 0 2px 4px #17203303; font-family: inherit; transition: border-color .18s, box-shadow .18s; }
#modal-checkout .form-control:focus { border-color: #d56478 !important; box-shadow: 0 0 0 3px #c6243e14 !important; outline: none; }
#modal-checkout .form-control::placeholder { color: #8792a3; text-transform: none; }
#modal-checkout .checkout-plan-options { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 14px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #ece5e7; }
#modal-checkout .checkout-plan-options > * { min-width: 0; }
#modal-checkout .checkout-plan-options select { cursor: pointer; }
#modal-checkout .checkout-contact-hint { margin: 10px 0 0; color: #748094; font-size: 11px; line-height: 1.7; }
#modal-checkout .checkout-discount { margin-top: 12px; font-size: 12px; color: #687386; }
#modal-checkout .checkout-discount summary { cursor: pointer; padding-block: 6px; color: var(--checkout-red-dark); }
#modal-checkout .coupon-input-group { margin-top: 10px; }
#modal-checkout .coupon-input-group button { background: white; border: 1px solid var(--checkout-red-border); color: var(--checkout-red-dark); border-radius: 10px; }
#modal-checkout .payment-label { margin-top: 30px; margin-bottom: 14px; }
#modal-checkout .checkout-method { display: flex; align-items: center; gap: 12px; border: 1px solid #ead9de; border-radius: 12px; background: white; padding: 14px; color: #334155; min-height: 62px; box-shadow: 0 3px 12px #a7193204; }
#modal-checkout .checkout-method small { display: block; color: #7e8797; font-size: 11px; margin-top: 3px; }
#modal-checkout input[type="radio"], #modal-checkout input[type="checkbox"] { accent-color: var(--checkout-red); width: 19px; height: 19px; flex-shrink: 0; }
#modal-checkout .ltc-icon { width: 36px; height: 36px; border-radius: 8px; background: #345d9d; color: white; font-size: 29px; font-weight: 700; display: grid; place-items: center; }
#modal-checkout .checkout-agreement { display: flex; align-items: center; gap: 12px; border: 1px solid #e1e1e1; border-radius: 12px; background: white; padding: 16px 14px; margin: 16px 0; line-height: 1.6; }
#modal-checkout .checkout-agreement button { border: 0; padding: 0; background: none; color: var(--checkout-red-dark); text-decoration: underline; text-underline-offset: 3px; font: inherit; }
#modal-checkout .checkout-continue { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 1px solid #b51c37; border-radius: 11px; background: linear-gradient(115deg, #dc304b, #ba1b36); color: white; min-height: 48px; padding: 14px 18px; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px #c6243e26, inset 0 1px 0 #ffffff20; cursor: pointer; transition: transform .18s, box-shadow .18s, filter .18s; }
#modal-checkout .checkout-continue:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 24px #c6243e38; filter: brightness(1.04); }
#modal-checkout .checkout-continue:active:not(:disabled) { transform: translateY(0); }
#modal-checkout .checkout-continue:disabled { opacity: .6; cursor: wait; }
#modal-checkout .checkout-secure { font-size: 12px; text-align: center; color: #778196; margin-top: 16px; }
#modal-checkout .modal-close { position: fixed; top: 24px; right: 30px; color: #64748b; background: white; border: 1px solid #e5e7eb; border-radius: 50%; width: 34px; height: 34px; font-size: 23px; z-index: 4; box-shadow: 0 3px 12px #18203308; }
#modal-checkout .modal-close:hover { color: var(--checkout-red); border-color: var(--checkout-red-border); }
#modal-checkout :is(button, a, summary, input[type="checkbox"], input[type="radio"]):focus-visible { outline: 2px solid var(--checkout-red); outline-offset: 3px; }
#modal-checkout .checkout-transfer { background: white; border: 1px solid #e1e1e1; border-radius: 12px; text-align: center; padding: 24px; margin-top: 20px; }
#modal-checkout .checkout-transfer > p { color: #687386; font-size: 12px; margin: 8px 0; }
#modal-checkout .checkout-transfer > strong { font-size: 25px; color: #111827; }
#modal-checkout .checkout-qr { display: inline-block; padding: 12px; background: white; border: 1px solid #eee; border-radius: 10px; margin: 18px 0; }
#modal-checkout .checkout-qr img { display: block; width: 180px; height: 180px; }
#modal-checkout .checkout-address { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
#modal-checkout .checkout-address input { margin: 0 !important; font: 12px ui-monospace, monospace; min-width: 0; }
#modal-checkout .checkout-address button, #modal-checkout #btn-copy-delivered-key { border: 1px solid #ddd; background: #fafafa; color: #334155; border-radius: 8px; padding: 12px; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
#modal-checkout .checkout-status { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--checkout-red-border); border-radius: 10px; padding: 16px; margin-top: 18px; background: var(--checkout-red-soft); font-size: 12px; }
#modal-checkout .checkout-status > span { display: flex; align-items: center; gap: 10px; }
#modal-checkout #checkout-status-text { color: #90253b !important; }
#modal-checkout .checkout-status time { color: #90253b; font-variant-numeric: tabular-nums; white-space: nowrap; }
#modal-checkout .checkout-status .pulse-dot { flex-shrink: 0; box-shadow: 0 0 0 4px #c6243e12; }
#modal-checkout .checkout-wallet-box { border: 1px solid #dedfe3; background: white; border-radius: 12px; padding: 16px; margin-top: 16px; color: #334155; }
#modal-checkout .checkout-wallet-label { color: #334155; }
#modal-checkout .btn-checkout-wallet-pay { background: var(--checkout-red); border-color: var(--checkout-red); box-shadow: 0 3px 10px #c6243e1a; }
#modal-checkout .checkout-success-mark { width: 60px; height: 60px; background: #e6f6ed; color: #25854b; border: 1px solid #c3e9d1; border-radius: 50%; display: grid; place-items: center; font-size: 34px; margin: 40px 0 24px; box-shadow: 0 0 0 8px #25854b08; }
#modal-checkout #checkout-view-success h2 { color: #111827; font-size: 28px; }
#modal-checkout #checkout-view-success > p { color: #687386; font-size: 13px; margin: 14px 0 28px; }
#modal-checkout .checkout-delivery { background: white; border: 1px solid #ddd; border-radius: 12px; padding: 24px; display: grid; gap: 14px; }
#modal-checkout #delivered-license-key { color: #111827; overflow-wrap: anywhere; }
#modal-checkout #delivered-completion-message { color: #526078; white-space: pre-line; margin: 22px 0; font-size: 13px; }
#modal-checkout #checkout-receipt-status { padding: 14px 16px; border-radius: 10px; border: 1px solid #efdae0; background: #fff3f5; color: #792b3d; font-size: 12px; line-height: 1.7; margin-block: 20px; }
#modal-checkout #checkout-receipt-status:empty { display: none; }
#modal-checkout.active .checkout-order-summary > :is(.checkout-brand, .checkout-grand-total, .checkout-item) { animation: checkout-enter .38s ease-out both; }
#modal-checkout.active .checkout-main > :is(form, div) { animation: checkout-enter .42s ease-out both; }
#modal-checkout.active .checkout-success-mark { animation: checkout-success .45s ease-out both; }
@keyframes checkout-enter { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes checkout-success { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.checkout-terms-modal { z-index: 1200; }
body.checkout-support-open #modal-support, #modal-support.checkout-support-modal { z-index: 1250; background: #36121e66; backdrop-filter: blur(8px); --text-primary: #172033; --text-secondary: #657185; --text-muted: #768195; --border-color: #eed6dd; }
body.checkout-support-open #modal-support .modal-box, #modal-support.checkout-support-modal .modal-box { background: linear-gradient(155deg, #fff, #fff7f8); color: #172033; color-scheme: light; border-color: #f0cdd6; padding: 36px; box-shadow: 0 24px 80px #49102d30; }
body.checkout-support-open #modal-support h3, #modal-support.checkout-support-modal h3 { color: #172033; }
body.checkout-support-open #modal-support .modal-box > div[style*="text-align"] > div, #modal-support.checkout-support-modal .modal-box > div[style*="text-align"] > div { background: #fff0f2 !important; border-color: #f1c4cc !important; color: #c6243e !important; }
body.checkout-support-open #modal-support .modal-box > div[style*="rgba(0,0,0,0.4)"], #modal-support.checkout-support-modal .modal-box > div[style*="rgba(0,0,0,0.4)"] { background: #fff !important; border-color: #eed6dd; }
body.checkout-support-open #modal-support .form-control, #modal-support.checkout-support-modal .form-control { background: #fff7f8 !important; border-color: #eed6dd; color: #39455a; min-width: 0; }
body.checkout-support-open #modal-support #btn-copy-discord-link, #modal-support.checkout-support-modal #btn-copy-discord-link { background: #fff0f2; border-color: #f1c4cc; color: #a71932; box-shadow: none; }
body.checkout-support-open #modal-support #btn-open-discord-direct, #modal-support.checkout-support-modal #btn-open-discord-direct { background: linear-gradient(115deg, #dc304b, #ba1b36) !important; border-color: #b51c37 !important; color: white; box-shadow: 0 5px 16px #c6243e26; }
body.checkout-support-open #modal-support .modal-close, #modal-support.checkout-support-modal .modal-close { color: #737e90; }
body.checkout-support-open #modal-support .modal-close:hover, #modal-support.checkout-support-modal .modal-close:hover { color: #c6243e; }
body.checkout-support-open #modal-support :is(button, a, input):focus-visible, #modal-support.checkout-support-modal :is(button, a, input):focus-visible { outline: 2px solid #c6243e; outline-offset: 3px; }
@media(prefers-reduced-motion: reduce) {
    #modal-checkout, #modal-checkout *, body.checkout-support-open #modal-support, body.checkout-support-open #modal-support *, #modal-support.checkout-support-modal, #modal-support.checkout-support-modal * { animation: none !important; transition: none !important; }
    #modal-checkout .checkout-continue:hover:not(:disabled), #modal-checkout .btn-checkout-wallet-pay:hover { transform: none; }
}
.hyper-document { --docs-bg: #101725; --docs-card: #202c42; --docs-border: #394964; --docs-muted: #b6c7e0; --docs-code-bg: #101d32; background: #101725; }
.hyper-document .docs-navbar { background: #16243b; border-color: #415575; padding-inline: 32px; }
.hyper-document .docs-sidebar { background: #142036; padding: 30px 20px; }
.hyper-document .docs-content-area { padding: 42px; max-width: 980px; min-width: 0; overflow-wrap: anywhere; }
.hyper-document .docs-title-header { border: 1px solid #425575; border-radius: 18px; padding: 30px; background: #253650; }
.hyper-document .docs-page-title { letter-spacing: -0.045em; font-size: 34px; }
.hyper-document .docs-body { padding: 28px; background: #1b2940; border: 1px solid #394964; border-radius: 18px; }
.hyper-document .docs-toc-sidebar { padding: 30px 20px; background: #142036; }
.hyper-document .docs-catalog-grid { gap: 24px; }
.hyper-form { --form-bg: #101725; --form-card: #202c42; --form-border: #405676; --form-muted: #b6c7e0; background: #101725; padding: 40px 20px; }
.hyper-form .form-card-container { max-width: 860px; background: #202c42; padding: 42px; border: 1px solid #405676; border-radius: 24px; box-shadow: none; }
.hyper-form .form-header { border-bottom: 1px solid #405676; padding-bottom: 28px; margin-bottom: 30px; }
.hyper-form .form-title { font-size: 32px; letter-spacing: -0.04em; }
.hyper-form input, .hyper-form textarea, .hyper-form select { border-radius: 10px; background: #111e32; border-color: #405676; }
.hyper-verification { --bg: #101725; --card-bg: #202c42; --card-border: #405676; background: #101725; }
.hyper-verification::before { display: none; }
.hyper-verification .verify-card { max-width: 620px; width: min(620px, calc(100vw - 32px)); padding: 44px; border: 1px solid #405676; border-radius: 24px; box-shadow: none; }
.hyper-verification .info-row { background: #14223a; padding: 16px; border-radius: 10px; margin-top: 10px; border: 1px solid #344d70; }
.hyper-verification .btn-close { width: 100%; padding: 15px; border-radius: 10px; }
@media(max-width: 1100px) {
    .section-layout { grid-template-columns: 1fr; }
    .section-navigation { position: static; grid-row: 1; display: flex; flex-wrap: wrap; }
    .section-navigation p { width: 100%; margin: 0; padding-bottom: 0; }
    #modal-checkout .checkout-order-summary { padding: 110px 32px 40px; }
    #modal-checkout .checkout-main { padding: 96px 32px 40px; }
    #modal-checkout .checkout-steps { gap: 8px; }
    #modal-checkout .checkout-steps li { font-size: 10px; }
}
@media(max-width: 760px) {
    .hyper-document .docs-navbar { height: auto; min-height: 64px; flex-wrap: wrap; gap: 14px; padding: 16px; }
    .hyper-document .docs-nav-links { flex-wrap: wrap; gap: 16px; }
    .hyper-document .docs-content-area { padding: 24px 16px; }
    .hyper-document .docs-title-header, .hyper-document .docs-body { padding: 22px; }
    .hyper-form .form-card-container, .hyper-verification .verify-card { padding: 26px; }
    .hyper-workspace .header-top-row { flex-wrap: wrap; gap: 8px; }
    .hyper-workspace .user-menu-area { gap: 8px; margin: 0; }
    .hyper-workspace .nav-tabs { gap: 3px; }
    .hyper-workspace .nav-tab-btn { font-size: 11px; padding: 10px; }
    .hyper-workspace #tab-section-purchases.active, .account-workspace, .hyper-workspace .buy-layout { grid-template-columns: 1fr; }
    .account-navigation { position: static; display: flex; overflow-x: auto; }
    .account-navigation button { flex-shrink: 0; }
    .account-pane .wallet-card-header { grid-template-columns: 1fr; }
    .hyper-workspace .hero-section:not(.storefront-hero), .hyper-workspace .mypage-header-card { padding: 26px; }
    .hyper-workspace.seller-panel .main-content { padding: 0 16px 32px; }
    .workspace-topbar { margin-inline: -16px; padding-inline: 16px; }
    .hyper-workspace.seller-panel .sidebar { width: 100%; height: auto; }
    .hyper-workspace.seller-panel .projects-grid, .hyper-workspace .status-grid { grid-template-columns: 1fr; }
    #modal-checkout .checkout-payment-layout { grid-template-columns: 1fr; }
    #modal-checkout .checkout-order-summary { padding: 36px 24px 24px; }
    #modal-checkout .checkout-main { padding: 28px 24px 40px; }
    #modal-checkout .checkout-footer { padding-top: 24px; margin-top: 0; }
    #modal-checkout .checkout-help { grid-template-columns: 1fr; gap: 0; padding: 14px 16px; }
    #modal-checkout .checkout-help > span, #modal-checkout .checkout-help p { display: none; }
    #modal-checkout .checkout-help strong { display: block; font-size: 11px; }
    #modal-checkout .checkout-help button { margin-top: 8px; }
    #modal-checkout .checkout-invoice { margin-top: 0; }
    #modal-checkout .checkout-steps { margin-bottom: 30px; }
    #modal-checkout .checkout-item { grid-template-columns: 40px minmax(0, 1fr) auto; }
    #modal-checkout .checkout-grand-total { margin-bottom: 22px; }
    #modal-checkout .checkout-steps li { white-space: normal; }
    #modal-checkout .checkout-method { min-height: 64px; }
    body.checkout-support-open #modal-support .modal-box, #modal-support.checkout-support-modal .modal-box { padding: 30px 24px; }
}
