.metric-action{width:100%;text-align:left;border:1px solid var(--line);cursor:pointer;transition:transform .15s,box-shadow .15s}.metric-action:hover{transform:translateY(-2px);box-shadow:0 10px 22px #18365c14}.metric-action .mlabel{display:flex;justify-content:space-between}.metric-action .mlabel span{color:var(--blue);font-size:18px}.global-search{border:1px solid #dce5ef;background:#f7f9fc;color:#66809f;border-radius:8px;padding:10px 14px;min-width:230px;text-align:left;font-size:13px}.global-search kbd{float:right;margin-left:20px;color:#8093ac;font-size:11px;background:white;border:1px solid #dbe4ef;border-radius:4px;padding:2px 5px}.mobile-dock{display:none}.detail-sheet{position:fixed;margin:0 0 0 auto;right:0;top:0;bottom:0;width:min(740px,100%);height:100%;max-height:none;border-radius:18px 0 0 18px;border-right:0;overflow:auto;padding:32px}.detail-sheet::backdrop{background:#0c1e3666}.search-result{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);background:white;padding:13px;border-radius:8px;margin-top:8px;color:var(--ink)}.search-result:hover{background:#f5f8fd}.search-result span{flex:1}.search-result small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.focus-banner{display:flex;justify-content:space-between;align-items:center;background:#e9f0ff;border:1px solid #cadafb;color:#345fac;border-radius:8px;padding:10px 14px;margin-bottom:14px;font-size:14px}.focus-banner .btn{min-height:30px;padding:4px 8px;font-size:12px}.brandmark span{font-size:11px;vertical-align:top;color:#aef0dc}.activity .rowbutton{font-size:14px}.detail-grid strong{line-height:1.5}
@media(max-width:700px){.global-search{min-width:0;width:42px;height:42px;padding:0;font-size:0;text-align:center}.global-search:before{content:'⌕';font-size:23px}.global-search kbd{display:none}.mobile-dock{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:15;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);box-shadow:0 -8px 20px #152f4a12}.mobile-dock a{padding:12px 4px;text-align:center;text-decoration:none;font-size:12px;color:#536b88}.mobile-dock a:active,.mobile-dock a:focus{color:var(--blue)}footer{padding-bottom:80px}.detail-sheet{width:100%;border-radius:18px 18px 0 0;top:7vh;height:93vh;padding:22px}.pmo-float{bottom:70px}}

/* AI-MARK[PMO-UI:responsive-controls] 2026-09-15 - Production touch targets, focus states and domain views. */
:focus-visible{outline:3px solid #4a80ff;outline-offset:3px}
button,.btn,a,select,input,textarea{font:inherit}
button{cursor:pointer}
.project-card.large{display:flex;align-items:center;gap:18px;padding:24px;margin:0;background:#fff;border:1px solid var(--line);border-radius:10px}
.project-card.large>div{flex:1}
.project-card.large h2{margin:0 0 7px}
.project-card.large p{margin:0 0 8px}
.project-card.large small{color:var(--muted)}
.unread{background:#f3f7ff}
.unread strong{color:#173e8e}
.activity p{margin:5px 0;color:#526d90;font-size:14px}
.metric-action{appearance:none;color:inherit}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.detail-grid>span{display:inline-flex}
@media(max-width:700px){.project-card.large{align-items:flex-start;flex-wrap:wrap}.project-card.large .btn{width:100%}.detail-grid{grid-template-columns:1fr}}

/* AI-MARK[PMO-UI:production-icon-layout] 2026-09-15 - Consistent SVG affordances, control rhythm and responsive action alignment. */
.icon-svg{display:inline-block;width:1em;height:1em;flex:0 0 auto;vertical-align:-.16em;stroke:currentColor}
.icon .icon-svg{width:18px;height:18px;vertical-align:middle}
nav a i{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:currentColor}
nav a i .icon-svg{width:18px;height:18px}
.btn{gap:8px;min-height:42px;white-space:nowrap}
.btn .icon-svg{width:16px;height:16px}
.btn-label{line-height:1.25}
.global-search{display:inline-flex;align-items:center;gap:9px;min-height:40px;white-space:nowrap}
.global-search .icon-svg{width:17px;height:17px;color:#54739b}
.global-search .search-label{flex:1}
.global-search kbd{float:none;margin-left:auto}
.header-right{gap:12px;margin-left:auto}
.profile{flex:0 0 auto}
.metric-action{padding:19px 21px;font:inherit}
.metric-action .mlabel{align-items:center}
.metric-action .mlabel .icon-svg{width:16px;height:16px;color:var(--blue)}
.pagehead{align-items:flex-end}
.pagehead .actions{justify-content:flex-end;align-items:center;max-width:60%;row-gap:9px}
.pmo-float{display:inline-flex;align-items:center;gap:8px}
.pmo-float .icon-svg{width:17px;height:17px}
.agent-symbol .icon-svg{width:20px;height:20px}
.agent-intro .agent-symbol .icon-svg{width:25px;height:25px}
.checks .icon-svg{width:14px;height:14px;vertical-align:-.18em}
.mobile-dock a{display:flex;align-items:center;justify-content:center;gap:5px}
.mobile-dock .icon-svg{width:15px;height:15px}
@media(max-width:980px){.pagehead .actions{max-width:100%}}
@media(max-width:700px){
  .global-search{width:42px;min-width:42px;justify-content:center;padding:0;font-size:0}
  .global-search:before{content:none}
  .global-search .icon-svg{width:19px;height:19px}
  .global-search .search-label{display:none}
  .global-search kbd{display:none}
  .pagehead .actions{justify-content:flex-start;margin-top:16px;gap:8px}
  .pagehead .actions .btn{flex:0 0 auto}
  .pmo-float{right:15px;bottom:70px}
}
/* AI-MARK[PMO-UI:record-form-shell] 2026-09-15 - Keep long tab-specific forms usable while preserving the shared modal frame and hidden scrollbar treatment. */
dialog.dialog-standard:has(.record-form-shell) #dialogBody{padding:0;overflow:hidden}
dialog.dialog-standard:has(.record-form-shell) .dialog-content{padding:0;overflow:hidden}
.record-form-shell{max-height:90vh;overflow:auto;padding:34px 38px 32px;scrollbar-width:none;-ms-overflow-style:none}
.record-form-shell::-webkit-scrollbar{display:none;width:0;height:0}
.record-form-intro{display:flex;align-items:flex-start;gap:15px;padding:2px 48px 25px 0;border-bottom:1px solid #edf1f6}
.record-form-intro h2{margin:2px 0 6px}
.record-form .field-help{margin:-7px 0 2px;color:#8b9bae;font-size:11px;line-height:1.5}
.record-form .actions{margin:24px -38px -32px;padding:17px 38px 32px}
@media(max-width:700px){
  .record-form-shell{max-height:94vh;padding:25px 20px 22px}
  .record-form-intro{padding-right:42px}
  .record-form .actions{margin:20px -20px -22px;padding:14px 20px 22px}
}

/* AI-MARK[PMO-UI:local-email-auth] 2026-09-15 - Accessible local email OTP and pending-membership screens. */
.auth-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);gap:42px;align-items:start;max-width:1060px;margin:30px auto 60px}
.auth-intro{padding:35px 8px 0 0}
.auth-kicker{font-size:11px;font-weight:800;letter-spacing:.18em;color:#5e79a0}
.auth-intro h1{font-size:42px;margin:18px 0 12px;letter-spacing:-.045em}
.auth-intro>p{max-width:470px;color:#667a93;line-height:1.8;margin:0;font-size:16px}
.auth-principles{display:grid;gap:13px;margin-top:32px;color:#435a77;font-size:14px}
.auth-principles span{display:flex;align-items:center;gap:12px}
.auth-principles b{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e9f0ff;color:#356cef;font:700 11px ui-monospace,monospace}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;box-shadow:0 18px 50px #16365c0d}
.auth-switcher{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#f2f5f9;border-radius:9px;gap:4px;margin-bottom:28px}
.auth-tab{border:0;background:transparent;border-radius:7px;color:#70839b;padding:10px 12px;font-weight:700;font-size:14px}
.auth-tab.active{background:#fff;color:#244a89;box-shadow:0 2px 8px #19396312}
.auth-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px}
.auth-heading h2{font-size:22px;line-height:1.25;margin:0 0 6px}
.auth-heading p{margin:0;color:#7588a0;font-size:14px;line-height:1.65}
.auth-heading p strong{color:#304d73;overflow-wrap:anywhere}
.auth-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:11px;background:#eaf1ff;color:#356cef}
.auth-icon .icon-svg{width:21px;height:21px}
.auth-card label{margin-top:18px}
.auth-card label:first-of-type{margin-top:0}
.auth-card input{width:100%;margin-top:7px}
.auth-optional{font-size:12px;color:#8b9aae;margin-left:5px}
.auth-note,.auth-footnote{font-size:12px;line-height:1.7;color:#7a8ca1}
.auth-note{padding:11px 13px;border-left:3px solid #8fb0f4;background:#f5f8ff;color:#587092}
.auth-footnote{margin:20px 0 0}
.auth-demo{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:14px 15px;border:1px solid #d8e4f5;border-radius:10px;background:#f7faff}
.auth-demo strong{display:block;color:#2c4f84;font-size:13px}
.auth-demo span{display:block;margin-top:4px;color:#7b8da4;font-size:12px;line-height:1.5}
.auth-demo-copy{flex:1;min-width:190px}
.auth-demo-select{display:block!important;flex:0 0 175px;margin:0!important;color:#607795!important;font-size:12px!important}
.auth-demo-select select{width:100%;margin-top:5px;padding:8px 10px;font-size:12px}
.auth-demo .btn{flex:0 0 auto;min-height:38px}
.auth-submit{width:100%;margin-top:20px}
.auth-error{padding:11px 13px;border-radius:8px;background:#fff0f0;color:#a12f38;font-size:13px;margin:0 0 15px}
.auth-back{margin:-6px 0 20px}
.auth-back .textlink{display:inline-flex;align-items:center;gap:6px}
.auth-back .icon-svg{width:15px;height:15px}
.auth-otp-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
.auth-otp-actions .btn{min-height:38px;font-size:13px}
.auth-mail-preview{margin-top:17px;padding:14px;border:1px solid #b9d8ca;border-radius:9px;background:#f2fbf6;color:#22634d}
.auth-mail-preview p{margin:6px 0 0;font:13px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}
.auth-pending{padding:18px;border:1px solid #d7e2f6;border-radius:10px;background:#f5f8ff;color:#4d6586;font-size:14px;line-height:1.7}
.auth-pending strong{color:#274f93}
.auth-pending p{margin:7px 0 0}
.auth-pending dl{display:grid;grid-template-columns:100px 1fr;gap:5px 12px;margin:17px 0 0;font-size:13px}
.auth-pending dt{color:#8494a8}.auth-pending dd{margin:0;color:#3e587a;font-weight:600}
#profile.profile{border:0;cursor:pointer}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr;gap:22px;margin-top:12px}.auth-intro{padding:0}.auth-intro h1{font-size:34px}.auth-principles{margin-top:20px;grid-template-columns:repeat(3,1fr);gap:8px}.auth-principles span{display:block;font-size:12px}.auth-principles b{margin-bottom:7px}}
@media(max-width:520px){.auth-card{padding:20px}.auth-principles{grid-template-columns:1fr}.auth-principles span{display:flex;align-items:center}.auth-principles b{margin:0}.auth-heading h2{font-size:19px}}
@media(max-width:520px){.auth-demo{align-items:stretch;flex-direction:column}.auth-demo .btn,.auth-demo-select{width:100%}.auth-demo-select{flex-basis:auto}}

/* AI-MARK[PMO-UI:auth-gate] 2026-09-15 - Keep the main workspace inaccessible until an authenticated, scoped session is ready. */
body.auth-boot,
body.auth-locked{background:#eef3f8}
body.auth-boot #sidebar,
body.auth-locked #sidebar,
body.auth-boot .main>header,
body.auth-locked .main>header,
body.auth-boot .main>.mobile-dock,
body.auth-locked .main>.mobile-dock,
body.auth-boot .main>footer,
body.auth-locked .main>footer,
body.auth-boot #pmoFloating,
body.auth-locked #pmoFloating{display:none!important}
body.auth-boot .main,
body.auth-locked .main{margin-left:0}
body.auth-boot .main>main,
body.auth-locked .main>main{min-height:100vh;max-width:none;padding:clamp(24px,5vw,72px);display:grid;align-items:center}
body.auth-boot .main>main>#content,
body.auth-locked .main>main>#content{width:100%}
body.auth-boot .auth-layout,
body.auth-locked .auth-layout{margin:0 auto}

/* AI-MARK[PMO-UI:auth-refresh] 2026-09-15 - Calm product-facing sign-in surface with non-technical copy and balanced responsive layout. */
body.auth-boot,
body.auth-locked{background:radial-gradient(circle at 8% 16%,#bcd4f266 0 12%,transparent 34%),radial-gradient(circle at 91% 87%,#bfeee033 0 11%,transparent 28%),linear-gradient(135deg,#f8fbff 0%,#eef4fb 56%,#fbfdff 100%)}
body.auth-boot .main>main,
body.auth-locked .main>main{position:relative;overflow:hidden;padding:clamp(28px,6vh,72px) clamp(20px,5vw,82px)}
body.auth-boot .main>main::before,
body.auth-locked .main>main::before{content:'';position:absolute;width:420px;height:420px;right:-180px;top:-190px;border:1px solid #fff9;border-radius:50%;box-shadow:0 0 0 34px #ffffff26,0 0 0 68px #ffffff1c;pointer-events:none}
body.auth-boot .main>main::after,
body.auth-locked .main>main::after{content:'';position:absolute;width:190px;height:190px;left:-90px;bottom:-80px;background:#d8e8ff99;border-radius:50%;filter:blur(2px);pointer-events:none}
.auth-layout{position:relative;z-index:1;width:min(1120px,100%);grid-template-columns:minmax(0,1fr) minmax(420px,500px);gap:clamp(40px,7vw,100px);align-items:center;margin:0 auto}
.auth-intro{max-width:550px;padding:0 0 10px}
.auth-brand{display:flex;align-items:center;gap:12px;color:#1c3553;margin-bottom:clamp(38px,8vh,82px)}
.auth-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#477cf2,#3158bd);box-shadow:0 9px 20px #3767d533;color:#c5ffe9;font-size:13px;font-weight:800;letter-spacing:.03em}
.auth-brand strong{display:block;font-size:15px;letter-spacing:.01em}
.auth-brand small{display:block;margin-top:2px;color:#8092aa;font-size:10px;font-weight:800;letter-spacing:.18em}
.auth-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #d5e2f4;border-radius:999px;background:#ffffffb8;color:#5e79a0;font-size:10px;font-weight:800;letter-spacing:.15em}
.auth-intro h1{max-width:540px;margin:20px 0 17px;color:#172e4a;font-size:clamp(44px,5.4vw,70px);line-height:1.04;letter-spacing:-.065em}
.auth-intro>p{max-width:500px;margin:0;color:#647991;font-size:16px;line-height:1.8}
.auth-principles{gap:12px;margin-top:36px;color:#435a77;font-size:14px}
.auth-principles>span{display:flex;align-items:center;gap:12px}
.auth-principles>span>span{display:block;margin:0;color:#435a77;font-size:14px}
.auth-principles b{width:31px;height:31px;border:1px solid #d6e4fb;background:#eef4ff;color:#356cef}
.auth-card{padding:32px;border:1px solid #fff;border-radius:22px;background:#fffffff2;box-shadow:0 24px 70px #18365c14,0 2px 8px #18365c08}
.auth-switcher{height:50px;align-items:center;margin-bottom:32px;padding:4px;border:1px solid #e9eef5;background:#f3f6fa;border-radius:11px}
.auth-tab{height:40px;border-radius:8px;color:#7b8da3;font-size:14px;transition:color .15s,box-shadow .15s,background .15s}
.auth-tab.active{color:#25518e;box-shadow:0 3px 12px #244a8912}
.auth-heading{gap:13px;margin-bottom:24px}
.auth-heading h2{color:#172e4a;font-size:24px;letter-spacing:-.03em}
.auth-heading p{color:#71859e;font-size:14px}
.auth-icon{width:44px;height:44px;border:1px solid #dfeaff;background:#edf3ff;color:#3d75e7}
.auth-card label{margin-top:19px;color:#526b87;font-size:13px;font-weight:700}
.auth-card input{height:50px;margin-top:8px;border-color:#dce6f1;border-radius:10px;color:#213c5d;background:#fff;transition:border-color .15s,box-shadow .15s}
.auth-card input::placeholder{color:#9aa9ba}
.auth-card input:focus{border-color:#5f8cf1;box-shadow:0 0 0 4px #5f8cf11c;outline:0}
.auth-submit{min-height:50px;margin-top:22px;border-radius:10px;font-size:15px;letter-spacing:.005em}
.auth-demo{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:13px;margin-top:20px;padding:17px;border:1px solid #d9e5f6;border-radius:14px;background:linear-gradient(135deg,#f7faff,#f3f8ff)}
.auth-demo-copy{grid-column:1/-1;min-width:0}
.auth-demo-title{display:flex;align-items:center;gap:7px;color:#2c528b}
.auth-demo-title .icon-svg{width:16px;height:16px;color:#4c7ff0}
.auth-demo-title strong{display:block;color:#2c528b;font-size:14px}
.auth-demo-title .auth-demo-badge{display:inline-flex;margin:0 0 0 3px;padding:3px 7px;border:1px solid #d8e6fc;border-radius:999px;background:#fff;color:#7690b0;font-size:10px;line-height:1;font-weight:700}
.auth-demo-copy>span:last-child{display:block;margin-top:5px;color:#8295ad;font-size:12px;line-height:1.5}
.auth-demo-select{grid-column:1;min-width:0!important;margin:0!important;color:#637b99!important;font-size:12px!important}
.auth-demo-select select{height:44px;margin-top:6px;padding:8px 10px;border-color:#d4e1f2;border-radius:9px;background:#fff;color:#3c5879;font-size:13px}
.auth-demo .btn{grid-column:2;align-self:end;width:100%;min-height:44px;border-color:#d3e0f1;border-radius:9px;color:#335987;background:#fff;font-size:13px}
.auth-demo .btn:hover{border-color:#9bbaf0;background:#fafdff;color:#245ab0}
.auth-footnote{margin:18px 0 0;color:#8a9aac;font-size:12px}
.auth-error{margin:0 0 15px;border:1px solid #ffd7d7;border-radius:10px;background:#fff4f4;color:#a8424b;font-size:13px}
.auth-back{margin:-7px 0 22px}
.auth-otp-actions{gap:10px;margin-top:14px}
.auth-otp-actions .btn{min-height:42px;border-radius:9px}
.auth-otp-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:8px}
.auth-otp-input-row input{margin-top:0!important;text-align:center;font:800 23px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.24em;padding-left:.24em}
.auth-otp-copy{min-height:50px;padding:0 15px;border:1px solid #cbdcf5;border-radius:10px;background:#f5f8ff;color:#315eaa;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.auth-otp-copy:hover{border-color:#91b5ef;background:#edf4ff;color:#2457a8}
.auth-otp-copy.is-copied{border-color:#a9dbc4;background:#effbf5;color:#1d7955}
.auth-otp-copy:disabled{cursor:wait;opacity:.8}
.auth-otp-note{margin:9px 0 0;color:#8193a8;font-size:12px;line-height:1.5}
.auth-otp-note strong{color:#426ba8}
.auth-otp-copy-status{display:block;min-height:16px;margin-top:5px;color:#23825d;font-size:11px;text-align:right}
.auth-mail-preview{margin-top:17px;border-color:#c5e4d3;border-radius:10px;background:#f3fbf6;color:#28664f}
.auth-mail-preview p{font:13px/1.6 Arial,Helvetica,sans-serif;color:#467461}
.auth-pending{border-color:#d5e3f7;border-radius:12px;background:#f6f9ff;color:#516b8b}
.auth-pending strong{color:#2b5898}
.auth-pending dl{grid-template-columns:90px 1fr}
#profile.profile{border:0;cursor:pointer}
@media(max-width:900px){.auth-layout{width:min(620px,100%);grid-template-columns:1fr;gap:30px}.auth-intro{max-width:620px;padding:0}.auth-brand{margin-bottom:32px}.auth-intro h1{font-size:clamp(42px,8vw,60px)}.auth-principles{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}.auth-principles>span{display:block}.auth-principles>span>span{margin-top:7px}}
@media(max-width:560px){body.auth-boot .main>main,body.auth-locked .main>main{padding:22px 16px 38px}.auth-card{padding:22px 18px;border-radius:18px}.auth-switcher{margin-bottom:26px}.auth-intro h1{font-size:42px}.auth-intro>p{font-size:15px}.auth-principles{grid-template-columns:1fr;gap:10px;margin-top:23px}.auth-principles>span{display:flex}.auth-principles>span>span{margin-top:0}.auth-demo{grid-template-columns:1fr}.auth-demo-select,.auth-demo .btn{grid-column:1}.auth-demo .btn{margin-top:1px}.auth-heading h2{font-size:21px}}
@media(max-width:430px){.auth-otp-input-row{grid-template-columns:1fr}.auth-otp-copy{width:100%}.auth-otp-copy-status{text-align:left}}

/* AI-MARK[PMO-UI:navigation-rail] 2026-09-15 - Hover/focus expandable sidebar and consistent control rhythm for desktop and touch layouts. */
:root{--control-height:44px;--control-radius:9px;--control-gap:10px;--control-pad:14px}
#sidebar{scrollbar-width:none;-ms-overflow-style:none}
#sidebar::-webkit-scrollbar{width:0;height:0;display:none}
button,.btn,input,select,textarea{line-height:1.35}
.btn{min-height:var(--control-height);padding:10px var(--control-pad);border-radius:var(--control-radius);gap:var(--control-gap);letter-spacing:-.005em}
.btn .icon-svg{width:16px;height:16px;flex:0 0 auto}
.btn:active{transform:translateY(1px)}
.btn.primary:hover{background:#2d61dc;border-color:#2d61dc}
.actions,.filters,.pillrow,.auth-otp-actions{gap:var(--control-gap)}
.textlink{display:inline-flex;align-items:center;gap:6px;min-height:32px;line-height:1.3}
.global-search{min-height:var(--control-height);border-radius:var(--control-radius);line-height:1.2}
.icon{width:42px;height:42px;border-radius:var(--control-radius)}
.profile{width:42px;height:42px}
nav a{min-height:42px;height:auto;line-height:1.3;gap:11px}
nav a .nav-text{min-width:0;line-height:1.3}
nav a i{flex:0 0 20px}

@media(min-width:981px){
  #sidebar{width:92px;padding:22px 14px;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;box-shadow:2px 0 0 #0b1b2f0a;transition:width .2s ease,box-shadow .2s ease}
  #sidebar::-webkit-scrollbar{width:0;height:0;display:none}
  #sidebar:hover,#sidebar:focus-within{width:276px;box-shadow:14px 0 32px #0b1b2f24}
  .main{margin-left:92px;transition:margin-left .2s ease}
  #sidebar:hover~.main,#sidebar:focus-within~.main{margin-left:276px}
  #sidebar .brand{justify-content:center;padding:0;gap:12px;min-height:38px;white-space:nowrap}
  #sidebar .brand>span:last-child{max-width:0;overflow:hidden;opacity:0;visibility:hidden;transition:max-width .16s ease,opacity .12s ease}
  #sidebar:hover .brand,#sidebar:focus-within .brand{justify-content:flex-start;padding:0 10px}
  #sidebar:hover .brand>span:last-child,#sidebar:focus-within .brand>span:last-child{max-width:205px;opacity:1;visibility:visible}
  #sidebar .project-card{justify-content:center;min-height:54px;margin:28px 0 20px;padding:10px 8px;white-space:nowrap;overflow:hidden}
  #sidebar .project-card>div{max-width:0;overflow:hidden;opacity:0;visibility:hidden;transition:max-width .16s ease,opacity .12s ease}
  #sidebar:hover .project-card,#sidebar:focus-within .project-card{justify-content:flex-start;padding:14px 10px}
  #sidebar:hover .project-card>div,#sidebar:focus-within .project-card>div{max-width:190px;opacity:1;visibility:visible}
  #sidebar nav{gap:4px}
  #sidebar .nav-group{max-height:0;overflow:hidden;opacity:0;padding:0;margin:0;transition:max-height .18s ease,opacity .12s ease,padding .18s ease}
  #sidebar:hover .nav-group,#sidebar:focus-within .nav-group{max-height:42px;padding:16px 12px 5px;opacity:1}
  #sidebar nav a{justify-content:center;padding:0 11px;white-space:nowrap}
  #sidebar:hover nav a,#sidebar:focus-within nav a{justify-content:flex-start;padding:0 12px}
  #sidebar nav a .nav-text{max-width:0;overflow:hidden;opacity:0;white-space:nowrap;transition:max-width .16s ease,opacity .12s ease}
  #sidebar:hover nav a .nav-text,#sidebar:focus-within nav a .nav-text{max-width:185px;opacity:1}
  #sidebar nav a b{display:none}
  #sidebar:hover nav a b,#sidebar:focus-within nav a b{display:block}
  #sidebar .side-bottom{padding:24px 0 0}
  #sidebar .partner{justify-content:center;gap:0;white-space:nowrap}
  #sidebar .partner span{display:none}
  #sidebar .partner span:first-child{display:block}
  #sidebar .partner i,#sidebar .side-bottom p,#sidebar .prototype{display:none}
  #sidebar:hover .partner,#sidebar:focus-within .partner{justify-content:flex-start;gap:18px}
  #sidebar:hover .partner span,#sidebar:focus-within .partner span{display:block}
  #sidebar:hover .partner i,#sidebar:focus-within .partner i{display:block}
  #sidebar:hover .side-bottom p,#sidebar:focus-within .side-bottom p{display:block}
  #sidebar:hover .prototype,#sidebar:focus-within .prototype{display:flex}
}

@media(max-width:980px){
  #sidebar{width:258px}
  nav a{min-height:44px}
  .main{margin-left:0}
}

@media(max-width:700px){
  .btn{min-height:46px;padding-inline:13px}
  .icon,.profile{width:44px;height:44px}
  .actions{row-gap:9px}
}

@media(prefers-reduced-motion:reduce){#sidebar{transition:none!important}}

/* AI-MARK[PMO-UI:header-search-profile] 2026-09-15 - Inline project search suggestions and compact account menu. */
.global-search-wrap{position:relative;display:flex;align-items:center;gap:8px;width:min(360px,32vw);min-width:270px;height:44px;padding:0 11px;border:1px solid #dce5ef;border-radius:var(--control-radius);background:#f7f9fc;color:#66809f;transition:border-color .15s,background .15s,box-shadow .15s}
.global-search-wrap:focus-within{border-color:#7da1ef;background:#fff;box-shadow:0 0 0 4px #5f8cf11c}
.global-search-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;color:#54739b}
.global-search-icon .icon-svg{width:17px;height:17px}
.global-search-input{width:100%;min-width:0;height:40px!important;min-height:0!important;margin:0!important;padding:0 2px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#2d4d72;font-size:13px}
.global-search-input::placeholder{color:#7890ab}
.global-search-wrap kbd{flex:0 0 auto;margin:0;color:#8093ac;font-size:11px;background:#fff;border:1px solid #dbe4ef;border-radius:4px;padding:2px 5px;line-height:1.2}
.global-search-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:min(520px,calc(100vw - 32px));max-height:420px;overflow:auto;padding:7px;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 18px 42px #15365c1c;z-index:120}
.global-search-dropdown[hidden],.profile-menu[hidden]{display:none}
.search-suggestion{display:flex;align-items:center;width:100%;gap:10px;padding:10px 11px;border:0;border-radius:9px;background:#fff;color:#2c4b6f;text-align:left;cursor:pointer}
.search-suggestion:hover,.search-suggestion:focus-visible{background:#f3f7fd;outline:0}
.search-suggestion-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:#edf3ff;color:#4779e8}
.search-suggestion-icon .icon-svg{width:15px;height:15px}
.search-suggestion-main{min-width:0;flex:1}
.search-suggestion-main strong{display:block;overflow:hidden;color:#264669;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.search-suggestion-main small{display:block;overflow:hidden;margin-top:3px;color:#8395aa;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.search-suggestion-arrow{display:inline-flex;color:#7091c5}
.search-suggestion-arrow .icon-svg{width:15px;height:15px}
.search-suggestion-status{display:inline-flex;flex:0 0 auto}
.search-suggestion-status .tag{font-size:10px;padding:3px 7px}
.search-empty{padding:17px 13px;color:#8192a7;font-size:13px;text-align:center}
.profile-wrap{position:relative;display:flex;align-items:center}
.profile-menu{position:absolute;top:calc(100% + 9px);right:0;width:180px;padding:6px;border:1px solid #dce5ef;border-radius:12px;background:#fff;box-shadow:0 18px 42px #15365c1c;z-index:120}
.profile-menu button{display:flex;align-items:center;width:100%;min-height:40px;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#365473;font-size:13px;text-align:left}
.profile-menu button:hover,.profile-menu button:focus-visible{background:#f3f7fd;color:#244f8f;outline:0}
.profile-menu button:last-child{color:#a6474d}
.profile-sheet-avatar{display:grid;place-items:center;width:52px;height:52px;margin-bottom:15px;border-radius:15px;background:linear-gradient(145deg,#477cf2,#3158bd);color:#d5ffef;font-weight:800;letter-spacing:.04em}
.profile-details{display:grid;gap:11px;margin:22px 0 0;padding:16px;border-radius:10px;background:#f5f8fc}
.profile-details div{display:flex;justify-content:space-between;gap:18px}
.profile-details dt{color:#8092a8;font-size:12px}
.profile-details dd{margin:0;color:#2c4c70;font-size:13px;font-weight:700;text-align:right}
@media(max-width:700px){.global-search-wrap{width:44px;min-width:44px;height:44px;padding:0;justify-content:center}.global-search-input,.global-search-wrap kbd{display:none}.global-search-icon .icon-svg{width:19px;height:19px}.global-search-dropdown{right:-54px;width:min(360px,calc(100vw - 32px))}.profile-menu{right:-4px}}

/* AI-MARK[PMO-UI:task-form] 2026-09-15 - Guided Vietnamese task creation and editing flow. */
dialog:has(.task-form-shell){width:min(900px,calc(100% - 32px));max-height:92vh;padding:0;overflow:hidden;border-radius:20px}
dialog:has(.task-form-shell) #dialogBody{position:relative;padding:0;overflow:hidden}
dialog:has(.task-form-shell) .close{position:absolute;top:19px;right:20px;z-index:3;width:36px;height:36px;border:1px solid #e0e8f3;border-radius:10px;background:#f6f9fd;color:#627d9e;font-size:20px;line-height:1}
dialog:has(.task-form-shell) .close:hover{background:#eaf1fb;color:#2d5daa}
.task-form-shell{max-height:92vh;overflow:auto;padding:34px 42px 28px;background:#fff}
.task-form-intro{display:flex;align-items:flex-start;gap:15px;padding:2px 48px 25px 0;border-bottom:1px solid #edf1f6}
.task-form-intro h2{margin:2px 0 6px;color:#172e4a;font-size:26px;letter-spacing:-.035em}
.task-form-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #dbe7fb;border-radius:13px;background:#eef4ff;color:#3c72e6}
.task-form-icon .icon-svg{width:22px;height:22px}
.task-form-section{padding:25px 0;border:0;border-bottom:1px solid #edf1f6}
.task-form-section-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.task-form-section-head h3{margin:0;color:#263f5e;font-size:16px;letter-spacing:-.015em}
.task-form-section-head p{margin:4px 0 0;color:#8292a7;font-size:12px;line-height:1.55}
.form-step{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #d7e5fd;border-radius:9px;background:#f1f6ff;color:#4779e8;font-size:11px;font-weight:800;letter-spacing:.04em}
.task-form label{margin:0 0 16px;color:#4f6885;font-size:13px;font-weight:700}
.task-form label input,.task-form label select,.task-form label textarea{margin-top:7px}
.task-form input,.task-form select,.task-form textarea{border-color:#d9e4f0;border-radius:10px;background:#fbfcfe;color:#294766;transition:border-color .15s,box-shadow .15s,background .15s}
.task-form input,.task-form select{min-height:46px}
.task-form textarea{min-height:112px;resize:vertical;line-height:1.55}
.task-form input:focus,.task-form select:focus,.task-form textarea:focus{border-color:#6e98ed;background:#fff;box-shadow:0 0 0 4px #5f8cf11a;outline:0}
.task-form input::placeholder,.task-form textarea::placeholder{color:#a0adbd}
.task-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.task-form-grid>label{min-width:0}
.task-form .field-help{margin:-7px 0 2px;color:#8b9bae;font-size:11px;line-height:1.5}
.task-form .error{min-height:20px;margin:16px 0 0;font-size:13px}
.task-form-advanced{padding:0}
.task-form-advanced summary{display:flex;align-items:center;gap:12px;padding:21px 0;list-style:none;cursor:pointer;color:#35516f}
.task-form-advanced summary::-webkit-details-marker{display:none}
.task-form-advanced summary>span:nth-child(2){display:grid;gap:3px;flex:1}
.task-form-advanced summary strong{font-size:14px}
.task-form-advanced summary small{color:#8b9bae;font-size:11px;font-weight:400}
.details-chevron{color:#6e87a5;font-size:20px;transition:transform .15s}
.task-form-advanced[open] .details-chevron{transform:rotate(180deg)}
.task-form-advanced-body{padding:0 0 9px 42px}
.task-form-advanced-body select[multiple]{height:auto;min-height:112px;padding:8px}
.task-blocked{display:flex!important;align-items:center;gap:10px;margin:16px 0 4px!important;color:#a14d52!important;font-weight:600!important}
.task-blocked input{width:17px;height:17px;min-height:0;margin:0!important;accent-color:#cf5b62}
.task-form-actions{position:sticky;bottom:-28px;display:flex;justify-content:flex-end;gap:10px;margin:22px -42px -28px;padding:17px 42px 28px;border-top:1px solid #e9eef5;background:linear-gradient(180deg,#fffffff2 0%,#fff 35%)}
.task-form-actions .btn{min-width:126px}
@media(max-width:700px){dialog:has(.task-form-shell){width:calc(100% - 20px);max-height:94vh;border-radius:16px}.task-form-shell{padding:25px 20px 22px}.task-form-intro{padding-right:42px}.task-form-intro h2{font-size:22px}.task-form-grid{grid-template-columns:1fr}.task-form-advanced-body{padding-left:0}.task-form-actions{bottom:-22px;margin:20px -20px -22px;padding:14px 20px 22px}.task-form-actions .btn{flex:1;min-width:0}.task-form-section{padding:21px 0}}

/* AI-MARK[PMO-UI:enterprise-inbox] 2026-09-15 - Group chat inbox, member actions and balanced conversation layout. */
.chat-page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.chat-page-actions .btn,.chat-conversation-actions .btn{min-height:42px}
.chat-page-actions .icon-svg,.chat-conversation-actions .icon-svg{width:16px;height:16px}
.enterprise-chat-layout{display:grid;grid-template-columns:304px minmax(0,1fr);min-height:650px;background:#fff;border:1px solid #dfe7f1;border-radius:16px;overflow:hidden;box-shadow:0 14px 36px #17365c0b}
.chat-inbox{display:flex;flex-direction:column;min-width:0;max-height:calc(100vh - 260px);overflow:auto;border-right:1px solid #e5ebf3;background:#f8fafd}
.chat-inbox-head{display:flex;align-items:center;justify-content:space-between;padding:22px 18px 14px}
.chat-inbox-head h2{color:#203b5d;font-size:18px}
.chat-inbox-head small{display:block;margin-top:3px;color:#8a9aae;font-size:11px}
.chat-new-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d5e3f6;border-radius:9px;background:#fff;color:#3f74da}
.chat-new-button:hover{border-color:#9bbaf0;background:#f3f7ff}
.chat-new-button .icon-svg{width:17px;height:17px}
.chat-inbox-search{display:flex;align-items:center;gap:8px;margin:0 13px 10px;padding:0 11px;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#7890ad}
.chat-inbox-search:focus-within{border-color:#7da1ef;box-shadow:0 0 0 4px #5f8cf11c}
.chat-inbox-search .icon-svg{width:15px;height:15px;flex:0 0 auto}
.chat-inbox-search input{width:100%;height:39px;min-height:0;margin:0;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#2d4d72;font-size:12px}
.chat-inbox-search input::placeholder{color:#9aa9ba}
.chat-inbox-list{padding:8px 9px 3px}
.chat-inbox-label{padding:9px 9px 7px;color:#9aa6b7;font-size:10px;font-weight:800;letter-spacing:.13em}
.chat-inbox-row{display:flex;align-items:center;width:100%;gap:9px;min-height:58px;padding:9px;border:0;border-radius:10px;background:transparent;color:#3b5775;text-align:left}
.chat-inbox-row:hover{background:#eef4fc}
.chat-inbox-row.selected{background:#e7efff;color:#2458b0;box-shadow:inset 3px 0 #4778e8}
.chat-list-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#e6eefb;color:#416da4;font-size:11px;font-weight:800}
.chat-list-avatar .icon-svg{width:16px;height:16px}
.chat-list-avatar.group-avatar{background:#e8f7f2;color:#22826d}
.chat-list-avatar.channel-avatar{background:#eef2f8;color:#6c80a0}
.chat-inbox-row-copy{display:block;min-width:0;flex:1}
.chat-inbox-row-copy strong{display:block;overflow:hidden;color:inherit;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.chat-inbox-row-copy small{display:block;overflow:hidden;margin-top:3px;color:#8495a9;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.chat-inbox-row time{align-self:flex-start;padding-top:2px;color:#9ba9b9;font-size:9px;white-space:nowrap}
.chat-list-empty{margin:4px 9px 12px;color:#9aa7b8;font-size:11px;line-height:1.5}
.chat-inbox-note{margin:auto 17px 18px;padding-top:15px;border-top:1px solid #e3eaf2;color:#98a5b5;font-size:10px;line-height:1.55}
.chat-conversation{display:flex;flex-direction:column;min-width:0;background:#fff}
.chat-conversation-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:82px;padding:17px 24px;border-bottom:1px solid #e7edf4;background:#fff}
.chat-conversation-identity{display:flex;align-items:center;gap:12px;min-width:0}
.chat-conversation-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#e8effd;color:#3d70d3;font-size:12px;font-weight:800}
.chat-conversation-avatar.group-avatar{background:#e8f7f2;color:#22826d}
.chat-conversation-avatar .icon-svg{width:19px;height:19px}
.chat-conversation-identity h2{overflow:hidden;color:#203b5d;font-size:18px;text-overflow:ellipsis;white-space:nowrap}
.chat-conversation-identity p{display:flex;align-items:center;gap:6px;margin:3px 0 0;color:#8b9bae;font-size:11px}
.chat-online-dot{width:6px;height:6px;border-radius:50%;background:#53b695;box-shadow:0 0 0 3px #53b6951e}
.chat-conversation-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.chat-header-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #dbe5f1;border-radius:8px;background:#fff;color:#416283;font-size:11px;font-weight:700}
.chat-header-button:hover{border-color:#9bbaf0;background:#f7faff;color:#245ab0}
.chat-header-button .icon-svg{width:15px;height:15px}
.chat-messages{display:flex;flex:1;flex-direction:column;gap:14px;min-height:400px;max-height:calc(100vh - 465px);overflow:auto;padding:26px 28px;background:linear-gradient(180deg,#fbfcfe 0%,#fff 100%)}
.chat-message{display:flex;align-items:flex-start;gap:9px;max-width:min(760px,88%)}
.chat-message.mine{align-self:flex-end;flex-direction:row-reverse}
.chat-message-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#e8eef8;color:#53759b;font-size:10px;font-weight:800}
.chat-message-content{min-width:0}
.chat-message-meta{display:flex;align-items:center;gap:8px;margin:0 4px 4px;color:#8797aa;font-size:10px}
.chat-message.mine .chat-message-meta{justify-content:flex-end}
.chat-message-meta strong{color:#4f6885;font-size:11px}
.chat-bubble{padding:10px 13px;border:1px solid #e0e8f2;border-radius:4px 13px 13px 13px;background:#fff;color:#365371;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 3px 12px #18365c08}
.chat-message.mine .chat-bubble{border-color:#c7d9fb;border-radius:13px 4px 13px 13px;background:#eaf2ff;color:#254e88}
.chat-message .message-tools{margin-top:5px}
.chat-system-message{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;padding:4px 0;color:#8c9aab;font-size:10px}
.chat-system-message .icon-svg{width:13px;height:13px;color:#64a992}
.chat-system-message p{margin:0}
.chat-system-message time{color:#a2adba}
.chat-composer{padding:16px 24px 18px;border-top:1px solid #e5ebf3;background:#fff}
.chat-composer textarea{width:100%;min-height:70px;max-height:150px;padding:12px 13px;border:1px solid #d9e4f0;border-radius:11px;background:#fbfcfe;resize:vertical;color:#294766;font-size:13px;line-height:1.55}
.chat-composer textarea:focus{border-color:#6e98ed;background:#fff;box-shadow:0 0 0 4px #5f8cf11a;outline:0}
.chat-composer textarea::placeholder{color:#a0adbd}
.chat-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
.chat-composer-footer>span{color:#9aa8b8;font-size:10px}
.chat-composer-footer .btn{min-height:38px;padding:8px 13px}
.chat-composer-footer .icon-svg{width:15px;height:15px}
.chat-composer .error{min-height:0;margin:6px 0 0;font-size:12px}
.chat-dialog{padding:5px 2px 0}
.chat-dialog-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px;padding-right:35px}
.chat-dialog-heading h2{margin:2px 0 5px;color:#203b5d;font-size:22px}
.chat-dialog-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #dbe7fb;border-radius:12px;background:#eef4ff;color:#3d72df}
.chat-dialog-icon .icon-svg{width:20px;height:20px}
.chat-dialog label{margin-top:16px}
.chat-dialog select[multiple]{height:auto;min-height:132px;padding:8px}
.chat-dialog-help{margin:8px 0;color:#8b9bae;font-size:11px;line-height:1.55}
.chat-dialog .actions{justify-content:flex-end;margin-top:22px}
@media(max-width:980px){.enterprise-chat-layout{grid-template-columns:1fr}.chat-inbox{max-height:360px;border-right:0;border-bottom:1px solid #e5ebf3}.chat-inbox-list{display:none}.chat-inbox-list:first-of-type{display:block}.chat-inbox-note{display:none}.chat-messages{max-height:none}}
@media(max-width:700px){.chat-page-actions .btn{flex:1}.enterprise-chat-layout{min-height:0;border-radius:12px}.chat-conversation-header{align-items:flex-start;flex-direction:column;padding:15px}.chat-conversation-actions{width:100%}.chat-header-button{flex:1;justify-content:center}.chat-messages{min-height:360px;padding:18px 13px}.chat-message{max-width:94%}.chat-composer{padding:12px 13px 14px}.chat-composer-footer{align-items:flex-end;flex-direction:column}.chat-composer-footer>span{align-self:flex-start}.chat-composer-footer .btn{width:100%}}

/* AI-MARK[PMO-UI:dialog-system] 2026-09-15 - One accessible visual system for every modal and detail surface. */
dialog.dialog-standard{width:min(760px,calc(100% - 32px));max-height:90vh;padding:0;overflow:hidden;border:1px solid #dbe5f0;border-radius:20px;background:#fff;box-shadow:0 28px 90px #1022383b}
dialog.dialog-standard::backdrop{background:#0c1e366f;backdrop-filter:blur(5px)}
dialog.dialog-standard #dialogBody{position:relative;max-height:90vh;overflow:hidden;padding:0}
dialog.dialog-standard .dialog-content{max-height:90vh;overflow:auto;padding:34px 38px 32px;scrollbar-width:thin;scrollbar-color:#b9c5d3 transparent}
dialog.dialog-standard .dialog-content::-webkit-scrollbar{width:8px}
dialog.dialog-standard .dialog-content::-webkit-scrollbar-track{background:transparent}
dialog.dialog-standard .dialog-content::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:99px;background:#b9c5d3}
dialog.dialog-standard .close,dialog.detail-sheet .close{position:absolute;top:18px;right:20px;z-index:4;display:grid;place-items:center;width:36px;height:36px;margin:0;border:1px solid #dfe8f3;border-radius:10px;background:#f5f8fd;color:#647f9f;font-size:20px;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,color .15s,transform .15s}
dialog.dialog-standard .close:hover,dialog.detail-sheet .close:hover{border-color:#b9cff2;background:#eaf1fb;color:#2d5daa;transform:translateY(-1px)}
dialog.dialog-standard h2{margin:0 45px 8px;color:#172e4a;font-size:25px;letter-spacing:-.035em;line-height:1.25}
dialog.dialog-standard h2{ text-align:center }
dialog.dialog-standard .chat-dialog-heading{justify-content:center;text-align:center}
dialog.dialog-standard .chat-dialog-heading h2{margin:2px 0 5px}
dialog.dialog-standard .chat-dialog-heading .sub{text-align:center}
dialog.dialog-standard .profile-sheet{text-align:center}
dialog.dialog-standard .profile-sheet-avatar{margin-left:auto;margin-right:auto}
dialog.dialog-standard .profile-details{text-align:left}
dialog.dialog-standard h3{color:#2a4667}
dialog.dialog-standard form{margin-top:20px}
dialog.dialog-standard form label{margin:16px 0 6px;color:#516b87;font-size:13px;font-weight:700;line-height:1.35}
dialog.dialog-standard form label input,dialog.dialog-standard form label select,dialog.dialog-standard form label textarea{margin-top:7px}
dialog.dialog-standard input,dialog.dialog-standard select,dialog.dialog-standard textarea{border-color:#d9e4f0;border-radius:10px;background:#fbfcfe;color:#294766;transition:border-color .15s,box-shadow .15s,background .15s}
dialog.dialog-standard input:focus,dialog.dialog-standard select:focus,dialog.dialog-standard textarea:focus{border-color:#6e98ed;background:#fff;box-shadow:0 0 0 4px #5f8cf11a;outline:0}
dialog.dialog-standard input::placeholder,dialog.dialog-standard textarea::placeholder{color:#a0adbd}
dialog.dialog-standard form>button.btn{margin-top:20px}
dialog.dialog-standard .actions{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:-32px;margin:24px -38px -32px;padding:17px 38px 32px;border-top:1px solid #e9eef5;background:linear-gradient(180deg,#fffffff2 0%,#fff 35%)}
dialog.dialog-standard .actions .btn{min-width:110px}
dialog.dialog-standard .sub{line-height:1.65}
dialog.dialog-standard .error{margin-top:14px}
dialog.dialog-standard:has(.task-form-shell) #dialogBody{padding:0}
dialog.dialog-standard:has(.task-form-shell) .dialog-content{padding:0;overflow:hidden}
dialog.dialog-standard:has(.task-form-shell) .task-form-intro{display:block;padding-right:0;text-align:center}
dialog.dialog-standard:has(.task-form-shell) .task-form-icon{margin:0 auto 12px}
dialog.dialog-standard:has(.task-form-shell) .task-form-intro h2{margin-right:0}
dialog.detail-sheet{padding:0;overflow:hidden}
dialog.detail-sheet #dialogBody{position:relative;height:100%;max-height:100%;overflow:auto;padding:32px;scrollbar-width:thin;scrollbar-color:#b9c5d3 transparent}
dialog.detail-sheet .dialog-content{min-height:100%}
dialog.detail-sheet .close{top:18px;right:20px}
dialog.detail-sheet h2{padding-right:0;text-align:center}
dialog.dialog-standard .dialog-content,
dialog.dialog-standard .task-form-shell,
dialog.detail-sheet #dialogBody{scrollbar-width:none;-ms-overflow-style:none}
dialog.dialog-standard .dialog-content::-webkit-scrollbar,
dialog.dialog-standard .task-form-shell::-webkit-scrollbar,
dialog.detail-sheet #dialogBody::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:700px){
  dialog.dialog-standard{width:calc(100% - 20px);max-height:94vh;border-radius:16px}
  dialog.dialog-standard #dialogBody{max-height:94vh}
  dialog.dialog-standard .dialog-content{max-height:94vh;padding:25px 20px 22px}
  dialog.dialog-standard h2{font-size:22px}
  dialog.dialog-standard .actions{bottom:-22px;margin:20px -20px -22px;padding:14px 20px 22px}
  dialog.dialog-standard .actions .btn{flex:1;min-width:0}
  dialog.detail-sheet #dialogBody{padding:22px}
}
.auth-inline-actions{display:flex;justify-content:flex-end;margin-top:12px}
.auth-inline-actions .textlink{font-size:13px;font-weight:700;color:#376ce8}
.auth-success{margin:16px 0 0;padding:12px 14px;border:1px solid #b9e8d4;border-radius:10px;background:#f0fff8;color:#16704d;font-size:13px;line-height:1.55}
.pmo-session-layout{display:grid;grid-template-columns:220px minmax(0,1fr);border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fbfcfe}.pmo-session-list{padding:12px;border-right:1px solid var(--line);background:#f7f9fc;min-width:0}.pmo-session-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;color:#425a78;font-size:13px}.pmo-session-head .btn{min-height:31px;padding:4px 8px;font-size:11px}.pmo-session{width:100%;display:block;text-align:left;border:1px solid transparent;background:transparent;border-radius:7px;padding:10px;margin:4px 0;color:#425a78}.pmo-session:hover,.pmo-session.selected{background:#eaf0ff;border-color:#cad9fa;color:#214fce}.pmo-session strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pmo-session small{display:block;margin-top:4px;color:#8b9aae;font-size:10px}.pmo-session-list .empty{padding:18px 8px;border:0;font-size:11px}.pmo-session-list .empty strong{font-size:13px}.pmo-chat{min-width:0;background:white}.pmo-chat-heading{display:flex;justify-content:space-between;gap:10px;align-items:start;padding:15px 18px;border-bottom:1px solid var(--line)}.pmo-chat-heading strong{font-size:14px}.pmo-chat-heading .sub{font-size:11px;margin-top:3px}.pmo-messages{height:360px;overflow-y:auto;padding:18px}.pmo-message{padding:12px 14px;border:1px solid #e5ebf3;border-radius:9px;margin-bottom:12px;background:#fff}.pmo-message.user{background:#f1f5ff;border-color:#d8e3fc}.pmo-message-meta{display:flex;align-items:center;gap:8px;color:#536b88;font-size:12px}.pmo-message-meta time{font-size:10px;color:#97a4b5}.pmo-message-meta .tag{font-size:10px;padding:2px 6px}.pmo-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:7px 0 0;font-size:14px}.pmo-chat>.pmo-prompts{padding:0 18px 12px}.pmo-chat>form{padding:0 18px 18px}.pmo-thinking{display:flex;align-items:center;gap:8px;color:#356cef;font-size:12px;padding:9px 2px}.pmo-thinking .pulse{display:inline-block;width:7px;height:7px;animation:pmoPulse 1s infinite alternate}@keyframes pmoPulse{from{opacity:.35;transform:scale(.8)}to{opacity:1;transform:scale(1.2)}}
@media(max-width:700px){.pmo-session-layout{grid-template-columns:1fr}.pmo-session-list{border-right:0;border-bottom:1px solid var(--line);display:flex;gap:6px;overflow-x:auto;align-items:center}.pmo-session-head{display:block;min-width:94px;margin:0}.pmo-session-head .btn{margin-top:5px}.pmo-session{min-width:145px;margin:0}.pmo-session-list>.empty{min-width:180px}.pmo-messages{height:330px;padding:14px}.pmo-chat-heading,.pmo-chat>form{padding-left:14px;padding-right:14px}.pmo-chat>.pmo-prompts{padding-left:14px;padding-right:14px}}

/* AI-MARK[PMO-UI:full-width-inbox] 2026-09-16 10:20 (GMT+7) - Make project
   collaboration use the full workspace canvas with a resilient inbox, spacious
   message area and accessible member picker at desktop and mobile widths. */
body.chat-page-mode .main>main{max-width:none;padding:26px 28px 34px}
.chat-workspace-page{width:100%;min-width:0}
.chat-workspace-page .pagehead{margin-bottom:18px}
.chat-workspace-page .enterprise-chat-layout{height:calc(100vh - 190px);min-height:650px;grid-template-columns:330px minmax(0,1fr);box-shadow:0 20px 55px #18385c12}
.chat-workspace-page .chat-inbox{max-height:none;min-height:0}
.chat-workspace-page .chat-conversation{min-height:0}
.chat-workspace-page .chat-messages{max-height:none;min-height:0}
.chat-workspace-page .chat-composer{background:#fff}
.chat-list-empty{margin:10px 15px 17px;color:#97a5b7;font-size:12px;line-height:1.5}
.chat-loading{display:flex;align-items:center;gap:8px;color:#6e819a;font-size:11px}
.chat-loading .pulse{width:7px;height:7px;border-radius:50%;background:#4c7bef;animation:chatPulse 1s infinite alternate}
@keyframes chatPulse{from{opacity:.35;transform:scale(.8)}to{opacity:1;transform:scale(1.1)}}
.chat-new-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d3e0f1;border-radius:9px;background:#fff;color:#356cef}
.chat-new-button:hover{background:#edf3ff;border-color:#a9c4fa}
.chat-header-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#4d6582;font-size:11px;font-weight:700}
.chat-header-button:hover{border-color:#a9c4fa;background:#f4f8ff;color:#285dc2}
.chat-header-button .icon-svg{width:15px;height:15px}
.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e1e8f1;border-radius:4px 13px 13px 13px;background:#fff;color:#304b6c;padding:10px 13px;font-size:13px;line-height:1.65;box-shadow:0 2px 6px #17365c08}
.chat-message.mine .chat-bubble{border-color:#c7d9fb;border-radius:13px 4px 13px 13px;background:#eaf2ff;color:#254e88}
.chat-user-dialog{min-width:min(560px,100%)}
.chat-dialog-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}
.chat-dialog-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eaf1ff;color:#356cef}
.chat-dialog-icon .icon-svg{width:20px;height:20px}
.chat-picker-search{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0 11px;border:1px solid #dce5ef;border-radius:9px;background:#f9fbfe;color:#7890ad}
.chat-picker-search:focus-within{border-color:#7da1ef;box-shadow:0 0 0 4px #5f8cf11c}
.chat-picker-search .icon-svg{width:15px;height:15px;flex:0 0 auto}
.chat-picker-search input{width:100%;min-height:40px;margin:0;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.chat-user-results{display:grid;gap:5px;max-height:310px;overflow:auto;padding:3px 1px}
.chat-user-option{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:#f8fafd;color:#3b5775;text-align:left}
.chat-user-option:hover{border-color:#cbdcf9;background:#edf3ff}
.chat-user-option strong,.chat-user-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-user-option strong{color:#284a71;font-size:12px}
.chat-user-option small{margin-top:3px;color:#8495a9;font-size:10px}
.chat-user-avatar{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:9px;background:#e7effb;color:#3d6aba;font-size:10px;font-weight:800}
.chat-user-option>span:nth-child(2){min-width:0;flex:1}
.chat-user-arrow{color:#5481d2;font-size:15px}
.chat-user-check{cursor:pointer}
.chat-user-check input{flex:0 0 auto;width:16px;height:16px;min-height:0;margin:0}
.chat-member-list{display:grid;gap:6px;max-height:340px;overflow:auto}
.chat-member-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e6edf5;border-radius:9px;background:#fafcff}
.chat-member-row>span:nth-child(2){min-width:0;flex:1}
.chat-member-row strong,.chat-member-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-member-row strong{color:#284a71;font-size:12px}.chat-member-row small{margin-top:3px;color:#8495a9;font-size:10px}
@media(max-width:980px){body.chat-page-mode .main>main{padding:22px 20px 30px}.chat-workspace-page .enterprise-chat-layout{height:auto;min-height:0}.chat-workspace-page .chat-inbox{max-height:390px}.chat-workspace-page .chat-messages{min-height:420px;max-height:calc(100vh - 420px)}}
@media(max-width:700px){body.chat-page-mode .main>main{padding:18px 12px 25px}.chat-workspace-page .pagehead .actions{display:grid;grid-template-columns:1fr 1fr}.chat-workspace-page .pagehead .actions .btn{width:100%;font-size:12px}.chat-workspace-page .enterprise-chat-layout{border-radius:12px}.chat-workspace-page .chat-inbox{max-height:360px}.chat-workspace-page .chat-conversation-header{padding:14px;gap:13px}.chat-workspace-page .chat-conversation-actions{width:100%;overflow:auto}.chat-workspace-page .chat-header-button{flex:1;justify-content:center;white-space:nowrap}.chat-workspace-page .chat-messages{min-height:360px;max-height:none;padding:17px 12px}.chat-workspace-page .chat-composer{padding:12px}.chat-workspace-page .chat-composer-footer{align-items:stretch;flex-direction:column}.chat-workspace-page .chat-composer-footer .btn{width:100%}.chat-user-dialog{width:calc(100vw - 28px)!important}.chat-user-results{max-height:280px}}

/* AI-MARK[PMO-UI:centered-dialog-actions] 2026-09-16 01:27 (GMT+7) - Center every PMO popup action group and standalone form CTA, including OTP/auth controls, while keeping the close affordance in its standard top-right position. | rel: PMO-UI:dialog-system, PMO-UI:local-email-auth */
dialog.dialog-standard .actions,
dialog.detail-sheet .actions,
.task-form-actions,
.auth-otp-actions,
.auth-inline-actions{justify-content:center}
dialog.dialog-standard .actions .btn,
dialog.detail-sheet .actions .btn,
.task-form-actions .btn{flex:0 0 auto}
dialog.dialog-standard form>button.btn,
dialog.detail-sheet form>button.btn,
.auth-submit{display:flex;width:min(100%,360px);margin-left:auto;margin-right:auto}
.auth-otp-actions{align-items:center}
@media(max-width:700px){
  dialog.dialog-standard .actions,
  dialog.detail-sheet .actions,
  .task-form-actions{flex-wrap:wrap}
  dialog.dialog-standard .actions .btn,
  dialog.detail-sheet .actions .btn,
  .task-form-actions .btn{min-width:120px}
  .auth-submit{width:100%}
}

/* AI-MARK[PMO-UI:localized-document-library] 2026-09-16 01:45 (GMT+7) - Bố cục thư viện tài liệu ưu tiên khoảng thở, tự xuống dòng tên dài và giữ nút thao tác dễ quét trên desktop/mobile. | rel: PMO-UI:localized-document-library */
.documents-page .pagehead>div:first-child{min-width:0}.documents-page .pagehead h1,.documents-page .pagehead .sub{overflow-wrap:anywhere}.documents-page .pagehead .sub{max-width:760px}
.documents-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.documents-summary-card{display:flex;align-items:center;gap:12px;min-width:0;padding:16px 17px;border:1px solid #dce6f1;border-radius:14px;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);box-shadow:0 8px 22px #17385b08}.documents-summary-card>div{min-width:0}.documents-summary-card strong,.documents-summary-card span{display:block}.documents-summary-card strong{color:#193453;font-size:25px;line-height:1.05;letter-spacing:-.03em}.documents-summary-card div>span{margin-top:5px;color:#7186a1;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.documents-summary-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#eaf1ff;color:#376fee}.documents-summary-icon.is-ready{background:#e5f8f0;color:#15936d}.documents-summary-icon.is-waiting{background:#fff3df;color:#c17a16}.documents-summary-icon .icon-svg{width:19px;height:19px}
.documents-table-panel{padding:0;overflow:hidden}.documents-table-wrap{width:100%;overflow-x:auto}.documents-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0}.documents-table th{padding:14px 18px;border-bottom:1px solid #dfe7f0;background:#f8fafd;color:#7d91aa;font-size:11px;font-weight:800;letter-spacing:.035em;line-height:1.35;text-align:left;white-space:nowrap}.documents-table td{padding:16px 18px;border-bottom:1px solid #e8eef5;color:#294766;font-size:13px;vertical-align:top;white-space:normal}.documents-table tbody tr:last-child td{border-bottom:0}.documents-table tbody tr:hover{background:#fbfdff}.documents-table th:first-child,.documents-table td:first-child{padding-left:22px}.documents-table th:last-child,.documents-table td:last-child{padding-right:22px;text-align:center}.documents-table td:nth-child(2),.documents-table td:nth-child(4),.documents-table td:nth-child(5),.documents-table td:nth-child(6){white-space:nowrap}.document-name{display:flex;align-items:flex-start;gap:11px;min-width:250px;max-width:390px}.document-name>div{min-width:0}.document-name .fileicon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;margin:0;border-radius:10px;background:#edf3fc;color:#4773b8;font-size:10px;font-weight:800;letter-spacing:.04em}.document-title{display:block;width:100%;max-width:100%;padding:0;color:#1d3d61;font-size:13px;font-weight:800;line-height:1.45;text-align:left;white-space:normal;overflow-wrap:anywhere}.document-name small{display:block;margin-top:5px;color:#8497ad;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.document-name .document-filename{color:#98a8ba}.document-version{display:inline-flex;min-width:34px;padding:5px 8px;border:1px solid #dce7f4;border-radius:7px;background:#f7faff;color:#3a659d;font-size:12px;font-weight:800}.document-value{display:block;max-width:170px;line-height:1.45;overflow-wrap:anywhere}.documents-table .tag{display:inline-flex;max-width:170px;white-space:normal;text-align:center;line-height:1.3}.document-date{display:block;max-width:155px;line-height:1.45;white-space:normal}.document-actions{display:flex;align-items:center;justify-content:center;gap:7px;min-width:180px;flex-wrap:wrap}.document-actions .btn{min-height:34px;padding:7px 10px;border-radius:8px;font-size:11px}.document-actions .btn .icon-svg{width:14px;height:14px}.document-actions .btn-label{white-space:nowrap}.document-action-download:disabled{border-color:#e1e8f1;background:#f5f7fa;color:#a0adbc;cursor:not-allowed;opacity:1}.document-action-download:disabled .icon-svg{color:#a0adbc}.documents-references{padding:24px}.documents-references .panelhead{align-items:flex-start;margin-bottom:3px}.documents-references .panelhead>div{min-width:0}.documents-references h2{overflow-wrap:anywhere}.documents-references .sub{max-width:780px;line-height:1.6}.reference-count{flex:0 0 auto;padding:6px 10px;border:1px solid #dce7f4;border-radius:99px;background:#f8fbff;color:#5c78a0;font-size:11px;font-weight:800}.document-reference-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 0;border-top:1px solid #e6edf5}.document-reference-card .fileicon{display:grid;place-items:center;width:40px;height:40px;margin:0;border-radius:10px;background:#edf3fc;color:#4773b8;font-size:10px;font-weight:800}.document-reference-name{min-width:0}.document-reference-name strong{display:block;color:#203f62;font-size:13px;font-weight:750;line-height:1.45;overflow-wrap:anywhere}.document-reference-name small{display:block;margin-top:5px;color:#8799ad;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.reference-state{padding:5px 9px;border-radius:7px;background:#f4f7fb;color:#7890aa;font-size:10px;font-weight:750;white-space:nowrap}.documents-security-note{margin:18px 0 0;padding:12px 14px;border:1px solid #dce8f7;border-radius:10px;background:#f5f9ff;color:#627b9a;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:900px){.documents-summary{grid-template-columns:1fr}.documents-summary-card{padding:14px 15px}.documents-references{padding:20px}.document-reference-card{grid-template-columns:40px minmax(0,1fr)}.reference-state{grid-column:2;justify-self:start}}
@media(max-width:700px){.documents-page .pagehead{align-items:stretch;gap:16px}.documents-page .pagehead .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.documents-page .pagehead .actions .btn{width:100%;font-size:11px}.documents-table th,.documents-table td{padding-left:14px;padding-right:14px}.documents-table th:first-child,.documents-table td:first-child{padding-left:16px}.documents-table th:last-child,.documents-table td:last-child{padding-right:16px}.documents-references{padding:17px}.documents-references .panelhead{display:block}.reference-count{display:inline-block;margin-top:10px}.document-reference-card{align-items:start}}
.feng-agent-badge{display:inline-flex;align-items:center;margin-left:auto;padding:6px 9px;border:1px solid #cddcf8;border-radius:999px;background:#f1f6ff;color:#3565bd;font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;white-space:nowrap}
.feng-agent-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-12px 0 18px;padding:12px 14px;border:1px solid #dce7f7;border-radius:9px;background:linear-gradient(100deg,#f4f8ff,#f7fbff);color:#46617f;font-size:12px;line-height:1.55}
.feng-agent-summary strong{color:#294968;font-size:13px;font-weight:600}
.feng-agent-summary span{color:#7a8ea6;white-space:nowrap}
.feng-feature-groups{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 2px}
.feng-feature-groups span{padding:5px 8px;border:1px solid #dbe5f1;border-radius:6px;background:#f8fafd;color:#607994;font-size:11px}
.source-pill.static{display:inline-flex;align-items:center;cursor:default;background:#f8fbff;color:#607a99}
@media(max-width:700px){.feng-agent-badge{margin-left:0}.feng-agent-summary{display:block}.feng-agent-summary span{display:block;margin-top:5px;white-space:normal}.feng-feature-groups span{font-size:10px}}

/* AI-MARK[PMO-UI:feng-ying-follow-ups] 2026-09-16 (GMT+7) - Keep
   Helen-inspired follow-up questions readable and actionable without turning
   the response into a dense technical block. | rel: PMO-AI:helen-inspired-response-contract, pmo-hub.js */
.pmo-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f6}.pmo-suggestions-label{flex:0 0 100%;color:#6f84a0;font-size:11px;font-weight:700}.pmo-suggestion{border:1px solid #cfddf0;border-radius:999px;background:#f7faff;color:#365c8e;padding:7px 11px;font-size:12px;line-height:1.35;text-align:left}.pmo-suggestion:hover,.pmo-suggestion:focus-visible{border-color:#8eacf0;background:#eef4ff;color:#2559c6;outline:0}

/* AI-MARK[PMO-UI:workspace-auth-background] 2026-09-16 11:23 (GMT+7) - Use the supplied 3D collaboration artwork as a full-bleed auth background, with a measured contrast veil and glass card so the illustration remains visible while the new brand text stays clear on desktop and mobile. | rel: PMO-UI:collaborative-project-workspace-auth, PMO-BE:public-namespace */
body.auth-boot,
body.auth-locked{
  min-height:100vh;
  background-color:#173b6b;
  background-image:linear-gradient(90deg,rgba(5,24,57,.84) 0%,rgba(7,31,69,.62) 32%,rgba(255,255,255,.10) 70%,rgba(255,255,255,.24) 100%),url('/pmo/assets/collaborative-workspace-bg.jpg');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
}
body.auth-boot .main>main,
body.auth-locked .main>main{
  background:transparent;
}
body.auth-boot .main>main::before,
body.auth-locked .main>main::before,
body.auth-boot .main>main::after,
body.auth-locked .main>main::after{
  display:none;
}
.auth-layout{
  width:min(1180px,100%);
  grid-template-columns:minmax(0,1fr) minmax(420px,480px);
  gap:clamp(42px,6vw,88px);
}
.auth-intro{
  max-width:620px;
  padding:30px clamp(22px,3vw,46px) 30px 30px;
  border-radius:28px;
  background:linear-gradient(90deg,rgba(5,23,54,.82) 0%,rgba(5,23,54,.54) 65%,rgba(5,23,54,0) 100%);
  color:#fff;
  text-shadow:0 2px 18px rgba(3,18,42,.38);
}
.auth-brand{color:#fff}
.auth-brand-mark{background:linear-gradient(145deg,#5d9bff,#2859c6);color:#e3fff5;box-shadow:0 10px 24px rgba(14,47,110,.42)}
.auth-brand strong{color:#fff;font-size:18px;letter-spacing:-.01em}
.auth-brand small{color:#d7e8ff}
.auth-kicker{border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.16);color:#fff}
.auth-intro h1{max-width:600px;color:#fff;font-size:clamp(48px,5.3vw,76px);font-weight:800;line-height:1.02;letter-spacing:-.06em;text-shadow:0 4px 24px rgba(3,18,42,.46)}
.auth-intro>p{max-width:510px;color:#f1f7ff;font-size:18px;font-weight:600;line-height:1.65}
.auth-principles{color:#fff}
.auth-principles>span>span{color:#f0f6ff}
.auth-principles b{border-color:rgba(255,255,255,.40);background:rgba(255,255,255,.18);color:#fff;box-shadow:0 5px 14px rgba(5,23,54,.16)}
.auth-card{border-color:rgba(255,255,255,.82);background:rgba(255,255,255,.86);box-shadow:0 28px 80px rgba(4,22,52,.28),0 2px 10px rgba(4,22,52,.10);backdrop-filter:blur(18px) saturate(120%);-webkit-backdrop-filter:blur(18px) saturate(120%)}
.auth-switcher{background:rgba(236,243,251,.72);border-color:rgba(255,255,255,.78)}
.auth-tab.active{background:rgba(255,255,255,.96);color:#1f559d}
.auth-heading h2{color:#132f50}
.auth-heading p{color:#58718f}
.auth-heading p strong{color:#214b80}
.auth-icon{border-color:#d7e7ff;background:rgba(236,244,255,.90);color:#2f70df}
.auth-card label{color:#385a7d}
.auth-card input{border-color:#d2e0ef;background:rgba(255,255,255,.90)}
.auth-card input:focus{border-color:#4b83ee;box-shadow:0 0 0 4px rgba(75,131,238,.18)}
.auth-note{border-left-color:#4a81e8;background:rgba(239,246,255,.82);color:#426587}
.auth-footnote{color:#667f9c}
.auth-error{background:rgba(255,244,244,.94)}
.auth-success{background:rgba(240,255,248,.92)}
@media(max-width:900px){
  body.auth-boot,body.auth-locked{background-position:58% center}
  body.auth-boot .main>main,body.auth-locked .main>main{align-items:start}
  .auth-layout{width:min(700px,100%);grid-template-columns:1fr;gap:30px}
  .auth-intro{max-width:none;padding:26px 28px;background:linear-gradient(90deg,rgba(5,23,54,.82) 0%,rgba(5,23,54,.58) 76%,rgba(5,23,54,.18) 100%)}
  .auth-intro h1{font-size:clamp(44px,8vw,66px)}
}
@media(max-width:560px){
  body.auth-boot,body.auth-locked{background-position:61% center}
  .auth-intro{padding:23px 20px;border-radius:22px}
  .auth-brand strong{font-size:16px}
  .auth-intro h1{font-size:42px;line-height:1.04}
  .auth-intro>p{font-size:16px;line-height:1.55}
  .auth-card{background:rgba(255,255,255,.92)}
}
