/* Member workspace — shared light theme, 2026-12-04.
   Scoped to the authenticated member shell; storefronts and authored rich text
   retain their own palettes. Existing status / destructive colours are semantic. */
body.member-workspace {
    --mw-primary: #0f766e;
    --mw-primary-hover: #115e59;
    --mw-primary-soft: #e3f3ef;
    --mw-page: #f8fafc;
    --mw-surface: #fff;
    --mw-text: #1e293b;
    --mw-body: #334155;
    --mw-muted: #64748b;
    --mw-line: #e2e8f0;
    --mw-sidebar: 248px;
    --mw-header: 64px;
    --member-admin-primary: var(--mw-primary);
    --member-admin-primary-hover: var(--mw-primary-hover);
    --member-admin-primary-soft: var(--mw-primary-soft);
    --member-admin-text: var(--mw-body);
    --member-admin-muted: var(--mw-muted);
    --member-admin-border: var(--mw-line);
    --member-admin-surface: var(--mw-surface);
    --member-admin-background: var(--mw-page);
    color: var(--mw-body) !important;
    background: var(--mw-page) !important;
    background-image: none !important;
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.member-workspace .bg-content {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--mw-page) !important;
    overflow-x: hidden !important;
}
body.member-workspace :is(button, input, textarea, select) { font-family: inherit; }
body.member-workspace :is(a, button, summary, [role="button"]) { -webkit-tap-highlight-color: transparent; }
body.member-workspace :is(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--mw-primary);
    outline-offset: 3px;
}
body.member-workspace :is(button, [role="button"], summary) { cursor: pointer; }
body.member-workspace :is(button, input, select, textarea):disabled { cursor: not-allowed; opacity: .55; }
body.member-workspace :is(.fly-user-main, .uc-main) [hidden] { display: none !important; }
body.member-workspace :is(.layui-layer, .fly-user-main) :is(img, video) { max-width: 100%; }

/* Shell: one stable navigation rail and a full-width work area. */
body.member-workspace .fly-header {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 1000;
    height: var(--mw-header) !important;
    background: #fff !important;
    border: 0;
    border-bottom: 1px solid var(--mw-line);
    box-shadow: none !important;
    backdrop-filter: none !important;
}
body.member-workspace .fly-header > .layui-container {
    display: flex !important;
    align-items: center;
    gap: 20px;
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 28px 0 calc(var(--mw-sidebar) + 32px) !important;
    box-sizing: border-box;
}
body.member-workspace .fly-header > .layui-container > .fly-logo {
    position: fixed !important;
    inset: 0 auto auto 0 !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: var(--mw-sidebar) !important;
    height: var(--mw-header) !important;
    max-width: none !important;
    padding: 0 20px !important;
    margin: 0 !important;
    border-right: 1px solid var(--mw-line);
    box-sizing: border-box;
    background: #fff !important;
    color: var(--mw-text) !important;
    line-height: 1.4;
}
body.member-workspace .fly-logo .user-logo { flex: 0 0 36px; }
body.member-workspace .fly-logo .user-logo img {
    display: block;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border-radius: 9px;
    object-fit: contain;
}
body.member-workspace .fly-logo .user-logo-title {
    display: block !important;
    min-width: 0;
    max-width: 158px;
    overflow: hidden;
    font-size: 17px !important;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.member-workspace .member-header-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--mw-text);
    font-size: 18px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.member-workspace .fly-header > .layui-container > .fly-nav {
    position: static !important;
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    height: 100%;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    white-space: nowrap;
}
body.member-workspace .fly-header .layui-nav-item { line-height: var(--mw-header); }
body.member-workspace .fly-header > .layui-container > .fly-nav > .layui-nav-item > a {
    height: var(--mw-header);
    padding: 0 14px 0 34px !important;
    color: var(--mw-body) !important;
    font-size: 14px;
    font-weight: 500;
}
body.member-workspace .fly-header > .layui-container > .fly-nav > .layui-nav-item > a > .fly-nav-icon {
    left: 8px !important;
    width: 18px;
    font-size: 19px !important;
}
body.member-workspace .fly-header > .layui-container > .fly-nav > .fly-nav-more > a { padding-right: 20px !important; }
body.member-workspace .fly-header .fly-nav a:hover { color: var(--mw-primary) !important; background: transparent !important; }
body.member-workspace .fly-header .fly-nav-user {
    position: static !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    height: var(--mw-header);
    background: transparent !important;
}
body.member-workspace .fly-header .fly-nav-avatar { display: flex; align-items: center; gap: 8px; padding: 0 !important; }
body.member-workspace .fly-header .user-avatar { width: 32px; height: 32px; box-shadow: none !important; border: 1px solid var(--mw-line); }
body.member-workspace .user-level { border: 0 !important; background: transparent !important; font-size: 13px; }
body.member-workspace .fly-header .user-level > img { display: none; }
body.member-workspace .fly-header .layui-nav-child {
    top: 58px;
    min-width: 150px;
    padding: 6px !important;
    border: 1px solid var(--mw-line) !important;
    border-radius: 10px;
    background: #fff !important;
    box-shadow: 0 12px 32px rgb(15 23 42 / 10%) !important;
}
body.member-workspace .fly-header .layui-nav-child a { min-height: 38px; border-radius: 6px; color: var(--mw-body) !important; line-height: 38px !important; }
body.member-workspace .fly-header .layui-nav-child a:hover { background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; }
body.member-workspace .fly-mobile-shop-link { display: none !important; }
body.member-workspace .fly-user-main {
    display: block !important;
    position: relative;
    width: calc(100% - var(--mw-sidebar)) !important;
    max-width: none !important;
    min-width: 0;
    min-height: calc(100vh - var(--mw-header));
    min-height: calc(100dvh - var(--mw-header));
    margin: var(--mw-header) 0 0 var(--mw-sidebar) !important;
    padding: 32px !important;
    box-sizing: border-box;
}
body.member-workspace .fly-user-main > .user-center-sidebar {
    position: fixed !important;
    inset: var(--mw-header) auto 0 0 !important;
    z-index: 900;
    display: flex !important;
    flex-direction: column;
    align-self: auto;
    width: var(--mw-sidebar) !important;
    height: calc(100vh - var(--mw-header)) !important;
    height: calc(100dvh - var(--mw-header)) !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 24px 14px 12px !important;
    overflow: hidden !important;
    border: 0;
    border-right: 1px solid var(--mw-line);
    border-radius: 0;
    background: #fff !important;
    box-sizing: border-box;
}
body.member-workspace .user-center-sidebar > .user-center-nav {
    position: static !important;
    display: block !important;
    flex: 1 1 auto;
    width: 100% !important;
    min-height: 0;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
    overflow: auto;
    scrollbar-width: thin;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.member-workspace .user-center-nav > .layui-nav-item { margin: 0 0 7px; padding: 0; background: transparent !important; }
body.member-workspace .user-center-nav .layui-nav-item > a,
body.member-workspace .user-center-nav .layui-nav-child dd > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    height: auto;
    padding: 10px 14px !important;
    box-sizing: border-box;
    border-radius: 9px;
    background: transparent !important;
    color: var(--mw-body) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65 !important;
    white-space: normal;
    overflow-wrap: anywhere;
}
body.member-workspace .user-center-nav .layui-icon {
    position: static !important;
    flex: 0 0 20px;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
}
body.member-workspace .user-center-nav :is(.layui-nav-item, .layui-nav-child dd) > a:hover {
    color: var(--mw-primary) !important;
    background: #f2f8f6 !important;
}
body.member-workspace .user-center-nav .layui-this,
body.member-workspace .user-center-nav .layui-nav-child dd.layui-this { background: transparent !important; }
body.member-workspace .user-center-nav .layui-this > a,
body.member-workspace .user-center-nav .layui-this > a:hover {
    color: var(--mw-primary) !important;
    background: var(--mw-primary-soft) !important;
    font-weight: 600;
}
body.member-workspace .user-center-nav .layui-nav-itemed > a { color: var(--mw-text) !important; }
body.member-workspace .user-center-nav .layui-nav-child {
    padding: 4px 0 5px 12px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}
