/* Current blue and white product direction, scoped to /next/. */
.next-app .next-avatar img {width:100%;height:100%;object-fit:cover;border-radius:inherit;}
.next-app .next-avatar-editor {display:flex;align-items:flex-start;gap:1.25rem;padding-block:1rem 1.5rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem;}
.next-app .next-avatar-editor>div:last-child {min-width:0;flex:1;}
.next-app .next-avatar-editor h2 {margin:0;}
.next-app .next-avatar-editor p {color:var(--muted);font-size:.875rem;}
.next-app .next-avatar-editor input[type=file] {max-width:100%;height:auto;padding:.5rem;margin-bottom:.75rem;}
@media(max-width:560px){.next-app .next-avatar-editor {flex-wrap:wrap;}.next-app .next-avatar-editor>div:last-child {flex-basis:100%;}}
body.next-app {
  --ink:#1d1d1f; --muted:#626975; --line:#e2e5eb; --input-line:#b9c0cb;
  --surface:#f5f6f8; --soft:#eef5ff; --paper:#fff; --accent:#0065e8;
  --pro-yellow:#0065e8; --pro-yellow-hover:#0055c5; --pro-dark:#fff;
  --pro-muted:#626975; --positive:#168254; --warning:#a5660a;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif;
  background:#f5f6f8; color:var(--ink); font-size:1rem; line-height:1.55;
  -webkit-font-smoothing:antialiased; font-variant-numeric:tabular-nums;
}
.next-app *, .next-app *::before, .next-app *::after { box-sizing:border-box; }
.next-app [hidden] { display:none!important; }
.next-app h1,.next-app h2,.next-app h3 { color:var(--ink); letter-spacing:-.025em; }
.next-app h1 { font-size:1.75rem; line-height:1.3; font-weight:650; }
.next-app h2 { font-size:1.125rem; line-height:1.4; font-weight:650; }
.next-app h3 { font-size:1rem; }
.next-app p { line-height:1.7; }
.next-app small,.next-app .small { font-size:.8125rem; }
.next-app a { text-decoration:none; }
.next-app a:hover { color:var(--accent); }
.next-app svg { width:20px; height:20px; flex-shrink:0; vertical-align:middle; }
.next-app :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible { outline:3px solid #5897ed; outline-offset:3px; }
/* Route focus lands on the landmark; interactive controls keep their focus ring. */
.next-app #main:focus { outline:none; }
.next-app .btn,.next-app button { font-family:inherit; }
.next-app .btn { min-height:44px; border:1px solid #d9dee7; border-radius:10px; padding:10px 18px; font-size:.875rem; font-weight:550; background:#fff; color:var(--ink); box-shadow:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; flex-shrink:0; white-space:nowrap; }
.next-app .btn:hover { border-color:#b3c2d7; background:#f7f9fc; }
.next-app .btn.primary,.next-app .header-create { background:var(--accent); color:#fff; border-color:var(--accent); }
.next-app .btn.primary:hover,.next-app .header-create:hover { background:#0057ca; color:#fff; }
.next-app .btn:disabled { opacity:.55; cursor:not-allowed; }
.next-app input,.next-app select,.next-app textarea { color:var(--ink); background:#fff; border:1px solid var(--input-line); border-radius:9px; padding:10px 12px; font:inherit; min-height:44px; box-shadow:none; }
/* Match the legacy form rule without overriding component padding (e.g. password visibility). */
.next-app.pro-app :is(input:not([type=radio]):not([type=checkbox]):not([type=file]),textarea,select) { border-radius:9px; font-size:var(--control-font-size,1rem); min-height:44px; }
.next-app input::placeholder,.next-app textarea::placeholder { color:var(--muted); }
.next-app label :is(input,select,textarea) { margin-top:0; }
.next-app input[readonly] { background:#f7f8fa; }
.next-app input:is([type=checkbox],[type=radio]) { width:18px; height:18px; min-height:18px; margin:0; padding:0; flex:0 0 18px; accent-color:var(--accent); }
.next-app .server-page label.check-label,.next-app .server-login label.check-label { display:flex; flex-direction:row; align-items:flex-start; gap:10px; font-weight:400; line-height:1.65; }
.next-app .server-create label.check-label input { margin-top:3px; }
.next-app .next-context-return { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:24px; font-size:.8125rem; color:var(--muted); }
.next-app .next-context-return + .next-help { margin-top:16px; }
.next-app .next-help { margin:32px 0 48px; }
.next-app .next-help .help-mobile-index { margin-bottom:16px; }
.next-app .next-account-section p,.next-app .next-account-hero .next-person>div { overflow-wrap:anywhere; min-width:0; }
.next-app .pro-header { background:rgba(255,255,255,.97); border-bottom:1px solid var(--line); height:72px; color:var(--ink); }
.next-app .header-inner { max-width:1328px; height:72px; padding:0 32px; margin:auto; gap:40px; }
.next-app .header-brand { gap:9px; color:var(--ink); font-size:1.125rem; white-space:nowrap; }
.next-app .header-brand>span:first-child { color:var(--accent); }
.next-app .header-brand svg { width:28px; height:32px; }
.next-app .header-brand small { font-size:.8125rem; color:var(--ink); margin-left:4px; }
.next-app .primary-nav { gap:30px; }
.next-app .primary-nav>a { color:#535b66; font-size:.875rem; font-weight:500; min-height:44px; align-self:center; border-radius:6px; }
.next-app .primary-nav>a:focus-visible { outline-width:2px; outline-offset:4px; }
.next-app .primary-nav>a[aria-current] { color:var(--accent); }
.next-app .primary-nav>a[aria-current]::after { display:none; }
.next-app .header-actions { gap:20px; margin-left:auto; }
.next-app .header-actions>a { font-size:.875rem; color:var(--ink); white-space:nowrap; }
.next-app .header-create { min-height:40px; border-radius:9px; padding:10px 18px; color:#fff!important; }
.next-app .header-orders { gap:6px; }
.next-app .nav-count { background:#ecf3ff; color:var(--accent); }
.next-app .account-avatar { width:36px; height:36px; border:0; color:#4b607b; background:#e9eff7; }
.next-app .header-menu { top:calc(100% + 8px); background:#fff; border:1px solid var(--line); box-shadow:0 12px 36px #192d4815; border-radius:14px; }
.next-app .header-menu a,.next-app .header-menu strong { color:var(--ink); }
.next-app .header-menu small { color:var(--muted); }
.next-app .platform-strip { background:#f1f3f6; border-bottom:1px solid var(--line); color:#646c79; }
.next-app .platform-strip>div { max-width:1264px; min-height:36px; margin:auto; padding:8px 0; font-size:.75rem; }
.next-app .workspace { max-width:1264px; width:calc(100% - 64px); margin:0 auto; padding:0; }
.next-app .pro-main { padding-top:0; margin-left:0; min-height:calc(100dvh - 72px); display:flex; flex-direction:column; }
.next-app .pro-main>.workspace { flex:1; }
.next-app main { min-height:0; }
.next-app .server-page { max-width:none; margin:32px auto 48px; }
.next-app .page-head { margin-bottom:24px; align-items:center; }
.next-app .page-head h1,.next-app .next-workspace-head h1 { margin:0 0 6px; font-size:1.5rem; line-height:1.35; letter-spacing:-.02em; }
.next-app .page-head p { font-size:.875rem; }
.next-app .app-footer { max-width:1264px; width:calc(100% - 64px); padding:16px 0; border-top:1px solid var(--line); margin:0 auto; display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-start; gap:8px 24px; font-size:.8125rem; }
.next-app .next-footer-brand { white-space:nowrap; margin-right:auto; }
.next-app .next-footer-links { display:flex; align-items:center; flex-wrap:wrap; gap:4px 24px; }
.next-app .next-footer-links a { min-height:44px; white-space:nowrap; }
.next-app .notice { border:1px solid #dce7f6; background:#f0f6ff; color:#375780; border-radius:10px; padding:12px 16px; font-size:.875rem; }
.next-app .notice.warning { border-color:#f1e3ce; background:#fff9ef; color:#805a20; }
.next-app .server-live-notice {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.next-app .server-live-notice>span {flex:1 1 240px;}
.next-app [data-order-draft-restored] {margin:0 0 8px;line-height:1.6;}
.next-app .msg-order-todo {display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:.8125rem;}
.next-app.pro-app .msg-page .msg-search-label input[type=search] {border:0;box-shadow:none;background:transparent;padding:0;}
.next-app .msg-search-label:focus-within {border-color:var(--accent);box-shadow:0 0 0 2px #0066ff20;}
.next-app .server-section { margin:16px 0; padding:24px; background:#fff; border:1px solid var(--line); border-radius:14px; }
.next-app .server-section>h2:first-child { margin-top:0; }
.next-app .server-business-form { max-width:700px; }
.next-app .server-page label { font-size:.875rem; color:#3b414c; }
.next-app .form-error { color:#b32f2e; font-size:.875rem; padding:10px 0; }
.next-app .server-tabs { gap:24px; }
.next-app .server-tabs a[aria-current] { color:var(--accent); border-bottom-width:2px; }
.next-app .server-order-row { grid-template-columns:minmax(0,1fr) 140px 180px 155px; gap:16px; padding:20px 24px; background:#fff; }
.next-app .server-order-row:hover { background:#f8fbff; }
.next-app .server-order-row>strong { font-size:1rem; }
.next-app .server-orders { border:1px solid var(--line); border-radius:12px; overflow:hidden; margin-top:20px; }
.next-app .next-avatar { flex-shrink:0; width:42px; height:42px; border-radius:50%; background:#e7edf5; color:#526880; display:inline-flex; align-items:center; justify-content:center; font-size:1rem; font-weight:650; }
.next-app .next-avatar.large { width:64px; height:64px; font-size:1.5rem; }
.next-app .next-person { display:flex; align-items:center; gap:12px; min-width:0; }
.next-app .next-person>div { min-width:0; }
.next-app .next-person strong { display:block; font-weight:600; overflow-wrap:anywhere; }
.next-app .next-person span:not(.next-avatar) { display:block; font-size:.8125rem; color:var(--muted); }
.next-app .next-person h1,.next-app .next-person p { margin:0; }
.next-app .next-empty { padding:40px 24px; text-align:center; color:var(--muted); }
.next-app .next-empty>svg { width:28px; height:28px; color:#8092ab; }
.next-app .next-empty h3 { margin:12px 0 4px; }
.next-app .next-empty p { font-size:.875rem; margin:4px 0 16px; }
.next-app .next-empty a { color:var(--accent); font-size:.875rem; }
.next-app .next-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.next-app .next-section-head h2 { margin:0; }
.next-app .next-section-head h2 small { font-weight:400; color:var(--muted); margin-left:8px; }
.next-app .next-section-head>a { display:inline-flex; align-items:center; gap:8px; font-size:.8125rem; color:var(--accent); min-height:36px; }
.next-app .next-section-head>a svg { width:16px; height:16px; }
.next-app .next-announcement { display:flex; align-items:center; gap:16px; font-size:.8125rem; padding:18px 0; color:var(--muted); }
.next-app .next-announcement>span:first-child { display:flex; align-items:center; gap:8px; white-space:nowrap; }
.next-app .next-announcement>a:nth-child(2) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.next-app .next-announcement>a:last-child { margin-left:auto; display:flex; align-items:center; gap:8px; white-space:nowrap; }
.next-app .next-hero { background:#fff; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; padding:32px; border:1px solid #e8ebf0; border-radius:18px; }
.next-app .next-hero-main { min-width:0; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.next-app .next-hero-kicker { margin:0 0 12px; color:#0758bb; font-weight:650; font-size:.875rem; }
.next-app .next-hero-assurance { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; margin:0 0 20px; line-height:1.6; }
.next-app .next-hero-assurance strong { color:#244263; font-size:.875rem; font-weight:600; }
.next-app .next-hero-assurance span { color:#5b6573; font-size:.75rem; white-space:nowrap; }
.next-app .next-hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; }
.next-app .next-eyebrow { margin:0 0 12px; color:var(--muted); font-size:.8125rem; }
.next-app .next-hero h1 { font-size:2.25rem; line-height:1.3; margin:0; letter-spacing:-.03em; text-wrap:balance; }
.next-app .next-lead { font-size:.9375rem; color:var(--muted); margin:12px 0 20px; }
.next-app .next-hero-action { width:220px; min-height:48px; font-size:.9375rem; justify-content:space-between; }
.next-app .next-hero-about { appearance:none; -webkit-appearance:none; display:inline-flex; gap:4px; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0 8px; border:0; border-radius:6px; background:transparent; color:var(--muted); font:inherit; font-size:.8125rem; cursor:pointer; }
.next-app .next-hero-about:hover { background:#f1f6fc; color:#0758bb; }
.next-app .next-hero-about:focus-visible { outline:3px solid #5897ed; outline-offset:2px; }
.next-app .next-hero-about svg { width:14px; }
.next-app .next-process-panel { align-self:stretch; padding:4px 0 0 32px; border-left:1px solid var(--line); min-width:0; display:flex; flex-direction:column; }
.next-app .next-hero-guides { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:auto; border-top:1px solid var(--line); }
.next-app .next-hero-guides .next-guide-row { border:0; font-size:.8125rem; min-height:48px; white-space:nowrap; }
.next-app .next-hero-guides .next-guide-row>svg { display:none; }
.next-app .next-process-panel .next-section-head { margin-bottom:12px; }
.next-app .next-process-panel h2 { font-size:.9375rem; }
.next-app .next-process-panel .next-progress { margin:8px 0 16px; }
.next-app .next-process-panel .next-guide-row { padding:10px 0; }
.next-app .next-chain-goals { color:#203a5d; }
.next-app .next-chain-goals-status { justify-self:start; color:#164c91; font-size:.8125rem; font-weight:650; }
.next-app .next-chain-goals-detail { display:grid; gap:8px; margin:20px 0 0; padding:16px 0 0; border-top:1px solid var(--line); }
.next-app .next-chain-goals-detail h3 { margin:0; font-size:.875rem; }
.next-app .next-chain-goals-detail p { max-width:72ch; margin:0; font-size:.8125rem; line-height:1.7; }
.next-app .next-chain-goals-detail a { color:#0758bb; text-decoration:underline; text-underline-offset:3px; }
.next-app .next-progress { list-style:none; margin:20px 0 24px; padding:0; display:flex; }
.next-app .next-progress li { position:relative; flex:1; display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0; }
.next-app .next-progress li::before { content:''; position:absolute; top:14px; right:50%; width:100%; height:2px; background:#e0e5ed; }
.next-app .next-progress li:first-child::before { display:none; }
.next-app .next-progress li>span { position:relative; width:28px; height:28px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#edf0f5; color:#6b7586; border:3px solid #fff; font-size:.75rem; }
.next-app .next-progress strong { font-size:.8125rem; font-weight:500; color:#687181; }
.next-app .next-progress li:is(.current,.done)>span { background:var(--accent); color:white; }
.next-app .next-progress li:is(.current,.done)::before { background:#78a9ec; }
.next-app .next-progress .current strong { color:var(--accent); }
.next-app .next-progress.compact { margin:0; min-width:150px; }
.next-app .next-progress.compact strong { font-size:.75rem; }
.next-app .next-progress.compact li { gap:5px; }
.next-app .next-progress.compact li>span { width:16px; height:16px; font-size:0; border-width:2px; }
.next-app .next-progress.compact li::before { top:7px; }
.next-app .next-process-description { margin-bottom:20px; }
.next-app .next-process-description p { margin:0 0 6px; font-size:.875rem; }
.next-app .next-process-description>span { color:var(--muted); font-size:.8125rem; }
.next-app .next-guide-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; font-size:.8125rem; border-top:1px solid var(--line); }
.next-app .next-guide-row>span { display:flex; align-items:center; gap:10px; }
.next-app .next-guide-row svg { width:17px; height:17px; color:#60738d; }
.next-app .next-ad-section { margin:24px 0; }
.next-app .next-ad-section .next-section-head { margin-bottom:12px; }
.next-app .next-ad-rail { display:flex; gap:16px; overflow-x:auto; padding:4px 4px 8px; margin:-4px; scroll-snap-type:x proximity; }
.next-app .next-ad-label { align-self:flex-start; font-size:.625rem; line-height:1.5; border:1px solid currentColor; border-radius:4px; padding:1px 6px; width:max-content; }
.next-app .next-promotion-card { flex:1 0 calc((100% - 32px)/3); scroll-snap-align:start; min-height:200px; }
.next-app .next-ad-disclosure { margin:8px 0 0; color:var(--muted); font-size:.6875rem; }
.next-app .next-ad-inventory { display:flex; align-items:center; gap:20px; padding:20px 24px; border:1px dashed #b6c3d4; border-radius:14px; background:#edf2f8; }
.next-app .next-ad-inventory small,.next-app .next-ad-inventory p { color:var(--muted); font-size:.75rem; margin:0; }
.next-app .next-ad-inventory h3 { font-size:1.125rem; margin:4px 0; }
.next-app .next-ad-inventory>span:last-child { margin-left:auto; display:flex; align-items:center; gap:8px; white-space:nowrap; font-size:.8125rem; color:var(--accent); }
.next-app .next-ad-inventory-sidebar { flex-direction:column; align-items:start; padding:20px; gap:12px; }
.next-app .next-ad-inventory-sidebar>span:last-child { margin-left:0; }
.next-app .next-market { display:grid; grid-template-columns:minmax(0,1fr) 256px; gap:20px; margin:24px 0; align-items:start; }
.next-app .next-market-main { display:grid; gap:16px; min-width:0; }
.next-app .next-market-side { display:grid; gap:16px; min-width:0; }
.next-app .next-feed-panel { min-width:0; background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; }
.next-app .next-feed-labels,.next-app .next-feed-row { display:grid; grid-template-columns:minmax(120px,1.2fr) minmax(90px,1fr) 85px 150px 105px; gap:12px; align-items:center; }
.next-app .next-feed-labels { color:var(--muted); font-size:.6875rem; padding-bottom:12px; }
.next-app .next-feed { max-height:680px; overflow-y:auto; }
.next-app .next-feed-row { padding:16px 0; border-top:1px solid var(--line); font-size:.8125rem; }
.next-app .next-feed-row>p { margin:0; overflow-wrap:anywhere; }
.next-app .next-feed-row time { font-size:.6875rem; color:var(--muted); }
.next-app .next-feed-row small { font-size:.625rem; color:var(--muted); display:block; }
.next-app .next-feed-row .next-person { gap:8px; }
.next-app .next-feed-row .next-avatar { width:32px; height:32px; font-size:.8125rem; }
.next-app .next-feed-row .next-person span:not(.next-avatar) { font-size:.6875rem; }
.next-app .next-status { color:#896229; background:#fff6e8; display:inline-block; padding:5px 10px; border-radius:7px; font-size:.75rem; }
.next-app .next-exchange { padding:20px; border:1px solid var(--line); border-radius:14px; background:#fff; margin:0; display:grid; grid-template-columns:32px minmax(0,1fr); gap:8px 10px; align-items:center; }
.next-app .next-symbol { width:38px; height:38px; background:#edf5ff; color:var(--accent); border-radius:10px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.next-app .next-exchange .next-symbol { width:32px; height:32px; }
.next-app .next-exchange h2 { margin:0; font-size:1rem; }
.next-app .next-exchange p { grid-column:1/-1; font-size:1.125rem; margin:4px 0 0; font-weight:600; }
.next-app .next-exchange>span:not(.next-symbol) { grid-column:1/-1; font-size:.75rem; color:var(--muted); }
.next-app .next-exchange .btn { grid-column:1/-1; width:100%; margin-top:4px; }
.next-app .next-settlements { border:1px solid var(--line); border-radius:14px; background:#fff; padding:20px 24px; margin:0; }
.next-app .next-settlements .next-section-head { margin-bottom:8px; }
.next-app .next-settlements .server-public-feed { min-height:0; }
.next-app .next-settlements .empty { text-align:left; padding:12px 0; margin:0; min-height:0; font-size:.8125rem; }
.next-app .next-home-sidebar-rail { margin:24px 0; }
.next-app .next-home-sidebar-rail .next-ad-slots-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }
.next-app .next-banner-placement { margin:24px 0; }
.next-app .new-shop-wall { margin:24px 0; padding:24px 0 0; }
.next-app .new-shop-card { border-radius:14px; background:#fff; border:0; height:144px; }
.next-app .new-shop-button { min-height:0; color:var(--ink); border-radius:14px; }
.next-app .next-new-shop-static { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.next-app .next-new-shop-static .new-shop-card { width:auto; min-width:0; }
.next-app .new-shop-footer { margin-top:16px; }
.next-app .new-shop-button>.next-avatar { grid-row:1 / 3; }
.next-app .new-shop-name { font-size:.9375rem; }
.next-app .new-shop-bond { font-size:1rem; }
.next-app .new-shop-bond small { font-size:.6875rem; font-weight:400; }
.next-app .new-shop-date { font-size:.6875rem; }
.next-app .next-auth { max-width:460px; margin:48px auto; }
.next-app .server-login { margin:0; padding:36px; border:1px solid var(--line); border-radius:20px; background:#fff; }
.next-app .next-auth-brand { display:flex; align-items:center; gap:10px; margin-bottom:36px; font-size:1.0625rem; }
.next-app .next-auth-brand svg { width:30px; height:34px; color:var(--accent); }
.next-app .server-login .page-head { margin-bottom:28px; }
.next-app .server-login .page-head h1 { font-size:1.625rem; }
.next-app .server-login>.server-back { font-size:.8125rem; color:var(--muted); margin-top:16px; }
.next-app .server-login form>.primary { width:100%; margin-top:8px; }
.next-app .server-auth-links { gap:8px; font-size:.8125rem; }
.next-app .server-password { gap:0; position:relative; }
.next-app .server-password input { padding-right:60px; }
.next-app .server-password button { position:absolute; right:4px; top:2px; border:0; min-width:50px; background:transparent; color:var(--muted); padding:8px; }
.next-app .next-auth-help { display:flex; flex-direction:column; align-items:center; gap:8px; margin:20px 0; font-size:.75rem; color:var(--muted); }
.next-app .next-auth-help a { color:var(--accent); min-height:28px; }
.next-app .next-auth-steps { display:flex; gap:12px; list-style:none; padding:0; margin:0 0 24px; font-size:.75rem; color:var(--muted); }
.next-app .next-auth-steps li { flex:1; padding:8px 0; border-bottom:2px solid var(--line); }
.next-app .next-auth-steps .current,.next-app .next-auth-steps .done { border-color:var(--accent); color:var(--accent); }
.next-app .next-directory { margin-top:20px; }
.next-app .next-directory-join { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 16px; padding:0; }
.next-app .next-directory-join strong { display:block; font-size:.875rem; font-weight:600; }
.next-app .next-directory-join p { margin:3px 0 0; font-size:.8125rem; line-height:1.5; color:var(--muted); }
.next-app .next-directory-join>a { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--accent); font-size:.875rem; white-space:nowrap; flex:none; }
.next-app .next-directory-join>a svg { width:16px; height:16px; }
.next-app .next-directory-tools { --control-font-size:.875rem; display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:0; font-size:.875rem; }
.next-app .next-search { display:flex; align-items:center; gap:8px; flex:1 1 320px; max-width:560px; min-width:0; }
.next-app .next-search input { flex:1; width:0; min-width:0; height:44px; font-size:.875rem; }
.next-app .next-search .btn { min-width:76px; height:44px; padding:10px 18px; }
.next-app .next-category-picker { margin:12px 0 0; padding:0; border:1px solid var(--line); border-radius:12px; background:var(--paper); overflow:hidden; }
.next-app .next-category-picker>summary { display:flex; align-items:center; gap:16px; min-height:52px; padding:12px 20px; list-style:none; cursor:pointer; font-size:.8125rem; color:var(--muted); }
.next-app .next-category-picker>summary::-webkit-details-marker { display:none; }
.next-app .next-category-label { color:var(--ink); font-weight:600; flex:none; }
.next-app [data-directory-selection] { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.next-app .next-category-toggle { display:flex; align-items:center; gap:6px; margin-left:auto; flex:none; }
.next-app .next-category-toggle>svg { width:14px; height:14px; transform:rotate(90deg); }
.next-app .next-category-picker[open] .next-category-toggle>svg { transform:rotate(-90deg); }
.next-app .next-category-picker .when-open,.next-app .next-category-picker[open] .when-closed { display:none; }
.next-app .next-category-picker[open] .when-open { display:inline; }
.next-app .next-category-browser { display:grid; grid-template-columns:176px minmax(0,1fr); border-top:1px solid var(--line); }
.next-app .next-category-roots { display:flex; flex-direction:column; gap:2px; max-height:320px; padding:8px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; background:#f7f8fa; border-right:1px solid var(--line); }
.next-app .next-category-root { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:44px; flex:none; padding:10px 12px; background:transparent; color:var(--muted); border:0; border-radius:6px; text-align:left; font-size:.875rem; font-weight:500; }
.next-app .next-category-root>span { min-width:0; overflow-wrap:anywhere; }
.next-app .next-category-root>svg { width:14px; height:14px; flex:none; opacity:0; }
.next-app .next-category-root:hover { background:#eef1f6; color:var(--ink); }
.next-app .next-category-root[aria-pressed="true"] { background:var(--soft); color:var(--accent); font-weight:600; }
.next-app .next-category-root[aria-pressed="true"]>svg { opacity:1; }
.next-app .next-category-children { min-width:0; padding:20px 24px; max-height:320px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.next-app .next-category-heading { margin:0 0 12px; font-size:.875rem; line-height:1.5; overflow-wrap:anywhere; }
.next-app .next-category-options { display:flex; flex-wrap:wrap; align-items:flex-start; gap:8px; }
.next-app .next-category-choice { display:inline-flex; align-items:center; justify-content:space-between; gap:8px; background:#f7f8fa; color:var(--ink); border:1px solid transparent; border-radius:6px; padding:10px 14px; min-height:44px; font-size:.875rem; font-weight:400; text-align:left; overflow-wrap:anywhere; max-width:100%; }
.next-app .next-category-choice>span { min-width:0; }
.next-app .next-category-choice>svg { width:14px; height:14px; color:var(--muted); flex:none; }
.next-app .next-category-choice:hover { color:var(--accent); background:#eef3fb; }
.next-app .next-category-choice[aria-pressed="true"] { background:var(--soft); color:var(--accent); border-color:#c9defc; font-weight:600; }
.next-app .next-category-path { display:flex; align-items:center; flex-wrap:wrap; gap:4px; margin:-4px 0 8px; }
.next-app .next-category-path button { min-height:36px; padding:4px 0; background:transparent; border:0; color:var(--accent); font-size:.8125rem; text-align:left; overflow-wrap:anywhere; }
.next-app .next-category-path>svg { width:14px; height:14px; color:var(--muted); flex:none; }
.next-app .next-category-unavailable { margin:0; font-size:.875rem; color:var(--muted); }
.next-app .next-clear-filters { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; border:0; background:none; color:var(--accent); white-space:nowrap; font-size:.8125rem; }
.next-app .next-clear-filters[hidden] { display:none; }
.next-app .next-directory-status { display:flex; gap:16px; align-items:center; margin:20px 0; min-height:64px; color:var(--muted); font-size:.875rem; }
.next-app .next-directory-skeleton { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding-bottom:16px; }
.next-app .next-directory-skeleton>span { display:block; height:88px; border:1px solid var(--line); border-radius:12px; background:var(--paper); padding:20px; }
.next-app .next-directory-skeleton>span::before,.next-app .next-directory-skeleton>span::after { content:""; display:block; width:45%; height:12px; border-radius:4px; background:var(--line); }
.next-app .next-directory-skeleton>span::after { width:80%; margin-top:14px; }
.next-app .next-directory-summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin:20px 0 12px; font-size:.8125rem; color:var(--muted); }
.next-app .next-directory-summary p { margin:0; }
.next-app .next-directory-summary strong { color:var(--ink); font-weight:600; }
.next-app .next-directory-summary p { min-width:0; overflow-wrap:anywhere; }
.next-app .next-directory-keyword { margin-left:8px; }
.next-app .next-directory .next-empty { padding:36px 24px; background:var(--paper); border:1px solid var(--line); border-radius:12px; }
.next-app .next-directory .next-empty p { margin-bottom:16px; }
.next-app .next-directory .next-empty .btn { color:var(--ink); }
.next-app .next-directory-help { display:inline-flex; align-items:center; gap:8px; margin-top:16px; min-height:44px; font-size:.8125rem; }
.next-app .msg-page { max-width:none; margin:32px 0 48px; }
.next-app .msg-page-head h1 { font-size:1.5rem; line-height:1.35; }
.next-app .msg-page-head p { font-size:.875rem; }
.next-app .msg-support-badge { flex:none; align-self:flex-start; }
.next-app .msg-guest-refresh { margin-bottom:20px; }
.next-app .msg-guest-help-content { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); align-items:start; gap:24px; }
.next-app .msg-guest-help-content>section:first-child { padding:20px; background:var(--paper); border:1px solid var(--line); border-radius:12px; }
.next-app .msg-guest-help-content>section:first-child h2 { margin:0 0 8px; }
.next-app .msg-guest-help-content>section:first-child p { margin:0 0 16px; font-size:.875rem; color:var(--muted); }
.next-app .next-merchant-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.next-app .next-merchant-list>.next-empty { grid-column:1 / -1; }
.next-app .next-merchant-row { display:grid; grid-template-columns:48px minmax(0,1fr) 20px; align-items:start; gap:16px; padding:20px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); }
.next-app .next-merchant-row .next-avatar.large { width:48px; height:48px; }
.next-app .next-merchant-name { min-width:0; }
.next-app .next-merchant-row:hover { border-color:#b1c9ed; color:var(--ink); }
.next-app .next-merchant-title { display:flex; align-items:center; flex-wrap:wrap; gap:4px 10px; }
.next-app .next-merchant-name h2 { margin:0; font-size:1rem; line-height:1.5; overflow-wrap:anywhere; }
.next-app .next-merchant-category { display:block; margin-top:2px; font-size:.75rem; color:var(--muted); overflow-wrap:anywhere; }
.next-app .next-merchant-name p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:8px 0; line-height:1.6; font-size:.875rem; color:#4d5562; overflow-wrap:anywhere; }
.next-app .next-merchant-amount { display:block; font-size:.75rem; color:var(--muted); overflow-wrap:anywhere; }
.next-app .next-merchant-amount b { margin-left:4px; color:#4d5562; font-weight:500; font-variant-numeric:tabular-nums; }
.next-app .next-merchant-row>svg { align-self:center; width:18px; height:18px; color:var(--muted); }
.next-app .next-collateral meter { width:100%; height:10px; appearance:none; border:0; background:#e4e9f1; border-radius:8px; overflow:hidden; display:block; }
.next-app .next-collateral meter::-webkit-meter-bar { background:#e4e9f1; border:0; height:10px; }
.next-app .next-collateral meter::-webkit-meter-optimum-value { background:#3288ef; border-radius:8px; }
.next-app .next-collateral meter::-moz-meter-bar { background:#3288ef; }
.next-app .next-collateral>div { display:flex; justify-content:space-between; gap:8px; margin-top:10px; color:var(--muted); font-size:.6875rem; }
.next-app .next-context-help { display:flex; align-items:center; gap:8px; margin:24px 0; font-size:.8125rem; color:var(--accent); }
.next-app .next-shop-hero { display:flex; align-items:center; gap:20px; padding:32px; border-radius:16px 16px 0 0; background:#eef2f7; }
.next-app .next-shop-hero h1,.next-app .next-shop-hero p { margin:0; }
.next-app .next-shop-hero .toolbar { margin-left:auto; }
.next-app .next-shop-hero>div { min-width:0; }
.next-app .next-shop-hero h1,.next-app .next-shop-hero p { overflow-wrap:anywhere; }
.next-app .next-shop-hero .toolbar { flex-wrap:wrap; justify-content:flex-end; max-width:55%; }
.next-app .next-shop-hero .toolbar .btn { white-space:normal; overflow-wrap:anywhere; }
.next-app .next-shop-bond>div,.next-app .next-shop-content>section { min-width:0; }
.next-app .next-shop-bond strong,.next-app .next-shop-content .server-review { overflow-wrap:anywhere; }
.next-app .next-shop-bond { display:grid; grid-template-columns:1fr 1fr 1fr 1.5fr; gap:32px; background:#fff; padding:24px 32px; border-radius:0 0 16px 16px; }
.next-app .next-shop-bond small { color:var(--muted); }
.next-app .next-shop-bond strong { display:block; font-size:1.25rem; margin-top:10px; }
.next-app .next-shop-content { display:grid; grid-template-columns:1fr 1fr; gap:48px; margin:32px 0; }
.next-app .next-account-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:8px 0 28px; }
.next-app .next-account-hero .next-eyebrow { margin:0 0 6px; }
.next-app .next-account-hero h1 { font-size:1.375rem; margin:0 0 6px; }
.next-app .next-tabs { display:flex; gap:32px; border-bottom:1px solid var(--line); overflow-x:auto; margin-bottom:24px; }
.next-app .next-tabs>a { white-space:nowrap; padding:12px 0 16px; font-size:.875rem; }
.next-app .next-tabs>a[aria-current] { color:var(--accent); border-bottom:2px solid var(--accent); }
.next-app .next-account-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; }
.next-app .next-account-section { padding:24px; background:#fff; border:1px solid var(--line); border-radius:16px; margin-bottom:20px; }
.next-app .next-account-section>h2 { margin:0 0 20px; }
.next-app .next-account-section>p { font-size:.8125rem; color:var(--muted); }
.next-app .next-account-section>a { color:var(--accent); font-size:.8125rem; }
.next-app .next-balance { display:block; font-size:1.75rem; overflow-wrap:anywhere; }
.next-app .next-notice-row { display:flex; align-items:center; gap:12px; padding:16px 0; border-top:1px solid var(--line); }
.next-app .next-notice-row>div { flex:1; min-width:0; overflow-wrap:anywhere; font-size:.875rem; }
.next-app .next-notice-row time { display:block; color:var(--muted); font-size:.75rem; margin-top:6px; }
.next-app .next-account-order { padding:20px 0; border-top:1px solid var(--line); }
.next-app .next-account-order-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:16px; }
.next-app .next-account-order-head>.next-person { flex:1; }
.next-app .next-account-order .next-person strong,.next-app .next-conversation .page-head h1 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.next-app .next-account-order-amount { flex:0 1 auto; max-width:45%; font-size:1.125rem; overflow-wrap:anywhere; text-align:right; }
.next-app .next-account-order footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; font-size:.8125rem; color:var(--muted); }
.next-app .next-account-order footer>div { display:flex; flex-wrap:wrap; gap:16px; }
.next-app .next-account-order footer a { color:var(--accent); display:inline-flex; align-items:center; min-height:44px; }
.next-app .next-quick-links { padding:8px 24px; }
.next-app .next-quick-links>a { display:flex; align-items:center; justify-content:space-between; padding:16px 0; color:var(--ink); border-bottom:1px solid var(--line); }
.next-app .next-quick-links>a:last-child { border:0; }
.next-app .next-quick-links>a>span { display:flex; align-items:center; gap:12px; }
.next-app .next-account-subnav { margin-bottom:0; }
.next-app .next-account-subnav+.server-page { margin-top:0; }
.next-app .server-create-grid { grid-template-columns:minmax(0,1fr) 320px; gap:24px; }
.next-app .server-create-grid>form,.next-app .server-create-grid>div { background:#fff; padding:28px; border:1px solid var(--line); border-radius:16px; }
.next-app .server-create-summary { background:#f0f3f8; border:1px solid var(--line); padding:24px; border-radius:16px; align-self:start; }
.next-app .server-create-summary dd { margin-top:8px; }
.next-app .server-create-summary[hidden] { display:none; }
.next-app .server-create:has(.next-create-flow) .server-create-grid { grid-template-columns:minmax(0,1fr); }
.next-app .server-create:has(.next-create-flow)>.page-head { width:min(100%,960px); margin-inline:auto; }
.next-app .server-create:has(.next-create-flow) .server-create-grid { width:min(100%,960px); margin-inline:auto; }
.next-app .server-create-grid:has(.next-create-flow)>form { padding:28px 32px; }
.next-app .next-create-flow { position:relative; display:grid; gap:26px; }
.next-app .next-create-flow::before { position:absolute; content:""; top:18px; bottom:18px; left:13px; width:2px; background:#d7e2f0; }
.next-app .next-create-wizard-pane { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; min-width:0; margin:0; padding:0 0 0 42px; border:0; }
.next-app .next-create-wizard-pane>legend { display:contents; margin:0; padding:0; color:var(--ink); font-size:1.15rem; font-weight:650; }
.next-app .next-create-step-number { position:absolute; z-index:1; top:0; left:0; display:grid; place-items:center; width:28px; height:28px; border:1px solid #bfd3eb; border-radius:50%; color:#0758bb; background:#fff; font-size:.875rem; font-weight:700; }
.next-app .next-create-step-title { grid-column:1/-1; align-self:center; min-height:28px; outline-offset:3px; }
.next-app .next-create-step-description { grid-column:1/-1; margin:-8px 0 0; color:var(--muted); font-size:.875rem; }
.next-app .next-create-identity { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#f7faff; }
.next-app .next-create-wizard-pane[data-wizard-pane="0"]>.next-context-field:has(textarea),.next-app .next-create-wizard-pane[data-wizard-pane="0"]>.next-context-field:has([name="sellerAddress"]),.next-app .next-create-wizard-pane[data-wizard-pane="0"]>.small.muted { grid-column:1/-1; }
.next-app .next-create-wizard-pane[data-wizard-pane="1"] { grid-template-columns:minmax(0,1fr) auto; align-content:start; }
.next-app .next-create-wizard-pane[data-wizard-pane="1"]>.next-create-step-title,.next-app .next-create-wizard-pane[data-wizard-pane="1"]>.next-create-step-description,.next-app .next-create-wizard-pane[data-wizard-pane="1"]>[role="status"],.next-app .next-create-wizard-pane[data-wizard-pane="1"]>.small.muted { grid-column:1/-1; }
.next-app .next-create-wizard-pane[data-wizard-pane="1"]>[data-counterparty-lookup] { align-self:end; min-height:44px; }
.next-app .next-create-wizard-pane[data-wizard-pane="2"] { grid-template-columns:minmax(0,1fr); }
.next-app .next-create-wizard-pane[data-wizard-pane="2"]>* { grid-column:1/-1; }
.next-app .next-create-identity>span,.next-app .next-create-identity>small { color:#475569; font-size:.82rem; }
.next-app .next-create-wizard-controls { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:24px; padding-left:42px; }
.next-app .next-create-wizard-controls>.form-error { flex-basis:100%; }
.next-app .next-create-contract-preview { min-width:0; padding-top:2px; }
.next-app .next-create-contract-preview h3 { margin:0 0 12px; font-size:1rem; }
.next-app .next-create-contract-preview dl { display:grid; grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr); gap:10px 18px; margin:0; }
.next-app .next-create-contract-preview dl+dl { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.next-app .next-create-contract-preview dt[data-preview-group] { grid-column:1/-1; margin-top:2px; padding-bottom:6px; color:var(--ink); font-weight:650; border-bottom:1px solid var(--line); }
.next-app .next-create-contract-preview dd[data-preview-group-spacer] { display:none; }
.next-app .next-create-fee-details { margin-top:14px; padding-top:12px; border-top:1px solid var(--line); }
.next-app .next-create-fee-details>summary { color:#0758bb; cursor:pointer; }
.next-app .next-create-fee-details p { margin:10px 0; line-height:1.6; }
.next-app .next-create-contract-preview dt,.next-app .next-create-contract-preview dd { min-width:0; margin:0; overflow-wrap:anywhere; }
.next-app .next-create-contract-preview dt { color:#475569; }
.next-app .next-create-contract-preview dd { color:var(--ink); }
.next-app .next-create-policy-version { margin:12px 0 4px; color:#566579; font-size:.78rem; }
.next-app .next-create-agreement-copy { display:inline; }
.next-app .server-create>.next-progress { max-width:680px; margin:24px 0 32px; }
.next-app .server-order-status { background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; }
.next-app .server-order .page-head { display:grid; grid-template-columns:minmax(0,1fr) auto auto; }
.next-app .server-order .page-head>:first-child { min-width:0; overflow-wrap:anywhere; }
.next-app .next-order-summary { margin:0 0 20px; padding:12px 16px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.next-app .next-order-summary summary { font-size:.8125rem; font-weight:600; cursor:pointer; }
.next-app .next-order-summary-preview { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; margin-top:6px; color:var(--muted); font-weight:400; }
.next-app .next-order-summary[open] .next-order-summary-preview { display:none; }
.next-app .next-order-summary .server-prose { margin-bottom:0; font-size:.9375rem; overflow-wrap:anywhere; }
.next-app .server-order-status>strong { overflow-wrap:anywhere; }
.next-app .server-action-preview { margin:12px 0; padding:12px 0; border-top:1px solid var(--line); }
.next-app .server-action-preview h3 { margin:0 0 8px; font-size:.875rem; line-height:1.4; }
.next-app .server-action-preview dl { display:grid; grid-template-columns:minmax(96px,1fr) minmax(0,1.6fr); gap:8px 16px; margin:0; align-items:baseline; }
.next-app .server-action-preview dt { margin:0; color:var(--muted); font-size:.8125rem; }
.next-app .server-action-preview dd { margin:0; text-align:right; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.next-app .server-action-preview[data-preview-invalid="true"] { padding:12px; border:1px solid #f1e3ce; border-radius:10px; background:#fff9ef; color:#805a20; }
.next-app .server-cancellation-status { margin:16px 0; padding:16px; border:1px solid #dce7f6; border-radius:12px; background:#f7faff; }
.next-app .server-cancellation-status h3 { margin:0 0 12px; font-size:.9375rem; }
.next-app .server-cancellation-status dl { display:grid; grid-template-columns:minmax(110px,1fr) minmax(0,1.6fr); gap:8px 16px; margin:0; }
.next-app .server-cancellation-status dt,.next-app .server-cancellation-status dd { min-width:0; margin:0; overflow-wrap:anywhere; }
.next-app .server-cancellation-status dt { color:var(--muted); font-size:.8125rem; }
.next-app .server-cancellation-status dd { text-align:right; font-size:.875rem; font-weight:550; }
.next-app .server-cancellation-status p { margin:12px 0 0; }
@media(max-width:560px){.next-app .server-cancellation-status dl{grid-template-columns:minmax(0,1fr);gap:4px}.next-app .server-cancellation-status dd{text-align:left;margin-bottom:8px}}
.next-app .server-order-body { gap:24px; margin-top:24px; grid-template-columns:minmax(0,1fr) 300px; }
.next-app .server-order-body>* { min-width:0; overflow-wrap:anywhere; }
.next-app .server-order-info { padding:24px; background:#fff; border:1px solid var(--line); border-radius:16px; }
.next-app .server-chat-panel { background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; }
.next-app .next-conversation { max-width:1040px; }
.next-app .next-conversation .page-head { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; }
.next-app .next-conversation .page-head p { overflow-wrap:anywhere; }
.next-app .next-conversation .page-head .next-person { align-items:flex-start; }
.next-app .next-conversation-context { display:flex; align-items:center; justify-content:space-between; gap:24px; background:#fff; padding:16px 24px; border:1px solid var(--line); border-radius:14px 14px 0 0; }
.next-app .next-conversation-context>.next-progress { width:300px; }
.next-app .next-conversation-context>a { font-size:.8125rem; color:var(--accent); }
.next-app .next-conversation-context>strong { min-width:0; overflow-wrap:anywhere; }
.next-app .next-conversation-context>a { flex-shrink:0; }
.next-app .next-conversation #server-chat-slot { background:#fff; border:1px solid var(--line); border-top:0; border-radius:0 0 14px 14px; }
.next-app .next-conversation .order-chat-scroll { height:max(220px,calc(100dvh - 610px)); max-height:440px; }
.next-app .next-chat-boundary { text-align:center; color:var(--muted); font-size:.75rem; }
.next-app .next-create-review { max-width:640px; width:calc(100% - 32px); max-height:calc(100dvh - 32px); padding:0; overflow:hidden; border:1px solid var(--line); border-radius:18px; box-shadow:0 24px 64px #17263a26; }
.next-app .next-create-review[open] { display:flex; flex-direction:column; }
.next-app .next-create-review::backdrop { background:#101b3040; }
.next-app .next-create-review>header { padding:20px 24px 12px; flex:none; }
.next-app .next-create-review h2 { margin:0; font-size:1.125rem; }
.next-app .next-review-body { min-height:0; padding:0 24px 20px; overflow-y:auto; overscroll-behavior:contain; }
.next-app .next-review-body:focus-visible { outline:2px solid #5897ed; outline-offset:-2px; }
.next-app .next-review-body dl { display:grid; grid-template-columns:136px minmax(0,1fr); gap:12px 16px; margin:16px 0 24px; }
.next-app .next-review-body dt,.next-app .next-review-body dd { margin:0; padding:0; min-width:0; overflow-wrap:anywhere; }
.next-app .next-review-body .server-prose { white-space:pre-wrap; }
.next-app .next-review-body .server-address { border:0; background:none; }
.next-app .next-create-review>footer { flex:none; margin:0; padding:16px 24px; border-top:1px solid var(--line); justify-content:flex-end; background:#fff; }
.next-app .next-create-review>footer .btn { white-space:nowrap; }
@media (max-width:599px) {
  .next-app .server-create-grid:has(.next-create-flow)>form { padding:22px 16px; }
  .next-app .next-create-flow { gap:24px; }
  .next-app .next-create-wizard-pane { grid-template-columns:minmax(0,1fr); gap:14px; padding-left:40px; }
  .next-app .next-create-step-title,.next-app .next-create-step-description,.next-app .next-create-identity,.next-app .next-create-wizard-pane[data-wizard-pane="0"]>.next-context-field:has(textarea),.next-app .next-create-wizard-pane[data-wizard-pane="0"]>.next-context-field:has([name="sellerAddress"]),.next-app .next-create-wizard-pane[data-wizard-pane="0"]>.small.muted { grid-column:1; }
  .next-app .next-create-wizard-pane[data-wizard-pane="1"] { grid-template-columns:minmax(0,1fr) auto; }
  .next-app .next-create-wizard-pane[data-wizard-pane="1"]>.next-context-field { display:contents; }
  .next-app .next-create-wizard-pane[data-wizard-pane="1"]>.next-context-field>.next-context-field-title { grid-column:1/-1; }
  .next-app .next-create-wizard-pane[data-wizard-pane="1"]>.next-context-field>input[data-counterparty-id] { grid-column:1; width:100%; min-height:44px; }
  .next-app .next-create-wizard-pane[data-wizard-pane="1"]>[data-counterparty-lookup] { grid-column:2; }
  .next-app .next-create-wizard-controls { display:grid; grid-template-columns:minmax(0,1fr); align-items:stretch; gap:8px; padding-left:40px; }
  .next-app .next-create-wizard-controls>[role="status"],.next-app .next-create-wizard-controls>.form-error { grid-column:1/-1; margin:0; }
  .next-app .next-create-wizard-controls>button.primary:not([name="escrowDraftAction"]) { width:100%; min-width:0; }
  .next-app .next-create-contract-preview dl { grid-template-columns:minmax(0,1fr); gap:5px; }
  .next-app .next-create-contract-preview dd { margin-bottom:10px; }
  .next-app .next-create-contract-preview dt[data-preview-group] { margin-top:8px; }
  .next-app .next-create-review>header { padding:16px 18px 8px; }
  .next-app .next-review-body { padding:0 18px 16px; }
  .next-app .next-review-body dl { grid-template-columns:minmax(0,1fr); gap:6px; }
  .next-app .next-review-body dd { margin-bottom:12px; }
  .next-app .next-create-review>footer { padding:12px 18px; gap:8px; }
  .next-app .next-create-review>footer .btn { flex:1; min-width:0; padding-inline:10px; }
}
.next-app .next-bottom-nav { display:none; }
.next-app .next-more-panel { display:none; }
.next-app .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media (max-width:1199px) {
  .next-app .header-inner { gap:24px; }
  .next-app .primary-nav { gap:20px; }
  .next-app .header-actions { gap:14px; }
  .next-app .next-hero { gap:32px; padding:36px 32px; }
  .next-app .next-hero h1 { font-size:2.125rem; }
  .next-app .next-feed-labels,.next-app .next-feed-row { grid-template-columns:minmax(120px,1fr) minmax(90px,1fr) 80px 140px; gap:12px; }
  .next-app .next-feed-row>time,.next-app .next-feed-labels>span:last-child { display:none; }
}
@media (max-width:959px) {
  .next-app .header-inner { padding:0 24px; gap:20px; }
  .next-app .header-orders,.next-app .next-message-link { display:none; }
  .next-app .mobile-menu { display:none; }
  .next-app .pro-main { padding-bottom:calc(80px + env(safe-area-inset-bottom)); }
  .next-app .next-bottom-nav { display:flex; position:fixed; bottom:0; inset-inline:0; height:calc(64px + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid var(--line); padding:4px 8px calc(4px + env(safe-area-inset-bottom)); z-index:var(--z-dropdown); }
  .next-app .next-bottom-nav>:is(a,button) { display:flex; flex:1; min-width:0; flex-direction:column; justify-content:center; align-items:center; gap:3px; font-size:.75rem; font-weight:500; line-height:1.4; min-height:48px; margin:0; padding:4px; border:0; border-radius:8px; color:#626975; background:transparent; box-shadow:none; }
  .next-app .next-bottom-nav>:is(a,button):hover { color:var(--accent); background:var(--soft); }
  .next-app .next-bottom-nav>:is([aria-current],.is-current,[aria-expanded=true]) { color:var(--accent); background:var(--soft); }
  .next-app .next-bottom-nav>:is(a,button):focus-visible { outline:2px solid #5897ed; outline-offset:-2px; }
  .next-app .next-bottom-nav svg { width:22px; height:22px; }
  .next-app .next-more-panel { position:fixed; top:auto; bottom:calc(72px + env(safe-area-inset-bottom)); left:12px; right:12px; max-width:560px; margin:0 auto; max-height:calc(100dvh - 156px - env(safe-area-inset-bottom)); overflow-y:auto; overscroll-behavior:contain; padding:16px; border:1px solid var(--line); border-radius:18px; background:#fff; color:var(--ink); box-shadow:0 8px 28px #1d293b20; z-index:var(--z-dropdown); }
  .next-app.menu-open .next-more-panel { display:block; }
  .next-app .next-more-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:8px; }
  .next-app .next-more-heading h2 { margin:0; font-size:1rem; }
  .next-app .next-more-heading button { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:10px; border:0; border-radius:10px; background:var(--surface); color:var(--ink); }
  .next-app .next-more-heading button:hover { background:#e9eef5; }
  .next-app .next-more-heading button:focus-visible { outline:2px solid #5897ed; outline-offset:1px; }
  .next-app .next-more-panel .mobile-nav-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .next-app .next-more-panel .mobile-nav-links a { display:flex; align-items:center; justify-content:flex-start; min-height:52px; padding:12px; gap:8px; font-size:.875rem; border-radius:10px; color:var(--ink); background:var(--surface); }
  .next-app .next-more-panel .mobile-nav-links a>span { display:flex; margin:0; color:var(--muted); }
  .next-app .next-more-panel .mobile-nav-links svg { width:18px; height:18px; }
  .next-app .next-more-panel .mobile-nav-links a:hover,.next-app .next-more-panel .mobile-nav-links a[aria-current] { background:var(--soft); color:var(--accent); }
  .next-app .next-more-panel .mobile-nav-links a[aria-current]>span { color:var(--accent); }
  .next-app .next-more-panel .mobile-nav-personal { display:flex; align-items:center; gap:4px 20px; padding:12px 0 0; margin-top:16px; }
  .next-app .next-more-panel .mobile-nav-personal a { margin:0; min-height:44px; font-size:.875rem; color:var(--ink); }
  .next-app .next-more-panel>p { margin:8px 0 0; font-size:.75rem; line-height:1.6; }
  .next-app .navigation-scrim { inset:0 0 calc(64px + env(safe-area-inset-bottom)); width:100%; border-radius:0; background:#15223840; z-index:var(--z-header); }
  .next-app .workspace,.next-app .app-footer { width:calc(100% - 48px); }
  .next-app .platform-strip>div { padding:8px 24px; }
  .next-app .next-hero { gap:24px; padding:32px 24px; }
  .next-app .next-process-panel { padding:0 0 0 24px; }
  .next-app .next-hero-guides { grid-template-columns:1fr; gap:0; }
  .next-app .next-hero h1 { font-size:1.875rem; }
  .next-app .next-market { grid-template-columns:minmax(0,1fr); }
  .next-app .next-market-side { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  .next-app .next-exchange { margin:0; }
  .next-app .next-account-grid { grid-template-columns:minmax(0,1fr) 280px; gap:16px; }
  .next-app .next-account-section { padding:20px; }
  .next-app .next-merchant-list { grid-template-columns:minmax(0,1fr); }
  .next-app .server-create-grid,.next-app .server-order-body { grid-template-columns:minmax(0,1fr); }
  .next-app .server-order-row { grid-template-columns:minmax(0,1fr) 130px; }
  .next-app .next-shop-bond { gap:20px; padding:24px; grid-template-columns:repeat(3,1fr); }
  .next-app .next-shop-bond .next-collateral { grid-column:1 / -1; }
}
@media (max-width:639px) {
  .next-app .pro-header,.next-app .header-inner { height:60px; }
  .next-app .header-inner { min-height:60px; padding:0 16px; gap:12px; }
  .next-app .header-brand { font-size:1rem; }
  .next-app .header-brand svg { width:24px; }
  .next-app .header-actions { gap:12px; }
  .next-app .header-create { display:none; }
  .next-app .pro-main { padding-top:0; padding-bottom:calc(80px + env(safe-area-inset-bottom)); min-height:calc(100dvh - 60px); }
  .next-app .workspace,.next-app .app-footer { width:calc(100% - 32px); }
  .next-app .platform-strip>div { padding:8px 16px; gap:8px; flex-wrap:wrap; font-size:.6875rem; }
  .next-app .server-page { margin:24px auto; }
  .next-app .server-page h1 { font-size:1.5rem; }
  .next-app .next-announcement { padding:14px 0; gap:10px; font-size:.75rem; }
  .next-app .next-announcement>a:last-child { font-size:0; gap:0; }
  .next-app .next-hero { grid-template-columns:1fr; padding:18px; gap:16px; border-radius:16px; }
  .next-app .next-hero-kicker { font-size:.75rem; margin-bottom:8px; }
  .next-app .next-hero h1 { font-size:1.625rem; }
  .next-app .next-lead { font-size:.875rem; margin:10px 0 12px; line-height:1.6; }
  .next-app .next-hero-assurance { gap:0 6px; margin-bottom:16px; }
  .next-app .next-hero-assurance strong { font-size:.8125rem; }
  .next-app .next-hero-assurance span { font-size:.6875rem; }
  .next-app .next-hero-action { width:auto; min-width:0; flex:1; padding:12px; font-size:.875rem; }
  .next-app .next-hero-about { flex:none; margin:0; min-height:48px; font-size:.75rem; white-space:nowrap; }
  .next-app .next-process-panel { display:flex; padding:8px 0 0; border:0; border-top:1px solid var(--line); box-shadow:none; }
  .next-app .next-hero-actions { width:100%; gap:10px; flex-wrap:nowrap; }
  .next-app .next-hero-guides { grid-template-columns:1fr 1fr; gap:12px; }
  .next-app .next-process-panel :is(.next-section-head,.next-progress) { grid-column:1/-1; }
  .next-app .next-process-panel h2 { font-size:.875rem; }
  .next-app .next-process-panel .next-guide-row { font-size:.75rem; gap:4px; }
  .next-app .next-process-panel .next-guide-row>span { gap:6px; }
  .next-app .next-process-panel .next-guide-row>svg { display:none; }
  .next-app .next-promotion-card { flex:0 0 86%; min-height:196px; padding:20px; }
  .next-app .next-promotion h3 { font-size:1.125rem; }
  .next-app .next-promotion-banner { grid-template-columns:1fr; gap:12px; padding:20px; }
  .next-app .next-promotion-banner .next-promotion-copy { padding:0; }
  .next-app .next-promotion-banner .next-promotion-merchant { display:flex; }
  .next-app .next-ad-inventory { flex-wrap:wrap; gap:12px; padding:20px; }
  .next-app .next-ad-inventory .next-ad-label { flex-shrink:0; }
  .next-app .next-ad-inventory>span:last-child { margin-left:0; }
  .next-app .next-market { margin:24px 0; }
  .next-app .next-feed-panel { padding:20px 16px; }
  .next-app .next-feed-labels { display:none; }
  .next-app .next-feed-row { grid-template-columns:minmax(0,1fr) auto; gap:12px; }
  .next-app .next-feed-row>.next-person { grid-column:1; }
  .next-app .next-feed-row>p { grid-column:1; grid-row:2; font-size:.75rem; }
  .next-app .next-feed-row>strong { grid-column:2; grid-row:1; text-align:right; }
  .next-app .next-feed-row>div:last-of-type { grid-column:2; grid-row:2; min-width:120px; }
  .next-app .next-feed-row .next-progress.compact { min-width:120px; }
  .next-app .next-feed { max-height:580px; }
  .next-app .next-market-side { grid-template-columns:1fr; gap:16px; }
  .next-app .next-home-sidebar-rail .next-ad-slots-sidebar { grid-template-columns:minmax(0,1fr); }
  .next-app .next-exchange { margin:0; }
  .next-app .next-settlements { padding:20px 16px; }
  .next-app .next-new-shop-static { grid-template-columns:1fr; }
  .next-app .next-section-head { gap:8px; }
  .next-app .next-section-head h2 { font-size:1rem; }
  .next-app .next-auth { margin:24px auto; }
  .next-app .server-login { padding:28px 24px; }
  .next-app:has(.next-directory, [data-merchant-onboarding="true"]) .pro-header,
  .next-app:has(.next-directory, [data-merchant-onboarding="true"]) .header-inner { height:48px; min-height:48px; }
  .next-app:has(.next-directory, [data-merchant-onboarding="true"]) .platform-strip>div { flex-direction:row; align-items:center; justify-content:flex-start; gap:2px 8px; padding-block:6px; min-height:30px; line-height:1.5; }
  .next-app:has(.next-directory, [data-merchant-onboarding="true"]) .platform-strip .server-environment { font-weight:400; }
  .next-app .next-directory { margin-top:12px; }
  .next-app .next-directory-join { margin-bottom:12px; gap:12px; }
  .next-app .next-directory-join strong { font-size:.8125rem; }
  .next-app .next-directory-join p { font-size:.75rem; }
  .next-app .next-directory-join>a { font-size:.8125rem; gap:4px; }
  .next-app .next-directory-tools { --control-font-size:1rem; gap:8px; flex-wrap:nowrap; }
  .next-app .next-directory-tools .next-search { flex:1 1 0; }
  .next-app .next-directory-tools .next-search .btn { min-width:60px; padding:10px 12px; }
  .next-app .next-directory-tools .next-clear-filters { justify-content:center; min-width:44px; flex:none; }
  .next-app .next-search { flex-basis:100%; max-width:none; margin:0; }
  .next-app .next-search input { font-size:1rem; }
  .next-app .next-category-picker { margin-top:12px; }
  .next-app .next-category-picker>summary { padding:12px; gap:10px; font-size:.875rem; }
  .next-app .next-category-browser { grid-template-columns:104px minmax(0,1fr); }
  .next-app .next-category-roots { padding:6px; max-height:280px; }
  .next-app .next-category-root { padding:10px 8px; font-size:.875rem; gap:4px; }
  .next-app .next-category-root>svg { width:12px; height:12px; }
  .next-app .next-category-children { padding:14px 12px; max-height:280px; }
  .next-app .next-category-options { gap:6px; }
  .next-app .next-category-choice { padding:10px; font-size:.875rem; }
  .next-app .next-category-path button { min-height:44px; font-size:.875rem; }
  .next-app .next-directory-skeleton { grid-template-columns:minmax(0,1fr); }
  .next-app .next-directory-skeleton>span+span { display:none; }
  .next-app .next-directory-summary { font-size:.8125rem; margin-top:16px; }
  .next-app .next-directory .next-empty { padding:20px 16px; }
  .next-app .next-directory .next-empty>svg { width:24px; height:24px; margin-bottom:8px; }
  .next-app .next-directory .next-empty h3 { font-size:.9375rem; }
  .next-app .next-directory .next-empty p { margin:4px 0 0; font-size:.8125rem; }
  .next-app .msg-page { margin:24px 0 32px; }
  .next-app .next-help { margin:24px 0 32px; }
  .next-app .msg-guest-help-content { grid-template-columns:minmax(0,1fr); gap:16px; }
  .next-app .next-merchant-row { padding:16px; grid-template-columns:40px minmax(0,1fr) 16px; gap:12px; }
  .next-app .next-avatar.large { width:48px; height:48px; font-size:1.125rem; }
  .next-app .next-merchant-row .next-avatar.large { width:40px; height:40px; font-size:1rem; }
  .next-app .next-merchant-name h2 { font-size:1rem; }
  .next-app .next-shop-hero { display:grid; grid-template-columns:48px minmax(0,1fr); padding:20px; gap:16px; }
  .next-app .next-shop-hero h1 { font-size:1.25rem; }
  .next-app .next-shop-hero .toolbar { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-left:0; width:100%; max-width:none; gap:8px; }
  .next-app .next-shop-hero .toolbar .btn { padding:10px; font-size:.8125rem; justify-content:space-between; text-align:left; text-wrap:balance; }
  .next-app .next-shop-bond { grid-template-columns:1fr 1fr; padding:20px; }
  .next-app .next-shop-bond>div:first-child { grid-column:1 / -1; }
  .next-app .next-shop-content { grid-template-columns:1fr; gap:24px; }
  .next-app .next-account-hero { flex-direction:column; align-items:stretch; gap:20px; padding-top:0; }
  .next-app .next-account-hero .toolbar { display:flex; }
  .next-app .next-account-hero .toolbar a { flex:1; }
  .next-app .next-account-hero .next-person span:not(.next-avatar) { word-break:break-all; }
  .next-app .next-tabs { gap:24px; }
  .next-app .next-account-grid { grid-template-columns:1fr; }
  .next-app .next-account-order-head { flex-wrap:wrap; gap:12px; }
  .next-app .next-account-order-head>.next-person { flex-basis:100%; }
  .next-app .next-account-order-amount { max-width:100%; text-align:left; }
  .next-app .next-account-section { padding:18px; }
  .next-app .server-section,.next-app .server-create-grid>form,.next-app .server-create-grid>div,.next-app .server-create-summary { padding:20px; }
  .next-app .server-order-row { padding:18px; gap:12px; }
  .next-app .server-order-status { padding:20px; gap:16px; }
  .next-app .server-order-status>strong { font-size:1.25rem; }
  .next-app .server-order .page-head { grid-template-columns:auto minmax(0,1fr); }
  .next-app .server-order .page-head>:first-child { grid-column:1/-1; }
  .next-app .server-order .page-head>.btn { justify-self:start; }
  .next-app .server-balances { gap:24px; flex-wrap:wrap; }
  .next-app .server-balances strong { font-size:1.5rem; }
  .next-app .next-conversation-context { padding:16px; flex-wrap:wrap; gap:16px; }
  .next-app .next-conversation-context>.next-progress { order:3; width:100%; }
  .next-app:has(.next-conversation) :is(.pro-header,.next-bottom-nav,.app-footer) { display:none; }
  .next-app:has(.next-conversation) .pro-main { padding-bottom:0; }
  .next-app:has(.next-conversation) .next-personal-location { display:none; }
  .next-app .next-personal-shell:has(.next-conversation) { margin:8px 0; }
  .next-app .next-conversation { margin:12px auto; }
  .next-app .next-conversation .page-head { margin-bottom:12px; }
  .next-app .next-conversation .page-head h1 { font-size:1.125rem; }
  .next-app .next-conversation .page-head p { font-size:.6875rem; }
  .next-app .next-conversation .order-chat-scroll { height:max(180px,calc(100dvh - 580px)); min-height:180px; }
  .next-app .next-conversation .order-chat-head { padding:14px 16px; }
  .next-app .next-conversation .page-head>.btn { padding:10px 12px; align-self:start; }
  .next-app .next-conversation .page-head>.btn svg { display:none; }
  .next-app.server-app .next-conversation .order-chat-composer textarea { min-height:56px; height:56px; }
  .next-app .next-conversation .order-chat-tools { flex-wrap:wrap; gap:0 8px; }
  .next-app .app-footer { gap:4px 16px; font-size:.8125rem; padding:12px 0; }
  .next-app .next-footer-brand { flex-basis:100%; margin:0; }
  .next-app .next-footer-links { gap:0 20px; }
}
@media (min-width:640px) and (max-width:1050px) { .next-app .next-new-shop-static { grid-template-columns:repeat(2,minmax(0,1fr)); } .next-app .next-promotion-card { flex:0 0 calc((100% - 64px)/2); } }
@media (min-width:1051px) { .next-app .next-ad-rail:has(>.next-promotion:nth-child(4)) .next-promotion-card { flex:0 0 calc((100% - 64px)/3); } }
@media (prefers-reduced-motion:reduce) { .next-app *, .next-app *::before, .next-app *::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } .next-app .new-shop-group[aria-hidden="true"] { display:none; } }

/* Current product help: grouped, compact navigation and readable topic content. */
.next-app .next-help { max-width:1120px; margin:20px auto 40px; }
.next-app .next-help>.page-head { margin-bottom:14px; }
.next-app .next-help>.notice { margin:0 0 16px; }
.next-app .next-help .help-layout { display:grid; grid-template-columns:220px minmax(0,1fr); align-items:start; gap:20px; min-width:0; }
.next-app .next-help .help-mobile-index { display:none; }
.next-app .next-help .help-nav { position:sticky; top:16px; display:grid; align-content:start; gap:12px; max-height:calc(100dvh - 32px); padding:4px 0; overflow:auto; overscroll-behavior:contain; }
.next-app .next-help .help-nav-group { display:grid; gap:3px; min-width:0; }
.next-app .next-help .help-nav-group h2 { margin:0; padding:4px 10px; color:#535e6c; font-size:.75rem; font-weight:650; letter-spacing:0; }
.next-app .next-help .help-nav-group ul { display:grid; gap:2px; margin:0; padding:0; list-style:none; }
.next-app .next-help .help-nav a { display:flex; align-items:center; min-height:38px; padding:7px 10px; border-radius:8px; color:#455364; font-size:.84rem; line-height:1.4; overflow-wrap:anywhere; }
.next-app .next-help .help-nav a:hover { background:#eef2f7; color:#1d1d1f; }
.next-app .next-help .help-nav a[aria-current="page"] { background:#eaf2ff; color:#0758bb; font-weight:650; }
.next-app .next-help .help-article { min-width:0; padding:24px 28px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:none; }
.next-app .next-help .help-article>header { display:grid; gap:8px; margin:0 0 18px; padding:0 0 16px; border-bottom:1px solid var(--line); }
.next-app .next-help .help-article>header h2 { max-width:34ch; margin:0; color:var(--ink); font-size:1.4rem; line-height:1.35; letter-spacing:-.02em; text-wrap:balance; }
.next-app .next-help .next-help-group-label { margin:0; color:#566274; font-size:.78rem; font-weight:600; }
.next-app .next-help .help-lede { max-width:68ch; margin:0; color:#4c5665; font-size:.95rem; line-height:1.65; text-wrap:pretty; }
.next-app .next-help .help-section { display:grid; gap:6px; min-width:0; padding:0; border:0; background:transparent; }
.next-app .next-help .help-section+.help-section { margin-top:18px; }
.next-app .next-help .help-section h3 { margin:0; color:#1d1d1f; font-size:1rem; line-height:1.4; letter-spacing:-.01em; }
.next-app .next-help .help-section p { max-width:72ch; margin:0; color:#333c48; font-size:.9rem; line-height:1.72; overflow-wrap:anywhere; text-wrap:pretty; }
.next-app .next-help-arbitration-flow { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; margin:0 0 18px; padding:0; list-style:decimal inside; border-block:1px solid var(--line); }
.next-app .next-help-arbitration-flow li { min-width:0; padding:10px 8px; color:#27364a; font-size:.8rem; line-height:1.5; overflow-wrap:anywhere; }
.next-app .next-help-arbitration-flow li+li { border-left:1px solid var(--line); }
.next-app .next-help-arbitration-flow li::marker { color:#1769aa; font-weight:700; }
.next-app .next-help-arbitration-flow strong,.next-app .next-help-arbitration-flow span { display:block; }
.next-app .next-help-arbitration-flow span { margin-top:4px; color:#4c5665; }
.next-app .next-help-important { margin:0 0 18px; padding:12px 14px; border:1px solid #e4c78f; border-radius:10px; background:#fff8e9; }
.next-app .next-help-important h3 { margin:0 0 4px; color:#65450c; font-size:.95rem; }
.next-app .next-help-important p { margin:0; color:#553d17; font-size:.88rem; line-height:1.65; overflow-wrap:anywhere; }
.next-app .next-help-sources { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; margin-top:20px; padding-top:12px; border-top:1px solid var(--line); font-size:.78rem; }
.next-app .next-help-sources strong { width:100%; color:#535e6c; font-weight:600; }
.next-app .next-help-sources a { color:#0758bb; text-decoration:underline; text-underline-offset:2px; }
.next-app .next-help .help-next { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:20px; padding-top:12px; border-top:1px solid var(--line); }
.next-app .next-help .help-next a { min-height:36px; display:inline-flex; align-items:center; color:#0758bb; font-size:.84rem; line-height:1.45; overflow-wrap:anywhere; }
.next-app .next-context-field { display:grid; gap:4px; min-width:0; }
.next-app .next-context-field-title { display:flex; align-items:center; justify-content:flex-start!important; gap:4px; min-height:32px; margin-bottom:2px; color:var(--ink); font-weight:550; text-align:left!important; }
.next-app .next-context-field-title>label { display:inline-flex; flex:0 1 auto; align-items:center; min-height:32px; margin:0; cursor:pointer; text-align:left!important; }
.next-app .next-context-field>:is(input,select,textarea) { width:100%; }
.next-app .next-context-help-button { position:relative; display:inline-grid; flex:0 0 44px; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:transparent; font-size:0; cursor:pointer; }
.next-app .next-context-help-button::before { content:'!'; display:grid; place-items:center; width:18px; height:18px; border:1px solid #9dbce0; border-radius:50%; background:#eaf3fc; color:#0758bb; font-size:12px; line-height:1; font-weight:750; }
.next-app .next-context-help-button:hover::before { background:#dcecff; border-color:#5897ed; }
.next-app .next-context-help-button:focus-visible,.next-app .next-context-dialog-close:focus-visible { outline:3px solid #5897ed; outline-offset:2px; }
.next-app .next-context-dialog { width:min(560px,calc(100vw - 32px)); max-width:none; max-height:min(82dvh,720px); overflow:hidden; padding:0; border:1px solid #dce3eb; border-radius:16px; color:#1d2939; background:#fff; box-shadow:0 24px 70px rgb(14 35 62 / 24%); }
.next-app .next-context-dialog[open] { display:flex; flex-direction:column; }
.next-app .next-context-dialog.is-overview { width:min(640px,calc(100vw - 32px)); }
.next-app .next-context-dialog::backdrop { background:rgb(13 28 46 / 48%); }
.next-app .next-context-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 24px 16px; border-bottom:1px solid #e5eaf0; background:#fff; }
.next-app .next-context-dialog-header,.next-app .next-context-dialog-footer { flex:none; }
.next-app .next-context-dialog h2 { margin:0; color:#17283d; font-size:1.5rem; line-height:1.3; letter-spacing:-.02em; }
.next-app .next-context-dialog h2:focus { outline:none; }
.next-app .next-context-dialog-body { min-height:0; flex:1 1 auto; padding:20px 24px; overflow-y:auto; overscroll-behavior:contain; }
.next-app .next-context-dialog .next-context-dialog-lead { margin:0 0 20px; color:#273c55; font-size:1rem; font-weight:550; line-height:1.65; }
.next-app .next-context-dialog-section+.next-context-dialog-section { margin-top:18px; }
.next-app .next-context-dialog-flow+.next-context-dialog-section { margin-top:20px; }
.next-app .next-context-dialog-section h3,.next-app .next-context-dialog-flow h3 { margin:0 0 4px; color:#1d2939; font-size:.94rem; line-height:1.45; }
.next-app .next-context-dialog p { margin:0; color:#39475a; font-size:.92rem; line-height:1.68; text-align:left; }
.next-app .next-context-dialog-flow { display:grid; gap:0; margin:0; padding:0; list-style:none; counter-reset:context-step; }
.next-app .next-context-dialog-flow li { position:relative; min-width:0; padding:0 0 16px 38px; counter-increment:context-step; }
.next-app .next-context-dialog-flow li:last-child { padding-bottom:0; }
.next-app .next-context-dialog-flow li::before { content:counter(context-step); position:absolute; top:0; left:0; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#eaf2ff; color:#0758bb; font-size:.8rem; font-weight:700; }
.next-app .next-context-funds-notice { margin:0 0 14px!important; padding:10px 12px; border-radius:8px; background:#fff7e8; color:#6a4b10!important; font-size:.88rem!important; }
.next-app .next-context-dialog-footer { display:flex; justify-content:flex-end; padding:12px 24px 18px; border-top:1px solid #e5eaf0; background:#fff; }
.next-app .next-context-dialog-close,.next-app .next-context-dialog-done { appearance:none; -webkit-appearance:none; display:inline-grid; place-items:center; flex:none; min-width:44px; min-height:44px; padding:0 14px; border:1px solid #dce3eb; border-radius:9px; background:#fff; color:#0758bb; font:inherit; cursor:pointer; }
.next-app .next-context-dialog-close { width:44px; padding:0; border:0; border-radius:8px; color:#53657a; font-size:1.5rem; line-height:1; }
.next-app .next-context-dialog-close:hover,.next-app .next-context-dialog-done:hover { background:#f1f6fc; }
@media(max-width:560px) {
  .next-app .next-context-dialog { position:fixed; inset:auto 0 0; width:100%; max-width:none; max-height:min(86dvh,760px); margin:0; border-radius:18px 18px 0 0; border-bottom:0; padding-bottom:env(safe-area-inset-bottom); }
  .next-app .next-context-dialog.is-overview { width:100%; }
  .next-app .next-context-dialog-header { padding:calc(18px + env(safe-area-inset-top)) 20px 14px; }
  .next-app .next-context-dialog h2 { font-size:1.35rem; }
  .next-app .next-context-dialog-body { padding:18px 20px; }
  .next-app .next-context-dialog-footer { padding:10px 20px 14px; }
}
.next-app .next-create-review .next-create-steps { grid-template-columns:repeat(4,minmax(0,1fr)); }
.next-app .next-help-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:8px 0 0; padding:0; list-style:none; border:1px solid #dce6f1; border-radius:12px; overflow:hidden; }
.next-app .next-help-flow>li { position:relative; display:grid; align-content:start; gap:6px; min-width:0; padding:14px; background:#f8fbff; }
.next-app .next-help-flow>li+li { border-left:1px solid #dce6f1; }
.next-app .next-help-flow>li:not(:last-child)::after { content:'→'; position:absolute; z-index:1; top:50%; right:-12px; display:grid; place-items:center; width:24px; height:24px; transform:translateY(-50%); border:1px solid #dce6f1; border-radius:50%; background:#fff; color:#0758bb; font-weight:700; }
.next-app .next-help-flow>li>strong { color:#0758bb; font-size:.9rem; }
.next-app .next-help-flow>li>span:not(.next-help-flow-number) { color:#475569; font-size:.8rem; line-height:1.55; }
.next-app .next-help-flow>li>.next-help-flow-number { color:#8aa0ba; font-size:.7rem; font-weight:700; letter-spacing:.08em; }
.next-app .next-help-flow>li>ul { display:grid; gap:3px; margin:0; padding-left:16px; color:#475569; font-size:.78rem; line-height:1.5; }
.next-app .next-help-flow>li>ul>li { padding:2px 0; border:0; background:transparent; }
.next-app .next-help-flow+p { margin-top:10px; }
.next-app .next-help :is(a,summary):focus-visible { outline:3px solid #5897ed; outline-offset:3px; border-radius:4px; }
@media(max-width:900px) {
  .next-app .next-help .help-mobile-index { display:block; margin:0 0 12px; border:1px solid var(--line); border-radius:10px; background:#fff; }
  .next-app .next-help .help-mobile-index>summary { min-height:44px; padding:12px 14px; color:#0758bb; font-size:.88rem; font-weight:600; cursor:pointer; }
  .next-app .next-help .help-mobile-index[open] { padding-bottom:10px; }
  .next-app .next-help .help-mobile-index[open]>.help-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; max-height:min(55dvh,420px); padding:0 10px; overflow:auto; }
  .next-app .next-help .help-layout>.help-nav { display:none; }
  .next-app .next-help .help-layout { grid-template-columns:minmax(0,1fr); gap:12px; }
  .next-app .next-help .help-mobile-index .help-nav { position:static; }
  .next-app .next-help .help-nav-group { padding:7px; border:1px solid var(--line); border-radius:10px; background:#fff; }
  .next-app .next-help .help-nav a { min-height:36px; padding:6px 7px; font-size:.8rem; }
  .next-app .next-help .help-article { padding:20px; }
}
@media(max-width:560px) {
  .next-app .next-help { margin:14px auto 28px; }
  .next-app .next-help .help-nav { grid-template-columns:minmax(0,1fr); gap:7px; }
  .next-app .next-help .help-mobile-index[open]>.help-nav { grid-template-columns:minmax(0,1fr); max-height:55dvh; }
  .next-app .next-help .help-nav-group { grid-template-columns:minmax(0,1fr); }
  .next-app .next-help .help-nav-group ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .next-app .next-help .help-nav a { min-height:40px; }
  .next-app .next-help .help-article { padding:16px; }
  .next-app .next-help .help-article>header h2 { font-size:1.2rem; }
  .next-app .next-help-flow { grid-template-columns:minmax(0,1fr); }
  .next-app .next-help-flow>li+li { border-top:1px solid #dce6f1; border-left:0; }
  .next-app .next-help-flow>li:not(:last-child)::after { content:'↓'; top:auto; right:auto; bottom:-12px; left:50%; transform:translateX(-50%); }
  .next-app .next-help-arbitration-flow { grid-template-columns:minmax(0,1fr); }
  .next-app .next-help-arbitration-flow li+li { border-top:1px solid var(--line); border-left:0; }
  .next-app .next-help .help-next { display:grid; grid-template-columns:minmax(0,1fr); gap:2px; }
}
@media(max-width:359px) {
  .next-app .next-hero h1 { font-size:1.625rem; }
}

.next-app .server-ruling-parties { margin:12px 0; padding:16px; border:1px solid #dce7f6; border-radius:12px; background:#f7faff; }
.next-app .server-ruling-parties h3 { margin:0 0 12px; font-size:.9375rem; }
.next-app .server-ruling-parties dl { display:grid; grid-template-columns:minmax(160px,190px) minmax(0,1fr); gap:8px 16px; margin:0; }
.next-app .server-ruling-parties dt { margin:0; color:var(--muted); font-size:.8125rem; }
.next-app .server-ruling-parties dd { min-width:0; margin:0; overflow-wrap:anywhere; }
.next-app .server-ruling-parties .server-address { display:block; max-width:100%; margin:0; padding:0; border:0; background:transparent; box-sizing:border-box; white-space:normal; overflow-wrap:anywhere; }
@media(max-width:560px){.next-app .server-ruling-parties dl{grid-template-columns:minmax(0,1fr);gap:2px}.next-app .server-ruling-parties dd{margin-bottom:8px}}
