.kyy-profile{--kp-ink:#234435;--kp-muted:#53685c;--kp-paper:#fbfaf5;--kp-border:#d4ded3;--kp-accent:#255648;--kp-tint:#e7efe7;position:relative;flex:none;margin-inline-start:.25rem;color:var(--kp-ink)}
.kyy-profile [hidden]{display:none!important}
.kyy-profile .kyy-profile-avatar,.kyy-profile .kyy-profile-portrait{box-sizing:border-box;width:38px;height:38px;min-width:38px;min-height:38px;display:grid;place-items:center;border-radius:50%;border:1px solid #cbdacd;background:var(--kp-tint);color:var(--kp-accent);padding:0;overflow:hidden;font:650 1rem/1 system-ui,sans-serif}
.kyy-profile .kyy-profile-avatar:hover{background:#dce9df}
.kyy-profile :is(.kyy-profile-avatar,.kyy-profile-portrait) img{height:100%;width:100%;object-fit:cover}
.kyy-profile-menu{box-sizing:border-box;position:absolute;z-index:25;inset:.42rem 0 auto auto;top:calc(100% + .4rem);min-width:10rem;width:max-content;max-width:min(15rem,86vw);padding:.42rem;background:var(--kp-paper);border:1px solid var(--kp-border);border-radius:9px;box-shadow:0 10px 28px #1735251d}
.kyy-profile-menu .kyy-profile-name{margin:.26rem .58rem .38rem;font-size:.86rem;line-height:1.4;font-weight:620;overflow-wrap:anywhere}
.kyy-profile .kyy-profile-action{box-sizing:border-box;text-align:start;border:0;color:var(--kp-ink);background:transparent;font-size:.85rem;font-weight:500;border-radius:5px;min-height:36px;line-height:1.3;padding:.35rem .58rem}
.kyy-profile-menu .kyy-profile-action{display:block;width:100%}
.kyy-profile .kyy-profile-action:hover{background:var(--kp-tint)}
.kyy-profile-menu .kyy-profile-exit{color:#754939}
.kyy-profile-menu .kyy-profile-note{margin:.35rem .58rem}
.kyy-profile-menu .kyy-profile-note:empty{display:none}
.kyy-profile-dialog{box-sizing:border-box;width:min(29rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);padding:clamp(1.1rem,4vw,1.7rem);background:var(--kp-paper);color:var(--kp-ink);border:1px solid var(--kp-border);border-radius:12px;box-shadow:0 18px 48px #102b2433;overflow:auto}
.kyy-profile-dialog:not([open]){display:none}
.kyy-profile-dialog::backdrop{background:#132e2560}
.kyy-profile-dialog header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.2rem}
.kyy-profile-dialog h2{font:650 1.34rem/1.3 system-ui,sans-serif;margin:0}
.kyy-profile-dialog .kyy-profile-close{color:var(--kp-muted)}
.kyy-profile-fields{display:grid;gap:.85rem}
.kyy-profile-fields label{font-size:.87rem;font-weight:620;display:block}
.kyy-profile-fields input[type=text]{display:block;box-sizing:border-box;width:100%;min-height:42px;margin-top:.33rem;padding:.45rem .64rem;border:1px solid var(--kp-border);border-radius:6px;font:inherit;background:#fff;color:var(--kp-ink)}
.kyy-profile-photo{display:flex;align-items:center;gap:.85rem;min-width:0}
.kyy-profile-photo>div:last-child{min-width:0}
.kyy-profile .kyy-profile-portrait{width:58px;height:58px;flex:none;font-size:1.35rem}
.kyy-profile-photo input{display:block;width:100%;font-size:.78rem;margin-top:.27rem;color:var(--kp-muted)}
.kyy-profile-photo input::file-selector-button{border:1px solid var(--kp-border);border-radius:5px;background:#fff;color:var(--kp-ink);min-height:30px;margin-inline-end:.35rem;padding-inline:.45rem;cursor:pointer}
.kyy-profile-note{color:var(--kp-muted);font-size:.77rem;line-height:1.45;margin:.15rem 0}
.kyy-profile-photo .kyy-profile-action{min-height:32px;padding-inline:0}
.kyy-profile-fields .kyy-profile-motion{display:flex;align-items:center;gap:.52rem}
.kyy-profile-motion input{accent-color:var(--kp-accent);width:1.15rem;height:1.15rem}
.kyy-profile-message{min-height:1.3em;margin:.85rem 0 .25rem}
.kyy-profile-submit{display:flex;justify-content:flex-end}
.kyy-profile .kyy-profile-save{min-height:40px;padding:.4rem 1.05rem;border:1px solid var(--kp-accent);border-radius:5px;background:var(--kp-accent);color:white;font-size:.86rem}
.kyy-profile button:disabled,.kyy-profile input:disabled{opacity:.58}
.kyy-profile button:focus-visible,.kyy-profile input:focus-visible{outline:2px solid var(--kp-accent);outline-offset:2px}
html[data-kyy-reduce-motion="yes"] #workspaceShell,html[data-kyy-reduce-motion="yes"] #workspaceShell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:540px){.kyy-profile-menu{min-width:9rem}.kyy-profile .kyy-profile-avatar{width:36px;height:36px;min-width:36px;min-height:36px}}
.account-profile-dock{flex:none}
.account-profile-dock:empty{display:none}
@media(max-width:780px){
  .top:has(>.account-profile-dock:not(:empty)){flex-wrap:wrap}
  .top:has(>.account-profile-dock:not(:empty))>.workbench-nav{order:3;width:100%;margin:0;justify-content:flex-start;overflow-x:auto}
  .top:has(>.account-profile-dock:not(:empty))>.account-dock{margin-inline-start:auto}
}
