@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{color-scheme:light;--bg: #f5f7fb;--bg-soft: #eef4f8;--panel: rgba(255, 255, 255, .9);--panel-strong: #ffffff;--line: rgba(30, 41, 59, .13);--line-strong: rgba(30, 41, 59, .22);--text: #162033;--muted: #64748b;--muted-strong: #334155;--accent: #0284c7;--accent-strong: #0369a1;--success: #047857;--warning: #a16207;--info: #2563eb;--danger: #dc2626;--shadow: 0 16px 36px rgba(15, 23, 42, .1);--surface: rgba(255, 255, 255, .88);--surface-soft: rgba(248, 250, 252, .78);--surface-muted: rgba(226, 232, 240, .62);--accent-tint: rgba(2, 132, 199, .1);--accent-tint-strong: rgba(2, 132, 199, .16);--radius-lg: 18px;--radius-md: 14px;--radius-sm: 10px}*{box-sizing:border-box}html{font-size:14.5px;min-height:100%;background:var(--bg);-webkit-text-size-adjust:100%}body{min-width:320px;min-height:100vh;margin:0;font-family:Manrope,Segoe UI,sans-serif;background:radial-gradient(circle at top left,rgba(14,165,233,.1),transparent 30rem),radial-gradient(circle at bottom right,rgba(16,185,129,.08),transparent 26rem),linear-gradient(135deg,#f8fbff,#eef5fb 58%,#f6f8fb);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-page{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(330px,380px);gap:clamp(1.5rem,4.5vw,3.5rem);width:min(900px,calc(100% - 2rem));min-height:100vh;margin:0 auto;padding:clamp(1.25rem,3vw,3rem) 0;align-items:center}.login-intro{position:relative;display:grid;gap:clamp(1.5rem,5vw,3.4rem);min-height:440px;align-content:center}.login-brand,.sidebar-brand,.mobile-brand{display:flex;align-items:center;gap:.9rem}.brand-mark{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(2,132,199,.18);border-radius:14px;background:linear-gradient(145deg,#fffffffa,#e0f2feb8);box-shadow:0 10px 26px #0f172a14}.brand-mark span{width:15px;height:15px;border:2px solid var(--accent);border-left-color:transparent;border-radius:50%;transform:rotate(-28deg)}.login-brand strong,.sidebar-brand strong{display:block;font-size:1rem;letter-spacing:0}.login-brand span,.sidebar-brand span{display:block;color:var(--muted);font-size:.82rem}.login-copy{position:relative;width:min(520px,100%)}.login-copy h1{margin:0;font-size:clamp(1.85rem,3.7vw,3.05rem);line-height:1.04;letter-spacing:0}.login-copy p{max-width:460px;margin:.9rem 0 0;color:var(--muted-strong);font-size:clamp(.88rem,1.1vw,.95rem);line-height:1.65}.login-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;max-width:500px;padding-top:1.4rem;border-top:1px solid var(--line)}.login-meta div{display:grid;gap:.35rem}.login-meta span{color:var(--accent);font-size:.74rem;font-weight:800;letter-spacing:.16em}.login-meta strong{color:var(--muted-strong);font-size:.88rem;font-weight:700}.login-card{padding:clamp(1.25rem,2.6vw,1.7rem);border:1px solid var(--line);border-radius:24px;background:#ffffffeb;box-shadow:0 18px 42px #0f172a1a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-brand{display:none;margin-bottom:1.8rem;color:var(--muted-strong);font-weight:800}.login-card-header span,.section-label{display:inline-flex;margin-bottom:.8rem;color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.login-card-header h2,.topbar h1,.empty-dashboard h2{margin:0;letter-spacing:0}.login-card-header h2{font-size:clamp(1.55rem,2.5vw,1.95rem);line-height:1.05}.login-card-header p{margin:.85rem 0 0;color:var(--muted);line-height:1.6}.login-form{display:grid;gap:.9rem;margin-top:1.55rem}.login-form label{display:grid;gap:.55rem;color:var(--muted-strong);font-size:.9rem;font-weight:700}.login-form input{width:100%;border:1px solid var(--line);border-radius:12px;outline:none;padding:.8rem .9rem;background:#ffffffe0;color:var(--text);transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.ticket-form input,.ticket-form select,.ticket-form textarea,.ticket-comment-form textarea,.ticket-actuation-form select,.ticket-actuation-form textarea{width:100%;max-width:100%;border:1px solid var(--line);border-radius:12px;outline:none;padding:.8rem .9rem;background:#ffffffe0;color:var(--text);resize:vertical;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.ticket-form input[type=file],.ticket-detail-attachment-form input[type=file]{padding:.72rem}.ticket-form input::file-selector-button,.ticket-detail-attachment-form input::file-selector-button{margin-right:.75rem;border:1px solid var(--line);border-radius:10px;padding:.45rem .65rem;background:var(--accent-tint);color:var(--accent-strong);font:inherit;font-weight:900}.login-form input:focus{border-color:#0284c775;background:#fff;box-shadow:0 0 0 4px #0284c71f}.ticket-form input:focus,.ticket-form select:focus,.ticket-form textarea:focus,.ticket-comment-form textarea:focus,.ticket-actuation-form select:focus,.ticket-actuation-form textarea:focus{border-color:#0284c775;background:#fff;box-shadow:0 0 0 4px #0284c71f}.login-form button,.user-actions button,.ticket-form-actions button{border:0;border-radius:12px;background:var(--accent);color:#fff;font-weight:900;box-shadow:0 14px 28px #0284c72e;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.login-form button{min-height:46px;margin-top:.25rem}.login-form button:hover:not(:disabled),.user-actions button:hover,.ticket-form-actions button:hover:not(:disabled){background:var(--accent-strong);box-shadow:0 16px 32px #0284c73d;transform:translateY(-1px)}.login-form button:disabled,.ticket-form-actions button:disabled{cursor:not-allowed;opacity:.72}.form-error{margin:0;color:var(--danger);font-size:.9rem;font-weight:700;line-height:1.5}.dashboard-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:.75rem;height:100vh;padding:.92rem .82rem;border-right:1px solid var(--line);background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.sidebar-brand-card{display:block;padding:.2rem .2rem .82rem;border-bottom:1px solid var(--line)}.sidebar-brand-card .brand-mark{width:36px;height:36px;border-radius:13px}.company-switcher{display:grid;gap:.48rem;padding:.05rem .2rem .82rem;border-bottom:1px solid var(--line)}.company-switcher-header{display:flex;align-items:center;justify-content:space-between;gap:.7rem}.company-switcher-header span,.nav-section-label{color:var(--muted);font-size:.68rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.company-switcher-header strong{color:var(--muted);font-size:.72rem;font-weight:900}.company-switcher>strong,.company-switcher select{color:var(--text);font-size:.9rem;font-weight:850}.company-switcher select{width:100%;border:1px solid var(--line);border-radius:10px;outline:none;padding:.58rem .64rem;background:#fff;color:var(--text)}.company-switcher select:focus{border-color:#0284c775;box-shadow:0 0 0 4px #0284c71f}.sidebar-nav{display:grid;gap:.62rem;min-height:0;overflow:auto;padding:.05rem 0 .25rem}.sidebar-nav-group{display:grid;gap:.32rem}.sidebar-nav-group>div{display:grid;gap:.18rem}.nav-section-label{padding:0 .44rem;color:var(--muted)}.nav-item{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 5px;align-items:center;gap:.62rem;width:100%;min-height:42px;border:1px solid transparent;border-radius:10px;padding:.38rem .48rem;background:transparent;color:var(--muted);text-align:left;transition:background .16s ease,color .16s ease,border-color .16s ease}.nav-item-mark{display:grid;width:30px;height:30px;place-items:center;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted-strong)}.nav-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.nav-item-body{display:grid;min-width:0;gap:.12rem}.nav-item-body strong{overflow:hidden;color:currentColor;font-size:.88rem;font-weight:880;text-overflow:ellipsis;white-space:nowrap}.nav-item-indicator{width:3px;height:18px;border-radius:999px;background:transparent}.nav-item:hover,.nav-item:focus-visible{outline:none;border-color:transparent;background:#e2e8f05c;color:var(--text)}.nav-item.active{border-color:transparent;background:var(--accent-tint);color:var(--text)}.nav-item.active .nav-item-mark{border-color:#0284c729;background:#ffffffb8;color:var(--accent)}.nav-item.active .nav-item-indicator{background:var(--accent)}.sidebar-user{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.62rem;align-items:center;margin-top:auto;padding:.78rem .2rem .1rem;border-top:1px solid var(--line);background:transparent}.sidebar-user-avatar{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted-strong);font-size:.8rem;font-weight:900}.sidebar-user-info{display:grid;min-width:0;gap:.16rem}.sidebar-user-info strong,.sidebar-user-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-info strong{color:var(--text);font-size:.86rem;font-weight:950}.sidebar-user-info span{color:var(--muted);font-size:.74rem;font-weight:820}.sidebar-logout{grid-column:1 / -1;min-height:34px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted-strong);font-size:.8rem;font-weight:900}.sidebar-logout:hover{border-color:#0284c73d;background:var(--accent-tint);color:var(--text)}.workspace{min-width:0;padding:clamp(1rem,2.6vw,1.6rem)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px;padding:.45rem 0 1.05rem}.topbar h1{font-size:clamp(1.55rem,2.5vw,2.22rem);line-height:1.05}.user-actions{display:flex;align-items:center;gap:.8rem;color:var(--muted);font-size:.88rem;font-weight:700}.user-actions button{padding:.65rem .9rem}.empty-dashboard{display:grid;min-height:calc(100vh - 120px);place-items:center;align-content:center;padding:clamp(1.5rem,5vw,3.5rem);border:1px dashed var(--line-strong);border-radius:var(--radius-lg);background:radial-gradient(circle at center,rgba(2,132,199,.08),transparent 22rem),#ffffffbd;text-align:center}.empty-icon{display:grid;width:68px;height:68px;margin-bottom:1.1rem;place-items:center;border:1px solid rgba(2,132,199,.2);border-radius:28px;background:var(--accent-tint)}.empty-icon span{width:28px;height:28px;border:3px solid var(--accent);border-top-color:transparent;border-radius:50%}.empty-dashboard h2{font-size:clamp(1.45rem,3vw,2.25rem)}.empty-dashboard p{max-width:590px;margin:.8rem auto 0;color:var(--muted);line-height:1.65}.tickets-page{display:grid;gap:1rem}.tickets-list-card,.ticket-summary-grid article{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow)}.tickets-empty p{margin:.55rem 0 0;color:var(--muted);line-height:1.6}.companies-page,.users-page,.profiles-page{display:grid;gap:1rem}.companies-list-card,.users-list-card,.profiles-list-card,.company-summary-grid article,.user-summary-grid article,.profile-summary-grid article{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow)}.company-summary-grid,.user-summary-grid,.profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.company-summary-grid article,.user-summary-grid article,.profile-summary-grid article{display:grid;gap:.34rem;min-height:72px;padding:.78rem .92rem;border-radius:var(--radius-md)}.company-summary-grid span,.user-summary-grid span,.profile-summary-grid span,.companies-list-header span,.users-list-header span,.profiles-list-header span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.company-summary-grid strong,.user-summary-grid strong,.profile-summary-grid strong{color:var(--text);font-size:1.38rem;line-height:1}.companies-list-card,.users-list-card,.profiles-list-card{overflow:hidden;border-radius:var(--radius-lg);background:linear-gradient(180deg,#fffffff5,#f8fafcdb),var(--panel)}.companies-list-header,.users-list-header,.profiles-list-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.82rem 1rem;border-bottom:1px solid var(--line);background:#f8fafcb8}.companies-list-action,.users-list-action,.profiles-list-action{min-height:40px;border:1px solid var(--line);border-radius:12px;padding:0 .95rem;background:var(--accent-tint);color:var(--accent-strong);font-weight:900}.companies-list-action:hover:not(:disabled),.users-list-action:hover:not(:disabled),.profiles-list-action:hover:not(:disabled){border-color:#0284c747;background:var(--accent-tint-strong);color:var(--text)}.companies-list-action:disabled,.users-list-action:disabled,.profiles-list-action:disabled{cursor:not-allowed;opacity:.62}.companies-list-error,.users-list-error,.profiles-list-error{padding:.9rem 1.25rem 0}.companies-empty,.users-empty,.profiles-empty{display:grid;place-items:center;min-height:190px;padding:2rem;color:var(--muted-strong);text-align:center}.companies-empty.compact,.users-empty.compact,.profiles-empty.compact{min-height:180px}.companies-empty strong,.users-empty strong,.profiles-empty strong{color:var(--text);font-size:1.05rem}.companies-empty p,.users-empty p,.profiles-empty p{max-width:430px;margin:.55rem 0 0;color:var(--muted);line-height:1.6}.companies-table,.users-table,.profiles-table{display:grid}.companies-table-head,.company-row,.users-table-head,.user-row,.profiles-table-head,.profile-row{display:grid;gap:.9rem;align-items:center}.companies-table-head,.users-table-head,.profiles-table-head{padding:.68rem 1rem;border-bottom:1px solid var(--line);color:var(--muted);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.companies-table-head,.company-row{grid-template-columns:minmax(220px,1.22fr) minmax(150px,.62fr) minmax(82px,.28fr) minmax(92px,.3fr) minmax(140px,.48fr)}.users-table-head,.user-row{grid-template-columns:minmax(220px,1.35fr) minmax(120px,.48fr) minmax(112px,.4fr) minmax(96px,.34fr) minmax(130px,.42fr)}.profiles-table-head,.profile-row{grid-template-columns:minmax(180px,.62fr) minmax(260px,1.38fr) minmax(72px,.22fr)}.company-row,.user-row,.profile-row{min-height:58px;padding:.74rem 1rem;border-bottom:1px solid var(--line);color:var(--muted-strong);cursor:pointer;font-size:.88rem;transition:background .16s ease,box-shadow .16s ease}.company-row{cursor:pointer}.company-row:last-child,.user-row:last-child,.profile-row:last-child{border-bottom:0}.user-row:hover,.user-row:focus-visible,.company-row:hover,.company-row:focus-visible,.profile-row:hover,.profile-row:focus-visible{outline:none;background:#e0f2fe80;box-shadow:inset 3px 0 #0284c780}.company-main-cell,.user-main-cell,.profile-main-cell{display:grid;min-width:0;gap:.18rem}.company-main-cell strong,.user-main-cell strong,.profile-main-cell strong{overflow:hidden;color:var(--text);font-size:.94rem;text-overflow:ellipsis;white-space:nowrap}.company-main-cell span,.user-main-cell span{overflow:hidden;color:var(--muted);font-size:.78rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.company-document-cell,.company-date-cell,.company-total-cell,.user-profile-cell,.user-role-cell,.user-principal-cell,.profile-modules-cell,.profile-total-cell{color:var(--muted-strong);font-weight:850}.profile-modules-cell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-total-cell{color:var(--text)}.user-status-pill{width:max-content;flex:0 0 auto;border:1px solid var(--status-border, rgba(4, 120, 87, .22));border-radius:999px;padding:.32rem .58rem;background:var(--status-bg, rgba(4, 120, 87, .1));color:var(--status-color, var(--success));font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.user-status-pill.active{--status-bg: rgba(4, 120, 87, .1);--status-border: rgba(4, 120, 87, .22);--status-color: var(--success)}.user-status-pill.inactive{--status-bg: rgba(148, 163, 184, .1);--status-border: rgba(148, 163, 184, .26);--status-color: var(--muted-strong)}.company-form,.user-form,.profile-form{display:grid;gap:.9rem;padding:1.15rem}.company-form label,.user-form label,.profile-form label,.profile-form-section{display:grid;gap:.5rem;color:var(--muted-strong);font-size:.88rem;font-weight:800}.company-form input,.user-form input,.user-form select,.profile-form input{width:100%;max-width:100%;border:1px solid var(--line);border-radius:12px;outline:none;padding:.8rem .9rem;background:#ffffffe0;color:var(--text);transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.company-form input:focus,.user-form input:focus,.user-form select:focus,.profile-form input:focus{border-color:#0284c775;background:#fff;box-shadow:0 0 0 4px #0284c71f}.user-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.user-active-toggle{grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:var(--radius-md);padding:.74rem .82rem;background:var(--surface-soft)}.user-active-toggle input{width:18px;height:18px;accent-color:var(--accent)}.user-active-toggle span{display:grid;gap:.16rem}.user-active-toggle strong{color:var(--text);font-size:.88rem}.user-active-toggle small{color:var(--muted);font-size:.76rem;font-weight:750;line-height:1.45}.company-modal,.profile-modal{width:min(680px,100%)}.company-edit-modal{width:min(820px,calc(100vw - 1rem))}.company-modal-body{display:grid;gap:.85rem;padding:.95rem 1.1rem 1.1rem}.company-modal-body .company-form{padding:0}.company-users-panel{display:grid;gap:.78rem}.company-users-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.company-users-header h4{margin:0;color:var(--muted-strong);font-size:.78rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.company-users-header p{margin:.3rem 0 0;color:var(--muted);font-size:.86rem;line-height:1.5}.company-users-list{display:grid;gap:.55rem;max-height:min(300px,32vh);overflow:auto}.company-user-link-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(110px,.32fr) auto auto;gap:.75rem;align-items:center;border:1px solid var(--line);border-radius:var(--radius-md);padding:.68rem .76rem;background:var(--surface-soft)}.company-user-link-main{display:grid;min-width:0;gap:.16rem}.company-user-link-main strong,.company-user-link-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-user-link-main strong{color:var(--text);font-size:.9rem}.company-user-link-main span,.company-user-link-role{color:var(--muted-strong);font-size:.8rem;font-weight:820}.company-user-unlink{min-height:32px;border:1px solid rgba(148,163,184,.3);border-radius:10px;padding:0 .7rem;background:#fff;color:var(--muted-strong);font-size:.78rem;font-weight:900}.company-user-unlink:hover:not(:disabled){border-color:#dc262638;background:#fef2f2d1;color:#b91c1c}.company-user-unlink:disabled{cursor:not-allowed;opacity:.68}.company-user-link-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.46fr);gap:.72rem;border-top:1px solid var(--line);padding-top:.85rem}.company-user-link-form label{display:grid;gap:.5rem;color:var(--muted-strong);font-size:.88rem;font-weight:800}.company-user-link-form select{width:100%;max-width:100%;border:1px solid var(--line);border-radius:12px;outline:none;padding:.8rem .9rem;background:#ffffffe0;color:var(--text)}.company-user-link-form select:focus{border-color:#0284c775;background:#fff;box-shadow:0 0 0 4px #0284c71f}.company-user-link-form .form-error,.company-user-link-form .ticket-form-actions{grid-column:1 / -1}.profile-form-section>span{color:var(--muted-strong);font-size:.88rem;font-weight:800}.profile-modules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.profile-module-option{grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:var(--radius-md);padding:.74rem .82rem;background:var(--surface-soft)}.profile-module-option input{width:18px;height:18px;accent-color:var(--accent)}.profile-module-option span{display:grid;gap:.16rem;min-width:0}.profile-module-option strong,.profile-module-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-module-option strong{color:var(--text);font-size:.88rem}.profile-module-option small{color:var(--muted);font-size:.76rem;font-weight:750;line-height:1.45}.tickets-list-action{min-height:40px;border:1px solid var(--line);border-radius:12px;padding:0 .95rem;background:var(--accent-tint);color:var(--accent-strong);font-weight:900}.tickets-list-action:hover{border-color:#0284c747;background:var(--accent-tint-strong);color:var(--text)}.ticket-form{display:grid;gap:.9rem;padding:1.15rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-soft)}.ticket-modal-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:clamp(.8rem,3vw,2rem);background:radial-gradient(circle at 50% 12%,rgba(2,132,199,.12),transparent 34%),#0f172a47;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.ticket-modal{width:min(560px,100%);max-height:min(720px,calc(100vh - 2rem));overflow:auto;border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:linear-gradient(180deg,#fffffffa,#f8fafcfa),var(--panel-strong);box-shadow:0 28px 90px #0f172a2e,0 0 0 1px #ffffffd1}.ticket-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;padding:1.35rem 1.45rem 1.2rem;border-bottom:1px solid var(--line);background:linear-gradient(135deg,rgba(2,132,199,.08),transparent 42%),#f8fafce0}.ticket-modal-header h3{margin:0;color:var(--text);font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.15;letter-spacing:0}.ticket-modal-header p{margin:.62rem 0 0;color:var(--muted);line-height:1.5}.ticket-modal-close{flex:0 0 auto;min-height:36px;border:1px solid var(--line);border-radius:10px;padding:0 .82rem;background:#fff;color:var(--muted-strong);font-size:.82rem;font-weight:900}.ticket-modal-close:hover:not(:disabled){border-color:#0284c747;background:var(--accent-tint);color:var(--text)}.ticket-modal-close:disabled{cursor:not-allowed;opacity:.65}.ticket-modal .ticket-form{border:0;border-radius:0;background:transparent;box-shadow:none}.ticket-form label{display:grid;gap:.5rem;color:var(--muted-strong);font-size:.88rem;font-weight:800}.ticket-form-hint{color:var(--muted);font-size:.78rem;font-weight:700}.ticket-form-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ticket-form-actions span{color:var(--muted);font-size:.84rem;font-weight:700}.ticket-form-actions button{min-height:40px;padding:0 1rem}.ticket-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.ticket-summary-grid article{display:grid;gap:.34rem;min-height:72px;padding:.78rem .92rem;border-radius:var(--radius-md)}.ticket-summary-grid span,.tickets-list-header span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.ticket-summary-grid strong{color:var(--text);font-size:1.38rem;line-height:1}.tickets-list-card{overflow:hidden;border-radius:var(--radius-lg);background:linear-gradient(180deg,#fffffff5,#f8fafcdb),var(--panel)}.tickets-control-bar{display:grid;grid-template-columns:minmax(240px,1.25fr) repeat(3,minmax(128px,.42fr));gap:.7rem;padding:.82rem 1rem;border-bottom:1px solid var(--line);background:#f8fafcd1}.tickets-control-bar label{display:grid;gap:.45rem;color:var(--muted-strong);font-size:.76rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tickets-control-bar input,.tickets-control-bar select{width:100%;min-height:36px;border:1px solid var(--line);border-radius:10px;outline:none;padding:.54rem .64rem;background:#fff;color:var(--text);font-size:.86rem;font-weight:700;letter-spacing:0;text-transform:none}.tickets-control-bar input:focus,.tickets-control-bar select:focus{border-color:#0284c775;box-shadow:0 0 0 4px #0284c71f}.tickets-list-error{padding:.9rem 1.25rem 0}.tickets-list-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.82rem 1rem;border-bottom:1px solid var(--line);background:#f8fafcb8}.tickets-empty{display:grid;place-items:center;min-height:190px;padding:2rem;color:var(--muted-strong);text-align:center}.tickets-empty.compact{min-height:180px}.tickets-list,.tickets-table{display:grid}.tickets-table-head,.ticket-row{display:grid;grid-template-columns:minmax(70px,.24fr) minmax(230px,1.42fr) minmax(110px,.46fr) minmax(120px,.5fr) minmax(130px,.56fr) minmax(132px,.56fr);gap:.9rem;align-items:center}.tickets-table-head{padding:.68rem 1rem;border-bottom:1px solid var(--line);color:var(--muted);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.ticket-row{min-height:54px;padding:.72rem 1rem;border-bottom:1px solid var(--line);color:var(--muted-strong);cursor:pointer;font-size:.88rem;transition:background .16s ease,border-color .16s ease}.ticket-row:hover,.ticket-row:focus-visible{outline:none;background:#e0f2fe80;box-shadow:inset 3px 0 #0284c780}.ticket-row:last-child{border-bottom:0}.ticket-row strong{color:var(--text)}.ticket-main-cell{min-width:0}.ticket-id-cell{width:max-content;border:1px solid rgba(2,132,199,.2);border-radius:999px;padding:.28rem .56rem;background:var(--accent-tint);color:var(--accent-strong);font-size:.78rem;font-weight:950}.ticket-main-cell strong{display:block;overflow:hidden;color:var(--text);font-size:.92rem;text-overflow:ellipsis;white-space:nowrap}.ticket-type-cell{color:var(--text);font-weight:800}.ticket-status-cell{min-width:0}.ticket-user-cell{overflow:hidden;color:var(--muted-strong);font-weight:800;text-overflow:ellipsis;white-space:nowrap}.ticket-date-cell{color:var(--muted-strong);font-weight:750}.ticket-status-pill{width:max-content;flex:0 0 auto;border:1px solid var(--status-border, rgba(4, 120, 87, .22));border-radius:999px;padding:.32rem .58rem;background:var(--status-bg, rgba(4, 120, 87, .1));color:var(--status-color, var(--success));font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.ticket-status-open{--status-bg: rgba(4, 120, 87, .1);--status-border: rgba(4, 120, 87, .22);--status-color: var(--success)}.ticket-status-progress{--status-bg: rgba(37, 99, 235, .1);--status-border: rgba(37, 99, 235, .22);--status-color: var(--info)}.ticket-status-review{--status-bg: rgba(161, 98, 7, .12);--status-border: rgba(161, 98, 7, .22);--status-color: var(--warning)}.ticket-status-closed{--status-bg: rgba(148, 163, 184, .1);--status-border: rgba(148, 163, 184, .26);--status-color: var(--muted-strong)}.ticket-detail-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1280px,calc(100vw - 1rem));max-height:min(900px,calc(100vh - .75rem));overflow:hidden;border-radius:var(--radius-lg)}.ticket-detail-modal .ticket-modal-header{padding:.78rem .95rem .72rem}.ticket-detail-modal .ticket-modal-header h3{font-size:clamp(.98rem,1.12vw,1.18rem)}.ticket-detail-modal .ticket-modal-header p{margin-top:.42rem;font-size:.84rem;line-height:1.45}.ticket-detail-body{display:grid;gap:.52rem;min-height:0;overflow:auto;padding:.62rem .78rem .76rem}.ticket-detail-heading{min-width:0}.ticket-detail-title-row{display:flex;align-items:flex-start;gap:.55rem;margin-top:.22rem}.ticket-detail-id{flex:0 0 auto;border:1px solid rgba(2,132,199,.22);border-radius:999px;padding:.22rem .48rem;background:var(--accent-tint);color:var(--accent);font-size:.72rem;font-weight:950}.ticket-detail-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:.46rem}.ticket-detail-meta-card{display:grid;gap:.22rem;border:1px solid var(--line);border-radius:var(--radius-md);padding:.48rem .58rem;background:var(--surface-soft)}.ticket-detail-meta-card span{color:var(--muted);font-size:.62rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.ticket-detail-meta-card strong{display:flex;min-width:0;overflow:hidden;color:var(--text);font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.ticket-detail-description{display:grid;gap:.42rem;padding-top:.08rem}.ticket-detail-section{display:grid;gap:.48rem;border:1px solid var(--line);border-radius:var(--radius-md);min-height:min(560px,calc(100vh - 190px));padding:.58rem;background:var(--surface)}.ticket-detail-body h4{margin:0;color:var(--muted-strong);font-size:.74rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.ticket-detail-body p{margin:0;color:var(--muted-strong);line-height:1.58}.ticket-detail-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ticket-detail-section-header span{display:inline-grid;min-width:24px;min-height:24px;place-items:center;border:1px solid rgba(2,132,199,.2);border-radius:999px;background:var(--accent-tint);color:var(--accent);font-size:.68rem;font-weight:950}.ticket-detail-tabs{display:flex;gap:.46rem;border-bottom:1px solid var(--line)}.ticket-detail-tabs button{display:inline-flex;align-items:center;gap:.36rem;min-height:28px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 .08rem .34rem;background:transparent;color:var(--muted);font-size:.68rem;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.ticket-detail-tabs button:hover,.ticket-detail-tabs button.active{border-bottom-color:var(--accent);color:var(--text)}.ticket-detail-tabs button span{display:inline-grid;min-width:20px;min-height:20px;place-items:center;border:1px solid rgba(2,132,199,.18);border-radius:999px;background:var(--accent-tint);color:var(--accent);font-size:.72rem;font-weight:950;letter-spacing:0}.ticket-comment-form,.ticket-actuation-form,.ticket-detail-attachment-form{display:grid;gap:.7rem;border-top:1px solid var(--line);padding-top:.85rem}.ticket-comment-form label,.ticket-actuation-form label,.ticket-detail-attachment-form label{display:grid;gap:.5rem;color:var(--muted-strong);font-size:.82rem;font-weight:900}.ticket-actuation-form{border-top:0;padding-top:0}.ticket-actuation-current{display:flex;align-items:center;justify-content:space-between;gap:.8rem;border:1px solid rgba(2,132,199,.18);border-radius:var(--radius-md);padding:.72rem .82rem;background:var(--accent-tint)}.ticket-actuation-current>span:first-child{color:var(--muted);font-size:.64rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.ticket-comment-editor{display:grid;gap:.45rem}.ticket-comment-editor-label{color:var(--muted-strong);font-size:.82rem;font-weight:900}.ticket-comment-editor-surface{display:grid;gap:.2rem;width:100%;max-width:100%;border:1px solid var(--line);border-radius:12px;padding:.62rem .7rem;background:#ffffffe0;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.ticket-comment-editor-surface:focus-within{border-color:#0284c775;background:#fff;box-shadow:0 0 0 4px #0284c71f}.ticket-comment-editor-surface .ticket-comment-text-block{min-height:unset;border:0;border-radius:6px;padding:.3rem .2rem;background:transparent;box-shadow:none;line-height:1.56;resize:none}.ticket-comment-editor-surface .ticket-comment-text-block:focus{border:0;background:transparent;box-shadow:none}.ticket-comment-editor-surface .ticket-comment-text-block::placeholder{color:#64748bc7}.ticket-detail-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:1rem}.ticket-detail-form-actions span{color:var(--muted);font-size:.76rem;font-weight:800}.ticket-detail-form-actions button{min-height:38px;border:1px solid rgba(2,132,199,.24);border-radius:10px;padding:0 .75rem;background:var(--accent-tint);color:var(--accent-strong);font-size:.8rem;font-weight:950}.ticket-detail-form-actions button:hover:not(:disabled){border-color:#0284c752;background:var(--accent-tint-strong);color:var(--text)}.ticket-comments{display:grid;gap:.72rem;justify-items:stretch;max-height:min(430px,44vh);overflow:auto;padding-right:.2rem}.ticket-comment{display:grid;gap:.55rem;width:min(78%,640px);border:1px solid var(--line);border-radius:16px;padding:.78rem;background:var(--surface-soft)}.ticket-comment-other{justify-self:start;border-bottom-left-radius:5px}.ticket-comment-own{justify-self:end;border-color:#0284c72e;border-bottom-right-radius:5px;background:#fffffff0}.ticket-comment-own .ticket-comment-header{justify-content:flex-end}.ticket-comment-own .ticket-comment-content{color:var(--text)}.ticket-comment-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ticket-comment-header strong{overflow:hidden;color:var(--text);font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}.ticket-comment-header em{flex:0 0 auto;border:1px solid rgba(2,132,199,.2);border-radius:999px;padding:.22rem .46rem;background:#e0f2fedb;color:var(--accent-strong);font-size:.68rem;font-style:normal;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.ticket-comment-header span{flex:0 0 auto;color:var(--muted);font-size:.76rem;font-weight:800}.ticket-comment-content{display:grid;gap:.38rem;min-width:0;color:var(--muted-strong);line-height:1.62}.ticket-comment-text{min-width:0;white-space:pre-wrap}.ticket-comment-image{display:block;width:min(100%,520px);max-height:320px;border:1px solid var(--line);border-radius:var(--radius-md);object-fit:contain;background:#fff}.ticket-comment-image-block{position:relative;display:inline-grid;gap:.28rem;justify-self:start;width:min(100%,430px);margin:.1rem 0;border:1px solid var(--line);border-radius:var(--radius-md);padding:.36rem;background:#fff;box-shadow:0 10px 22px #0f172a0f}.ticket-comment-actuation{justify-self:center;width:min(86%,680px);border-color:#0284c738;border-radius:var(--radius-md);background:linear-gradient(180deg,#e0f2fec2,#f0f9ffe0),var(--surface-soft)}.ticket-comment-actuation .ticket-comment-header{justify-content:center}.ticket-comment-actuation .ticket-comment-content{text-align:center}.ticket-comment-image-block img{width:100%;max-height:230px;border:0;border-radius:10px;object-fit:contain;background:#fff}.ticket-comment-image-block figcaption{overflow:hidden;padding:0 .1rem .08rem;color:var(--muted-strong);font-size:.72rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.ticket-comment-image-block button{position:absolute;top:.62rem;right:.62rem;min-height:30px;border:1px solid var(--line);border-radius:999px;padding:0 .58rem;background:#ffffffeb;color:var(--muted-strong);font-size:.75rem;font-weight:900;box-shadow:0 8px 18px #0f172a1a}.ticket-comment-image-block button:hover{border-color:#dc262647;background:#dc262614;color:var(--danger)}.ticket-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:.65rem;align-content:start}.ticket-attachment{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.85rem;border:1px solid var(--line);border-radius:var(--radius-md);padding:.72rem;background:var(--surface-soft)}.ticket-attachment-icon{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(2,132,199,.2);border-radius:11px;background:var(--accent-tint);color:var(--accent);font-size:.82rem;font-weight:950}.ticket-attachment-info{display:grid;min-width:0;gap:.18rem}.ticket-attachment-info strong{overflow:hidden;color:var(--text);font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}.ticket-attachment-info span{color:var(--muted);font-size:.76rem;font-weight:800}.ticket-attachment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.ticket-attachment-actions a{border:1px solid rgba(2,132,199,.2);border-radius:10px;padding:.42rem .6rem;background:var(--accent-tint);color:var(--accent-strong);font-size:.76rem;font-weight:950;text-decoration:none}.ticket-attachment-actions a:hover{border-color:#0284c752;background:var(--accent-tint-strong);color:var(--text)}.ticket-detail-muted{color:var(--muted);font-size:.9rem}.tickets-empty strong{color:var(--text);font-size:1.05rem}.tickets-empty p{max-width:430px}@media(max-width:900px){.login-page{grid-template-columns:1fr}.login-intro{display:none}.mobile-brand{display:flex}.dashboard-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.sidebar-user{margin-top:0}.ticket-form-actions,.companies-list-header,.users-list-header,.profiles-list-header,.tickets-list-header,.ticket-modal-header{align-items:flex-start;flex-direction:column}.topbar{align-items:center}.tickets-control-bar{grid-template-columns:1fr 1fr}.ticket-summary-grid,.company-summary-grid,.user-summary-grid,.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tickets-table-head,.companies-table-head,.users-table-head,.profiles-table-head{display:none}.tickets-table,.companies-table,.users-table,.profiles-table{gap:.65rem;padding:.75rem}.ticket-row,.company-row,.user-row,.profile-row{grid-template-columns:1fr 1fr;gap:.7rem;border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffffd1}.ticket-main-cell,.company-main-cell,.user-main-cell,.profile-main-cell{grid-column:1 / -1}.ticket-mobile-field,.company-mobile-field,.user-mobile-field,.profile-mobile-field{display:grid;gap:.24rem;min-width:0}.ticket-mobile-field:before{content:attr(data-label);color:var(--muted);font-size:.66rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.company-mobile-field:before,.user-mobile-field:before,.profile-mobile-field:before{content:attr(data-label);color:var(--muted);font-size:.66rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.profile-modules-cell{white-space:normal}.ticket-detail-meta{grid-template-columns:1fr}.ticket-detail-modal{width:min(100%,calc(100vw - 1rem));max-height:calc(100vh - 1rem)}.ticket-detail-section{min-height:auto}.ticket-comments{max-height:none}.ticket-detail-title-row,.ticket-attachment,.ticket-attachment-actions{align-items:flex-start}.ticket-attachment{grid-template-columns:auto minmax(0,1fr)}.ticket-attachment-actions{grid-column:1 / -1;justify-content:flex-start}.ticket-detail-form-actions{align-items:flex-start;flex-direction:column}.company-user-link-row,.company-user-link-form{grid-template-columns:1fr}}@media(max-width:560px){.login-page{width:min(100% - 1rem,1160px)}.login-card,.empty-dashboard{border-radius:24px}.sidebar-nav{grid-template-columns:1fr}.sidebar-brand-card,.sidebar-user{border-radius:var(--radius-md)}.tickets-control-bar,.ticket-summary-grid,.company-summary-grid,.user-summary-grid,.profile-summary-grid,.profile-modules-grid,.user-form-grid,.company-row,.user-row,.profile-row,.ticket-row{grid-template-columns:1fr}.topbar,.user-actions{align-items:flex-start;flex-direction:column}.ticket-detail-body,.company-modal-body,.ticket-modal-header{padding-right:1rem;padding-left:1rem}.ticket-detail-title-row{display:grid}.ticket-detail-section{padding:.85rem}.ticket-comment-image-block,.ticket-comment,.ticket-comment-actuation{width:100%}.ticket-comment-image-block button{top:.52rem;right:.52rem}}
