@charset "UTF-8";
:root{color-scheme:light;--ink:#172033;--ink-2:#303b52;--muted:#78849a;--muted-2:#9ba5b7;--bg:#f4f6fb;--paper:#fff;--paper-2:#f8f9fd;--line:#e8ebf2;--line-strong:#dfe4ee;--nav:#111827;--nav-2:#172238;--nav-muted:#8995ad;--purple:#6d5dfc;--purple-dark:#5848e7;--blue:#477cf5;--teal:#17a98b;--amber:#d69431;--red:#d75568;--shadow:0 14px 40px rgba(24,34,60,.055);--shadow-lg:0 24px 70px rgba(17,24,39,.17);--r-lg:20px;--r-md:14px;--r-sm:10px;--font:Inter,"Segoe UI Variable","Segoe UI",system-ui,-apple-system,Arial,sans-serif}
*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 var(--font);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}.icon{width:18px;height:18px;display:inline-block;flex:0 0 auto;vertical-align:middle}.app-shell{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr)}
/* Premium navigation */
.sidebar{position:sticky;top:0;z-index:20;height:100vh;min-height:620px;display:flex;flex-direction:column;padding:20px 15px 15px;background:radial-gradient(ellipse at 0 0,rgba(87,103,188,.20),transparent 40%),linear-gradient(180deg,#131b2d 0%,#101827 100%);color:#eef2ff;box-shadow:10px 0 40px rgba(17,24,39,.07)}.brand{min-height:54px;display:flex;align-items:center;gap:11px;padding:2px 8px 15px;color:#fff}.brand-mark{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;overflow:hidden;border:1px solid #ffffff22;border-radius:13px;background:#fff;box-shadow:0 6px 18px #0002}.brand-mark img{width:100%;height:100%;object-fit:contain;padding:2px}.brand-copy{min-width:0;display:flex;flex-direction:column}.brand-copy b{font-size:17px;line-height:1.2;letter-spacing:-.5px}.brand-copy small{margin-top:4px;color:#8e9bb6;font-size:8px;font-weight:800;letter-spacing:1.45px}.brand-version{margin-left:auto;align-self:flex-start;margin-top:4px;padding:3px 6px;border:1px solid #ffffff1d;border-radius:6px;color:#aab6d0;font-size:8px;font-weight:800;letter-spacing:.7px}.workspace-chip{display:flex;align-items:center;gap:10px;margin:4px 1px 22px;padding:11px 10px;border:1px solid #ffffff13;border-radius:12px;background:linear-gradient(110deg,#ffffff0c,#ffffff04)}.workspace-dot,.online-dot{width:8px;height:8px;border-radius:50%;background:#4ad2ac;box-shadow:0 0 0 4px #4ad2ac1a;flex:0 0 8px}.workspace-chip b,.workspace-chip small{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-chip b{color:#e9edf8;font-size:10px;font-weight:700}.workspace-chip small{margin-top:3px;color:#8c99b1;font-size:9px}.side-nav{display:flex;flex-direction:column;gap:4px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff1c transparent}.nav-caption{padding:3px 12px 7px;color:#6f7c96;font-size:8px;font-weight:850;letter-spacing:1.5px}.nav-caption-spaced{margin-top:16px}.nav-link{position:relative;min-height:43px;display:flex;align-items:center;gap:12px;padding:0 12px;border:1px solid transparent;border-radius:11px;color:#aeb9cf;font-size:11px;font-weight:600;transition:background .18s,border-color .18s,color .18s,transform .18s}.nav-link>.icon{width:17px;height:17px;color:#8391aa;transition:color .18s}.nav-link:hover{transform:translateX(2px);background:#ffffff0b;color:#fff}.nav-link:hover>.icon{color:#c4caff}.nav-link.active{border-color:#9c92ff2c;background:linear-gradient(100deg,#7164fa,#5349d7);color:#fff;box-shadow:0 8px 20px #5149d640}.nav-link.active>.icon{color:#fff}.nav-current{position:absolute;right:10px;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 8px #fff}.nav-badge{margin-left:auto;min-width:19px;padding:2px 5px;border-radius:20px;background:#ef7290;color:#fff;text-align:center;font-size:9px;font-weight:800}.sidebar-bottom{margin-top:auto;padding-top:16px}.support-card{display:flex;align-items:flex-start;gap:9px;margin-bottom:14px;padding:10px 9px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff07}.support-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:#8174ff20;color:#b7b1ff}.support-icon .icon{width:14px;height:14px}.support-card b,.support-card small{display:block}.support-card b{color:#e0e7fa;font-size:9px}.support-card small{margin-top:3px;color:#8794ad;font-size:8px;line-height:1.45}.account-row{display:flex;align-items:center;gap:9px;padding:12px 2px 1px;border-top:1px solid #ffffff13}.avatar,.topbar-avatar{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border:1px solid #ffffff1c;border-radius:12px;background:linear-gradient(145deg,#978cff,#5f54df);color:#fff;font-size:13px;font-weight:800;box-shadow:0 5px 13px #6258e633}.account-copy{min-width:0;display:flex;flex-direction:column}.account-copy b{overflow:hidden;color:#f3f5fb;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.account-copy small{margin-top:3px;color:#8e9bb5;font-size:8px}.logout-form{margin-left:auto}.icon-button{width:35px;height:35px;display:inline-grid;place-items:center;border:1px solid #e8ebf2;border-radius:10px;background:#fff;color:#6d7890;cursor:pointer;transition:background .18s,border .18s,color .18s,transform .18s}.icon-button:hover{transform:translateY(-1px);border-color:#d8d4ff;background:#f8f7ff;color:var(--purple)}.logout-form .icon-button{border-color:#ffffff12;background:#ffffff08;color:#a5b0c6}.logout-form .icon-button:hover{border-color:#ffffff2a;background:#ffffff14;color:#fff}.mobile-menu{display:none}
/* Header and page frame */
.main-area{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:15;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 clamp(22px,3.2vw,50px);border-bottom:1px solid #e9ecf2;background:rgba(255,255,255,.91);backdrop-filter:blur(16px)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:13px}.breadcrumbs{display:flex;align-items:center;gap:9px;color:#99a2b3;font-size:10px;font-weight:600}.breadcrumbs .icon{width:13px;height:13px;color:#c1c7d2}.breadcrumbs b{color:#354057;font-size:11px;font-weight:750}.topbar-context{display:flex;align-items:center;gap:9px;color:#63728b;font-size:9px;font-weight:650}.topbar-context .online-dot{width:7px;height:7px;flex-basis:7px}.topbar-divider{width:1px;height:27px;background:#e9ecf2}.user-chip{display:flex;align-items:center;gap:9px}.topbar-avatar{width:33px;height:33px;flex-basis:33px;border:0;border-radius:11px;font-size:11px}.user-chip b,.user-chip small{display:block}.user-chip b{max-width:155px;overflow:hidden;color:#303b51;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.user-chip small{max-width:155px;margin-top:2px;overflow:hidden;color:#919bad;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.page-content{width:100%;max-width:1680px;margin:0 auto;padding:29px clamp(22px,3.2vw,50px) 22px;flex:1;animation:pageIn .35s ease both}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:4px 0 24px}.page-heading h1{margin:8px 0 7px;color:#182238;font-size:clamp(27px,3vw,35px);line-height:1.12;letter-spacing:-1.3px;font-weight:780}.page-heading>div>p:last-child{max-width:680px;margin:0;color:#818ca1;font-size:12px}.eyebrow{display:flex;align-items:center;gap:8px;color:#838ca1;font-size:8px;font-weight:850;letter-spacing:1.35px}.eyebrow-line{width:18px;height:2px;border-radius:2px;background:linear-gradient(90deg,#7568ff,#a79fff)}.heading-actions{display:flex;align-items:center;gap:10px}.date-pill,.heading-counter{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#7f8a9e;font-size:9px;font-weight:650;white-space:nowrap}.date-pill span{color:#c4c9d4}.heading-counter b{color:#222e44;font-size:13px}.permission-flow{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #e9e7ff;border-radius:11px;background:#fbfaff;color:#6860bb;font-size:9px;white-space:nowrap}.permission-flow i{color:#c4c1e8;font-style:normal}.page-footer{display:flex;justify-content:space-between;gap:12px;margin-top:27px;padding-top:13px;border-top:1px solid #e9ecf2;color:#9aa3b2;font-size:8px}.page-footer i{margin:0 5px;color:#c6cbd4;font-style:normal}
/* Dashboard hero and stats */
.dashboard-heading{align-items:center;margin-bottom:20px}.dashboard-heading h1{margin-top:8px;font-size:clamp(26px,3vw,34px)}.dashboard-heading>div>p:last-child{font-size:11px}.greeting-spark{display:inline-block;margin-left:4px;color:#f3aa57;font-size:22px;vertical-align:middle}.hero-panel{position:relative;isolation:isolate;min-height:270px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;margin-bottom:17px;padding:34px 40px;border:1px solid #6f71ff33;border-radius:23px;background:radial-gradient(ellipse at 86% 18%,#aca6ff4a,transparent 29%),radial-gradient(ellipse at 61% 111%,#2388ff40,transparent 34%),linear-gradient(112deg,#2b3271 0%,#514cce 55%,#6558ef 100%);color:#fff;box-shadow:0 18px 40px #4845b42a}.hero-panel:before{position:absolute;inset:0;z-index:-1;background:linear-gradient(108deg,transparent 44%,#ffffff08 44.1%,transparent 70%);content:""}.hero-copy{position:relative;z-index:3;align-self:center;max-width:510px}.hero-eyebrow{display:flex;align-items:center;gap:8px;color:#c8caff;font-size:8px;font-weight:800;letter-spacing:1.6px}.hero-star{width:21px;height:21px;display:grid;place-items:center;border:1px solid #ffffff2a;border-radius:7px;background:#ffffff16;color:#fff}.hero-star .icon{width:12px;height:12px}.hero-copy h2{margin:17px 0 10px;font-size:clamp(29px,3.6vw,42px);line-height:1.09;letter-spacing:-1.8px;font-weight:780}.hero-copy h2 em{color:#c7c4ff;font-style:normal}.hero-copy p{max-width:400px;margin:0;color:#dadbff;font-size:11px;line-height:1.7}.hero-link{display:inline-flex;align-items:center;gap:10px;margin-top:21px;padding:10px 14px;border:1px solid #ffffff40;border-radius:9px;background:#ffffff18;color:#fff;font-size:9px;font-weight:750;transition:background .18s,transform .18s}.hero-link:hover{transform:translateY(-2px);background:#ffffff28}.hero-link .icon{width:14px;height:14px}.hero-art{position:relative;min-height:205px}.hero-orbit{position:absolute;top:50%;left:53%;border:1px solid #ffffff26;border-radius:50%;transform:translate(-50%,-50%)}.orbit-one{width:310px;height:210px;transform:translate(-50%,-50%) rotate(-24deg)}.orbit-two{width:245px;height:170px;transform:translate(-50%,-50%) rotate(26deg);border-color:#ffffff17}.hero-glass{position:absolute;top:50%;left:54%;width:min(285px,82%);height:174px;overflow:hidden;border:1px solid #ffffff49;border-radius:17px;background:linear-gradient(140deg,#ffffff31,#ffffff12);box-shadow:0 20px 45px #17175947;backdrop-filter:blur(16px);transform:translate(-50%,-50%) rotate(-4deg)}.glass-head{height:37px;display:flex;align-items:center;gap:5px;padding:0 12px;border-bottom:1px solid #ffffff22}.glass-head>span{width:5px;height:5px;border-radius:50%;background:#ffffff85}.glass-head i{margin-left:auto;color:#ffffffc9}.glass-head .icon{width:14px;height:14px}.glass-content{position:relative;height:137px;padding:16px}.glass-line{height:6px;margin-bottom:8px;border-radius:4px;background:#ffffff40}.glass-line.long{width:58%}.glass-line.medium{width:39%;background:#ffffff24}.glass-stat{position:absolute;top:17px;right:18px;display:flex;flex-direction:column}.glass-stat b{font-size:28px;line-height:1;letter-spacing:-1px}.glass-stat span{margin-top:5px;color:#dedfff;font-size:8px}.glass-bars{height:45px;display:flex;align-items:flex-end;gap:7px;margin-top:17px}.glass-bars i{width:12px;border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,#b1f2e8,#ffffff81)}.glass-bars i:nth-child(1){height:42%}.glass-bars i:nth-child(2){height:65%}.glass-bars i:nth-child(3){height:51%}.glass-bars i:nth-child(4){height:81%}.glass-bars i:nth-child(5){height:67%}.glass-bars i:nth-child(6){height:92%}.glass-bars i:nth-child(7){height:76%}.hero-float{position:absolute;z-index:2;width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff4b;border-radius:13px;background:linear-gradient(145deg,#ffffff42,#ffffff19);color:#fff;box-shadow:0 11px 24px #23217838;backdrop-filter:blur(10px)}.hero-float .icon{width:19px;height:19px}.float-a{top:13%;right:13%}.float-b{right:5%;bottom:9%;width:33px;height:33px;border-radius:11px;color:#bdf5dc}.float-b .icon{width:17px;height:17px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.metric-card{position:relative;min-height:139px;overflow:hidden;padding:17px 18px;border:1px solid #e9ecf2;border-radius:16px;background:#fff;box-shadow:0 7px 23px #18223b08;transition:transform .18s,box-shadow .18s}.metric-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px #18223b11}.metric-card:after{position:absolute;right:-27px;bottom:-44px;width:106px;height:106px;border:1px solid #e9e9fa;border-radius:50%;content:""}.metric-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:10px}.metric-icon .icon{width:16px;height:16px}.metric-purple{background:#f0edff;color:#6d5dfc}.metric-blue{background:#eaf1ff;color:#477cf5}.metric-teal{background:#e7f8f3;color:#14a181}.metric-amber{background:#fff4e4;color:#d28a26}.metric-label{margin-top:13px;color:#7d889c;font-size:9px;font-weight:650}.metric-value{margin-top:2px;color:#1f2a40;font-size:26px;line-height:1.2;letter-spacing:-.8px;font-weight:790}.metric-foot{display:flex;align-items:center;gap:6px;margin-top:5px;color:#a0a8b6;font-size:8px}.metric-dot{width:5px;height:5px;border-radius:50%;background:#27b78f}.dashboard-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.surface-card{min-width:0;border:1px solid #e8ebf2;border-radius:17px;background:#fff;box-shadow:0 8px 26px #18223b08}.quick-card,.activity-card{padding:21px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.section-title-row h2{margin:4px 0 0;color:#222d42;font-size:16px;letter-spacing:-.35px;font-weight:760}.title-icon{width:35px;height:35px;display:grid;place-items:center;border:1px solid #eceaff;border-radius:11px;background:#f7f6ff;color:#6c5ef1}.title-icon .icon{width:17px;height:17px}.title-icon-purple,.title-icon-violet{border-color:#ebe8ff;background:#f4f1ff;color:#6a58ef}.title-icon-blue{border-color:#e4edff;background:#f0f5ff;color:#477cf5}.title-icon-teal{border-color:#dff3ee;background:#eefaf6;color:#129a7b}.title-icon-amber{border-color:#f9ead4;background:#fff8ed;color:#cb8525}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.quick-action{min-width:0;display:flex;align-items:center;gap:10px;padding:12px 11px;border:1px solid #edf0f5;border-radius:12px;background:#fcfcfe;transition:background .18s,border .18s,transform .18s}.quick-action:hover{transform:translateY(-1px);border-color:#dedbff;background:#fbfaff}.quick-symbol{width:33px;height:33px;display:grid;place-items:center;flex:0 0 33px;border-radius:10px}.quick-symbol .icon{width:16px;height:16px}.quick-violet{background:#f0edff;color:#6d5dfc}.quick-blue{background:#eaf1ff;color:#477cf5}.quick-teal{background:#e7f8f3;color:#159d80}.quick-amber{background:#fff4e4;color:#d28a26}.quick-action>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.quick-action b{overflow:hidden;color:#364158;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.quick-action small{margin-top:3px;overflow:hidden;color:#98a1b0;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.quick-action>.icon{width:13px;height:13px;margin-left:auto;color:#b4bdcb}.activity-list{display:grid}.activity-item{min-height:56px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #f0f1f5}.activity-item:last-child{border-bottom:0}.activity-mark{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:9px}.activity-mark .icon{width:15px;height:15px}.activity-green{background:#eaf8f2;color:#16a17e}.activity-blue{background:#edf3ff;color:#477cf5}.activity-violet{background:#f1efff;color:#7769e8}.activity-item>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.activity-item b{overflow:hidden;color:#38445a;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.activity-item small{margin-top:2px;color:#9ba4b2;font-size:8px}.activity-check,.activity-open{margin-left:auto;color:#25ae88}.activity-check .icon,.activity-open .icon{width:15px;height:15px}.status-live{display:inline-flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid #e0f3eb;border-radius:20px;background:#f5fcf8;color:#2a9d7f;font-size:8px;font-weight:750}.status-live i{width:6px;height:6px;border-radius:50%;background:#26b487}
/* Forms, controls and feedback */
.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px}.full-span{grid-column:1/-1}.form-card{padding:21px}.form-stack{display:grid;gap:14px}.field{min-width:0;display:flex;flex-direction:column;gap:6px}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field label{color:#5e6b80;font-size:9px;font-weight:750}.field label span.optional-label{margin-left:4px;color:#a2aabb;font-size:8px;font-weight:550}.field input,.field select,.field textarea,.select-search{width:100%;min-height:41px;padding:10px 12px;border:1px solid #e1e5ed;border-radius:10px;outline:0;background:#fff;color:#29344a;font-size:10px;transition:border .17s,box-shadow .17s,background .17s}.field input::placeholder,.field textarea::placeholder,.select-search::placeholder{color:#aab2c0}.field input:focus,.field select:focus,.field textarea:focus,.select-search:focus,.table-search:focus-within{border-color:#a9a1ff;box-shadow:0 0 0 3px #7567ff17}.field input:disabled,.field select:disabled{background:#f4f5f8;color:#a3aaba}.field select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a8498' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}.field select option{color:#28334a}.field small,.field>small{color:#9ca5b4;font-size:8px;line-height:1.5}.field textarea{min-height:98px;resize:vertical}.field-note{margin:-5px 0 12px;color:#96a0b1;font-size:9px;line-height:1.6}.input-suffix{position:relative}.input-suffix input{padding-right:82px}.input-suffix span{position:absolute;top:50%;right:12px;color:#9aa3b1;font-size:8px;transform:translateY(-50%)}.fixed-firm{min-height:41px;display:flex;align-items:center;gap:9px;padding:9px 11px;border:1px solid #e5e8ef;border-radius:10px;background:#f8f9fc;color:#536079;font-size:10px;font-weight:650}.fixed-firm .icon{width:15px;height:15px;color:#7567ed}.form-actions{display:flex;align-items:center;gap:8px;margin-top:2px}.btn{min-height:39px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border:1px solid transparent;border-radius:10px;font-size:9px;font-weight:750;line-height:1.2;cursor:pointer;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s,color .16s;white-space:nowrap}.btn .icon{width:14px;height:14px}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}.btn-primary{border-color:#6557e9;background:linear-gradient(112deg,#7566ff,#5f50e8);color:#fff;box-shadow:0 7px 15px #6253e52c}.btn-primary:hover{background:linear-gradient(112deg,#6658f3,#5143d7);box-shadow:0 9px 19px #6253e548}.btn-soft{border-color:#e5e4f8;background:#f8f7ff;color:#6659df}.btn-soft:hover{border-color:#d7d3ff;background:#f1efff}.btn-quiet{border-color:#eceef3;background:#fff;color:#7e899d}.btn-quiet:hover{border-color:#e2e5ed;background:#f7f8fb}.btn-xs{min-height:29px;padding:5px 8px;border-radius:8px;font-size:8px}.btn-xs .icon{width:12px;height:12px}.check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:240px;overflow:auto;padding:2px;scrollbar-width:thin}.check{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e7eaf1;border-radius:9px;background:#fcfcfe;color:#566278;font-size:9px;font-weight:650;cursor:pointer}.check input{width:14px;height:14px;min-height:14px;margin:0;accent-color:var(--purple)}.select-search{margin-bottom:6px}.field .select-search{min-height:35px;padding:7px 10px;background:#fafbfe}.role-list{display:grid;gap:5px}.role-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f0f1f5}.role-row:last-child{border-bottom:0}.role-number{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;font-size:8px;font-weight:850}.role-one{background:#f0edff;color:#6958ed}.role-two{background:#edf2ff;color:#477cf5}.role-three{background:#eaf8f3;color:#149b7c}.role-four{background:#fff5e9;color:#c7892d}.role-row b,.role-row small{display:block}.role-row b{color:#3d485d;font-size:9px}.role-row small{margin-top:2px;color:#9ca5b3;font-size:8px}.inline-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:10px 11px;border:1px solid #eeedff;border-radius:10px;background:#fbfaff;color:#8581ae;font-size:8px;line-height:1.6}.inline-note>.icon{width:13px;height:13px;flex:0 0 13px;color:#7566ed}
/* Tables */
.table-card{padding:21px}.table-toolbar{display:flex;align-items:center;gap:9px}.table-search{min-width:170px;min-height:34px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #eaedf3;border-radius:9px;background:#fff;transition:border .16s,box-shadow .16s}.table-search .icon{width:13px;height:13px;color:#9ba5b4}.table-search input{width:100%;min-width:0;min-height:32px;padding:5px 0;border:0;outline:0;background:transparent;color:#37435a;font-size:8px}.table-search input::placeholder{color:#a5adba}.table-scroll{width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#dce0e9 transparent}table{width:100%;min-width:670px;border-collapse:collapse;text-align:left;font-size:9px}thead{background:#fafbfe}th{padding:11px 10px;border-bottom:1px solid #e9ecf2;color:#929cad;font-size:7px;font-weight:850;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap}td{padding:11px 10px;border-bottom:1px solid #f0f2f6;color:#667287;vertical-align:middle}tbody tr{transition:background .13s}tbody tr:hover{background:#fafaff}tbody tr:last-child td{border-bottom:0}td>b{color:#303c52;font-size:9px;font-weight:700}td>small{display:block;margin-top:3px;color:#9ba4b2;font-size:8px}.align-right{text-align:right}.entity-cell{display:flex;align-items:center;gap:9px}.entity-avatar{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border-radius:10px;font-size:10px;font-weight:800}.entity-violet{background:#f0edff;color:#6958ed}.entity-blue{background:#eaf1ff;color:#477cf5}.entity-amber{background:#fff4e4;color:#c58322}.entity-cell b,.entity-cell small{display:block}.entity-cell b{max-width:240px;overflow:hidden;color:#2f3a50;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.entity-cell small{margin-top:3px;color:#9da6b4;font-size:8px}.table-muted{color:#9ca5b3;font-size:8px}.status-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid transparent;border-radius:30px;font-size:7px;font-weight:800;white-space:nowrap}.status-tag i{width:5px;height:5px;border-radius:50%;background:currentColor}.tag-active{border-color:#dff2e9;background:#f2faf6;color:#269875}.tag-off{border-color:#eceef2;background:#f7f8fa;color:#939baa}.tag-wait{border-color:#f8ebd6;background:#fff8ed;color:#c0872a}.role-pill,.count-pill{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid #e9e8f8;border-radius:30px;background:#f8f7ff;color:#7064d4;font-size:7px;font-weight:750;white-space:nowrap}.count-pill{border-color:#e9edf4;background:#f8f9fc;color:#728097}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.row-actions form{margin:0}.empty-row{padding:30px 12px!important;color:#a0a8b5!important;text-align:center!important;font-size:9px!important}.url-link{display:inline-flex;align-items:center;gap:5px;max-width:280px;overflow:hidden;color:#6256db;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.url-link .icon{width:11px;height:11px}.edit-shortcut-list{display:grid;gap:4px}.edit-shortcut{width:100%;display:flex;align-items:center;gap:9px;padding:8px 4px;border:0;border-bottom:1px solid #f0f1f5;background:transparent;text-align:left;cursor:pointer}.edit-shortcut:last-child{border-bottom:0}.edit-shortcut:hover{background:#fbfaff}.edit-shortcut>.icon{width:13px;height:13px;margin-left:auto;color:#aeb6c5}.shortcut-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#f1efff;color:#6a5be6;font-size:9px;font-weight:800}.edit-shortcut span:nth-child(2){display:flex;flex-direction:column}.edit-shortcut b{color:#48546a;font-size:8px}.edit-shortcut small{margin-top:2px;color:#9ba4b3;font-size:7px}
/* Permission flow */
.permission-panel,.assignment-panel{padding:22px;margin-bottom:14px}.section-subtitle{margin:5px 0 0;color:#909bad;font-size:9px}.permission-firm-row{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:end;gap:13px;padding:14px;border:1px solid #edf0f5;border-radius:13px;background:#fafbfe}.firm-summary{min-height:56px;display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e9e8fb;border-radius:10px;background:#fff}.summary-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#f0edff;color:#6e60f0}.summary-mark .icon{width:15px;height:15px}.firm-summary b,.firm-summary small{display:block}.firm-summary b{color:#39455c;font-size:9px}.firm-summary small{margin-top:3px;color:#9ca5b2;font-size:8px}.permission-company-block{margin-top:17px}.permission-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.permission-subhead b,.permission-subhead small{display:block}.permission-subhead b{color:#354158;font-size:9px}.permission-subhead small{margin-top:3px;color:#9ba4b3;font-size:8px}.permission-search{min-width:185px}.permission-checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:350px;overflow:auto;padding:2px;scrollbar-width:thin}.permission-choice{position:relative;min-width:0;display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e8ebf2;border-radius:11px;background:#fff;cursor:pointer;transition:border .15s,background .15s,box-shadow .15s}.permission-choice:hover{border-color:#d4d0ff;background:#fcfbff}.permission-choice input{position:absolute;width:1px;height:1px;opacity:0}.choice-check{width:17px;height:17px;display:grid;place-items:center;flex:0 0 17px;border:1px solid #dce1eb;border-radius:5px;color:transparent;transition:all .14s}.choice-check .icon{width:11px;height:11px}.permission-choice input:checked+.choice-check{border-color:#6d5dfc;background:#6d5dfc;color:#fff}.permission-choice:has(input:checked){border-color:#c5befd;background:#f9f7ff;box-shadow:0 0 0 2px #7567ff0a}.choice-copy{min-width:0;display:flex;flex-direction:column}.choice-copy b{overflow:hidden;color:#445067;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.choice-copy small{margin-top:3px;overflow:hidden;color:#a2aab7;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.choice-arrow{margin-left:auto;color:#c1c7d1}.choice-arrow .icon{width:12px;height:12px}.permission-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:13px;border-top:1px solid #edf0f5}.permission-footer>span{color:#8e99ab;font-size:8px}.read-only-banner{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:17px 19px;border-color:#e9e8f6;background:linear-gradient(110deg,#fcfbff,#fff)}.banner-shield{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#f0edff;color:#6b5cec}.banner-shield .icon{width:18px;height:18px}.read-only-banner b,.read-only-banner small{display:block}.read-only-banner b{color:#39445a;font-size:10px}.read-only-banner small{max-width:800px;margin-top:3px;color:#929caf;font-size:8px;line-height:1.5}.assignment-layout{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.25fr);gap:18px}.assignment-form{display:grid;align-content:start;gap:13px;padding:15px;border:1px solid #edf0f5;border-radius:13px;background:#fafbfe}.switch-row{display:flex;align-items:center;gap:9px;cursor:pointer}.switch-row input{position:absolute;opacity:0}.switch-visual{position:relative;width:30px;height:17px;flex:0 0 30px;border-radius:20px;background:#d7dce5;transition:background .17s}.switch-visual:after{position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #18223b30;content:"";transition:transform .17s}.switch-row input:checked+.switch-visual{background:#6b5cf0}.switch-row input:checked+.switch-visual:after{transform:translateX(13px)}.switch-row>span:last-child b,.switch-row>span:last-child small{display:block}.switch-row>span:last-child b{color:#5b6578;font-size:8px}.switch-row>span:last-child small{margin-top:2px;color:#9ba4b2;font-size:7px}.assignment-list{min-width:0}.assignment-items{max-height:300px;overflow:auto;padding:0 2px;scrollbar-width:thin}.assignment-item{min-height:44px;display:flex;align-items:center;gap:8px;padding:7px 3px;border-bottom:1px solid #f0f1f5}.assignment-avatar{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;border-radius:9px;background:#eaf1ff;color:#477cf5;font-size:8px;font-weight:800}.assignment-user{min-width:85px;display:flex;flex-direction:column}.assignment-user b{overflow:hidden;color:#47536a;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.assignment-user small{margin-top:2px;overflow:hidden;color:#a0a8b5;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.assignment-divider{color:#c5cad3}.assignment-portfolio{min-width:0;overflow:hidden;color:#5d6980;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.assignment-item .status-tag{margin-left:auto}
/* Definitions */
.definition-grid{grid-template-columns:minmax(300px,.8fr) minmax(320px,1.2fr)}.definition-form-card{grid-row:span 1}.definition-explainer{position:relative;isolation:isolate;min-height:270px;overflow:hidden;padding:24px 25px;background:radial-gradient(ellipse at 100% 0,#e9e7ff 0,transparent 38%),linear-gradient(135deg,#fbfaff,#f3f5ff)}.definition-explainer h2{margin:9px 0;color:#27334a;font-size:23px;line-height:1.18;letter-spacing:-.8px}.definition-explainer h2 em{color:#6b5be9;font-style:normal}.definition-explainer p{max-width:390px;margin:8px 0;color:#8993a7;font-size:9px;line-height:1.7}.definition-illustration{position:absolute;top:20px;right:24px;width:95px;height:95px;display:grid;place-items:center}.definition-orbit{position:absolute;border:1px solid #7568e51e;border-radius:50%}.orbit-a{inset:2px}.orbit-b{inset:15px}.definition-icon{width:47px;height:47px;display:grid;place-items:center;border:1px solid #dcd7ff;border-radius:15px;background:#fff;color:#6858e6;box-shadow:0 12px 25px #6e61d51b}.definition-icon .icon{width:23px;height:23px}.definition-steps{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.definition-steps span{display:inline-flex;align-items:center;gap:6px;padding:7px 8px;border:1px solid #e8e7f7;border-radius:8px;background:#fff;color:#737e93;font-size:7px}.definition-steps b{color:#6c5de8;font-size:7px}.url-input-wrap{display:flex;align-items:center;min-height:41px;overflow:hidden;border:1px solid #e1e5ed;border-radius:10px;background:#fff}.url-input-wrap:focus-within{border-color:#a9a1ff;box-shadow:0 0 0 3px #7567ff17}.url-input-wrap>span{padding-left:11px;color:#8893a7;font-size:9px}.url-input-wrap input{min-width:0;border:0;outline:0;box-shadow:none!important}
/* Notifications and motion */
.toast{position:relative;z-index:1;display:flex;align-items:center;gap:9px;margin:0 0 17px;padding:11px 12px;border:1px solid #dff1e9;border-radius:11px;background:#f3fbf7;color:#37866e;font-size:9px;box-shadow:0 7px 18px #18223b08;animation:toastIn .24s ease both}.toast-mark{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#e1f5eb;color:#22a17b}.toast-mark .icon{width:13px;height:13px}.toast-close{width:23px;height:23px;display:grid;place-items:center;margin-left:auto;border:0;border-radius:6px;background:transparent;color:#80a998;font-size:16px;cursor:pointer}.toast-close:hover{background:#e5f5ec}.ajax-indicator{position:fixed;top:0;left:50%;z-index:100;width:60px;height:4px;display:flex;gap:3px;overflow:hidden;opacity:0;pointer-events:none;transform:translateX(-50%);transition:opacity .15s}.ajax-indicator.is-active{opacity:1}.ajax-indicator span{width:33%;height:100%;border-radius:4px;background:#7566ff;animation:loadBar .75s ease-in-out infinite alternate}.ajax-indicator span:nth-child(2){animation-delay:.12s}.ajax-indicator span:nth-child(3){animation-delay:.24s}.is-loading{opacity:.68;pointer-events:none}.is-filtered-out{display:none!important}.page-content.is-transitioning{opacity:.45;transform:translateY(3px);transition:opacity .13s,transform .13s}.empty-row[hidden],.permission-choice[hidden]{display:none!important}@keyframes pageIn{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes toastIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes loadBar{from{opacity:.45;transform:scaleX(.55);transform-origin:left}to{opacity:1;transform:scaleX(1);transform-origin:left}}
/* Legacy login view, retained with the same visual system */
.login-page{min-height:100vh;background:#f4f6fb}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr)}.login-art{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:38px clamp(30px,6.5vw,94px);background:radial-gradient(ellipse at 88% 80%,#5148d774 0,transparent 38%),linear-gradient(145deg,#111827 0%,#1d2944 58%,#383c81 115%);color:#fff}.login-art:before,.login-art:after{position:absolute;z-index:-1;right:-150px;bottom:-190px;width:540px;height:540px;border:1px solid #ffffff17;border-radius:50%;content:""}.login-art:after{right:80px;bottom:-80px;width:300px;height:300px}.login-brand{display:flex;align-items:center;gap:13px;color:#fff;font-size:17px;font-weight:800;letter-spacing:-.4px}.login-brand img{width:43px;height:43px;object-fit:contain;border:1px solid #ffffff2c;border-radius:13px;background:#fff;padding:2px}.login-brand small{display:block;margin-top:2px;color:#aeb7d6;font-size:8px;letter-spacing:1.5px}.login-message{max-width:610px;padding:40px 0}.login-message .eyebrow{color:#aaa2ff}.login-message h1{max-width:620px;margin:17px 0 16px;font-size:clamp(38px,5.1vw,65px);line-height:1.06;letter-spacing:-2.8px}.login-message p{max-width:470px;margin:0;color:#bdc6e2;font-size:13px;line-height:1.8}.login-footer{color:#a9b2d0;font-size:9px;letter-spacing:.3px}.login-footer span{padding:0 7px;color:#777f9e}.login-card-wrap{display:grid;place-items:center;padding:35px}.login-card{width:min(420px,100%);padding:38px 36px;border:1px solid #e6e8f0;border-radius:23px;background:#fff;box-shadow:0 26px 75px #1d275a12}.login-card-icon{width:43px;height:43px;object-fit:contain;margin-bottom:18px;border-radius:13px}.login-card h2{margin:7px 0 5px;font-size:25px;letter-spacing:-.7px}.login-card>.muted{margin:0 0 24px;color:#8792a5;font-size:11px}.login-card .eyebrow{font-size:9px}.login-card label{display:block;margin:15px 0 6px;color:#5e6b80;font-size:9px;font-weight:750}.login-card input{width:100%;min-height:45px;padding:10px 12px;border:1px solid #e1e5ed;border-radius:10px;outline:0;background:#fff;font-size:11px}.login-card input:focus{border-color:#a9a1ff;box-shadow:0 0 0 3px #7567ff17}.login-submit{width:100%;min-height:45px;margin-top:23px;font-size:10px}.login-submit span{font-size:15px}.secure-note{display:flex;align-items:center;gap:7px;margin-top:17px;color:#8b94a7;font-size:8px}.secure-note span{color:#22a77f;font-size:8px}.error{margin:16px 0;padding:10px 11px;border:1px solid #f4d5d9;border-radius:10px;background:#fff4f5;color:#ad4050;font-size:9px;line-height:1.5}
/* Responsive layouts */
@media(max-width:1200px){.app-shell{grid-template-columns:244px minmax(0,1fr)}.sidebar{padding-right:12px;padding-left:12px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-panel{padding:29px 30px}.permission-checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-shell{grid-template-columns:minmax(0,1fr) minmax(370px,.9fr)}}
@media(max-width:960px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;top:auto;height:auto;min-height:0;padding:9px 15px 10px}.brand{min-height:43px;padding:0 3px 7px}.brand-mark{width:33px;height:33px;flex-basis:33px;border-radius:10px}.brand-copy b{font-size:14px}.brand-copy small{font-size:7px}.brand-version,.workspace-chip,.sidebar-bottom,.nav-caption{display:none}.side-nav{display:flex;flex-direction:row;gap:5px;overflow-x:auto;padding:2px 0 3px}.nav-link{min-height:35px;flex:0 0 auto;gap:7px;padding:0 9px;font-size:9px}.nav-link>.icon{width:14px;height:14px}.nav-current{right:5px;width:4px;height:4px}.topbar{position:relative;min-height:62px;padding:0 20px}.mobile-menu{display:inline-grid;width:31px;height:31px}.topbar-context,.topbar-divider{display:none}.page-content{padding:23px 20px 18px}.hero-panel{min-height:250px}.dashboard-columns{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.hero-panel{grid-template-columns:1fr;min-height:255px;padding:26px}.hero-copy{max-width:75%}.hero-copy h2{font-size:32px}.hero-art{position:absolute;right:-35px;bottom:-16px;width:52%;height:190px;opacity:.77}.hero-glass{width:230px;height:145px}.glass-content{height:108px}.hero-orbit{width:240px;height:155px}.float-a{top:5%;right:14%}.dashboard-columns,.content-grid,.definition-grid{grid-template-columns:1fr}.full-span{grid-column:auto}.definition-explainer{min-height:240px}.assignment-layout{grid-template-columns:1fr}.assignment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment-form>.field:first-of-type,.assignment-form>.field:nth-of-type(2){grid-column:span 1}.assignment-form>.switch-row,.assignment-form>.btn{grid-column:1/-1}.permission-firm-row{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading>.heading-counter,.permission-flow{margin-top:15px}.heading-counter{font-size:8px}.user-chip>span:last-child{display:none}.quick-card,.activity-card,.form-card,.table-card,.permission-panel,.assignment-panel{padding:17px}.login-shell{grid-template-columns:1fr}.login-art{min-height:300px;padding:24px 28px}.login-message{padding:22px 0}.login-message h1{font-size:42px}.login-footer{font-size:8px}.login-card-wrap{padding:22px}.login-card{max-width:460px}}
@media(max-width:520px){.topbar{padding:0 13px}.breadcrumbs{font-size:9px}.breadcrumbs b{font-size:9px}.page-content{padding:19px 13px 16px}.page-heading{display:block;margin-bottom:19px}.page-heading h1{font-size:29px}.page-heading>div>p:last-child{font-size:10px}.page-heading>.heading-counter,.permission-flow{margin-top:12px}.dashboard-heading{display:flex;flex-direction:column;align-items:flex-start}.heading-actions{width:100%;justify-content:space-between}.hero-panel{min-height:260px;padding:23px 20px}.hero-copy{max-width:88%}.hero-copy h2{font-size:29px}.hero-copy p{max-width:275px;font-size:9px}.hero-art{right:-66px;bottom:-26px;width:52%;opacity:.46}.metric-grid{gap:8px}.metric-card{min-height:123px;padding:13px}.metric-label{font-size:8px}.metric-value{font-size:23px}.metric-foot{font-size:7px}.quick-card,.activity-card{padding:15px}.quick-grid{grid-template-columns:1fr}.quick-action{padding:10px}.field-row{grid-template-columns:1fr}.form-card,.table-card{padding:15px}.table-toolbar{align-items:flex-end;flex-direction:column}.table-search{min-width:0;width:100%}.section-title-row{align-items:flex-start}.permission-flow{max-width:100%;flex-wrap:wrap}.permission-checkbox-grid{grid-template-columns:1fr}.permission-footer{align-items:flex-start;flex-direction:column}.permission-footer .btn{width:100%}.assignment-form{grid-template-columns:1fr}.assignment-form>.field,.assignment-form>.switch-row,.assignment-form>.btn{grid-column:1}.assignment-item{gap:6px}.assignment-user{min-width:65px}.assignment-portfolio{font-size:7px}.page-footer{flex-direction:column}.login-art{min-height:270px;padding:22px}.login-message h1{font-size:36px}.login-message p{font-size:11px}.login-card{padding:29px 23px}.login-card h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.role-five{background:#fff0f0;color:#d75568}

/* Portfolio directory and inline company settings */
.portfolio-heading{margin-bottom:16px}.portfolio-directory{padding:19px 21px 15px;border-radius:8px;box-shadow:none}.portfolio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 11px}.portfolio-create-button{min-height:42px;padding:10px 17px;border-color:#e80d32;background:#ed1235;color:#fff;border-radius:11px;box-shadow:0 4px 10px #ed123526;font-size:11px}.portfolio-create-button:hover{border-color:#d20b2c;background:#d90c2d;color:#fff}.portfolio-create-button .icon{width:17px;height:17px}.portfolio-search{width:min(290px,45%);min-height:38px;border-color:#d9d9d9;border-radius:10px}.portfolio-search input{font-size:11px}.portfolio-table-scroll,.portfolio-company-scroll{width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#d3d9e1 transparent}.portfolio-table{width:100%;min-width:920px;border:1px solid #cfd3d8;border-collapse:separate;border-spacing:0;overflow:hidden;border-radius:8px;text-align:left;font-size:12px}.portfolio-table thead{background:#3d73c7}.portfolio-table th{height:43px;padding:9px 10px;border-right:1px solid #c2d1e5;border-bottom:1px solid #cbd4df;color:#fff;text-align:center;font-size:11px;font-weight:700;letter-spacing:0;text-transform:none}.portfolio-table th:last-child{border-right:0}.portfolio-table td{height:35px;padding:5px 9px;border-right:1px solid #d5d5d5;border-bottom:1px solid #d5d5d5;color:#49525e;font-size:11px;vertical-align:middle}.portfolio-table td:last-child{border-right:0}.portfolio-table tbody tr.portfolio-row:nth-child(4n+3){background:#f4f4f4}.portfolio-table tbody tr.portfolio-row:hover{background:#f4f7fc}.portfolio-table .portfolio-detail-row td{height:auto;padding:18px 20px;border-right:0;background:#fafafa}.portfolio-table .portfolio-expander-head{width:24px}.portfolio-expander-cell{width:24px;text-align:center}.portfolio-number-head,.portfolio-number-cell{width:52px;text-align:center!important}.portfolio-expander,.portfolio-icon-button{display:inline-grid;place-items:center;border:0;background:transparent;color:#3480ad;cursor:pointer}.portfolio-expander{width:22px;height:26px;font-size:20px;line-height:1;transition:transform .16s}.portfolio-row[aria-expanded="true"] .portfolio-expander,.portfolio-row[data-expanded="true"] .portfolio-expander{transform:rotate(90deg)}.portfolio-detail-button{padding:4px 2px;border:0;background:transparent;color:#337aa8;text-decoration:none;cursor:pointer}.portfolio-detail-button:hover{text-decoration:underline}.portfolio-icon-button{width:30px;height:28px;color:#287eae}.portfolio-icon-button .icon{width:16px;height:16px}.portfolio-delete-button{color:#287eae}.portfolio-action-form{margin:0;text-align:center}.portfolio-name-head{text-align:center!important}.portfolio-name-cell{min-width:190px}.portfolio-name-text{display:block;color:#34404d}.portfolio-code-text{display:block;margin-top:2px;color:#8c96a1;font-size:9px}.portfolio-users-cell{width:170px}.portfolio-rename-form{display:flex;align-items:center;gap:5px;margin-top:4px}.portfolio-rename-input{width:min(230px,100%);min-height:29px;padding:4px 7px;border:1px solid #b7c7dd;border-radius:5px}.portfolio-save-name,.portfolio-cancel-name{min-height:28px;padding:4px 8px;border:1px solid #d9dee5;border-radius:5px;background:#fff;color:#43556e;cursor:pointer}.portfolio-save-name{border-color:#3572c4;background:#3572c4;color:#fff}.portfolio-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;color:#202832;font-size:11px}.portfolio-pagination select{min-width:39px;height:35px;padding:4px 7px;border:1px solid #ddd;border-radius:4px;background:#f2f2f2;color:#4a4a4a}.portfolio-page-controls{display:flex;align-items:center;gap:8px}.portfolio-page-controls>span:first-child{margin-right:4px}.portfolio-page-controls button,.portfolio-page-number{width:31px;height:33px;display:grid;place-items:center;border:1px solid #ddd;border-radius:4px;background:#fff;color:#48627f;font-size:20px;line-height:1;cursor:pointer}.portfolio-page-controls button:disabled{opacity:.42;cursor:not-allowed}.portfolio-page-number{background:#f2f2f2;color:#454b53;font-size:12px}.portfolio-company-editor{padding:16px;border:1px solid #d4d9df;border-radius:7px;background:#fff}.portfolio-company-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.portfolio-company-heading b,.portfolio-company-heading small{display:block}.portfolio-company-heading b{color:#27384b;font-size:13px}.portfolio-company-heading small{margin-top:4px;color:#778391;font-size:10px}.portfolio-company-count{padding:5px 9px;border:1px solid #dbe4ef;border-radius:20px;background:#f5f8fb;color:#45698f;font-size:10px;white-space:nowrap}.portfolio-company-table{width:100%;min-width:1510px;border:1px solid #d0d3d8;border-collapse:collapse;text-align:left;font-size:11px}.portfolio-company-table thead{background:#3d73c7}.portfolio-company-table th{height:43px;padding:7px 8px;border:1px solid #cbd5e0;color:#fff;text-align:center;font-size:10px;font-weight:700;letter-spacing:0;text-transform:none}.portfolio-company-table td{height:47px;padding:5px 6px;border:1px solid #d5d5d5;color:#4a5562;font-size:10px}.portfolio-company-table tbody tr:nth-child(even){background:#f5f5f5}.company-setting-number{text-align:center}.company-setting-name{min-width:105px;color:#354452}.company-field{width:100%;min-width:92px;min-height:32px;padding:5px 7px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#3e4a56;font-size:10px}.company-proxy-field{min-width:150px}.company-phone-field{min-width:112px}.company-secret-field{position:relative;display:flex;align-items:center;min-width:126px}.company-secret-input{padding-right:29px}.secret-reveal{position:absolute;right:2px;width:26px;height:26px;border:0;border-radius:4px;background:#c5f4ee;color:#159c9b;cursor:pointer}.company-switch-form{margin:0;text-align:center}.company-switch{position:relative;width:55px;height:27px;padding:0;border:0;border-radius:16px;background:#d9d9d9;cursor:pointer;transition:background .16s}.company-switch span{position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .16s}.company-switch.is-on{background:#5c87d4}.company-switch.is-on span{transform:translateX(28px)}.company-save-form{margin:0;text-align:center}.company-save-button{min-height:30px;display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border:1px solid #cbd7e5;border-radius:5px;background:#fff;color:#2c78a4;font-size:9px;cursor:pointer}.company-save-button:hover{background:#eef5fc}.company-save-button .icon{width:14px;height:14px}.portfolio-no-companies{padding:16px;border:1px dashed #d7dce2;border-radius:7px;color:#748090;font-size:11px;text-align:center}.portfolio-dialog{width:min(580px,calc(100% - 28px));max-height:calc(100% - 32px);padding:24px;border:1px solid #dbe0e8;border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 20px 70px #17203340}.portfolio-dialog::backdrop{background:#121c2c66;backdrop-filter:blur(2px)}.portfolio-dialog-form{display:grid;gap:16px}.portfolio-dialog .section-title-row{margin-bottom:0}.portfolio-dialog h2{margin:5px 0 0;color:#263349;font-size:18px}.portfolio-dialog .icon-button{font-size:19px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
@media(max-width:720px){.portfolio-directory{padding:14px 12px}.portfolio-toolbar{align-items:stretch;flex-direction:column}.portfolio-search{width:100%}.portfolio-company-editor{padding:10px}.portfolio-company-heading{align-items:flex-start;flex-direction:column}.portfolio-pagination{font-size:9px}.portfolio-page-controls{gap:4px}.portfolio-page-controls>span:first-child{max-width:145px;text-align:right}.portfolio-dialog{padding:18px}.portfolio-dialog .field-row{grid-template-columns:1fr}}

.company-save-status{display:inline-block;min-width:75px;padding:4px 6px;border-radius:5px;color:#738096;font-size:9px;white-space:nowrap}.company-save-status[data-state="saving"]{background:#fff8e8;color:#a96a12}.company-save-status[data-state="saved"]{background:#edf9f2;color:#278354}.company-save-status[data-state="error"]{max-width:180px;background:#fff1f2;color:#b6384a;white-space:normal}.company-save-form.is-loading{opacity:.78}.secret-reveal:disabled{opacity:.55;cursor:wait}

/* User portfolio multi-select (Select2) */
.user-portfolio-select2.select2-container{width:100%!important;font-size:10px}.user-portfolio-select2 .select2-selection--multiple{min-height:41px;padding:4px 7px;border:1px solid #e1e5ed;border-radius:10px;background:#fff;color:#29344a;transition:border .17s,box-shadow .17s}.user-portfolio-select2.select2-container--open .select2-selection--multiple,.user-portfolio-select2.select2-container--focus .select2-selection--multiple{border-color:#a9a1ff;box-shadow:0 0 0 3px #7567ff17}.user-portfolio-select2 .select2-selection--multiple .select2-selection__rendered{display:flex;flex-wrap:wrap;gap:4px;padding:0}.user-portfolio-select2 .select2-selection--multiple .select2-selection__choice{margin:2px 3px 2px 0;padding:3px 8px;border:1px solid #e3e0ff;border-radius:7px;background:#f2f0ff;color:#4d45a2;font-size:9px}.user-portfolio-select2 .select2-selection--multiple .select2-selection__choice__remove{margin-right:6px;border:0;color:#7369e8}.select2-container--default .select2-results__option{padding:8px 10px;font-size:10px}.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#6d5dfc}.select2-container--default .select2-dropdown{overflow:hidden;border-color:#dfe4ee;border-radius:10px;box-shadow:0 12px 30px rgba(24,34,60,.12)}

.check-row{display:flex;align-items:center;gap:7px;font-size:9px;color:#5e6b80;line-height:1.4;min-height:30px;cursor:pointer}
.check-row input{width:auto;min-height:auto;margin:0;accent-color:#6d5dfc}


/* Authenticator 2FA QR kurulumu */
.totp-qr-card{display:flex;align-items:center;gap:18px;padding:16px;margin:14px 0 12px;border:1px solid #e3e8f0;border-radius:16px;background:#f8fafc}
.totp-qr{width:224px;height:224px;flex:0 0 224px;display:grid;place-items:center;padding:10px;border:1px solid #e5eaf2;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.totp-qr img,.totp-qr canvas{display:block;max-width:100%;height:auto}
.totp-qr-copy b{display:block;margin-bottom:5px;color:#172033;font-size:13px}
.totp-qr-copy small{display:block;max-width:290px;color:#667085;line-height:1.55}
.totp-manual{margin:4px 0 12px;color:#667085;font-size:11px}
.totp-manual summary{cursor:pointer;color:#2f6fed;font-weight:600}
.totp-manual .fixed-firm{margin-top:8px}
@media(max-width:640px){.totp-qr-card{align-items:flex-start;flex-direction:column}.totp-qr{width:200px;height:200px;flex-basis:200px}}

/* Yetki tanımı listesi */
.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.row-actions form{margin:0}
.align-right{text-align:right}
.table-muted{color:#98a2b3;font-size:10px}

/* Yetkilendirme matrisi */
.permission-matrix th small{display:block;margin-top:4px;font-size:9px;font-weight:500;color:#8a97aa;text-transform:none;letter-spacing:0}
.permission-matrix td{text-align:center;vertical-align:middle}
.permission-matrix .check-row{justify-content:center;min-height:28px;gap:0}
.permission-matrix .check-row span.table-muted{display:none}
.permission-matrix input[type="checkbox"]{width:16px;height:16px;accent-color:#6c4df6}
.role-pill-soft{background:#eef2f7;color:#53657d}
.row-actions input[aria-label="Yetki adı"]{min-width:110px;max-width:150px;height:30px;padding:4px 7px;border:1px solid #d9e1ec;border-radius:7px;font-size:11px}
/* TRAMER hesap anahtarı */
.switch-row{position:relative;display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #e2e9f2;border-radius:10px;background:#f8fafc;cursor:pointer}
.switch-row > span:last-child{display:flex;flex-direction:column;gap:3px}
.switch-row b{font-size:11px;color:#24344b}
.switch-row small{font-size:9px;line-height:1.45;color:#74849a}
.switch-input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.switch-track{position:relative;flex:0 0 34px;width:34px;height:20px;margin-top:1px;border-radius:999px;background:#cbd5e1;transition:background .18s ease;box-shadow:inset 0 1px 2px rgba(15,23,42,.12)}
.switch-thumb{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.25);transition:transform .18s ease}
.switch-input:checked + .switch-track{background:#0f766e}
.switch-input:checked + .switch-track .switch-thumb{transform:translateX(14px)}
.switch-input:focus-visible + .switch-track{outline:2px solid #99d8d1;outline-offset:2px}

/* Mobile usability overrides */
@media (max-width: 960px) {
  body { overflow-x: hidden; }
  .app-shell { display: block; min-height: 100vh; }
  .main-area { width: 100%; min-width: 0; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: min(86vw, 320px);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 18px 14px 16px;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: 18px 0 50px rgba(8, 14, 28, .34);
  }
  .sidebar.is-open { transform: translateX(0); }
  .brand { min-height: 48px; padding: 0 4px 14px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
  .brand-copy b { font-size: 16px; }
  .brand-copy small { font-size: 8px; }
  .brand-version { display: inline-block; }
  .workspace-chip { display: flex; margin-bottom: 15px; }
  .sidebar-bottom { display: block; }
  .nav-caption { display: block; }
  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px 0;
  }
  .nav-link {
    width: 100%;
    min-height: 44px;
    flex: none;
    gap: 11px;
    padding: 0 12px;
    font-size: 11px;
  }
  .nav-link > .icon { width: 17px; height: 17px; }
  .nav-current { right: 12px; width: 5px; height: 5px; }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 60px;
    padding: 0 16px;
  }
  .mobile-menu { display: inline-grid; width: 40px; height: 40px; }
  .page-content { padding: 20px 16px 18px; }
  .page-heading { gap: 12px; }
}

@media (max-width: 720px) {
  .content-grid,
  .definition-grid,
  .dashboard-columns,
  .assignment-layout { grid-template-columns: 1fr; }
  .full-span { grid-column: auto; }
  .page-heading { align-items: flex-start; }
  .page-heading > .heading-counter,
  .permission-flow { margin-top: 12px; }
  .form-card,
  .table-card,
  .quick-card,
  .activity-card,
  .permission-panel,
  .assignment-panel { padding: 16px; }
  .table-toolbar { align-items: stretch; flex-direction: column; }
  .table-search { width: 100%; min-width: 0; }
  .table-scroll,
  .portfolio-table-scroll,
  .portfolio-company-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .table-scroll table { min-width: 620px; }
  .portfolio-table { min-width: 720px; }
  .portfolio-company-table { min-width: 1120px; }
  .portfolio-toolbar { align-items: stretch; flex-direction: column; }
  .portfolio-create-button,
  .portfolio-search { width: 100%; }
  .portfolio-dialog { width: calc(100% - 20px); max-height: calc(100% - 20px); }
  .portfolio-dialog .field-row { grid-template-columns: 1fr; }
  input,
  select,
  textarea { min-height: 44px; font-size: 16px; }
  .company-field { min-width: 0; min-height: 44px; font-size: 16px; }
  .btn,
  button { min-height: 42px; }
  .icon-button { min-height: 40px; }
  .login-card-wrap { padding: 16px; }
  .login-card input { min-height: 48px; font-size: 16px; }
  .login-card label { font-size: 11px; }
  .login-submit { min-height: 48px; font-size: 14px; }
  .login-message h1 { font-size: 38px; }
  .login-art { min-height: 250px; }
  .heading-actions { flex-wrap: wrap; }
  .heading-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 520px) {
  .topbar { padding: 0 12px; }
  .breadcrumbs { min-width: 0; overflow: hidden; white-space: nowrap; }
  .breadcrumbs b { overflow: hidden; text-overflow: ellipsis; }
  .page-content { padding: 17px 12px 15px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading > div > p:last-child { font-size: 11px; line-height: 1.65; }
  .metric-grid { gap: 8px; }
  .metric-card { min-height: 118px; padding: 12px; }
  .metric-value { font-size: 22px; }
  .hero-panel { min-height: 235px; padding: 22px 18px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h2 { font-size: 28px; letter-spacing: -1px; }
  .hero-copy p { max-width: 100%; }
  .hero-art { display: none; }
  .hero-link { margin-top: 15px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-action { padding: 12px; }
  .section-title-row { align-items: flex-start; flex-wrap: wrap; }
  .section-title-row > :last-child { margin-left: auto; }
  .permission-flow { max-width: 100%; white-space: normal; flex-wrap: wrap; }
  .permission-checkbox-grid { grid-template-columns: 1fr; }
  .assignment-form,
  .assignment-form > .field,
  .assignment-form > .switch-row,
  .assignment-form > .btn { grid-column: 1; }
  .page-footer { flex-direction: column; }
  .login-art { min-height: 220px; padding: 18px; }
  .login-message { padding: 14px 0; }
  .login-message h1 { font-size: 30px; letter-spacing: -1.3px; }
  .login-message p { font-size: 11px; line-height: 1.65; }
  .login-card-wrap { padding: 12px; }
  .login-card { padding: 24px 18px; border-radius: 18px; }
  .login-card h2 { font-size: 23px; }
  .login-card > .muted { margin-bottom: 18px; }
  .portfolio-directory { padding: 12px; }
  .portfolio-pagination { align-items: stretch; flex-direction: column; gap: 10px; }
  .portfolio-page-controls { justify-content: space-between; }
  .portfolio-page-controls > span:first-child { max-width: none; text-align: left; }
  .table-card { padding: 12px; }
  .table-scroll table { min-width: 560px; }
  .portfolio-table { min-width: 680px; }
}

@media (max-width: 380px) {
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 102px; }
  .brand-copy small { display: none; }
  .page-heading h1 { font-size: 26px; }
}

@media (max-width: 960px) {
  body.mobile-menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(9, 14, 26, .42);
    content: "";
  }
}

@media (max-width: 720px) {
  .portfolio-table-scroll { overflow: visible; }
  .portfolio-table {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
  }
  .portfolio-table thead { display: none; }
  .portfolio-table tbody { display: block; }
  .portfolio-table tr {
    display: block;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #dfe4ee;
    border-radius: 12px;
    background: #fff;
  }
  .portfolio-table [hidden],
  .portfolio-table .portfolio-detail-row[hidden],
  .portfolio-table .portfolio-rename-form[hidden] { display: none !important; }
  .portfolio-table > tbody > tr > td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid #f0f2f6;
    text-align: right;
    white-space: normal;
  }
  .portfolio-table > tbody > tr > td:last-child { border-bottom: 0; }
  .portfolio-table > tbody > tr > td::before {
    flex: 0 0 105px;
    color: #7d889c;
    font-size: 10px;
    font-weight: 700;
    text-align: left;
    content: attr(data-label);
  }
  .portfolio-table .portfolio-expander-cell { display: none; }
  .portfolio-table .portfolio-number-cell { display: none; }
  .portfolio-table .portfolio-detail-row { margin-top: -12px; border-top: 0; border-radius: 0 0 12px 12px; }
  .portfolio-table .portfolio-detail-row > td { display: block; padding: 0; border: 0; }
  .portfolio-table .portfolio-detail-row > td::before { display: none; }
  .portfolio-table .portfolio-detail-button { width: 100%; text-align: left; }
  .portfolio-table .portfolio-name-cell { display: flex; flex-wrap: wrap; align-items: center; }
  .portfolio-table .portfolio-name-cell::before { flex-basis: 105px; }
  .portfolio-table .portfolio-name-text { flex: 1 1 140px; text-align: right; }
  .portfolio-table .portfolio-code-text { flex: 1 1 100%; text-align: right; }
  .portfolio-table .portfolio-rename-form { display: flex; width: 100%; gap: 6px; }
  .portfolio-table .portfolio-action-form { display: inline-flex; justify-content: flex-end; }
  .portfolio-table .portfolio-icon-button { min-width: 44px; min-height: 44px; }
}

/* Öneri / Destek merkezi */
.support-layout { align-items: start; }
.support-ticket-list { display: grid; gap: 7px; max-height: 360px; overflow: auto; padding-right: 3px; }
.support-ticket-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #e3eaf0; border-radius: 12px; color: inherit; text-decoration: none; background: #fbfdfe; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.support-ticket-item:hover { border-color: #a9d8d0; background: #f4fbf9; transform: translateY(-1px); }
.support-ticket-item.is-selected { border-color: #087d78; background: #edf9f6; box-shadow: 0 4px 14px rgba(8,125,120,.10); }
.support-ticket-main { display: grid; gap: 4px; min-width: 0; }
.support-ticket-main b { color: #17324d; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-ticket-main small { color: #718399; font-size: 11px; }
.support-detail-card { margin-top: 16px; }
.support-message-stream { display: grid; gap: 10px; margin: 16px 0; }
.support-bubble { max-width: 82%; padding: 12px 14px; border-radius: 15px; background: #f3f7fa; color: #29445f; line-height: 1.55; font-size: 13px; }
.support-bubble-user { justify-self: start; border-bottom-left-radius: 4px; }
.support-bubble-support { justify-self: end; background: #e5f6f1; border-bottom-right-radius: 4px; color: #195d58; }
.support-bubble-meta { display: block; margin-bottom: 5px; color: #718399; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.support-technical { margin: 18px 0; border: 1px solid #e1e9ef; border-radius: 14px; overflow: hidden; background: #fbfdfe; }
.support-technical summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; color: #35516d; font-weight: 700; font-size: 12px; }
.support-technical-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 0 14px 14px; }
.support-technical h3 { margin: 0 0 7px; color: #17324d; font-size: 12px; }
.support-technical pre { margin: 0; padding: 10px; max-height: 260px; overflow: auto; border-radius: 10px; background: #101a2a; color: #d9e8f4; font-size: 10px; line-height: 1.55; white-space: pre-wrap; }
.support-screenshot { display: block; width: 100%; max-height: 300px; object-fit: contain; border: 1px solid #dce6ed; border-radius: 10px; background: #fff; }
.support-status-form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 0; border-top: 1px solid #edf1f5; border-bottom: 1px solid #edf1f5; margin: 12px 0; }
.support-status-form label { color: #35516d; font-size: 12px; font-weight: 700; }
.support-status-form select { min-height: 34px; padding: 6px 10px; border: 1px solid #d5e2e9; border-radius: 9px; background: #fff; color: #29445f; }
.support-reply-form { margin-top: 12px; }
@media (max-width: 760px) {
  .support-technical-grid { grid-template-columns: 1fr; }
  .support-bubble { max-width: 100%; }
  .support-ticket-item { align-items: flex-start; }
}

/* Destek sohbeti ve dosya ekleri */
.support-workspace { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.support-inbox { padding: 18px; min-width: 0; }
.support-chat { display: flex; flex-direction: column; min-height: 680px; padding: 0; overflow: hidden; min-width: 0; }
.support-chat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 22px 16px; border-bottom: 1px solid #e8eef2; background: linear-gradient(135deg, #fbfefd, #f1faf7); }
.support-chat-header h2 { margin: 5px 0 3px; color: #17324d; font-size: 19px; }
.support-chat-header p { margin: 0; color: #718399; font-size: 12px; }
.support-new-ticket { margin: 14px 0 16px; border: 1px solid #dcebe8; border-radius: 14px; background: #f5fbf9; overflow: hidden; }
.support-new-ticket summary { display: flex; align-items: center; gap: 8px; padding: 12px 13px; color: #195d58; font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.support-new-ticket summary::-webkit-details-marker { display: none; }
.support-summary-plus { margin-left: auto; color: #087d78; font-size: 19px; line-height: 1; }
.support-new-form { padding: 0 13px 13px; }
.support-new-form .field { margin-bottom: 10px; }
.support-new-form textarea { min-height: 92px; }
.support-file-label { display: inline-flex; align-items: center; gap: 6px; }
.support-ticket-list { display: grid; gap: 8px; max-height: 580px; overflow: auto; padding: 2px 3px 2px 0; }
.support-ticket-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; }
.support-ticket-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #d8f3ec, #edf7f4); color: #087d78; font-size: 14px; font-weight: 800; }
.support-ticket-main { gap: 2px; }
.support-ticket-main small + small { color: #8b9aaa; }
.support-ticket-item .status-tag { align-self: start; margin-top: 2px; white-space: nowrap; }
.support-message-stream { display: grid; gap: 12px; flex: 1; min-height: 360px; max-height: 560px; overflow: auto; padding: 20px 22px; margin: 0; background: radial-gradient(circle at top right, #f7fcfb, #fbfdff 50%); }
.support-bubble { max-width: min(78%, 680px); padding: 11px 14px; border: 1px solid #e5edf1; box-shadow: 0 5px 14px rgba(23,50,77,.045); }
.support-bubble-user { background: #fff; }
.support-bubble-support { border-color: #ccebe2; box-shadow: 0 5px 14px rgba(8,125,120,.08); }
.support-attachment { display: flex; align-items: center; gap: 9px; max-width: 360px; margin-top: 8px; padding: 7px; border: 1px solid #d9e7ed; border-radius: 10px; background: #f8fcfd; color: #29445f; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.support-attachment:hover { border-color: #8fcfc5; background: #eefaf7; }
.support-attachment img, .support-file-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 8px; object-fit: cover; }
.support-file-icon { display: grid; place-items: center; background: #e7f3f7; color: #087d78; font-size: 20px; }
.support-file-copy { display: grid; gap: 2px; min-width: 0; }
.support-file-copy b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.support-file-copy small { color: #718399; font-size: 10px; }
.support-composer { padding: 14px 18px 16px; border-top: 1px solid #e8eef2; background: #fff; }
.support-composer textarea { width: 100%; min-height: 72px; max-height: 180px; resize: vertical; padding: 11px 12px; border: 1px solid #d8e5eb; border-radius: 12px; background: #fbfdfe; color: #29445f; font: inherit; font-size: 13px; }
.support-composer textarea:focus { outline: 2px solid #b8e5dc; border-color: #70c6b9; background: #fff; }
.support-composer-footer { display: flex; align-items: center; gap: 9px; margin-top: 9px; flex-wrap: wrap; }
.support-composer-footer .btn { margin-left: auto; }
.support-attach-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #d9e7ed; border-radius: 9px; color: #35516d; font-size: 11px; font-weight: 700; cursor: pointer; }
.support-attach-button:hover { border-color: #91d2c8; background: #f1faf8; }
.support-attach-button input { display: none; }
.support-composer-hint { color: #8b9aaa; font-size: 10px; }
.support-chat-empty { display: grid; place-items: center; align-content: center; min-height: 580px; padding: 30px; text-align: center; }
.support-empty-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 19px; background: #eaf8f4; color: #087d78; }
.support-chat-empty h2 { margin: 14px 0 5px; color: #17324d; font-size: 19px; }
.support-chat-empty p { max-width: 330px; margin: 0; color: #718399; font-size: 12px; line-height: 1.6; }
.support-heading { margin-bottom: 16px; }
@media (max-width: 980px) {
  .support-workspace { grid-template-columns: 1fr; }
  .support-chat { min-height: 520px; }
  .support-message-stream { max-height: 460px; }
}
@media (max-width: 620px) {
  .support-chat-header { flex-direction: column; }
  .support-message-stream { padding: 14px; max-height: 420px; }
  .support-bubble { max-width: 94%; }
  .support-ticket-list { max-height: 330px; }
  .support-composer { padding: 12px; }
  .support-composer-footer .btn { margin-left: 0; }
  .support-composer-footer .support-composer-hint { order: 3; width: 100%; }
}

.support-attachment-image { align-items: flex-start; }
.support-attachment-preview { display: inline-flex; flex: 0 0 42px; width: 42px; height: 42px; overflow: hidden; border-radius: 8px; cursor: zoom-in; }
.support-attachment-preview img { width: 42px; height: 42px; }
.support-file-download { color: #087d78; font-weight: 700; text-decoration: none; }
.support-file-download:hover { text-decoration: underline; }
.support-screenshot-zoom { cursor: zoom-in; }
.support-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(9, 18, 31, .84); backdrop-filter: blur(8px); }
.support-lightbox.is-open { display: flex; }
.support-lightbox img { display: block; max-width: min(1500px, 96vw); max-height: 92vh; border-radius: 12px; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, .42); object-fit: contain; }
.support-lightbox-close { position: fixed; top: 20px; right: 24px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(15, 30, 48, .78); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.support-lightbox-close:hover { background: rgba(15, 30, 48, .98); }
body.support-lightbox-open { overflow: hidden; }
@media (max-width: 720px) { .support-lightbox { padding: 14px; } .support-lightbox img { max-width: 98vw; max-height: 88vh; } .support-lightbox-close { top: 10px; right: 12px; } }
