html.role-pending body{visibility:hidden}html.role-locked body>*:not(#role-access-message):not(script):not(style){display:none!important}html.role-locked #role-access-message{visibility:visible!important}
html body .role-surface,html body #role-dashboard,html body #role-settings{background:#fff!important;color:#20382c!important;max-width:1080px;margin:18px auto;padding:24px;box-sizing:border-box;border:1px solid #aeb9b0;border-radius:12px;font:17px/1.65 "OGUK Gungsuh",serif}
html body :is(#role-dashboard,#role-settings,#role-nav,#role-access-message) *{color:#20382c!important;text-shadow:none!important;box-shadow:none!important;box-sizing:border-box;overflow-wrap:anywhere}
html body :is(#role-dashboard,#role-settings,#role-nav,#role-access-message) :is(div,p,span,small,form,fieldset,label,legend){background:transparent!important}
html body :is(#role-dashboard,#role-settings,#role-nav,#role-access-message) small{display:block;font-size:13px;line-height:1.5;font-weight:400;white-space:normal}
html body :is(#role-dashboard,#role-settings,#role-nav,#role-access-message) .role-ja{font-family:Arial,"Noto Sans JP",sans-serif;font-size:13px}
html body :is(#role-dashboard,#role-settings,#role-nav,#role-access-message) :is(a,button){display:inline-block;border:1px solid #9aa99f!important;background:transparent!important;padding:10px 16px;min-height:44px;border-radius:6px;font:inherit;text-decoration:none;cursor:pointer}
html body #role-settings button[type=submit]{background:#fff1a8!important;border:2px solid #ae9231!important}
#role-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}#role-nav a:first-child{margin-right:auto}.role-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}
#role-settings fieldset{margin:16px 0;padding:16px;border:1px solid #abb9af;border-radius:7px;min-width:0}#role-settings legend{font-weight:700}#role-settings label{display:inline-flex;align-items:center;gap:10px;margin:8px 24px 8px 0;cursor:pointer}html body #role-settings input[type=checkbox]{appearance:auto!important;width:22px;height:22px;flex:none;accent-color:#386044;background:#fff!important}#role-settings input:disabled{opacity:.45}#role-settings .role-actions{display:flex;gap:12px;flex-wrap:wrap;position:sticky;bottom:0;background:#fff!important;padding:14px 0;border-top:1px solid #bcc9bf}#role-settings [role=status]{white-space:pre-line}#role-dashboard h1,#role-settings h1{font-size:26px;line-height:1.5}
@media(max-width:600px){html body .role-surface,html body #role-dashboard,html body #role-settings{margin:10px 8px;padding:16px}#role-settings label{display:flex;margin:12px 0}.role-cards{grid-template-columns:1fr}#role-nav{gap:8px}#role-nav a,#role-nav button{flex:1;min-width:120px}#role-dashboard h1,#role-settings h1{font-size:23px}}

html body #role-nav,html body #role-access-message{background:#fff!important;color:#20382c!important}

html body .common-profile-badge{display:inline-flex!important;align-items:center;gap:10px}.common-profile-badge img{width:48px;height:60px;object-fit:cover;border-radius:6px}

.role-return-link{display:inline-block;max-width:100%;padding:8px 12px;border:1px solid #9aa99f;border-radius:6px;overflow-wrap:anywhere}.role-return-link small{display:block;font-size:13px;line-height:1.5}
.site-menu .welcome-login a,.site-menu .welcome-login button{height:auto!important;min-height:44px;white-space:normal;max-width:100%}.site-menu .welcome-login span[lang=en]{display:block;line-height:1.4}
