.brand .brand-mark{display:block;width:52px;height:52px;flex:0 0 52px;border:1px solid var(--rdc-brand-border);border-radius:6px;overflow:hidden;background:var(--rdc-brand-bg)}
.brand .brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.brand .brand-name{border:0;padding:0}
.topbar .brand{gap:15px}
.loading-logo{width:88px;height:88px;border-radius:6px}
.auth-page{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;min-height:100svh;padding:60px 24px;background:var(--rdc-auth-bg)}
.auth-page::before{content:"";position:absolute;z-index:-1;inset:24px;border:1px solid var(--rdc-auth-frame);pointer-events:none}
.auth-page::after{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:min(640px,calc(100% - 90px));transform:translateX(-50%);border-left:1px solid var(--rdc-auth-rail);border-right:1px solid var(--rdc-auth-rail);pointer-events:none}
.auth-content{width:min(416px,100%);min-width:0;position:relative;padding:10px 0}
.auth-content>.brand{gap:20px;margin-bottom:32px;flex-direction:column;text-align:center}
.auth-content>.brand .brand-mark{width:100px;height:100px;flex-basis:100px;border-radius:6px;border-color:var(--rdc-auth-brand-border);box-shadow:0 12px 30px var(--rdc-auth-shadow)}
.auth-content>.brand .brand-name{border:0;padding:0}
.auth-content>.brand strong{display:block;font-size:32px;line-height:1.4;font-weight:700}
.auth-content>.brand small{font-size:11px;line-height:1.7;color:var(--rdc-auth-caption);margin-top:7px}
.auth-content form{display:grid;width:100%;min-width:0;gap:22px}
.auth-heading{display:flex;align-items:center;gap:18px;margin:0 0 4px}
.auth-heading::before,.auth-heading::after{content:"";height:1px;flex:1;background:var(--rdc-auth-divider)}
.auth-heading h1,.auth-page form .auth-heading h1{font-size:16px;line-height:1.5;font-weight:500;color:var(--rdc-auth-heading)}
.auth-field{display:grid;gap:10px}
.auth-field>label{display:flex;align-items:baseline;gap:9px;font-size:14px;font-weight:500;color:var(--rdc-auth-label)}
.auth-field>label small{display:inline;font-size:11px;color:var(--rdc-auth-meta);line-height:1.4;font-weight:400}
.auth-input{display:flex;align-items:center;gap:12px;min-height:54px;border:1px solid var(--rdc-auth-input-border);border-radius:6px;background:var(--rdc-auth-input);padding:0 7px 0 16px;transition:border-color .15s,box-shadow .15s,background .15s}
.auth-input:hover{border-color:var(--rdc-auth-input-hover)}
.auth-input:focus-within{border-color:var(--rdc-focus);background:var(--rdc-auth-input-focus);box-shadow:0 0 0 3px var(--rdc-focus-ring)}
.auth-input>.input-icon{display:flex;align-items:center;color:var(--rdc-auth-icon);flex:0 0 19px}
.auth-input .input-icon svg{width:19px;height:19px}
.auth-input>input{flex:1;min-width:0;width:0;height:52px;min-height:52px;padding:10px 0;border:0;outline:0;background:transparent;color:var(--rdc-auth-text);font-size:16px;border-radius:0;box-shadow:none}
.auth-input>input:-webkit-autofill{-webkit-text-fill-color:var(--rdc-auth-text);box-shadow:0 0 0 1000px var(--rdc-auth-input) inset}
.auth-input .password-toggle{flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:9px;background:transparent;border-color:transparent;color:var(--rdc-password-icon);border-radius:4px}
.auth-input .password-toggle:hover{background:var(--rdc-password-hover);color:var(--rdc-text)}
.auth-input .password-toggle:focus-visible{outline:2px solid var(--rdc-password-focus);outline-offset:1px}
.auth-submit{position:relative;height:52px;min-height:52px;margin-top:4px;font-size:15px;font-weight:600;background:var(--rdc-auth-primary);border-color:var(--rdc-auth-primary-border);border-radius:6px;box-shadow:0 6px 18px var(--rdc-auth-button-shadow);transition:background .15s,box-shadow .15s}
.auth-submit:hover{background:var(--rdc-auth-primary-hover);box-shadow:0 7px 24px var(--rdc-auth-shadow)}
.auth-submit>svg{position:absolute;right:17px;width:19px;height:19px}
.auth-submit:disabled{opacity:.6}
.auth-secondary{display:flex;align-items:center;justify-content:center;padding-top:8px;border-top:1px solid var(--rdc-auth-secondary-border);margin-top:1px}
.auth-secondary .text-button{font-size:13px;color:var(--rdc-auth-secondary-text);min-height:40px;padding:8px 18px}
.auth-secondary .text-button:hover{color:var(--rdc-text);background:var(--rdc-auth-secondary-hover)}
.auth-page #notice:not(:empty){font-size:13px;background:var(--rdc-error-bg);border-left:2px solid var(--rdc-error-border);border-radius:3px;padding:11px 14px}
.auth-page:has(#auth-form[aria-busy=true]) .auth-submit{cursor:wait}
@media(max-width:650px){.topbar .brand{width:auto}.topbar .brand strong{font-size:18px}.topbar .brand .brand-mark{width:44px;height:44px;flex-basis:44px}.auth-page{padding:48px 26px}.auth-page::before{inset:12px}.auth-page::after{width:calc(100% - 36px);border-color:var(--rdc-auth-rail-mobile)}.auth-content>.brand{margin-bottom:28px;gap:17px}.auth-content>.brand .brand-mark{width:86px;height:86px;flex-basis:86px}.auth-content>.brand strong{font-size:28px}.auth-content form{gap:20px}.auth-content>.brand small{font-size:10px}.auth-input{min-height:52px}.auth-input>input{height:50px;min-height:50px}.auth-submit{height:50px;min-height:50px}}
@media(max-height:650px){.auth-page{padding-top:30px;padding-bottom:30px}.auth-content>.brand{margin-bottom:22px;gap:12px}.auth-content>.brand .brand-mark{width:72px;height:72px;flex-basis:72px}.auth-content form{gap:16px}}
@media(prefers-reduced-motion:reduce){.auth-input,.auth-submit{transition:none}}

.theme-menu{position:relative;flex-shrink:0}
.theme-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 12px;border:1px solid var(--rdc-input-border);border-radius:5px;background:var(--rdc-button);color:var(--rdc-text);cursor:pointer}
.theme-menu>summary::-webkit-details-marker{display:none}
.theme-menu>summary:hover{background:var(--rdc-button-hover)}
.theme-switch{position:absolute;top:calc(100% + 8px);right:0;display:grid;width:204px;max-width:calc(100vw - 32px);gap:3px;padding:7px;border:1px solid var(--rdc-input-border);border-radius:6px;background:var(--rdc-dialog);box-shadow:0 10px 26px var(--rdc-shadow);z-index:30}
.theme-menu:not([open])>.theme-switch{display:none}
.theme-switch button{width:100%;min-height:42px;padding:10px;gap:10px;justify-content:flex-start;border:1px solid transparent;background:transparent;color:var(--rdc-muted);border-radius:3px;font-size:13px}
.theme-switch button:hover{background:var(--rdc-button-hover);color:var(--rdc-text)}
.theme-switch button[aria-pressed=true]{background:var(--rdc-primary);border-color:var(--rdc-primary-border);color:var(--rdc-on-primary)}
.auth-theme{display:flex;justify-content:center;margin-top:22px}
.auth-theme .theme-switch{top:auto;bottom:calc(100% + 8px);right:50%;transform:translateX(50%)}
.brand .brand-mark,.auth-content>.brand .brand-mark{border-color:transparent;background:transparent;box-shadow:none}
:root[data-rdc-theme=light] .theme-switch button[aria-pressed=true]{background:var(--rdc-theme-selected-bg);color:var(--rdc-theme-selected-text);border-color:transparent}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--rdc-focus)}
.auth-input>input:focus-visible{outline:0}
:root[data-rdc-theme=light] .tool{box-shadow:var(--rdc-tool-shadow)}
:root[data-rdc-theme=light] .tool.unavailable{opacity:1;background:var(--rdc-button)}
:root[data-rdc-theme=light] .tool.unavailable .tool-icon{color:var(--rdc-unavailable-icon)}
@media(max-width:650px){.topbar nav{justify-content:flex-start}.topbar .user-name{flex-basis:100%;text-align:left}.topbar .theme-switch{right:auto;left:0}.theme-menu>summary{padding-inline:9px}}
a.primary:hover{background:var(--rdc-primary-hover)}
.tabs button[aria-selected=true]{color:var(--rdc-text)}
:root:not([data-rdc-theme=light]) .primary:hover{background:var(--rdc-primary);border-color:var(--rdc-focus)}

