*{box-sizing:border-box}body,html{min-height:100%}body{margin:0}a{color:inherit;text-decoration:none}.auth-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(circle at 18% 0,#f1ddff,transparent 34%),#f8f7fa;font-family:Golos Text,Inter,system-ui,sans-serif}.auth-card{display:grid;gap:16px;width:min(100%,430px);padding:31px;border:1px solid #e9e8ee;border-radius:16px;background:#fff;box-shadow:0 20px 44px #26123618}.auth-card h1{margin:0;font-size:28px;letter-spacing:-.04em}.auth-card p{margin:0;color:#73717d}.auth-card form{display:grid;gap:14px}.auth-card label{display:grid;gap:6px;font-weight:700}.auth-card input{width:100%;padding:10px 11px;border:1px solid #e2e0e6;border-radius:7px}.auth-card button{min-height:38px;border:0;border-radius:7px;background:#7c3aed;color:#fff;font-weight:700}.auth-error,.auth-success{padding:10px 12px!important;border-radius:8px}.auth-error{background:#fde8e8!important;color:#a42b2b!important}.auth-success{background:#ddf6ea!important;color:#16704e!important}.sidebar .sidebar-logo{display:flex;align-items:center;height:72px;line-height:normal}.sidebar .sidebar-logo>div{display:flex;align-items:center;min-width:0}.sidebar .sidebar-logo .agency-os-template-logo.logo-normal{display:flex!important;align-items:center;height:auto;line-height:1;white-space:nowrap}.sidebar .sidebar-logo .agency-os-template-logo.dark-logo,.sidebar .sidebar-logo .agency-os-template-logo.logo-small{display:none!important}.agency-os-template-logo{display:flex!important;align-items:center;gap:9px;color:var(--crms-heading-color,#1f2020)!important;font-size:20px;font-weight:750;letter-spacing:-.6px}.agency-os-template-logo b{color:#7c3aed}.agency-os-template-mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;font-size:16px;font-weight:800}.agency-os-header-menu{position:relative}.agency-os-header-menu summary::-webkit-details-marker{display:none}.agency-os-header-menu>.dropdown-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:1060}.agency-os-header-menu:not([open])>.dropdown-menu{display:none!important}.agency-os-sidebar-footer{position:absolute;right:16px;bottom:16px;left:16px;z-index:3;padding:12px;border-top:1px solid var(--bs-border-color);background:var(--crms-sidebar-bg,#fff)}.agency-os-sidebar-account{display:flex;align-items:center;gap:9px;color:inherit}.agency-os-sidebar-account small,.agency-os-sidebar-account strong{display:block;line-height:1.25}.agency-os-sidebar-account small{color:var(--bs-secondary-color);font-size:11px}.agency-os-sidebar-account .ti{margin-left:auto}.agency-os-sidebar-signout{width:100%;margin-top:10px;padding:0;border:0;background:transparent;color:#dc3545;text-align:left;font-size:13px}.sidebar .sidebar-inner{padding-bottom:124px}.agency-os-dialog-backdrop{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;padding:20px;background:#11182780}.agency-os-dialog{width:min(100%,540px);max-height:calc(100vh - 40px);overflow:auto;padding:24px;border-radius:12px;background:var(--bs-body-bg,#fff);box-shadow:0 24px 70px #11182742}.agency-os-form-grid{display:grid;gap:14px}.portal-page{--portal-ink:#252332;--portal-muted:#777486;--portal-border:#e8e6ed;--portal-canvas:#f7f7fa;--portal-surface:#fff;--portal-purple:#7446e8;--portal-purple-dark:#4e2aaa;min-height:100vh;color:var(--portal-ink);background:var(--portal-canvas);font-family:Golos Text,Inter,system-ui,sans-serif}.portal-sidebar{position:fixed;z-index:2;display:flex;flex-direction:column;width:248px;min-height:100vh;padding:24px 16px 18px;border-right:1px solid var(--portal-border);background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-sizing:border-box}.portal-brand,.portal-mobile-brand{display:flex;align-items:center;gap:10px;color:var(--portal-ink);font-size:19px;letter-spacing:-.04em;text-decoration:none}.portal-brand strong{font-weight:850}.portal-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;color:#fff;font-size:17px;font-weight:850;letter-spacing:-.08em;background:linear-gradient(135deg,#8b5cf6,#6437d8);box-shadow:0 9px 18px rgba(116,70,232,.25)}.portal-workspace{display:flex;align-items:center;gap:10px;margin:34px 4px 21px;padding:12px;border:1px solid #eeeafd;border-radius:14px;background:linear-gradient(135deg,#faf8ff,#f5f2ff)}.portal-workspace-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;color:#6d3add;background:#ede7ff}.portal-account small,.portal-workspace small{display:block;margin-bottom:2px;color:#918ca5;font-size:10px;font-weight:800;letter-spacing:.09em}.portal-account strong,.portal-workspace strong{display:block;font-size:13px}.portal-nav{display:grid;gap:4px}.portal-nav-link,.portal-nav-muted{display:flex;align-items:center;gap:11px;min-height:42px;padding:0 12px;border-radius:10px;color:#575463;font-size:14px;font-weight:700;text-decoration:none}.portal-nav-link{color:#5e32cf;background:#f0ebff}.portal-nav-link span,.portal-nav-muted span{width:16px;color:#8766dd;font-size:17px;text-align:center}.portal-nav-caption{margin:22px 12px 5px;color:#a09baa;font-size:10px;font-weight:850;letter-spacing:.1em}.portal-nav-muted{color:#9c98a6}.portal-sidebar-spacer{flex:1 1}.portal-help-card{display:flex;gap:10px;margin:20px 4px;padding:14px 12px;border-radius:14px;color:#625d72;background:#f8f7fb}.portal-help-card p{margin:4px 0 0;color:#8c8797;font-size:12px;line-height:1.45}.portal-help-card strong{font-size:13px}.portal-help-icon{display:grid;flex:none;place-items:center;width:21px;height:21px;border:1px solid #cfc9de;border-radius:50%;color:#756f85;font-size:12px;font-weight:800}.portal-account{display:flex;align-items:center;gap:9px;padding:12px 5px 0;border-top:1px solid var(--portal-border)}.portal-avatar{display:grid;flex:none;place-items:center;width:32px;height:32px;border-radius:10px;color:#fff;font-size:13px;font-weight:850;background:linear-gradient(135deg,#fc8f5c,#e95e69)}.portal-account button{margin-left:auto;border:0;color:#8d879a;background:transparent;cursor:pointer;font-size:16px;transition:color .16s ease-out,transform .16s ease-out}.portal-main{min-height:100vh;margin-left:248px}.portal-topbar{display:flex;align-items:center;justify-content:flex-end;gap:16px;height:72px;padding:0 42px;border-bottom:1px solid var(--portal-border);background:rgba(255,255,255,.78)}.portal-mobile-brand{display:none;margin-right:auto;font-size:16px}.portal-mobile-brand .portal-brand-mark{width:29px;height:29px;border-radius:9px;font-size:14px}.portal-topbar-meta{display:flex;align-items:center;gap:8px;color:#777183;font-size:13px;font-weight:650}.portal-secure-dot{width:7px;height:7px;border-radius:50%;background:#2bb673;box-shadow:0 0 0 4px #e3f7ed}.portal-topbar-signout button{padding:8px 10px;border:0;border-radius:8px;color:#676173;font:inherit;font-size:13px;font-weight:750;background:transparent;cursor:pointer;transition:background .16s ease-out,color .16s ease-out,transform .16s ease-out}.portal-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;min-height:242px;padding:48px clamp(26px,5vw,72px);color:#fff;overflow:hidden;background:radial-gradient(circle at 78% 20%,rgba(197,177,255,.45),transparent 28%),linear-gradient(115deg,#241142,#52309f 58%,#7746db);box-sizing:border-box}.portal-hero>div:first-child{max-width:690px}.portal-hero p,.portal-label{margin:0 0 11px;color:#9e82ed;font-size:11px;font-weight:850;letter-spacing:.12em}.portal-hero p{color:#d9cbff}.portal-hero h1,.portal-title h1{margin:0;font-size:clamp(34px,4vw,53px);font-weight:800;line-height:1;letter-spacing:-.06em}.portal-hero span{display:block;max-width:620px;margin-top:16px;color:#eee9ff;font-size:16px;line-height:1.55}.portal-hero-insight{display:grid;flex:none;min-width:148px;padding:19px 20px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(37,19,69,.22);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.portal-hero-insight small,.portal-hero-insight span{margin:0;color:#d9cdff;font-size:10px;font-weight:800;letter-spacing:.1em}.portal-hero-insight strong{margin:5px 0 3px;font-size:33px;letter-spacing:-.06em}.portal-hero-insight small{font-size:11px;font-weight:600;letter-spacing:0}.portal-content{max-width:1240px;margin:0 auto;padding:47px clamp(26px,5vw,72px) 76px;box-sizing:border-box}.portal-content-narrow{max-width:900px}.portal-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.portal-section-heading h2{margin:0;font-size:25px;letter-spacing:-.045em}.portal-section-note{max-width:260px;color:var(--portal-muted);font-size:13px;line-height:1.45;text-align:right}.portal-detail-grid,.portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portal-card,.portal-empty{border:1px solid var(--portal-border);border-radius:18px;background:var(--portal-surface);box-shadow:0 13px 35px rgba(32,25,58,.045)}.portal-card{padding:26px}.portal-project-card{display:grid;min-height:250px;grid-template-rows:auto 1fr auto;gap:23px;transition:transform .18s ease-out,box-shadow .18s ease-out,border-color .18s ease-out}.portal-card-top{display:flex;align-items:center;justify-content:space-between}.portal-project-glyph{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#7040dc;font-size:22px;background:#f0ebff}.portal-card h2,.portal-card h3{margin:0 0 11px;letter-spacing:-.04em}.portal-card h2{font-size:25px}.portal-card h3{font-size:21px}.portal-status{display:inline-flex;align-items:center;width:max-content;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:800;text-transform:capitalize}.portal-status-live{color:#168352;background:#e6f8ee}.portal-status-progress{color:#9a6203;background:#fff5dc}.portal-muted{color:var(--portal-muted);line-height:1.55}.portal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto}.portal-actions a,.portal-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid #ded7f6;border-radius:10px;color:#6636d2;font-size:13px;font-weight:800;text-decoration:none;background:#fff;cursor:pointer;transition:transform .16s ease-out,box-shadow .16s ease-out,background .16s ease-out,border-color .16s ease-out}.portal-actions a:first-child,.portal-primary{border-color:var(--portal-purple);color:#fff;background:var(--portal-purple);box-shadow:0 7px 15px rgba(116,70,232,.18)}.portal-primary{width:max-content;border:0;font:inherit}.portal-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:24px 0 31px}.portal-title p{max-width:590px;margin:12px 0 0;color:var(--portal-muted);line-height:1.55}.portal-back{display:inline-flex;color:#6b3bd5;font-size:13px;font-weight:800;text-decoration:none}.portal-collaboration-card,.portal-status-card{min-height:365px}.portal-card-divider{height:1px;margin:25px 0;background:var(--portal-border)}.portal-list{display:grid;gap:4px;padding:0;list-style:none}.portal-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid #f0eef3}.portal-list li div{display:grid;gap:3px}.portal-list li strong{font-size:14px}.portal-feedback-list span,.portal-list li small,.portal-list span{color:var(--portal-muted);font-size:12px}.portal-pending,.portal-verified{padding:5px 8px;border-radius:999px;font-weight:750}.portal-verified{color:#168352!important;background:#e6f8ee}.portal-pending{color:#9a6203!important;background:#fff5dc}.portal-feedback{display:grid;gap:10px;margin-top:17px}.portal-feedback label{color:#484353;font-size:13px;font-weight:800}.portal-feedback input,.portal-feedback textarea{width:100%;min-height:44px;padding:12px 13px;border:1px solid #dedbe5;border-radius:10px;outline:0;color:var(--portal-ink);font:inherit;background:#fff;box-sizing:border-box;transition:border-color .16s ease-out,box-shadow .16s ease-out}.portal-feedback textarea{min-height:120px;resize:vertical}.portal-feedback button{cursor:pointer}.portal-feedback-list{display:grid;gap:12px;margin-top:24px}.portal-feedback-list article{padding-top:14px;border-top:1px solid #eeeef2}.portal-feedback-list p{margin:0 0 6px;line-height:1.5}.portal-success{margin:0 0 16px;padding:11px 13px;border-radius:10px;color:#14673f;font-size:13px;font-weight:650;background:#e4f7ec}.portal-proposal-status{margin:0 0 18px;padding:10px 12px;border-radius:10px;font-size:13px;background:#f7f5fa}.portal-content-card{padding:30px}.portal-empty{display:flex;align-items:flex-start;gap:13px;padding:27px;color:var(--portal-muted)}.portal-empty>span{display:grid;flex:none;place-items:center;width:33px;height:33px;border-radius:10px;color:#7947dd;background:#f0ebff}.portal-empty strong{display:block;color:var(--portal-ink)}.portal-empty p{margin:5px 0 0;font-size:14px}.portal-account button:focus-visible,.portal-actions a:focus-visible,.portal-back:focus-visible,.portal-feedback input:focus-visible,.portal-feedback textarea:focus-visible,.portal-nav-link:focus-visible,.portal-primary:focus-visible,.portal-topbar-signout button:focus-visible{outline:3px solid #c8b7ff;outline-offset:3px}@media (hover:hover) and (pointer:fine){.portal-project-card:hover{border-color:#d8cef9;box-shadow:0 17px 38px rgba(56,32,126,.11);transform:translateY(-3px)}.portal-actions a:hover,.portal-primary:hover{transform:translateY(-1px)}.portal-actions a:first-child:hover,.portal-primary:hover{background:#6338cd;box-shadow:0 10px 20px rgba(116,70,232,.25)}.portal-topbar-signout button:hover{color:#5d32c3;background:#f0ebff}.portal-account button:hover{color:#6338cd;transform:translate(2px,-2px)}}.portal-account button:active,.portal-actions a:active,.portal-primary:active,.portal-topbar-signout button:active{transform:scale(.97)}@media (max-width:900px){.portal-sidebar{width:216px}.portal-main{margin-left:216px}.portal-help-card{display:none}.portal-topbar{padding:0 28px}.portal-content,.portal-hero{padding-inline:36px}}@media (max-width:700px){.portal-sidebar{display:none}.portal-main{margin-left:0}.portal-topbar{justify-content:space-between;height:63px;padding:0 18px}.portal-mobile-brand{display:flex}.portal-topbar-meta{display:none}.portal-hero{align-items:flex-start;flex-direction:column;min-height:0;padding:38px 22px 34px}.portal-hero-insight{min-width:0;width:100%;grid-template-columns:auto 1fr;column-gap:8px;box-sizing:border-box}.portal-hero-insight strong{grid-row:span 2;align-self:center;margin:0}.portal-content{padding:34px 18px 56px}.portal-detail-grid,.portal-grid{grid-template-columns:1fr}.portal-section-heading,.portal-title{align-items:flex-start;flex-direction:column}.portal-section-note{text-align:left}.portal-title{margin-top:19px}.portal-primary{width:100%}.portal-actions{display:grid;grid-template-columns:1fr}.portal-actions a{width:100%}}@media (prefers-reduced-motion:reduce){.portal-account button,.portal-actions a,.portal-feedback input,.portal-feedback textarea,.portal-primary,.portal-project-card,.portal-topbar-signout button{transition:none}}.portal-template-menu-item{display:flex;align-items:center;padding:10px 15px;color:var(--crms-gray-500,#6b7280);font-size:14px;font-weight:500}.portal-template-menu-item i{width:20px;margin-right:10px;color:var(--crms-primary,#e41f07);font-size:18px;text-align:center}.portal-template-form{display:grid;gap:12px}.portal-template-form textarea{min-height:120px;resize:vertical}.portal-template-content-card{max-width:880px}.portal-template-shell .agency-os-template-mark{background:var(--portal-brand-color,var(--crms-primary,#e41f07))}