:root{--font-display:"Inter", ui-sans-serif, system-ui, sans-serif;--font-body:"Inter", ui-sans-serif, system-ui, sans-serif;--ink:#0f172a;--ink-soft:#1e293b;--ink-muted:#334155;--paper:#f8fafc;--paper-elevated:#fff;--line:#e2e8f0;--line-soft:#f1f5f9;--text:#0f172a;--text-muted:#64748b;--accent:#0f766e;--accent-soft:#ccfbf1;--accent-hover:#0d9488;--danger:#b42318;--danger-soft:#fef3f2;--warn:#b54708;--warn-soft:#fffaeb;--ok:#067647;--ok-soft:#ecfdf3;--radius:8px;--radius-lg:12px;--shadow:0 1px 2px #0f172a0a, 0 8px 24px #0f172a0d;--ease:cubic-bezier(.22, 1, .36, 1);font-family:var(--font-body);color:var(--text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}*,:before,:after{box-sizing:border-box}body{background:var(--paper);min-height:100vh;margin:0}h1,h2,h3,.brand,.sidebar-brand,.stat-value,.plan-price{font-family:var(--font-display);letter-spacing:-.015em;font-weight:650}a{color:var(--accent)}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes softPulse{0%,to{opacity:.45}50%{opacity:.75}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.center-page{background:radial-gradient(80% 60% at 10% 20%,#0f766e2e,#0000 55%),radial-gradient(70% 50% at 90% 80%,#14332e24,#0000 50%),linear-gradient(160deg,#e8f0ec 0%,#f3f6f4 45%,#dfeae5 100%);place-items:center;min-height:100vh;padding:1.5rem;display:grid;position:relative;overflow:hidden}.center-page:before{content:"";pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230b1f1c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");animation:8s ease-in-out infinite softPulse;position:absolute;inset:0}.auth-shell{z-index:1;background:var(--paper-elevated);border-radius:var(--radius-lg);width:min(920px,100%);box-shadow:var(--shadow);animation:fadeUp .55s var(--ease) both;grid-template-columns:1.05fr .95fr;display:grid;position:relative;overflow:hidden}.auth-hero{background:linear-gradient(155deg, #0f766eeb, #0b1f1cf5), var(--ink);color:#ecfdf8;flex-direction:column;justify-content:space-between;min-height:480px;padding:2.75rem 2.4rem;display:flex;position:relative}.auth-hero:after{content:"";pointer-events:none;background:#ccfbf11f;border-radius:50%;width:240px;height:240px;position:absolute;bottom:-80px;right:-60px}.auth-hero-brand{font-family:var(--font-display);letter-spacing:-.04em;margin:0;font-size:2rem;font-weight:800;line-height:1.1}.auth-hero-tag{color:#ecfdf8d1;max-width:26ch;margin:.85rem 0 0;font-size:1.02rem;line-height:1.45}.auth-hero-meta{color:#ecfdf88c;letter-spacing:.04em;text-transform:uppercase;font-size:.82rem}.center-page.is-paused{background:radial-gradient(70% 50% at 8% 12%,#b4530929,#0000 55%),radial-gradient(60% 45% at 92% 88%,#0f172a1f,#0000 50%),linear-gradient(160deg,#f4efe6 0%,#f7f4ef 48%,#e8e4dc 100%)}.auth-shell.is-paused{box-shadow:0 1px 2px #0f172a0a,0 18px 40px #451a0314}.auth-hero.is-paused{color:#fef7ed;background:linear-gradient(158deg,#1c1917 0%,#292524 42%,#1c1410 100%);gap:1.35rem}.auth-hero.is-paused:after{background:#fbbf241a;width:280px;height:280px;bottom:-110px;right:-90px}.auth-hero.is-paused .auth-hero-tag{color:#fef3c7d1;max-width:32ch}.pause-kicker{color:#fde68a;letter-spacing:.08em;text-transform:uppercase;background:#fbbf2424;border-radius:999px;align-items:center;gap:.4rem;margin:1rem 0 0;padding:.22rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.pause-kicker:before{content:"";background:#fbbf24;border-radius:50%;width:6px;height:6px;animation:2.4s ease-in-out infinite pausePulse;box-shadow:0 0 0 4px #fbbf2438}.pause-stage{height:148px;margin:.25rem 0 .15rem;position:relative}.pause-card{background:#292524eb;border:1px solid #fde68a1f;border-radius:10px;width:78%;max-width:250px;position:absolute;left:0}.pause-card-back{opacity:.45;height:88px;top:8px;transform:rotate(-6deg)translate(10px)}.pause-card-mid{opacity:.7;flex-direction:column;gap:.4rem;height:92px;padding:.85rem .9rem;display:flex;top:22px;transform:rotate(3.5deg)translate(18px)}.pause-card-mid span{background:#fef3c729;border-radius:99px;height:7px;display:block}.pause-card-mid span:last-child{width:58%}.pause-card-front{height:auto;animation:pauseFloat 5s var(--ease) infinite;background:linear-gradient(#44403c,#292524);flex-direction:column;gap:.28rem;padding:.8rem .95rem .85rem;display:flex;top:38px;box-shadow:0 12px 28px #00000047}.pause-card-ref{letter-spacing:.08em;text-transform:uppercase;color:#fde68a8c;font-size:.68rem}.pause-card-title{font-family:var(--font-display);color:#fef3c7;font-size:.95rem;font-weight:650}.pause-badge{color:#fde68a;letter-spacing:.04em;background:#fbbf2429;border-radius:999px;align-self:flex-start;margin-top:.25rem;padding:.12rem .45rem;font-size:.68rem;font-weight:700}.pause-glyph{color:#1c1917;background:#fbbf24;border-radius:50%;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;display:flex;position:absolute;top:.2rem;right:.35rem;box-shadow:0 8px 20px #fbbf2447}.pause-glyph i{background:#1c1917;border-radius:2px;width:5px;height:16px;display:block}.pause-points{color:#fef3c7c7;flex-direction:column;gap:.4rem;margin:auto 0 0;padding:0;font-size:.84rem;list-style:none;display:flex}.pause-points li{align-items:center;gap:.5rem;display:flex}.pause-points li:before{content:"";background:#fbbf24;border-radius:50%;flex-shrink:0;width:5px;height:5px}.lockout-panel{flex-direction:column;gap:.35rem;display:flex}.lockout-kicker{letter-spacing:.08em;text-transform:uppercase;color:#b45309;margin:0 0 .35rem;font-size:.72rem;font-weight:700}.lockout-company{background:var(--warn-soft);color:#92400e;border-radius:999px;align-items:center;gap:.45rem;width:fit-content;margin:.65rem 0 .15rem;padding:.35rem .7rem .35rem .55rem;font-size:.88rem;font-weight:700;display:inline-flex}.lockout-dot{background:#d97706;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #d977062e}.lockout-steps{color:var(--text-muted);margin:1rem 0 1.35rem;padding:0 0 0 1.15rem;font-size:.9rem;line-height:1.55}.lockout-steps li+li{margin-top:.4rem}.lockout-panel .ghost{align-self:flex-start}@keyframes pausePulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.85)}}@keyframes pauseFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.auth-card{animation:fadeIn .45s var(--ease) .12s both;flex-direction:column;justify-content:center;padding:2.5rem 2.2rem;display:flex}.auth-card .brand{display:none}.auth-card .subtitle{font-family:var(--font-display);color:var(--text);letter-spacing:-.03em;margin:0;font-size:1.45rem;font-weight:700}.auth-card .subtitle-note{color:var(--text-muted);margin:.35rem 0 0;font-size:.92rem}.auth-card form{flex-direction:column;gap:.85rem;margin-top:1.4rem;display:flex}.auth-card label,.stack-form label,.stacked-form label{color:var(--text-muted);letter-spacing:.01em;flex-direction:column;gap:.35rem;font-size:.8rem;font-weight:600;display:flex}.switch{color:var(--text-muted);text-align:center;margin-top:1.35rem;font-size:.88rem}.switch a{color:var(--accent);cursor:pointer;transition:border-color .2s var(--ease);border-bottom:1px solid #0000;font-weight:700;text-decoration:none}.switch a:hover{border-bottom-color:var(--accent)}@media (width<=780px){.auth-shell{grid-template-columns:1fr}.auth-hero{min-height:auto;padding:1.75rem 1.5rem}.auth-hero-brand{font-size:1.55rem}.auth-card{padding:1.75rem 1.5rem 2rem}.pause-stage{height:120px}.pause-points{margin-top:1rem}}input,select,textarea{border:1px solid var(--line);border-radius:var(--radius);color:var(--text);transition:border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);background:#fafcfb;padding:.65rem .8rem;font-family:inherit;font-size:.92rem}input:hover,select:hover,textarea:hover{border-color:#b8c9c2}input:focus,select:focus,textarea:focus{border-color:var(--accent);background:#fff;outline:none;box-shadow:0 0 0 3px #0f766e26}button,.button{border-radius:var(--radius);background:var(--accent);color:#fff;cursor:pointer;transition:transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);border:none;justify-content:center;align-items:center;gap:.35rem;padding:.55rem 1rem;font-family:inherit;font-size:.875rem;font-weight:600;text-decoration:none;display:inline-flex}button:hover:not(:disabled),.button:hover{background:var(--accent-hover)}button:active:not(:disabled),.button:active{transform:translateY(0)}button:disabled{opacity:.55;cursor:default}button.ghost,.button.ghost{border:1px solid var(--line);color:var(--text);background:0 0}button.ghost:hover:not(:disabled),.button.ghost:hover{background:var(--line-soft);border-color:#c5d4ce}button.danger{color:var(--danger);border-color:#fecdca}.error{background:var(--danger-soft);color:var(--danger);border-radius:var(--radius);animation:fadeUp .3s var(--ease);border:1px solid #fecdca;margin:.75rem 0;padding:.75rem 1rem;font-size:.9rem}.info-banner{background:var(--accent-soft);color:#115e59;border-radius:var(--radius);animation:fadeUp .3s var(--ease);border:1px solid #99f6e4;margin:.75rem 0;padding:.75rem 1rem;font-size:.9rem}.invite-link-box{border:1px dashed var(--line);border-radius:var(--radius);background:#f8fbf9;flex-direction:column;gap:.5rem;margin-top:1rem;padding:.95rem 1rem;display:flex}.invite-link-box code{word-break:break-all;color:var(--ink);font-size:.8rem}.muted{color:var(--text-muted);font-size:.85rem}.pre-wrap{white-space:pre-wrap}.subtitle{color:var(--text-muted);margin-top:.25rem}.app-shell{background:var(--paper);min-height:100vh;display:flex}.sidebar{background:var(--ink);color:#cbd5e1;border-right:1px solid #ffffff0f;flex-direction:column;flex-shrink:0;width:240px;height:100vh;padding:1.15rem .75rem;display:flex;position:sticky;top:0}.sidebar-brand{color:#fff;letter-spacing:-.03em;align-items:center;gap:.65rem;padding:.35rem .65rem 1.25rem;font-size:1.1rem;font-weight:700;display:flex}.sidebar-logo{object-fit:contain;background:#fff;border-radius:8px;width:32px;height:32px}.brand-mark{width:32px;height:32px;font-family:var(--font-display);color:#042f2e;background:linear-gradient(135deg,#2dd4bf,#0f766e);border-radius:8px;flex-shrink:0;place-items:center;font-size:.85rem;font-weight:800;display:grid}.sidebar nav{flex-direction:column;flex:1;gap:.2rem;display:flex}.sidebar nav a{color:#a7c0b9;transition:background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);border-radius:8px;padding:.55rem .75rem;font-size:.9rem;font-weight:500;text-decoration:none;position:relative}.sidebar nav a:hover{color:#ecfdf8;background:#ffffff0f;transform:translate(2px)}.sidebar nav a.active{color:#fff;background:#0f766e59;font-weight:600}.sidebar nav a.active:before{content:"";background:#5eead4;border-radius:0 3px 3px 0;width:3px;position:absolute;top:20%;bottom:20%;left:0}.nav-section{text-transform:uppercase;letter-spacing:.08em;color:#6b8a82;margin-top:1.35rem;padding:0 .75rem .35rem;font-size:.68rem;font-weight:600}.sidebar-footer{border-top:1px solid #ffffff14;flex-direction:column;gap:.65rem;padding-top:.95rem;display:flex}.main-column{flex-direction:column;flex:1;min-width:0;min-height:100vh;display:flex}.topbar{z-index:30;background:linear-gradient(#f8fafcf5 0%,#f8fafce0 70%,#0000 100%);justify-content:flex-end;align-items:center;gap:.75rem;padding:.55rem 1.5rem 0;display:flex;position:sticky;top:0}.topbar-spacer{flex:1}.notif-bell{position:relative}.notif-bell-btn{width:2.5rem;height:2.5rem;color:var(--text,#14201c);cursor:pointer;background:#ffffffb8;border:1px solid #14201c1a;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative;box-shadow:0 1px 2px #0a14100a}.notif-bell-btn:hover{background:#fff;border-color:#0f766e47}.notif-bell-icon{flex-shrink:0}.notif-badge{color:#fff;background:#e11d48;border:2px solid #eef3f0;border-radius:999px;justify-content:center;align-items:center;min-width:1.15rem;height:1.15rem;padding:0 .3rem;font-size:.68rem;font-weight:700;display:inline-flex;position:absolute;top:-.15rem;right:-.15rem}.notif-panel{width:min(22rem,100vw - 2rem);color:var(--text,#14201c);z-index:40;background:#fff;border:1px solid #14201c1a;border-radius:10px;position:absolute;top:calc(100% + .45rem);right:0;overflow:hidden;box-shadow:0 12px 40px #0a14102e}.notif-panel-head{border-bottom:1px solid #14201c14;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem .85rem;font-size:.88rem;display:flex}.notif-panel-head .ghost{padding:.25rem .5rem;font-size:.78rem}.notif-push-enable{text-align:left;width:calc(100% - 1.7rem);margin:.65rem .85rem 0;font-size:.8rem;display:block}.notif-list{max-height:22rem;margin:0;padding:0;list-style:none;overflow-y:auto}.notif-empty{color:#64748b;padding:1.1rem .9rem;font-size:.88rem}.notif-item{cursor:pointer;text-align:left;width:100%;font:inherit;color:inherit;background:0 0;border:0;border-bottom:1px solid #14201c0f;flex-direction:column;align-items:flex-start;gap:.15rem;padding:.75rem .9rem;display:flex}.notif-item:hover{background:#0f766e0f}.notif-item.unread{background:#0f766e14}.notif-item-title{font-size:.88rem;font-weight:650}.notif-item-body{color:#64748b;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.8rem;display:-webkit-box;overflow:hidden}.notif-item-meta{color:#94a3b8;font-size:.72rem}.sidebar-user{flex-direction:column;padding:0 .55rem;font-size:.88rem;display:flex}.sidebar-user strong{color:#fff}.sidebar-user span{color:#7fa097;font-size:.78rem}.sidebar .ghost{color:#c5d9d3;border-color:#ffffff24}.sidebar .ghost:hover:not(:disabled){background:#ffffff0f;border-color:#ffffff38}.content{width:100%;animation:fadeUp .4s var(--ease) both;flex-direction:column;flex:1;min-height:0;padding:1.15rem 1.5rem 1.5rem;display:flex}.content h2{color:var(--text);margin:0 0 .25rem;font-size:1.35rem;font-weight:650}.content h3{color:var(--text);margin:0 0 .7rem;font-size:1.05rem}.content section{margin-top:1.5rem}.page-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem;display:flex}.page-head h2,.page-head h3{margin:0}.narrow{max-width:640px}.dash-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.dash-header h2{margin-bottom:0}.dash-kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.stat-eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin-bottom:.35rem;font-size:.72rem;font-weight:650}.stat-card.accent .stat-eyebrow{color:#ecfdf8b3}.stat-card.warn{background:linear-gradient(165deg, #fef3c78c, transparent 60%), var(--paper-elevated);border-color:#b4530947}.stat-card.warn .stat-value{color:#b45309}.stat-cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.9rem;margin-top:1.35rem;display:grid}.stat-card,.status-cell{background:var(--paper-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow);color:inherit;transition:transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);flex-direction:column;padding:1.1rem 1.2rem;text-decoration:none;display:flex}.stat-card:hover,.status-cell:hover{border-color:#b6d0c8;transform:translateY(-3px);box-shadow:0 12px 28px #0b1f1c14}.stat-card.accent{color:#ecfdf8;background:linear-gradient(145deg,#0f766e,#115e59);border-color:#0000}.stat-card.accent .stat-value,.stat-card.accent .stat-label{color:#ecfdf8}.stat-card.accent .stat-label{opacity:.85}.stat-card:first-child{animation:fadeUp .4s var(--ease) 50ms both}.stat-card:nth-child(2){animation:fadeUp .4s var(--ease) .1s both}.stat-card:nth-child(3){animation:fadeUp .4s var(--ease) .15s both}.stat-card:nth-child(4){animation:fadeUp .4s var(--ease) .2s both}.stat-card:nth-child(5){animation:fadeUp .4s var(--ease) .25s both}.stat-card:nth-child(6){animation:fadeUp .4s var(--ease) .3s both}.stat-value{color:var(--text);font-variant-numeric:tabular-nums;font-size:1.85rem;font-weight:700;line-height:1.1}.stat-label{color:var(--text-muted);margin-top:.3rem;font-size:.84rem;font-weight:500}.dash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;margin-top:1.25rem;display:grid}.dash-panel{animation:fadeUp .45s var(--ease) both;margin-top:1.25rem}.dash-grid .dash-panel{margin-top:0}.dash-panel h3{margin:0 0 .85rem;font-size:.98rem}.dash-bars{gap:.7rem;margin:0;padding:0;list-style:none;display:grid}.dash-bars a{color:inherit;text-decoration:none;display:block}.dash-bar-meta{justify-content:space-between;gap:.75rem;margin-bottom:.28rem;font-size:.88rem;display:flex}.dash-bar-meta strong{font-variant-numeric:tabular-nums}.dash-bar-track{background:#0b1f1c14;border-radius:999px;height:8px;overflow:hidden}.dash-bar-fill{border-radius:inherit;min-width:2px;height:100%;transition:width .45s var(--ease);background:linear-gradient(90deg,#0f766e,#14b8a6)}.dash-bar-fill.prio-urgent{background:linear-gradient(90deg,#b91c1c,#ef4444)}.dash-bar-fill.prio-high{background:linear-gradient(90deg,#c2410c,#f97316)}.dash-bar-fill.prio-medium{background:linear-gradient(90deg,#a16207,#eab308)}.dash-bar-fill.prio-low{background:linear-gradient(90deg,#334155,#94a3b8)}.dash-bar-fill.tone-warn{background:linear-gradient(90deg,#b45309,#f59e0b)}.trend-chart{grid-template-columns:repeat(14,minmax(0,1fr));align-items:end;gap:.35rem;min-height:160px;padding:.35rem 0 .15rem;display:grid}.trend-col{flex-direction:column;align-items:center;gap:.4rem;min-width:0;display:flex}.trend-bars{justify-content:center;align-items:flex-end;gap:2px;width:100%;height:130px;display:flex}.trend-bar{width:42%;max-width:10px;min-height:2px;transition:height .4s var(--ease);border-radius:4px 4px 1px 1px}.trend-bar.created{background:#0f766e}.trend-bar.resolved{background:#94a3b8}.trend-label{color:var(--text-muted);letter-spacing:-.01em;font-size:.65rem}.trend-legend{color:var(--text-muted);gap:1rem;margin-top:.85rem;font-size:.8rem;display:flex}.trend-legend .swatch{vertical-align:-1px;border-radius:2px;width:.65rem;height:.65rem;margin-right:.35rem;display:inline-block}.trend-legend .swatch.created{background:#0f766e}.trend-legend .swatch.resolved{background:#94a3b8}.status-pipeline{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:.65rem;display:grid}.pipeline-cell{background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);color:inherit;transition:border-color .2s var(--ease), transform .2s var(--ease);padding:.85rem .8rem .95rem;text-decoration:none;position:relative;overflow:hidden}.pipeline-cell:hover{border-color:#b6d0c8;transform:translateY(-2px)}.pipeline-count{font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:700;line-height:1.1;display:block}.pipeline-label{color:var(--text-muted);margin-top:.25rem;font-size:.78rem;display:block}.pipeline-meter{transform-origin:0;opacity:.85;background:#0f766e;height:3px;position:absolute;bottom:0;left:0;right:0}.dash-alert{color:#b91c1c;font-size:.82rem;font-weight:650;text-decoration:none}.dash-alert:hover{text-decoration:underline}.aging-cards{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.aging-card{border-radius:var(--radius);border:1px solid var(--line-soft);background:var(--paper);color:inherit;transition:border-color .2s var(--ease);flex-direction:column;padding:1rem;text-decoration:none;display:flex}.aging-card:hover{border-color:#b6d0c8}.aging-card.hot{background:linear-gradient(160deg,#fee2e28c,#0000 70%);border-color:#b91c1c40}.aging-card.hot .stat-value{color:#b91c1c}.aging-note{margin:.9rem 0 0}.ticket-summary{white-space:nowrap;text-overflow:ellipsis;max-width:56ch;overflow:hidden}.status-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.7rem;display:grid}.status-cell .stat-value{font-size:1.3rem}@media (width<=900px){.dash-grid,.aging-cards{grid-template-columns:1fr}.trend-chart{grid-template-columns:repeat(14,28px);overflow-x:auto}}.kv-list{gap:.55rem;margin:0 0 1rem;display:grid}.kv-list>div{border-bottom:1px solid var(--line-soft);gap:1rem;padding:.35rem 0;display:flex}.kv-list dt{width:8rem;color:var(--text-muted);font-size:.85rem;font-weight:600}.kv-list dd{margin:0}.plan-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.5rem;display:grid}.plan-card{background:var(--paper-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow);transition:transform .25s var(--ease), border-color .25s var(--ease);flex-direction:column;gap:.5rem;padding:1.35rem;display:flex}.plan-card:hover{transform:translateY(-2px)}.plan-card.current{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent), var(--shadow)}.plan-card h3{margin:0}.plan-price{color:var(--ink);margin:0;font-size:1.35rem;font-weight:700}.plan-card ul{color:var(--text-muted);flex:1;margin:.5rem 0 1rem;padding-left:1.1rem;font-size:.9rem}.stack-form{flex-direction:column;gap:.9rem;margin-top:1rem;display:flex}.table-card{background:var(--paper-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:fadeUp .4s var(--ease) both;margin-top:1rem;padding:1.15rem 1.3rem;overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:left;border-bottom:1px solid var(--line-soft);color:var(--text);padding:.7rem .55rem}tbody tr{transition:background .15s var(--ease)}tbody tr:hover{background:#f7faf8}th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;font-weight:600}td a{color:var(--accent);cursor:pointer;font-weight:600;text-decoration:none}.summary-cell a{color:var(--text);font-weight:560}td.empty{text-align:center;color:var(--text-muted);padding:2.5rem 0}.filters{flex-wrap:wrap;gap:.6rem;margin-top:.9rem;display:flex}.filters input{min-width:220px}.pagination{color:var(--text-muted);justify-content:flex-end;align-items:center;gap:.8rem;padding-top:.9rem;font-size:.85rem;display:flex}.badge{background:var(--line-soft);color:var(--text-muted);white-space:nowrap;letter-spacing:.01em;border-radius:6px;padding:.2rem .55rem;font-size:.72rem;font-weight:700;display:inline-block}.badge.muted{color:#6b7f78;background:#f0f4f2}.status-new{color:#075985;background:#e0f2fe}.status-assigned{background:var(--accent-soft);color:#0f766e}.status-in_progress{background:var(--warn-soft);color:var(--warn)}.status-on_hold{color:#4b635c;background:#f0f4f2}.status-resolved{background:var(--ok-soft);color:var(--ok)}.status-closed{color:#374a45;background:#e8eee9}.status-cancelled{color:#8a9b95;background:#f0f4f2}.status-reopened{color:#be123c;background:#ffe4e6}.status-escalated{background:var(--danger-soft);color:var(--danger)}.priority-low{color:#6b7f78;background:#f0f4f2}.priority-medium{color:#075985;background:#e0f2fe}.priority-high{color:#c2410c;background:#ffedd5}.priority-urgent{background:var(--danger-soft);color:var(--danger)}.badge-row{gap:.5rem;margin:.4rem 0 .8rem;display:flex}.stacked-form{background:var(--paper-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow);animation:fadeUp .4s var(--ease) both;flex-direction:column;gap:.9rem;margin-top:1rem;padding:1.4rem;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:.9rem;display:grid}.inline-form{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.member-list{flex-direction:column;gap:.4rem;margin:0 0 .8rem;padding:0;list-style:none;display:flex}.member-list li{color:var(--text);border-bottom:1px solid var(--line-soft);align-items:center;gap:.6rem;padding:.4rem 0;font-size:.9rem;display:flex}.member-list li button{margin-left:auto;padding:.25rem .6rem;font-size:.78rem}.ticket-detail{animation:fadeUp .4s var(--ease) both;grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:1.25rem;width:100%;display:grid}.ticket-ref{color:var(--text-muted);font-size:.9rem;font-weight:700}.ticket-main section,.ticket-side section{background:var(--paper-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:1.2rem 1.35rem}.ticket-side{flex-direction:column;gap:1rem;display:flex;position:sticky;top:1.5rem}.ticket-side section{margin:0}.ticket-side dl{margin:0;font-size:.88rem}.ticket-side dt{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-top:.75rem;font-size:.72rem}.ticket-side dd{color:var(--text);margin:.2rem 0 0}.ticket-side select,.ticket-side input{width:100%}.transition-buttons{flex-wrap:wrap;gap:.45rem;margin-top:.6rem;display:flex}.timeline{flex-direction:column;gap:.75rem;display:flex}.timeline-status{color:var(--text-muted);border-left:2px solid var(--line);justify-content:space-between;gap:.8rem;padding:.35rem .2rem .35rem .75rem;font-size:.85rem;display:flex}.timeline-comment{border:1px solid var(--line-soft);border-radius:var(--radius);transition:border-color .2s var(--ease);background:#fafcfb;padding:.8rem .95rem}.timeline-comment:hover{border-color:#c5d4ce}.timeline-comment.internal{background:var(--warn-soft);border-color:#fde68a}.internal-badge{color:var(--warn);background:#fef3c7}.comment-head{align-items:center;gap:.6rem;margin-bottom:.35rem;font-size:.85rem;display:flex}.comment-head .muted{margin-left:auto}.timeline-comment p{color:var(--text);margin:0;font-size:.92rem}.ticket-document-head{border-bottom:1px solid var(--line);margin-bottom:.25rem;padding-bottom:1rem}.ticket-document-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin:0 0 .3rem;font-size:.72rem;font-weight:650}.ticket-document-head h3{flex-direction:column;gap:.25rem;margin:0;font-size:1.15rem;display:flex}.ticket-document-summary{color:var(--text);font-size:.95rem;font-weight:500}.ticket-document h4{letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin:1.35rem 0 .45rem;font-size:.72rem;font-weight:650}.ticket-document-grid{grid-template-columns:1fr 1fr;gap:0 1.5rem;margin:0;display:grid}.ticket-document-grid>div{border-bottom:1px solid var(--line-soft);grid-template-columns:8.25rem minmax(0,1fr);gap:.75rem;padding:.5rem 0;font-size:.9rem;display:grid}.ticket-document-grid dt{color:var(--text-muted);margin:0}.ticket-document-grid dd{color:var(--text);overflow-wrap:anywhere;margin:0}.ticket-document-files{flex-direction:column;gap:.35rem;margin:0;padding:0;font-size:.9rem;list-style:none;display:flex}.ticket-document-files a{color:var(--accent);cursor:pointer;margin-right:.45rem;font-weight:600}.ticket-document-actions{margin:0;padding:0;list-style:none}.ticket-document-actions li{border-bottom:1px solid var(--line-soft);grid-template-columns:11.5rem minmax(0,1fr);gap:1rem;padding:.75rem 0;font-size:.9rem;display:grid}.ticket-document-actions li.internal{background:var(--warn-soft);border-radius:var(--radius);margin:0 -.75rem;padding-left:.75rem;padding-right:.75rem}.ticket-document-actions time{color:var(--text-muted);font-size:.82rem;line-height:1.45}.ticket-document-actions p{margin:0}.ticket-document-note{color:var(--text-muted);font-size:.88rem;margin-top:.3rem!important}.comment-box{flex-direction:column;gap:.5rem;margin-top:.35rem;display:flex}@media (width<=720px){.ticket-document-grid,.ticket-document-actions li{grid-template-columns:1fr}.ticket-document-grid>div{grid-template-columns:7.5rem minmax(0,1fr)}}.comment-box textarea{resize:vertical;width:100%}.comment-actions{justify-content:flex-end;align-items:center;gap:1rem;display:flex}.checkbox{color:var(--text-muted);align-items:center;gap:.4rem;font-size:.83rem;display:flex}.checkbox input{width:auto}.attachment-list{flex-direction:column;gap:.3rem;margin:0 0 .8rem;padding:0;font-size:.88rem;list-style:none;display:flex}.attachment-list a{color:var(--accent);cursor:pointer;font-weight:600}.file-button{text-align:center;cursor:pointer;font-size:.85rem}.file-image-preview{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-top:.45rem;overflow:hidden}.file-image-preview img{object-fit:contain;background:#f1f5f9;width:100%;max-height:240px;display:block}.file-image-preview-fallback{color:var(--text);padding:.85rem .9rem;font-size:.88rem}.file-image-preview-meta{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:.5rem .75rem;font-size:.82rem;display:flex}.file-image-preview-meta .ghost{margin-left:auto;padding:.25rem .6rem;font-size:.78rem}.image-lightbox{z-index:80;animation:fadeIn .2s var(--ease);background:#0f172ab8;place-items:center;padding:1.5rem;display:grid;position:fixed;inset:0}.image-lightbox-panel{background:var(--paper-elevated);border-radius:var(--radius-lg);width:min(960px,100%);max-height:calc(100vh - 3rem);box-shadow:var(--shadow);flex-direction:column;display:flex;overflow:hidden}.image-lightbox-panel header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.image-lightbox-panel header strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.image-lightbox-actions{flex-shrink:0;gap:.4rem;display:flex}.image-lightbox-status,.image-lightbox-panel .error{margin:1rem}.image-lightbox-panel img{object-fit:contain;background:#0f172a;width:auto;max-width:100%;height:auto;max-height:calc(100vh - 8rem);margin:0 auto;display:block}.billing-modal-panel{width:min(640px,100%)}.billing-modal-body{padding:1rem 1.15rem 1.25rem;overflow:auto}.billing-modal-actions{flex-wrap:wrap;gap:.5rem;display:flex}.table-actions{white-space:nowrap}.table-actions button{margin-left:.25rem}@media (width<=900px){.app-shell{flex-direction:column}.sidebar{width:100%;height:auto;padding-bottom:1rem;position:relative}.sidebar nav{flex-flow:wrap}.topbar{padding:.75rem 1.2rem 0}.content{padding:1rem 1rem 1.5rem}.ticket-detail{grid-template-columns:1fr}.ticket-side{position:static}.form-row{grid-template-columns:1fr}}.platform-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:1.5rem 0;display:grid}.breakdown-list{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.breakdown-list li{justify-content:space-between;gap:1rem;font-size:.92rem;display:flex}.section-head{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.85rem;display:flex}.section-head h3{margin:0}.mt-section{margin-top:1.5rem}.pill{letter-spacing:.02em;color:var(--ink,#0b1f1c);background:#0b1f1c14;border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:600;display:inline-block}.pill.status-active{color:#0f766e;background:#0f766e24}.pill.status-trialing{color:#1d4ed8;background:#2563eb1f}.pill.status-past_due,.pill.status-expired{color:#b45309;background:#b4530924}.pill.status-cancelled,.pill.status-none{color:#475569;background:#64748b24}@media (width<=900px){.platform-grid{grid-template-columns:1fr}}.audit-action{background:#0b1f1c0f;border-radius:4px;padding:.15rem .4rem;font-size:.78rem}.pager{justify-content:center;align-items:center;gap:1rem;margin-top:1rem;display:flex}.check-row{border:none;flex-wrap:wrap;gap:.75rem 1rem;margin:0;padding:0;display:flex}.check-row legend{width:100%;margin-bottom:.35rem;font-size:.85rem;font-weight:600}.check{align-items:center;gap:.4rem;font-size:.9rem;display:inline-flex}button.danger,.button.danger{color:#b91c1c}.button-row{flex-wrap:wrap;gap:.5rem;display:flex}.module-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-top:.75rem;display:grid}.module-card{border:1px solid var(--line-soft);border-radius:var(--radius);background:var(--paper);flex-direction:column;gap:.55rem;padding:1rem;display:flex}.module-card button{align-self:flex-start}.custom-fields{border:1px solid var(--line-soft);border-radius:var(--radius);gap:.75rem;margin:0;padding:1rem;display:grid}.custom-fields legend{padding:0 .35rem;font-weight:650}.onboarding-card{margin-top:1.25rem}.onboarding-list{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.onboarding-list li{align-items:center;gap:.55rem;font-size:.92rem;display:flex}.onboarding-list li.done{opacity:.65}.pill.status-open{color:#0f766e;background:#0f766e24}.pill.status-grace{color:#b45309;background:#b4530924}.pill.status-locked{color:#b91c1c;background:#b91c1c24}.empty-state{flex-direction:column;align-items:flex-start;gap:.75rem;padding:1.5rem .25rem;display:flex}.empty-state p{color:var(--muted,#64748b);margin:0}.funds-workspace{flex:1;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:1rem;min-height:0;display:grid}.funds-rail,.funds-explorer,.funds-form-card{background:var(--paper-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.funds-rail{flex-direction:column;gap:1.1rem;padding:1rem 1.05rem;display:flex;overflow-y:auto}.funds-rail h3{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:0 0 .55rem;font-size:.82rem}.funds-balance{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.funds-balance li{justify-content:space-between;gap:.75rem;font-size:.88rem;display:flex}.funds-balance strong{font-variant-numeric:tabular-nums}.funds-recent{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.funds-recent a{color:inherit;flex-direction:column;gap:.1rem;font-size:.82rem;text-decoration:none;display:flex}.funds-recent a:hover{color:var(--accent)}.funds-explorer{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.funds-explorer-head{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.2rem .85rem;display:flex}.funds-explorer-head h2{margin:0}.funds-actions{flex-wrap:wrap;gap:.45rem;display:flex}.funds-list{flex:1;padding:.4rem .5rem 1rem;overflow-y:auto}.folder-block{margin:.35rem 0}.folder-toggle{cursor:pointer;width:100%;font:inherit;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:.55rem;padding:.55rem .65rem;font-weight:700;display:flex}.folder-toggle:hover{background:#0f766e0f}.folder-icon{color:#d97706;flex-shrink:0;width:1.35rem;height:1.35rem}.folder-count{color:var(--text-muted);margin-left:auto;font-size:.75rem;font-weight:600}.file-list{margin:0;padding:0 .4rem .35rem 2.1rem;list-style:none}.file-row{border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:.75rem;padding:.45rem .5rem;font-size:.88rem;display:grid}.file-row:hover{background:#f7faf8}.file-name{min-width:0;color:var(--text);align-items:center;gap:.45rem;font-weight:600;text-decoration:none;display:flex}.file-name:hover{color:var(--accent)}.file-icon{color:#0284c7;flex-shrink:0;width:1.1rem;height:1.1rem}.file-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-amount{font-variant-numeric:tabular-nums;color:var(--text-muted);font-size:.84rem}.file-actions{gap:.55rem;font-size:.8rem;display:flex}.file-row.is-pending .file-label{color:var(--danger)}.funds-form-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.funds-form-card{max-width:720px;padding:1.25rem 1.4rem 1.5rem}.funds-form-card h2{margin:0 0 .35rem}.linked-banner{background:var(--accent-soft);border-radius:var(--radius);border:1px solid #0f766e38;flex-wrap:wrap;align-items:center;gap:.65rem 1rem;margin-bottom:1rem;padding:.75rem 1rem;font-size:.88rem;display:flex}.linked-banner a{font-weight:700;text-decoration:none}@media (width<=900px){.funds-workspace,.funds-form-layout{grid-template-columns:1fr;height:auto}.file-row{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto}.file-actions{grid-column:1/-1}}.funds-config-list{gap:.65rem;margin-top:.85rem;display:grid}.funds-config-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff}.funds-config-head{justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem .9rem;display:flex}.funds-config-body{border-top:1px solid var(--line-soft);gap:.65rem;padding:0 .9rem 1rem;display:grid}.funds-config-body h4{margin:.75rem 0 0;font-size:.88rem}.roles-matrix{overflow-x:auto}.roles-matrix table{border-collapse:collapse;width:100%}.roles-matrix th,.roles-matrix td{border-bottom:1px solid var(--line-soft);vertical-align:top;text-align:left;padding:.55rem .65rem}.roles-matrix th:not(:first-child),.roles-matrix td:not(:first-child){text-align:center;width:6.5rem}.roles-group td{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);background:var(--surface-2,#f8fafc);font-size:.78rem;font-weight:650}.workflow-steps{margin:.75rem 0 0;padding-left:1.1rem;font-size:.88rem}.description-actions{border-top:1px solid var(--line-soft);gap:.65rem;margin-top:1rem;padding-top:.9rem;display:grid}.group-perm-grid{gap:.35rem;margin:.35rem 0 .75rem;display:grid}