/* Approved blue-gray light theme; dark layout and other tools stay unchanged. */
:root[data-rdc-theme=light] body:before{display:none}
:root[data-rdc-theme=light] .topbar{border-top:4px solid var(--rdc-primary);padding-top:16px;padding-bottom:16px;box-shadow:0 3px 14px var(--rdc-auth-button-shadow)}
:root[data-rdc-theme=light] .brand strong,:root[data-rdc-theme=light] .section-title h1{color:var(--rdc-primary)}
:root[data-rdc-theme=light] .company-board .announcement{background:var(--rdc-header)}
:root[data-rdc-theme=light] .important{border-left-color:var(--rdc-section-accent)}
:root[data-rdc-theme=light] .maintenance-board{background:var(--rdc-maintenance-bg);margin-left:-20px;margin-right:-20px;padding:22px 20px 24px;border-bottom:1px solid var(--rdc-border)}
:root[data-rdc-theme=light] .issues-table thead{background:var(--rdc-table-header-bg)}
:root[data-rdc-theme=light] .issues-table tbody{background:var(--rdc-table-body-bg)}
:root[data-rdc-theme=light] .meeting-summary{background:var(--rdc-meeting-bg);padding:18px 20px;border:1px solid var(--rdc-border)}
:root[data-rdc-theme=light] .meeting-room-name,:root[data-rdc-theme=light] #meeting-clock{color:var(--rdc-primary)}
:root[data-rdc-theme=light] .tool{border-top:3px solid var(--rdc-system-accent)}
:root[data-rdc-theme=light] .tool:nth-child(even){border-top-color:var(--rdc-section-accent)}
:root[data-rdc-theme=light] .tool h2{color:var(--rdc-primary)}
:root[data-rdc-theme=light] .tool:nth-child(even) .tool-icon{color:var(--rdc-tool-secondary-icon)}
:root[data-rdc-theme=light] .tool.unavailable{border-top-color:var(--rdc-tool-border)}
@media(max-width:650px){:root[data-rdc-theme=light] .maintenance-board{margin-inline:-8px;padding-inline:8px}:root[data-rdc-theme=light] .meeting-summary{padding:0 14px}}
