@charset "UTF-8";
:root { --ink:#1b2923; --muted:#68756b; --paper:#f4f6f3; --line:#e5e9e3; --green:#237354; --lime:#cced9c; --sidebar:#17241f; --white:#fff; font-family:Inter,"Pretendard","Noto Sans KR","Malgun Gothic",sans-serif; color:var(--ink); font-synthesis:none; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); font-size:14px; line-height:1.6; -webkit-font-smoothing:antialiased; }
a { color:var(--green); text-decoration:none; }
button,input,select,textarea { font:inherit; }
button,.button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; padding:10px 19px; border:1px solid transparent; border-radius:9px; background:var(--green); color:#fff; font-weight:600; cursor:pointer; transition:background .15s,box-shadow .15s; }
button:hover,.button:hover { background:#195d43; }
button.secondary,.button.secondary { border-color:#d8e0d7; background:#fff; color:var(--ink); }
button.secondary:hover,.button.secondary:hover { background:#ecf2e8; border-color:#aabbac; }
button:disabled { opacity:.45; cursor:not-allowed; }
input:not([type=checkbox]),select,textarea { width:100%; min-height:44px; padding:10px 13px; border:1px solid #dce2d9; border-radius:8px; background:#fff; color:var(--ink); outline:none; transition:border-color .15s,box-shadow .15s; }
input::placeholder,textarea::placeholder { color:#9aa39a; }
input:not([type=checkbox]):focus,select:focus,textarea:focus { border-color:#548e6c; box-shadow:0 0 0 3px #23735414; }
input[type=number] { font-variant-numeric:tabular-nums; }
textarea { min-height:132px; resize:vertical; }
label { display:flex; flex-direction:column; gap:8px; font-size:13px; font-weight:600; color:#46534a; }
label .optional { float:right; color:var(--muted); font-size:11px; font-weight:400; }
.icon { width:19px; height:19px; flex-shrink:0; }
h1,h2,h3,p { margin:0; }
h1 { font-size:30px; font-weight:700; line-height:1.35; letter-spacing:-1.1px; }
h2 { font-size:15px; font-weight:650; letter-spacing:-.3px; }
h3 { font-size:16px; }
.muted { color:var(--muted); font-weight:400; font-size:12px; }
.eyebrow { display:block; color:#7f8d7d; font-size:10px; font-weight:700; letter-spacing:2px; margin-bottom:10px; }
.brand { display:flex; align-items:center; gap:11px; color:#fff; font-size:26px; line-height:1; font-weight:750; letter-spacing:-1px; }
.brand-mark { width:35px; height:35px; display:flex; align-items:center; justify-content:center; color:var(--lime); background:#ffffff0a; border:1px solid #ffffff16; border-radius:10px; }
.brand-mark .icon { width:21px; height:21px; }
.brand-dot { color:#8ebc6f; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; z-index:20; top:-60px; left:12px; background:#fff; padding:10px; border-radius:6px; }
.skip-link:focus { top:12px; }
:focus-visible { outline:3px solid #8fb76f; outline-offset:4px; }
.notice { border-radius:9px; padding:12px 16px; margin:0 0 20px; color:#8c3535; background:#fff0ee; border:1px solid #f1d9d4; font-size:13px; }
.notice:empty { display:none; }
.notice[data-kind=success] { color:#256043; background:#eaf4e6; border-color:#d6e6cf; }
/* Independent sign-in surfaces. */
.login-page { background:#f2f4ee; }
.login-shell { min-height:100svh; display:grid; grid-template-columns:minmax(390px,1fr) minmax(400px,1fr); padding:24px; gap:24px; max-width:1680px; margin:auto; }
.login-visual { position:relative; min-height:calc(100svh - 48px); overflow:hidden; border-radius:22px; background:var(--sidebar); padding:44px 48px; color:#fff; display:flex; flex-direction:column; }
.login-visual:after { content:""; position:absolute; right:-180px; bottom:-190px; width:500px; height:500px; border:1px solid #ffffff0c; border-radius:50%; box-shadow:0 0 0 85px #ffffff03,0 0 0 170px #ffffff03; pointer-events:none; }
.login-intro { margin-top:clamp(90px,14vh,160px); z-index:1; }
.login-intro .eyebrow { color:#9ab79f; margin-bottom:24px; }
.login-intro h1 { font-size:clamp(34px,3.6vw,58px); line-height:1.35; font-weight:550; letter-spacing:-2.4px; }
.login-intro p { margin-top:24px; color:#aebcb1; font-size:14px; }
.visual-diagram { position:relative; margin:58px 0; height:100px; max-width:350px; display:flex; justify-content:space-between; align-items:center; z-index:1; }
.diagram-line { position:absolute; height:1px; background:#52634f; left:0; right:0; }
.diagram-node { display:grid; place-items:center; z-index:1; width:57px; height:57px; border:1px solid #4b5d4b; border-radius:16px; color:#bed2b5; background:#23352a; transform:rotate(-5deg); }
.node-main { width:84px; height:84px; background:var(--lime); color:#223c27; border-color:var(--lime); transform:rotate(8deg); box-shadow:0 14px 28px #0002; }
.node-main .icon { width:30px; height:30px; }
.node-three { transform:rotate(4deg); }
.diagram-dot { position:absolute; left:25%; width:7px; height:7px; border-radius:50%; background:#abc88e; }
.visual-footer { display:flex; gap:24px; margin-top:auto; color:#98aa9b; font-size:11px; z-index:1; }
.visual-footer span+span:before { content:"/"; padding-right:24px; color:#5e715f; }
.login-panel { display:flex; align-items:center; justify-content:center; padding:40px; }
.login-content { width:100%; max-width:350px; }
.login-content h2 { font-size:31px; font-weight:700; letter-spacing:-1px; }
.login-description { margin:10px 0 30px; font-size:13px; }
form.login { display:flex; flex-direction:column; gap:22px; }
.login input:not([type=checkbox]),.login select { min-height:49px; }
.login-submit { width:100%; justify-content:space-between; margin-top:8px; min-height:49px; }
.login-footnote { color:#9ca69b; margin-top:46px; font-size:11px; letter-spacing:.3px; }
/* Workspace chrome. */
.sidebar { position:fixed; inset:0 auto 0 0; width:226px; background:var(--sidebar); padding:31px 23px 20px; display:flex; flex-direction:column; color:#fff; z-index:10; }
.sidebar .brand { padding:2px 9px; }
.sidebar-caption { margin:51px 12px 14px; font-size:9px; letter-spacing:1.8px; color:#748b7c; font-weight:600; }
.sidebar nav { display:flex; flex-direction:column; gap:7px; }
.sidebar nav a { display:flex; align-items:center; gap:13px; padding:12px 14px; color:#b5c3b8; border-radius:9px; font-size:13px; }
.sidebar nav a:hover { background:#ffffff08; color:#fff; }
.sidebar nav a[aria-current=page] { background:var(--lime); color:#263c28; font-weight:650; }
.sidebar nav .icon { width:18px; height:18px; }
.sidebar-bottom { margin-top:auto; }
.identity { display:flex; align-items:center; gap:10px; border-top:1px solid #ffffff12; padding:23px 4px 16px; }
.identity-avatar { display:grid; place-items:center; width:32px; height:32px; border:1px solid #ffffff20; border-radius:50%; color:#adc4ae; flex-shrink:0; }
.identity>div { min-width:0; }
.identity-label { display:block; color:#7f9886; font-size:10px; margin-bottom:2px; }
.identity strong { display:block; color:#c4d0c6; font-size:11px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
button.logout { color:#9eb0a2; background:transparent; justify-content:flex-start; font-size:11px; font-weight:400; padding:7px 4px; min-height:32px; }
button.logout:hover { color:#fff; }
.logout .icon { width:15px; height:15px; }
.workspace-body { margin-left:226px; }
.topbar { height:75px; border-bottom:1px solid var(--line); background:#fdfefb; display:flex; align-items:center; justify-content:space-between; padding:0 42px; }
.breadcrumb { display:flex; align-items:center; gap:12px; font-size:12px; }
.breadcrumb>span { color:#8b958d; }
.breadcrumb .icon { width:12px; height:12px; color:#a9b1a9; }
.breadcrumb strong { font-weight:500; }
.topbar-label { font-size:9px; letter-spacing:1.4px; color:#a2aba0; }
.page-content { padding:38px 42px 0; max-width:1530px; margin:auto; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:28px; }
.page-heading p { margin-top:9px; color:var(--muted); font-size:12px; }
.page-heading h1 { overflow-wrap:anywhere; }
.email-heading { font-size:26px; }
.outline-badge { padding:6px 11px; border:1px solid #dce4d5; border-radius:6px; color:#6c7c66; font-size:11px; white-space:nowrap; }
.back-link { display:inline-block; margin-bottom:20px; color:#7f8b7c; font-size:11px; }
.back-link:hover { color:var(--green); }
.stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:27px; }
.stat-card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:21px 25px; }
.stat-card>span { font-size:11px; color:#7e8a7c; display:block; }
.stat-card strong { display:block; font-size:32px; letter-spacing:-1px; line-height:1.2; margin-top:15px; font-weight:600; font-variant-numeric:tabular-nums; }
.stat-card small { margin-left:6px; font-size:12px; color:#84917f; font-weight:400; letter-spacing:0; }
.stat-card .stat-date { font-size:24px; letter-spacing:-.5px; line-height:1.6; }
.panel,.setting-menu { background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.panel-heading { display:flex; align-items:center; justify-content:space-between; padding:21px 25px; border-bottom:1px solid #edf0e9; gap:12px; }
.panel-heading>.icon { color:#7f9278; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
th { background:#fbfcf9; font-size:11px; font-weight:500; color:#667260; border-bottom:1px solid var(--line); white-space:nowrap; }
th,td { padding:15px 21px; }
td { border-bottom:1px solid #edf0e9; white-space:nowrap; }
tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fafcf7; }
.numeric { font-variant-numeric:tabular-nums; }
.table-link { display:flex; align-items:center; gap:11px; color:#33452f; font-weight:500; }
.table-link:hover { color:var(--green); }
.table-avatar { display:grid; place-items:center; background:#f0f4eb; border:1px solid #e6ecdf; width:31px; height:31px; border-radius:9px; color:#7f9672; }
.table-avatar .icon { width:15px; height:15px; }
.country { display:inline-block; background:#f1f4ee; color:#6e8063; font-size:10px; font-weight:600; padding:3px 8px; border-radius:4px; letter-spacing:.4px; }
.status-badge { display:inline-flex; align-items:center; gap:6px; padding:3px 8px; font-size:10px; border-radius:5px; }
.status-badge:before { content:""; width:4px; height:4px; border-radius:50%; background:currentColor; }
.status-badge.enabled { color:#37794b; background:#edf6e8; }
.status-badge.paused { color:#9b7860; background:#f8f0e8; }
.icon-link { display:grid; place-items:center; width:25px; height:25px; color:#9aa895; }
.icon-link:hover { color:var(--green); background:#eef3e8; border-radius:5px; }
.icon-link .icon { width:14px; height:14px; }
.table-sub { display:block; color:#97a090; font-size:10px; margin-top:3px; }
.settings-link { display:inline-flex; align-items:center; gap:5px; border:1px solid #dfe7d9; border-radius:6px; padding:5px 9px; font-size:10px; white-space:nowrap; }
.settings-link .icon { width:11px; height:11px; }
.accounts-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:23px; align-items:start; }
.panel-form { padding:25px; display:flex; flex-direction:column; gap:25px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.full-width { width:100%; }
.form-footer { display:flex; justify-content:flex-end; border-top:1px solid #edf0e9; padding-top:23px; margin-top:3px; }
.member-panel { max-width:850px; }
.empty { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:62px 24px; gap:10px; min-height:330px; }
.empty p { color:#929b8c; font-size:12px; }
.empty h3 { margin-top:8px; font-size:14px; font-weight:500; }
.empty-icon { width:66px; height:66px; border-radius:18px; background:#f0f4e9; border:1px solid #e3eadb; display:grid; place-items:center; color:#8da27a; margin-bottom:5px; }
.empty-icon .icon { width:27px; height:27px; }
/* Clear category cards with keyboard-accessible native switches. */
.settings-grid { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:21px; }
.section-heading { display:flex; gap:11px; align-items:center; padding:19px 23px; border-bottom:1px solid #edf0e9; }
.section-number { font-size:10px; color:#8c9d7d; font-variant-numeric:tabular-nums; }
.section-heading h2 { flex:1; }
.item-count { font-size:10px; color:#9aa591; }
.setting-fields { padding:6px 23px; }
.setting-option { position:relative; flex-direction:row; align-items:center; justify-content:space-between; min-height:53px; gap:20px; font-size:13px; font-weight:400; cursor:pointer; border-bottom:1px solid #f0f3eb; }
.setting-option:last-child { border-bottom:0; }
.setting-option input[type=checkbox] { position:absolute; width:38px; height:22px; right:0; opacity:0; margin:0; cursor:pointer; }
.switch-track { pointer-events:none; position:relative; flex-shrink:0; width:33px; height:19px; border-radius:15px; background:#dfe5db; transition:background .15s; }
.switch-track:after { content:""; position:absolute; top:3px; left:3px; width:13px; height:13px; background:#fff; border-radius:50%; box-shadow:0 1px 3px #0001; transition:transform .15s; }
.setting-option input:checked+.switch-track { background:#527f4e; }
.setting-option input:checked+.switch-track:after { transform:translateX(14px); }
.setting-option input:focus-visible+.switch-track { outline:3px solid #a4c78d; outline-offset:4px; }
.activation { background:#f7faf4; border:1px solid #e9eee2; padding:16px 18px; border-radius:9px; }
.activation input[type=checkbox] { right:18px; }
.activation strong { display:block; font-size:13px; font-weight:600; }
.activation small { display:block; color:#8c9883; font-size:11px; margin-top:3px; }
.save-bar { position:sticky; z-index:3; bottom:16px; display:flex; justify-content:space-between; align-items:center; gap:15px; border:1px solid #e0e7d7; border-radius:11px; padding:15px 20px; background:#fffffff5; box-shadow:0 5px 24px #14220f0c; margin-top:24px; backdrop-filter:blur(12px); }
.save-bar>span { font-size:12px; color:#839077; }
.page-footer { display:flex; align-items:center; justify-content:space-between; color:#a2ac9a; font-size:10px; border-top:1px solid var(--line); margin-top:40px; padding:23px 0; }
.page-footer>span:first-child { letter-spacing:-.3px; font-size:13px; font-weight:700; color:#8d9b81; }
@media(min-width:1500px) { .page-content { padding-top:46px; } .login-visual { padding:55px 65px; } }
@media(max-width:1180px) { .page-content { padding:29px 26px 0; } .topbar { padding:0 26px; } .accounts-layout { grid-template-columns:minmax(0,1fr); } .registration-panel { max-width:none; } .account-list .empty { min-height:240px; } .registration-panel .panel-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .registration-panel .form-grid { grid-column:1/-1; } .registration-panel button { align-self:end; } th,td { padding:14px 16px; } }
@media(max-width:850px) { .sidebar { width:190px; padding:26px 15px 18px; } .workspace-body { margin-left:190px; } .settings-grid { grid-template-columns:1fr; } .stat-grid { gap:10px; } .stat-card { padding:18px; } .stat-card strong { font-size:27px; } .stat-card .stat-date { font-size:18px; } .login-shell { grid-template-columns:1fr 1fr; padding:14px; gap:6px; } .login-visual { min-height:calc(100svh - 28px); padding:34px 27px; } .login-intro h1 { font-size:34px; letter-spacing:-1.5px; } .login-panel { padding:27px; } }
@media(max-width:640px) { .sidebar { position:static; width:auto; padding:17px 19px 12px; display:grid; grid-template-columns:1fr auto; gap:17px; } .sidebar .brand { font-size:24px; padding:0; } .sidebar .brand-mark { width:30px; height:30px; } .sidebar-caption,.identity { display:none; } .sidebar nav { grid-column:1/-1; grid-row:2; flex-direction:row; gap:8px; } .sidebar nav a { padding:8px 12px; font-size:12px; } .sidebar nav .icon { width:16px; height:16px; } .sidebar-bottom { grid-column:2; grid-row:1; align-self:center; margin:0; } .logout span { display:none; } .logout .icon { width:18px; height:18px; } .workspace-body { margin-left:0; } .topbar { height:50px; padding:0 20px; } .topbar-label { font-size:8px; } .page-content { padding:25px 18px 0; } .page-heading { align-items:flex-start; gap:14px; margin-bottom:23px; } .page-heading h1 { font-size:25px; } .page-heading p { max-width:260px; font-size:11px; } .page-heading>.outline-badge { display:none; } .page-heading button,.page-heading>.button { min-height:38px; padding:8px 11px; font-size:11px; white-space:nowrap; } .email-heading { font-size:22px!important; } .stat-card { padding:15px 13px; } .stat-card strong { font-size:25px; margin-top:12px; } .stat-card>span { font-size:10px; } .stat-card .stat-date { font-size:13px; line-height:2.3; letter-spacing:-.2px; } .stat-grid { gap:8px; margin-bottom:20px; } .panel-heading { padding:17px 19px; } .panel-form { padding:20px; gap:21px; } .form-grid { gap:16px; } .registration-panel .panel-form { display:flex; } .registration-panel button { align-self:stretch; } .section-heading { padding:18px 20px; } .setting-fields { padding:6px 20px; } .save-bar { bottom:10px; padding:12px 14px; } .save-bar>span { font-size:10px; max-width:150px; overflow-wrap:anywhere; } .save-bar button { font-size:12px; padding:9px 13px; } .login-shell { display:block; min-height:100svh; padding:0; } .login-visual { min-height:0; height:auto; padding:27px 28px 32px; border-radius:0 0 22px 22px; } .login-intro { margin-top:45px; } .login-intro .eyebrow { font-size:8px; margin-bottom:15px; } .login-intro h1 { font-size:30px; line-height:1.3; } .login-intro p { font-size:12px; margin-top:15px; } .visual-diagram,.visual-footer { display:none; } .login-panel { padding:36px 28px; } .login-content { max-width:380px; } .login-content h2 { font-size:26px; } .login-description { margin-bottom:24px; } .login-footnote { margin-top:28px; } .empty { min-height:230px; padding:37px 20px; } .empty p { max-width:230px; } .page-footer { margin-top:28px; padding:18px 0; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*:before,*:after { transition:none!important; } }

/* Mobile is the primary user workspace, not a scaled-down desktop table. */
.mobile-session { display:none; }
@media(max-width:760px) {
    .is-user .sidebar { position:static; width:auto; display:flex; flex-direction:row; align-items:center; gap:14px; padding:12px 16px; min-height:70px; }
    .is-user .sidebar .brand { padding:0; font-size:23px; }
    .is-user .sidebar .brand-mark { width:30px; height:30px; }
    .is-user .sidebar-caption,.is-user .sidebar nav,.is-user .identity { display:none; }
    .is-user .mobile-session { display:block; flex:1; min-width:0; color:#b5c6b9; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; text-align:right; }
    .is-user .sidebar-bottom { margin:0; flex-shrink:0; }
    .is-user button.logout { min-width:44px; min-height:44px; padding:10px; justify-content:center; }
    .is-user .logout span { display:none; }
    .is-user .logout .icon { width:20px; height:20px; }
    .is-user .workspace-body { margin-left:0; }
    .is-user .topbar { display:none; }
    .is-user .page-content { padding:25px 16px 0; }
    .is-user .page-heading { gap:14px; align-items:center; margin-bottom:22px; }
    .is-user .page-heading .eyebrow { display:none; }
    .is-user .page-heading h1 { font-size:27px; }
    .is-user .page-heading p { font-size:13px; line-height:1.6; }
    .is-user .page-heading>.button { min-height:46px; padding:10px 13px; font-size:13px; }
    .is-user .stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .is-user .stat-card { padding:16px 18px; }
    .is-user .stat-card>span { font-size:12px; }
    .is-user .stat-card strong { font-size:29px; margin-top:11px; }
    .is-user .stat-card:last-child { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; padding:12px 17px; }
    .is-user .stat-card .stat-date { font-size:16px; margin:0; line-height:1.5; }
    .is-user .accounts-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
    .is-user .account-list { background:transparent; border:0; border-radius:0; }
    .is-user .account-list>.panel-heading { border:0; padding:0 1px 15px; }
    .is-user .account-list h2,.is-user .registration-panel h2 { font-size:16px; }
    .is-user .account-list .table-wrap { overflow:visible; }
    .is-user .account-table,.is-user .account-table tbody { display:block; width:100%; }
    .is-user .account-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
    .is-user .account-table tbody { display:flex; flex-direction:column; gap:13px; }
    .is-user .account-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; padding:18px; border:1px solid var(--line); border-radius:13px; background:#fff; }
    .is-user .account-table td { padding:0; border:0; min-width:0; white-space:normal; font-size:15px; overflow-wrap:anywhere; }
    .is-user .account-table td[data-label]:before { content:attr(data-label); display:block; margin-bottom:5px; color:#74806f; font-size:12px; }
    .is-user .account-name { grid-column:1/-1; border-bottom:1px solid #edf0e9!important; padding-bottom:13px!important; }
    .is-user .account-name strong { display:block; font-size:17px; line-height:1.5; }
    .is-user .table-sub { font-size:11px; }
    .is-user .country { font-size:12px; padding:3px 9px; }
    .is-user .account-character-id,.is-user .account-actions { grid-column:1/-1; }
    .is-user .settings-link { width:100%; justify-content:space-between; min-height:48px; border-radius:8px; background:#edf4e7; color:#2d663e; border-color:#e0ead8; padding:11px 14px; font-size:14px; font-weight:600; }
    .is-user .settings-link .icon { width:16px; height:16px; }
    .is-user .registration-panel { scroll-margin-top:18px; }
    .is-user .registration-panel .panel-form { display:flex; padding:20px; gap:21px; }
    .is-user .registration-panel .form-grid { gap:14px; }
    .is-user label { font-size:14px; }
    .is-user input:not([type=checkbox]),.is-user select,.is-user textarea { font-size:16px; min-height:49px; }
    .is-user .registration-panel button { align-self:stretch; min-height:50px; font-size:15px; }
    .is-user .empty { border:1px dashed #d6e0cc; border-radius:12px; background:#fff9; }
    .is-user .empty h3 { font-size:15px; }
    .is-user .empty p { font-size:13px; }
    .is-user .back-link { min-height:44px; padding:8px 0; margin-bottom:10px; font-size:13px; }
    .is-user .settings-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
    .is-user .section-heading { padding:18px; }
    .is-user .section-heading h2 { font-size:16px; }
    .is-user .setting-fields { padding:3px 18px; }
    .is-user .setting-option { min-height:61px; font-size:15px; gap:16px; }
    .is-user .switch-track { width:44px; height:26px; }
    .is-user .switch-track:after { width:20px; height:20px; }
    .is-user .setting-option input[type=checkbox] { width:44px; height:44px; top:50%; transform:translateY(-50%); }
    .is-user .setting-option input:checked+.switch-track:after { transform:translateX(18px); }
    .is-user.view-individual .page-content { padding-bottom:calc(96px + env(safe-area-inset-bottom,0px)); }
    .is-user .save-bar { position:fixed; left:0; right:0; bottom:0; border-radius:0; border-left:0; border-right:0; border-bottom:0; margin:0; padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px)); }
    .is-user .save-bar>span { display:none; }
    .is-user .save-bar button { width:100%; min-height:50px; font-size:15px; }
    .is-user .page-footer { font-size:10px; gap:15px; }
    .login-page.is-user .login-visual { min-height:0; padding:22px 24px; border-radius:0; }
    .login-page.is-user .login-intro,.login-page.is-user .visual-diagram,.login-page.is-user .visual-footer { display:none; }
    .login-page.is-user .login-shell { display:block; padding:0; }
    .login-page.is-user .login-panel { padding:29px 24px; }
    .login-page.is-user .login-content { max-width:420px; }
    .login-page.is-user .login-content h2 { font-size:29px; }
    .login-page.is-user .login-description { font-size:14px; margin:9px 0 25px; }
    .login-page.is-user form.login { gap:20px; }
    .login-page.is-user .login-submit { min-height:52px; font-size:16px; }
    .login-page.is-user .login-footnote { margin-top:24px; }
}

@media(max-width:760px) {
    .workspace.is-user .notice:not(:empty) { position:fixed; top:82px; left:16px; right:16px; z-index:20; box-shadow:0 6px 24px #17241f12; }
    html:has(.is-user.view-individual) { scroll-padding-bottom:100px; }
}

.account-editor { max-width:850px; margin-bottom:27px; }
.editor-section-title { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:29px 0 15px; }
@media(max-width:760px) {
    .is-user .account-editor .panel-form { padding:20px; gap:21px; }
    .is-user .account-editor .form-grid { gap:14px; }
    .is-user .editor-section-title h2 { font-size:17px; }
}

.server-picker-trigger { display:flex; align-items:center; justify-content:space-between; width:100%; min-width:0; min-height:49px; padding:12px 14px; background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:8px; text-align:left; font:inherit; font-size:16px; }
.server-picker-trigger:after { content:'⌄'; flex:none; margin-left:12px; }
.server-picker { width:420px; max-width:calc(100vw - 32px); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); padding:0; border:1px solid var(--line); border-radius:14px; color:var(--ink); background:#fff; box-shadow:0 18px 60px #17241f33; overflow:hidden; }
.server-picker[open] { display:flex; flex-direction:column; }
.server-picker::backdrop { background:#17241f66; }
.server-picker-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 18px; flex:none; border-bottom:1px solid var(--line); }
.server-picker-header h2 { margin:0; font-size:18px; }
.server-picker-close { min-height:44px; padding:8px 12px; background:#edf4e7; color:#2d663e; }
.server-picker-list { overflow-y:auto; overscroll-behavior:contain; min-height:0; max-height:65vh; max-height:65dvh; padding:6px; }
.server-picker-option { display:block; width:100%; min-height:48px; padding:12px; border-radius:7px; background:#fff; color:var(--ink); text-align:left; font-size:16px; font-weight:500; white-space:normal; overflow-wrap:anywhere; }
.server-picker-option:hover,.server-picker-option:focus-visible { background:#edf4e7; }
.server-picker-option[aria-pressed=true] { background:#dcefc3; color:#255733; font-weight:700; }

.server-picker-trigger:hover { background:#fff; border-color:#aabbac; }
.server-picker-close:hover { background:#dcefc3; color:#255733; }

.member-list-heading { flex-wrap:wrap; gap:18px; }
.member-list-heading>div { display:flex; align-items:center; gap:14px; }
.member-search { width:min(360px,100%); }
.member-search input { min-height:44px; font-size:14px; }
.member-selection { display:flex; align-items:center; gap:14px; padding:10px 23px; border-bottom:1px solid var(--line); font-size:12px; color:var(--muted); }
.member-clear { min-height:30px; padding:3px 9px; background:#edf4e7; color:#2d663e; font-size:12px; }
.member-clear:hover { background:#dcefc3; }
.member-clear:disabled { opacity:.45; cursor:default; }
.member-selection { flex-wrap:wrap; }
.member-bulk-common { display:flex; flex-direction:column; gap:14px; }
.member-bulk-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:10px; }
.member-bulk-table { width:100%; min-width:760px; }
.member-bulk-table th,.member-bulk-table td { padding:12px; }
.member-bulk-table tbody th { width:29%; font-size:13px; text-transform:none; letter-spacing:normal; overflow-wrap:anywhere; white-space:normal; }
.member-bulk-table td:nth-child(2) { width:25%; }
.member-bulk-table td:nth-child(3) { width:20%; }
.member-bulk-table td:nth-child(4) { width:26%; }
.member-bulk-table input,.member-bulk-table select { min-width:0; width:100%; }
.member-bulk-summary { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:14px 0; border-top:1px solid var(--line); }
.member-bulk-summary strong { font-size:20px; }
.member-bulk-editor .member-editor-footer>.muted { font-size:11px; }
.member-table th,.member-table td { padding:14px 13px; }
.member-table input[type=checkbox] { width:18px; height:18px; accent-color:var(--green); cursor:pointer; }
.member-table tr[data-member] { cursor:pointer; }
.member-table tr[data-member]:hover { background:#f7faf4; }
.member-table tr[hidden] { display:none; }
.member-open { padding:0; min-height:38px; background:transparent; color:var(--ink); text-align:left; font-size:14px; }
.member-open:hover { background:transparent; color:var(--green); }
.member-grade { display:inline-block; padding:4px 9px; background:#edf4e7; color:#37623f; border-radius:7px; font-size:12px; white-space:nowrap; }
.member-accounts { min-width:160px; max-width:250px; white-space:normal; }
.member-account-name { display:block; margin:3px 0 8px; }
.member-account-name strong { display:block; font-size:13px; overflow-wrap:anywhere; }
.member-account-name small { display:block; font-size:11px; color:var(--muted); }
.member-memo { min-width:140px; max-width:240px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
.member-empty { text-align:center; padding:42px!important; color:var(--muted); }
.member-editor { width:610px; max-width:calc(100vw - 32px); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); border:1px solid var(--line); padding:0; border-radius:16px; background:#fff; color:var(--ink); overflow:hidden; box-shadow:0 18px 60px #17241f33; }
.member-editor::backdrop { background:#17241f66; }
.member-bulk-editor { width:960px; }
.member-editor[open],.member-editor form { display:flex; flex-direction:column; }
.member-editor form { max-height:calc(100vh - 34px); max-height:calc(100dvh - 34px); min-height:0; }
.member-editor-heading { flex:none; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 24px 17px; border-bottom:1px solid var(--line); }
.member-editor-heading .eyebrow { font-size:10px; margin-bottom:6px; }
.member-editor-heading h2 { margin:0; font-size:23px; }
.member-editor-heading p { margin:5px 0 0; color:var(--muted); overflow-wrap:anywhere; font-size:13px; }
.member-editor-heading>div { min-width:0; }
.member-editor-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:20px 24px; display:flex; flex-direction:column; gap:19px; }
.member-editor-body>.outline-badge { align-self:flex-start; font-size:11px; }
.member-editor-fields { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; }
.member-editor-body textarea { min-height:100px; }
.member-editor-body input[readonly] { background:#f4f6f2; }
.member-editor-footer { flex:none; padding:15px 24px; display:flex; align-items:center; justify-content:space-between; gap:15px; border-top:1px solid var(--line); background:#fbfcfa; }
.member-editor-footer>div { display:flex; gap:9px; }
.member-editor-footer .back-link { margin:0; }
@media(max-width:640px) { .member-list-heading { align-items:stretch; } .member-search { width:100%; } .member-selection { padding:9px 18px; } .member-editor-heading { padding:16px; } .member-editor-body { padding:16px; } .member-editor-footer { padding:12px 16px; } .member-editor-footer button { padding:9px 12px; font-size:12px; } }