body.member-workspace .user-center-nav .layui-nav-child dd > a { min-height: 38px; padding: 8px 10px !important; font-size: 13px; font-weight: 400; }
body.member-workspace .user-center-nav .layui-nav-child .layui-icon { flex-basis: 17px; font-size: 17px !important; }
body.member-workspace .user-center-nav .layui-nav-child .layui-nav-child { padding-left: 10px; }
body.member-workspace .user-center-nav .layui-nav-bar { display: none !important; }
body.member-workspace .user-center-nav :is(.shop-management-nav, .self-owned-product-nav) > a::after { content: none !important; }
body.member-workspace .user-center-nav .shop-management-label { color: inherit !important; }
body.member-workspace .user-center-nav .business-level-badge {
    flex: 0 1 auto;
    max-width: 70px;
    margin-left: auto;
    padding: 1px 5px;
    overflow: hidden;
    border: 1px solid #c5e5dd !important;
    border-radius: 5px !important;
    background: #effaf6 !important;
    color: var(--mw-primary) !important;
    font-size: 10px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.member-workspace .user-center-nav .layui-badge { flex: none; margin-left: auto; }
body.member-workspace .member-sidebar-footer { flex: 0 0 auto; padding-top: 14px; border-top: 1px solid var(--mw-line); }
body.member-workspace .member-sidebar-footer > a,
body.member-workspace .user-center-feedback-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    margin: 0 !important;
    padding: 7px 14px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--mw-body) !important;
    font-size: 14px;
    box-shadow: none !important;
}
body.member-workspace .member-sidebar-footer > a:hover,
body.member-workspace .user-center-feedback-entry:hover,
body.member-workspace .user-center-feedback-entry.is-active { color: var(--mw-primary) !important; background: var(--mw-primary-soft) !important; }
body.member-workspace .member-sidebar-profile { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 16px 12px 4px; border-top: 1px solid var(--mw-line); color: var(--mw-text); }
body.member-workspace .member-sidebar-profile img { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
body.member-workspace .member-sidebar-profile :is(span, strong) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.member-workspace .user-center-menu-control,
body.member-workspace .user-center-menu-backdrop,
body.member-workspace .user-center-nav > .user-center-menu-heading { display: none; }

/* Shared page surfaces, headings and horizontal navigation. */
body.member-workspace .fly-user-main > .fly-panel-user:not(.member-dashboard) {
    min-width: 0;
    width: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 28px !important;
    border: 1px solid var(--mw-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    box-sizing: border-box;
    backdrop-filter: none !important;
}
body.member-workspace .fly-panel-user > .layui-tab { margin: 0; }
body.member-workspace .fly-panel-user .content-header {
    height: auto;
    min-height: 38px;
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--mw-line);
    color: var(--mw-text) !important;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.45;
}
body.member-workspace .fly-panel-user .content-header > .layui-icon { margin-right: 5px; color: var(--mw-primary); font-size: 23px; }
body.member-workspace .fly-panel-user .content-body { min-width: 0; padding: 24px 0 0 !important; color: var(--mw-body); }
body.member-workspace .layui-tab-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    height: auto;
    min-height: 46px;
    padding-bottom: 0;
    border-color: var(--mw-line) !important;
    white-space: normal;
}
body.member-workspace .layui-tab-title > li { min-height: 44px; margin: 0; padding: 0 2px 8px; color: var(--mw-muted) !important; font-size: 14px; line-height: 36px; }
body.member-workspace .layui-tab-title > li a { color: inherit; }
body.member-workspace .layui-tab-brief > .layui-tab-title .layui-this { color: var(--mw-primary) !important; font-weight: 600; }
body.member-workspace .layui-tab-brief > .layui-tab-title .layui-this::after { border-color: var(--mw-primary) !important; }
body.member-workspace :is(.layui-card, .uc-card) { border: 1px solid var(--mw-line); border-radius: 12px; background: #fff !important; color: var(--mw-body); box-shadow: none !important; }
body.member-workspace .layui-card-header { height: auto; min-height: 46px; padding: 12px 18px; border-color: var(--mw-line); color: var(--mw-text) !important; font-weight: 600; line-height: 1.5; }
body.member-workspace .layui-card-body { padding: 18px; color: var(--mw-body); }
body.member-workspace :is(.elem-quote, .elem-tips, .layui-elem-quote) {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid var(--mw-line) !important;
    border-radius: 9px;
    background: #f6f9fa !important;
    color: var(--mw-body) !important;
    font-size: 13px;
    line-height: 1.8;
}
body.member-workspace :is(.form-tips, .text-muted) { color: var(--mw-muted) !important; }

/* Form rhythm and accessible controls, including dynamically created dialogs. */
body.member-workspace .form-block { width: 100%; max-width: 900px; }
body.member-workspace .form-block > div { max-width: 100%; }
body.member-workspace .form-header { margin: 22px 0 8px; color: var(--mw-body) !important; font-size: 14px; font-weight: 600; line-height: 1.6; }
body.member-workspace .form-header:first-child { margin-top: 0; }
body.member-workspace .form-body { max-width: 100%; color: var(--mw-body); }
body.member-workspace .form-body :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { max-width: 100%; box-sizing: border-box; }
body.member-workspace :is(.layui-input, .layui-select, .form-control, .mas-page input:not([type="checkbox"]), .mas-page select, .pf-app input:not([type="checkbox"]), .pf-app select) {
    min-height: 40px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--mw-body) !important;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: none !important;
}
body.member-workspace :is(.layui-textarea, textarea.form-control, .mas-page textarea, .pf-app textarea) {
    min-height: 110px;
    height: auto;
    padding: 10px 12px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--mw-body) !important;
    font-size: 14px;
    line-height: 1.7;
}
body.member-workspace :is(.layui-input, .layui-select, .layui-textarea, .form-control, .mas-page input, .mas-page select, .mas-page textarea):focus {
    border-color: var(--mw-primary) !important;
    box-shadow: 0 0 0 3px rgb(15 118 110 / 9%) !important;
    outline: none;
}
body.member-workspace :is(input, textarea)::placeholder { color: #7b8798; opacity: 1; }
body.member-workspace :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--mw-primary); }
body.member-workspace .layui-form-label { color: var(--mw-body) !important; font-size: 14px; font-weight: 500; }
body.member-workspace .layui-form-checked[lay-skin="primary"] i,
body.member-workspace .layui-form-onswitch { border-color: var(--mw-primary) !important; background: var(--mw-primary) !important; }
body.member-workspace .layui-form-radio > i:hover,
body.member-workspace .layui-form-radioed > i { color: var(--mw-primary) !important; }
body.member-workspace .layui-form-select dl { border-color: var(--mw-line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgb(15 23 42 / 9%); }
body.member-workspace .layui-form-select dl dd.layui-this { background: var(--mw-primary) !important; color: #fff !important; }
body.member-workspace .avatar-img { border: 1px solid var(--mw-line) !important; box-shadow: none !important; }
body.member-workspace .button-click {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--mw-line) !important;
    border-radius: 8px;
    background: #fff !important;
    color: var(--mw-body) !important;
    box-shadow: none !important;
    box-sizing: border-box;
}
body.member-workspace .button-click:hover,
body.member-workspace .button-click.checked { border-color: var(--mw-primary) !important; background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; }
body.member-workspace .pay-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.member-workspace .pay-list .button-click { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
body.member-workspace .pay-list .pay-icon { width: 22px; height: 22px; object-fit: contain; }
body.member-workspace .layui-btn {
    min-height: 38px;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 38px;
    box-shadow: none !important;
    transition: background .18s, border-color .18s, color .18s;
}
body.member-workspace .layui-btn-sm { min-height: 32px; height: 34px; padding: 0 12px; font-size: 13px; line-height: 32px; }
body.member-workspace .layui-btn-xs { min-height: 28px; height: 28px; padding: 0 8px; font-size: 12px; line-height: 26px; }
body.member-workspace :is(.layui-btn-pink, .layui-btn-normal, .btn-primary, .layui-layer-btn .layui-layer-btn0, .domain-button-primary, .mas-page .mas-primary, .pf-app .pf-primary) {
    border-color: var(--mw-primary) !important;
    background: var(--mw-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
}
body.member-workspace :is(.layui-btn-pink, .layui-btn-normal, .btn-primary, .domain-button-primary, .mas-page .mas-primary, .pf-app .pf-primary):hover { border-color: var(--mw-primary-hover) !important; background: var(--mw-primary-hover) !important; color: #fff !important; }
body.member-workspace :is(.layui-btn-primary, .domain-button:not(.domain-button-primary), .security-refresh) {
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    color: var(--mw-body) !important;
    box-shadow: none !important;
}
body.member-workspace :is(.layui-btn-primary, .domain-button:not(.domain-button-primary), .security-refresh):hover { border-color: var(--mw-primary) !important; background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; }
body.member-workspace :is(.layui-btn-danger, .btn-danger) { border-color: #b91c1c !important; background: #b91c1c !important; color: #fff !important; }
body.member-workspace :is(.layui-btn-disabled, .layui-btn-disabled:hover) { border-color: var(--mw-line) !important; background: #f1f5f9 !important; color: #94a3b8 !important; cursor: not-allowed; }
body.member-workspace :is(.layui-bg-pro, .layui-bg-cash, .a-badge-primary, .a-badge-info) { background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; }

/* Tables, filtering and pagination: table scroll stays inside its container. */
body.member-workspace .bootstrap-table { min-width: 0; color: var(--mw-body); }
body.member-workspace .bootstrap-table :is(.fixed-table-container, .fixed-table-body) { max-width: 100%; border-color: var(--mw-line) !important; border-radius: 8px; background: #fff !important; box-shadow: none !important; }
body.member-workspace .bootstrap-table .fixed-table-body { overflow-x: auto !important; }
body.member-workspace :is(.table, .layui-table) { border-color: var(--mw-line) !important; border-collapse: collapse; background: #fff !important; color: var(--mw-body); font-size: 13px; }
body.member-workspace :is(.table, .layui-table) > thead > tr > th { padding: 13px 12px; border-color: var(--mw-line) !important; background: #f8fafc !important; color: var(--mw-muted) !important; font-size: 12px; font-weight: 600; vertical-align: middle; }
body.member-workspace :is(.table, .layui-table) > tbody > tr > td { padding: 14px 12px; border-color: var(--mw-line) !important; color: var(--mw-body); line-height: 1.7; vertical-align: middle; }
body.member-workspace .table-striped > tbody > tr:nth-of-type(odd) { background: #fafcfc !important; }
body.member-workspace :is(.table-hover, .layui-table) > tbody > tr:hover { background: #f5faf8 !important; }
body.member-workspace .bootstrap-table .fixed-table-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
body.member-workspace .bootstrap-table .fixed-table-toolbar :is(.bars, .search, .columns) { float: none !important; margin: 0; }
body.member-workspace .bootstrap-table .fixed-table-toolbar .columns .btn { border-color: var(--mw-line); border-radius: 7px; background: #fff; color: var(--mw-body); }
body.member-workspace .table-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 0; border: 0 !important; background: transparent !important; }
body.member-workspace .table-search :is(.layui-input, .form-control, .select2-container) { max-width: 100%; }
body.member-workspace .table-search > * { min-width: 0; }
body.member-workspace .table-search :is(.layui-inline, .layui-input-inline, .form-group) { margin: 0; }
body.member-workspace .table-search .query-button { min-height: 40px; padding: 0 18px; border: 1px solid var(--mw-primary) !important; border-radius: 8px; background: var(--mw-primary) !important; color: #fff !important; }
body.member-workspace .fixed-table-pagination { padding-top: 14px; color: var(--mw-muted) !important; font-size: 13px; }
body.member-workspace .pagination .page-link { min-width: 34px; min-height: 34px; border-color: var(--mw-line); color: var(--mw-body); line-height: 1.4; }
body.member-workspace .pagination .page-item.active .page-link,
body.member-workspace .layui-laypage .layui-laypage-curr .layui-laypage-em { border-color: var(--mw-primary) !important; background: var(--mw-primary) !important; color: #fff; }
body.member-workspace .layui-laypage a:hover { color: var(--mw-primary); }
body.member-workspace .dropdown-menu { padding: 6px; border: 1px solid var(--mw-line); border-radius: 9px; background: #fff !important; color: var(--mw-body); box-shadow: 0 10px 28px rgb(15 23 42 / 9%); }
body.member-workspace .dropdown-item { border-radius: 5px; color: var(--mw-body); }
body.member-workspace .dropdown-item:hover { background: var(--mw-primary-soft); color: var(--mw-primary); }

/* Select2 and Layer are mounted under body, outside individual page panels. */
body.member-workspace .select2-container { max-width: 100%; }
body.member-workspace .select2-container--default :is(.select2-selection--single, .select2-selection--multiple) { min-height: 40px; height: auto; border: 1px solid #cbd5e1 !important; border-radius: 8px; background: #fff !important; color: var(--mw-body) !important; }
body.member-workspace .select2-container--default .select2-selection--single .select2-selection__rendered { min-height: 40px; padding: 0 30px 0 12px; color: var(--mw-body); line-height: 40px; }
body.member-workspace .select2-container--default .select2-selection--single .select2-selection__arrow { top: 7px; }
body.member-workspace .select2-dropdown { overflow: hidden; border-color: var(--mw-line); border-radius: 8px; background: #fff !important; color: var(--mw-body); box-shadow: 0 10px 28px rgb(15 23 42 / 9%); }
body.member-workspace .select2-search__field { border: 1px solid #cbd5e1 !important; border-radius: 6px; background: #fff !important; color: var(--mw-body) !important; }
body.member-workspace .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--mw-primary) !important; color: #fff; }
body.member-workspace .select2-container--default .select2-results__option[aria-selected=true] { background: var(--mw-primary-soft); color: var(--mw-primary); }
body.member-workspace .layui-layer:not(.layui-layer-tips):not(.layui-layer-photos) { max-width: calc(100vw - 24px); overflow: hidden; border: 1px solid var(--mw-line) !important; border-radius: 14px; background: #fff !important; color: var(--mw-body); box-shadow: 0 20px 60px rgb(15 23 42 / 16%) !important; }
body.member-workspace .layui-layer-title { min-height: 52px; height: auto; padding: 0 54px 0 22px; border-color: var(--mw-line); background: #fff !important; color: var(--mw-text) !important; font-size: 16px; font-weight: 600; line-height: 52px; }
body.member-workspace .layui-layer-content { max-width: 100%; background: #fff !important; color: var(--mw-body); }
body.member-workspace .layui-layer-btn { padding: 16px 20px 20px; border-top: 1px solid var(--mw-line); background: #fff; }
body.member-workspace .layui-layer-btn a { min-height: 36px; height: 36px; padding: 0 16px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: var(--mw-body); font-size: 13px; line-height: 34px; }
body.member-workspace :is(.w-e-toolbar, .editor-wrapper .editor-toolbar) { border-color: var(--mw-line) !important; border-radius: 8px 8px 0 0; background: #f8fafc !important; }
body.member-workspace :is(.w-e-text-container, .editor-wrapper .editor-content) { border-color: var(--mw-line) !important; background: #fff !important; }
body.member-workspace :is(.w-e-text, .editor-container) { color: var(--mw-body); }

/* Shop configuration, membership tiers, domains and payment settings. */
body.member-workspace :is(.substation-seo-settings, .substation-custom-js-settings, .substation-member-avatar-settings) { padding: 20px !important; border: 1px solid var(--mw-line) !important; border-radius: 12px !important; background: #f8fafc !important; box-shadow: none !important; }
body.member-workspace :is(.station-level-page-head, .station-level-notice, .station-upgrade-mode-row, .station-level-default-price, .station-payment-tip, .station-payment-summary, .domain-card-header, .domain-access-mode, .domain-provider-choice.is-selected) { background: #f1f8f6 !important; color: var(--mw-body) !important; border-color: #d6e8e3 !important; box-shadow: none !important; }
body.member-workspace .station-level-page-head { margin: -28px -28px 0; padding: 28px; border-bottom: 1px solid var(--mw-line); }
body.member-workspace .station-level-workspace { padding: 24px 0 0; }
body.member-workspace :is(.station-level-card, .station-level-row, .business-domain-card, .station-payment-row) { border-color: var(--mw-line) !important; border-radius: 12px; background: #fff !important; box-shadow: none !important; }
body.member-workspace .station-level-row { background: #fafcfc !important; }
body.member-workspace :is(.station-level-kicker, .station-level-card-icon, .station-level-row-sort, .station-level-head-badge, .station-payment-retry, .domain-step-title .layui-icon) { background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; border-color: #c5e5dd !important; }
body.member-workspace :is(.station-level-page-head h1, .station-level-card-head h2, .domain-name, .station-payment-name) { color: var(--mw-text) !important; font-weight: 600; }
body.member-workspace :is(.station-level-card-foot, .station-level-row-tip, .domain-summary, .domain-meta, .station-payment-head p) { color: var(--mw-muted) !important; }
body.member-workspace .station-level-row input:focus,
body.member-workspace #business-member-level-page .station-member-level-select:focus { border-color: var(--mw-primary) !important; box-shadow: 0 0 0 3px rgb(15 118 110 / 9%) !important; }
body.member-workspace .station-level-price-input { border-color: #cbd5e1 !important; background: #fff !important; }
body.member-workspace .station-level-price-input input { min-height: 0; }
body.member-workspace .member-center { --mc-blue: var(--mw-primary); --mc-blue-dark: var(--mw-primary-hover); --mc-blue-soft: var(--mw-primary-soft); --mc-ink: var(--mw-text); --mc-muted: var(--mw-muted); --mc-border: var(--mw-line); }
body.member-workspace .member-center-hero { min-height: 160px; padding: 28px; border: 1px solid #d6e8e3; background: #f1f8f6 !important; color: var(--mw-text); box-shadow: none !important; }
body.member-workspace .member-center-hero::after { content: none; }
body.member-workspace :is(.member-center-current-name, .member-center-balance) { color: var(--mw-text); font-weight: 600; }
body.member-workspace :is(.member-center-kicker, .member-center-current-note, .member-center-balance-label) { color: var(--mw-muted); }
body.member-workspace .member-center-current-icon { border: 1px solid var(--mw-line); background: #fff; box-shadow: none; }
body.member-workspace .member-center-hero-link { border: 1px solid #bad8d0; background: #fff; color: var(--mw-primary); }
body.member-workspace .member-center-hero-link:hover { border-color: var(--mw-primary); background: var(--mw-primary-soft); color: var(--mw-primary); }
body.member-workspace .member-level-card { border-radius: 12px; box-shadow: none; }
body.member-workspace .member-level-card:hover { border-color: #98c6bb; box-shadow: none; transform: none; }
body.member-workspace .member-level-card.is-current { border-color: var(--mw-primary); box-shadow: 0 0 0 1px var(--mw-primary); }
body.member-workspace :is(.member-level-name, .member-center-section-title, .member-level-price) { font-weight: 600; }
body.member-workspace .member-level-action-secondary { border-color: #b7d5cc; }
body.member-workspace .domain-page-toolbar { margin-bottom: 20px; }
body.member-workspace .business-domain-card { margin-bottom: 16px; }
body.member-workspace .domain-button { border-radius: 8px; }
body.member-workspace .station-payment-row { padding: 18px; }
body.member-workspace .station-payment-icon { background: #f1f5f9; }

/* Product catalogue and all pricing dialogs share the same teal token. */
body.member-workspace #business-product-management > .catalog-main-panel { padding: 0 !important; border: 0 !important; background: transparent !important; }
body.member-workspace #catalog-workspace { --catalog-blue: var(--mw-primary); --catalog-green: #15803d; --catalog-border: var(--mw-line); }
body.member-workspace #catalog-workspace :is(.catalog-categories, .catalog-products) { border-radius: 12px; box-shadow: none; }
body.member-workspace #catalog-workspace .catalog-heading { margin: 0 0 24px; padding: 0; }
body.member-workspace #catalog-workspace :is(.catalog-heading h1, .catalog-product-caption h2) { color: var(--mw-text); font-weight: 600; }
body.member-workspace #catalog-workspace :is(.catalog-search, .catalog-button) { min-height: 40px; border-radius: 8px; }
body.member-workspace #catalog-workspace .catalog-search:focus-within { border-color: var(--mw-primary) !important; box-shadow: 0 0 0 3px rgb(15 118 110 / 9%); }
body.member-workspace #catalog-workspace :is(.catalog-category-item.is-active, .catalog-category-item[aria-current=true], .catalog-category-row.is-active, .catalog-menu-items button:hover, .catalog-icon-button:hover) { background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; }
body.member-workspace #catalog-workspace .catalog-rule { background: #f1f5f9; }
body.member-workspace :is(.station-pricing-dialog, .station-pricing-dialog .layui-layer-content, .sku-pricing-tabs, .sku-pricing-pane, .sku-product-summary, .sku-pricing-help) { background: #fff !important; border-color: var(--mw-line) !important; }
body.member-workspace .station-pricing-editor .sku-pricing-tabs { padding: 4px; border-radius: 9px; background: #f1f5f9 !important; }
body.member-workspace .station-pricing-editor .sku-pricing-tabs button.is-active { background: #fff; color: var(--mw-primary); box-shadow: 0 1px 4px rgb(15 23 42 / 6%); }
body.member-workspace .station-pricing-editor .sku-pricing-tabs button:hover { color: var(--mw-primary); }
body.member-workspace .station-pricing-editor .sku-pricing-pane { padding-top: 20px; border-top: 0; }

/* Purchase / reservation cards, group purchases and downstream orders. */
body.member-workspace .purchase-record-page > .fly-panel-user { background: #fff !important; }
body.member-workspace :is(.purchase-clean-card, .reservation-clean-card, .tokyo-group-card, .group-buy-section) { border: 1px solid var(--mw-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important; }
body.member-workspace :is(.purchase-clean-card, .reservation-clean-card) header { border-color: var(--mw-line) !important; background: #f8fafc !important; }
body.member-workspace :is(.purchase-clean-card, .reservation-clean-card) footer { border-color: var(--mw-line) !important; background: #fff !important; }
body.member-workspace .purchase-record-page .purchase-price strong { color: var(--mw-text) !important; font-weight: 600; }
body.member-workspace :is(.purchase-card-actions .purchase-primary, .reservation-card-actions .reservation-query, .group-buy-btn-dark, .tokyo-button-dark) { border-color: var(--mw-primary) !important; background: var(--mw-primary) !important; color: #fff !important; box-shadow: none !important; }
body.member-workspace :is(.purchase-card-actions button:not(.purchase-primary):not(.reservation-cancel):not([data-refund-action="cancel"]), .purchase-card-actions a:not(.purchase-primary), .group-buy-btn-light, .tokyo-button-light) { border: 1px solid #cbd5e1 !important; background: #fff !important; color: var(--mw-body) !important; border-radius: 7px; box-shadow: none !important; }
body.member-workspace :is(.reservation-tip, .substation-order-tip, .group-buy-center-hero, .group-buy-center-hero.is-mine) { border-color: var(--mw-line) !important; background: #f1f8f6 !important; color: var(--mw-body) !important; }
body.member-workspace .group-buy-center-hero { margin: -28px -28px 22px; padding: 26px 28px; }
body.member-workspace :is(.group-buy-kicker, .group-buy-tabs a.active, .substation-source-button.is-active, .substation-source-button.active) { background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; border-color: #c5e5dd !important; }
body.member-workspace .group-buy-tabs { padding: 5px; border: 1px solid var(--mw-line); border-radius: 9px; background: #f8fafc; }
body.member-workspace :is(.tokyo-group-empty, .group-buy-empty) { border-color: #cbd5e1 !important; border-radius: 10px; background: #f8fafc !important; color: var(--mw-muted) !important; }
body.member-workspace .tokyo-group-meta span { border-color: var(--mw-line); background: #f1f5f9; color: var(--mw-muted); }
body.member-workspace .substation-order-header { padding-bottom: 20px; border-color: var(--mw-line); }
body.member-workspace .substation-order-title { color: var(--mw-text); font-size: 23px; font-weight: 600; }

/* Notices, account security, support and merchant case handling. */
body.member-workspace :is(.message-center-intro, .message-center-toolbar, .notice-business-tip, .notice-business-records-head, .mas-notice, .mas-funds) { border-color: var(--mw-line) !important; border-radius: 10px; background: #f6f9fa !important; color: var(--mw-body) !important; }
body.member-workspace :is(.message-center-intro-title .layui-icon, .message-center-intro-art, .message-center-board .uc-card__head > .layui-icon, .mas-funds strong) { color: var(--mw-primary) !important; }
body.member-workspace .message-center-toolbar button { border-radius: 8px; background: var(--mw-primary) !important; }
body.member-workspace :is(.message-center-board, .message-card, .notice-record-row, .notice-business-records, .price-notice-item) { border-color: var(--mw-line) !important; border-radius: 10px; background: #fff !important; box-shadow: none !important; }
body.member-workspace .price-notice-item.price-notice-unread { border-color: #b9dace !important; background: #f1f8f6 !important; }
body.member-workspace .account-security-page .security-device.is-current { border-color: #c5e5dd; background: #f8fcfa; }
body.member-workspace .account-security-page .security-device-icon { background: var(--mw-primary-soft); color: var(--mw-primary); }
body.member-workspace .account-security-page .security-device-location { color: var(--mw-muted); }
body.member-workspace .mas-page { --mas-blue: var(--mw-primary); }
body.member-workspace :is(.mas-row, .mas-conversation-pane, .mas-finance-pane, .mas-dialog, .mas-dialog > header) { border-color: var(--mw-line) !important; border-radius: 12px; background: #fff !important; box-shadow: none !important; }
body.member-workspace .mas-page .mas-row-actions button:hover { border-color: var(--mw-primary); color: var(--mw-primary); }
body.member-workspace .pf-app { --pf-accent: var(--mw-primary); --pf-bg: #fff; --pf-text: var(--mw-body); --pf-line: var(--mw-line); padding: 0; }
body.member-workspace :is(.pf-muted, .pf-meta, .pf-entry small, .pf-heading p) { color: var(--mw-muted) !important; }
body.member-workspace .pf-message.is-admin { background: #f1f8f6 !important; }
body.member-workspace .pf-app button:hover { background: #f1f8f6 !important; }
body.member-workspace :is(.pf-dialog, .mas-dialog) { max-height: calc(100dvh - 32px); border-radius: 14px; color: var(--mw-body); }
body.member-workspace :is(.pf-dialog, .mas-dialog)::backdrop { background: rgb(15 23 42 / 40%); backdrop-filter: none; }
body.member-workspace :is(.uc-main, .uc-ticket-page) { color: var(--mw-body); }
body.member-workspace :is(.uc-ticket-hero, .uc-ticket-stat, .uc-ticket-board, .uc-ticket-form, .uc-ticket-aside, .uc-ticket-thread, .uc-promo) { border-color: var(--mw-line) !important; border-radius: 12px; background: #fff !important; box-shadow: none !important; }
body.member-workspace :is(.uc-ticket-primary, .uc-cta) { border-color: var(--mw-primary) !important; background: var(--mw-primary) !important; color: #fff !important; }
body.member-workspace :is(.uc-ticket-stat.is-active, .uc-ticket-type.is-active) { border-color: var(--mw-primary) !important; background: var(--mw-primary-soft) !important; color: var(--mw-primary); }
body.member-workspace .problem-summary-shortcut { border: 1px solid var(--mw-line); border-radius: 9px; color: var(--mw-primary); font-size: 12px; font-weight: 500; box-shadow: 0 4px 16px rgb(15 23 42 / 7%); }

/* Tablet proportions preserve comfortable content and form widths. */
@media (min-width: 769px) and (max-width: 1099px) {
    body.member-workspace { --mw-sidebar: 220px; }
    body.member-workspace .fly-user-main { padding: 24px !important; }
    body.member-workspace .fly-header > .layui-container { gap: 12px; padding-right: 18px !important; padding-left: calc(var(--mw-sidebar) + 24px) !important; }
    body.member-workspace .fly-header > .layui-container > .fly-nav > .layui-nav-item > a { padding-right: 9px !important; font-size: 13px; }
    body.member-workspace .member-header-title { font-size: 16px; }
    body.member-workspace .fly-header .user-level { display: none; }
    body.member-workspace .fly-user-main > .fly-panel-user:not(.member-dashboard) { padding: 24px !important; }
    body.member-workspace .station-level-page-head { margin: -24px -24px 0; padding: 24px; }
    body.member-workspace .station-level-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile uses the existing native details drawer and its dismissal logic. */
@media (max-width: 768px) {
    body.member-workspace { --mw-sidebar: 0px; --mw-header: 60px; font-size: 14px; }
    body.member-workspace .fly-header > .layui-container { gap: 10px; padding: 0 16px !important; }
    body.member-workspace .fly-header > .layui-container > .fly-logo {
        position: static !important;
        flex: 1 1 auto;
        gap: 9px;
        width: auto !important;
        min-width: 0;
        height: 60px !important;
        padding: 0 !important;
        border: 0;
    }
    body.member-workspace .fly-logo .user-logo { flex-basis: 32px; }
    body.member-workspace .fly-logo .user-logo img { width: 32px !important; height: 32px !important; border-radius: 8px; }
    body.member-workspace .fly-logo .user-logo-title { max-width: 190px; font-size: 16px !important; }
    body.member-workspace .member-header-title,
    body.member-workspace .fly-header > .layui-container > .fly-nav.layui-hide-xs,
    body.member-workspace .fly-header .user-level { display: none !important; }
    body.member-workspace .fly-user-main { width: 100% !important; min-height: calc(100dvh - var(--mw-header)); margin: var(--mw-header) 0 0 !important; padding: 18px 14px 28px !important; }
    body.member-workspace .user-center-menu-control { position: relative !important; top: auto !important; z-index: 910; display: block; width: max-content; max-width: 100%; margin: 0 0 18px !important; }
    body.member-workspace .user-center-menu-control > summary { min-height: 42px; padding: 0 14px; border: 1px solid #c5e5dd; border-radius: 8px; background: #fff; color: var(--mw-primary); font-size: 13px; font-weight: 500; }
    body.member-workspace .fly-user-main > .user-center-sidebar { display: none !important; }
    body.member-workspace .fly-user-main > .user-center-menu-control[open] ~ .user-center-sidebar {
        inset: 0 auto 0 0 !important;
        z-index: 10002;
        display: flex !important;
        width: min(300px, 85vw) !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
        border-right: 1px solid var(--mw-line);
    }
    body.member-workspace .user-center-menu-control[open] { z-index: 10003; }
    body.member-workspace .user-center-menu-control[open] > summary { position: fixed !important; top: max(12px, env(safe-area-inset-top)) !important; left: calc(min(300px, 85vw) - 56px) !important; width: 40px; min-height: 40px; padding: 0; border-color: var(--mw-line); border-radius: 8px; background: #fff; }
    body.member-workspace .user-center-menu-control[open] ~ .user-center-menu-backdrop { position: fixed; inset: 0; z-index: 10001; display: block; background: rgb(15 23 42 / 40%); }
    body.member-workspace .user-center-nav > .user-center-menu-heading { display: flex; align-items: center; min-height: 42px; margin: 0 50px 14px 0; padding: 0 12px; border: 0; color: var(--mw-text); font-size: 15px; font-weight: 600; background: #fff; }
    body.member-workspace .member-sidebar-footer { padding-top: 10px; }
    body.member-workspace .member-sidebar-profile { margin-top: 8px; padding-top: 12px; }
    body.member-workspace .fly-user-main > .fly-panel-user:not(.member-dashboard) { padding: 20px 16px !important; border-radius: 12px !important; }
    body.member-workspace .fly-panel-user .content-header { padding-bottom: 16px; font-size: 21px; }
    body.member-workspace .fly-panel-user .content-body { padding-top: 20px !important; }
    body.member-workspace .layui-tab-title { gap: 0 18px; }
    body.member-workspace .layui-tab-title > li { font-size: 13px; }
    body.member-workspace :is(.layui-input, .layui-select, .layui-textarea, .form-control, .mas-page input, .mas-page textarea, .mas-page select) { font-size: 16px; }
    body.member-workspace .form-header { margin-top: 20px; }
    body.member-workspace .form-body { width: auto !important; }
    body.member-workspace .layui-form-label { float: none; width: auto; padding: 0 0 7px; text-align: left; }
    body.member-workspace .layui-input-block { margin-left: 0; }
    body.member-workspace .layui-form-item .layui-input-inline { max-width: 100%; }
    body.member-workspace :is(.table-search, .mas-filters) { gap: 10px; }
    body.member-workspace .table-search :is(input, select, .select2-container) { width: 100% !important; min-width: 0 !important; }
    body.member-workspace .bootstrap-table .fixed-table-toolbar { gap: 10px; }
    body.member-workspace .fixed-table-pagination { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
    body.member-workspace .fixed-table-pagination :is(.pagination-detail, .pagination) { float: none !important; margin: 0; }
    body.member-workspace .station-level-page-head { margin: -20px -16px 0; padding: 20px 16px; }
    body.member-workspace .station-level-workspace { padding-top: 20px; }
    body.member-workspace .station-level-form-grid { grid-template-columns: 1fr; padding: 14px; }
    body.member-workspace .station-level-card-head,
    body.member-workspace .station-level-card-foot { padding-left: 14px; padding-right: 14px; }
    body.member-workspace .station-level-card-head { align-items: flex-start; }
    body.member-workspace .station-level-card-foot { flex-wrap: wrap; }
    body.member-workspace .member-center-hero { padding: 20px; }
    body.member-workspace .member-center-grid { grid-template-columns: 1fr; }
    body.member-workspace .member-center-summary { grid-template-columns: 1fr; }
    body.member-workspace .group-buy-center-hero { margin: -20px -16px 20px; padding: 20px 16px; }
    body.member-workspace .group-buy-center-hero h2 { font-size: 21px; }
    body.member-workspace .group-buy-section { padding: 14px; }
    body.member-workspace .pf-heading { gap: 12px; }
    body.member-workspace .pf-heading h1 { font-size: 21px; }
    body.member-workspace .pf-card { padding: 16px; }
    body.member-workspace .layui-layer-title { min-height: 48px; padding-left: 16px; font-size: 15px; line-height: 48px; }
    body.member-workspace .layui-layer-btn { padding: 14px 16px 16px; }
    body.member-workspace .layui-layer-content .form-body { width: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
    body.member-workspace *, body.member-workspace *::before, body.member-workspace *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Legacy UC pages now live inside the same member shell, without double insets. */
body.member-workspace .fly-user-main .uc-main { width: 100%; max-width: none; min-width: 0; margin: 0 !important; padding: 0 !important; }
body.member-workspace .user-center-nav .member-nav-toggle { position: relative; padding-right: 32px !important; }
body.member-workspace .user-center-nav .member-nav-toggle > .member-nav-chevron { position: absolute !important; right: 11px; top: calc(50% - 7px); flex: none; width: 14px; height: 14px; font-size: 14px !important; color: var(--mw-muted); transition: transform .18s; }
body.member-workspace .user-center-nav .layui-nav-itemed > .member-nav-toggle > .member-nav-chevron { transform: rotate(90deg); }
body.member-workspace .user-center-nav .member-nav-toggle .layui-nav-more { display: none !important; }
body.member-workspace .member-sidebar-footer > .member-sidebar-profile { padding-top: 16px !important; border-top: 1px solid var(--mw-line) !important; }
body.member-workspace .pf-app .pf-primary:hover { background: var(--mw-primary-hover) !important; color: #fff !important; }
body.member-workspace .purchase-card-actions :is(.reservation-cancel, [data-refund-action="cancel"]) { border: 1px solid #f1cece !important; background: #fff !important; color: #b91c1c !important; border-radius: 7px; }
body.member-workspace .tokyo-business-notice-page { --tokyo-text: var(--mw-text); --tokyo-muted: var(--mw-muted); --tokyo-border: var(--mw-line); --tokyo-border-strong: #cbd5e1; }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-panel { background: #fff !important; }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-card__icon { border-radius: 10px; background: var(--mw-primary-soft) !important; color: var(--mw-primary) !important; box-shadow: none !important; }
body.member-workspace .tokyo-business-notice-page :is(.tokyo-notice-card h1, .tokyo-notice-records h2) { font-weight: 600; }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-card__eyebrow { color: var(--mw-primary); font-weight: 500; letter-spacing: .02em; }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-input { border-radius: 8px; border-color: #cbd5e1 !important; background: #fff !important; color: var(--mw-body) !important; font-size: 14px; }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-input:focus { border-color: var(--mw-primary) !important; box-shadow: 0 0 0 3px rgb(15 118 110 / 9%); }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-option { border-color: var(--mw-line); border-radius: 10px; background: #f8fafc; }
body.member-workspace .tokyo-business-notice-page .tokyo-button-dark { border-color: var(--mw-primary) !important; background: var(--mw-primary) !important; color: #fff !important; box-shadow: none; }
body.member-workspace .tokyo-business-notice-page .tokyo-notice-records__body { border-color: var(--mw-line); border-radius: 10px; background: #fff; }
@media (max-width: 768px) {
    body.member-workspace .tokyo-business-notice-page .tokyo-notice-input { font-size: 16px; }
}

/* Branding and the keyboard-only bypass link belong to the shared header. */
body.member-workspace .member-brand-subtitle { display: block; margin-top: 2px; color: var(--mw-muted); font-size: 11px; font-weight: 400; line-height: 1.3; }
body.member-workspace .member-skip-link { position: fixed; top: 12px; left: calc(var(--mw-sidebar) + 32px); z-index: 11000; padding: 9px 16px; transform: translateY(-180%); border: 1px solid var(--mw-primary); border-radius: 8px; background: #fff; color: var(--mw-primary); font-size: 14px; }
body.member-workspace .member-skip-link:focus { transform: translateY(0); }
body.member-workspace .member-sidebar-footer > .member-sidebar-profile { margin: 14px 0 0 !important; }
@media (max-width: 768px) { body.member-workspace .member-skip-link { left: 16px; } }
