/* v4 keeps the palette while making text, touch targets and priority clearer. */
:root{--text:#293345;--muted:#59677b;--subtle:#606e81;--blue:#2d6be0;--blue-hover:#225bc6;--border:#e1e6ef;--v4-secondary:#56657a;--v4-viewport-height:100dvh;--v4-viewport-top:0px;--v4-nav-height:72px}
body{color:var(--text);font-size:14px}p{line-height:1.7}.muted,.subtle-note,.date,.ticket-meta,.ticket-id,.eyebrow,.metric-foot,.metric-label,.meta-pair>span,.organization-city,.message-source,.field>small,.footer{color:var(--v4-secondary)}.subtle-note,.date,.ticket-meta,.ticket-id,.metric-foot,.metric-label,.meta-pair>span,.message-source,.field>small,.footer{font-size:12px}.field>label,.property-fields .field>label,.ops-filter-grid .field>label{font-size:13px;color:#4c5b70;font-weight:550}.field input,.field select,.field textarea{font-size:14px;color:#2c3749;min-height:44px;border-color:#cdd5e2}.field input::placeholder,.field textarea::placeholder,input::placeholder{color:#657386;opacity:1}.field select{padding-right:26px}.btn,.text-link,.panel-head a{font-size:13px}.btn{min-height:40px}.btn.primary{color:#fff}.btn:disabled{opacity:.55;cursor:not-allowed}.icon-btn{min-width:40px;min-height:40px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #306fdc;outline-offset:3px}.side-nav a,.side-nav button,.sidebar-nav a,.sidebar-nav button{font-size:13px;color:#56647a}.sidebar a.active{color:#334865}.side-section,.nav-section,.section-label{color:#58677b}.brand small,.side-user small,.support-card,.support-card a,.support-card small{color:#58677b}.topbar .crumbs,.topbar .crumbs b{color:#56657a}.top-search input,.top-search input::placeholder{font-size:13px;color:#58677b}.language-select,.demo-controls select,.demo-explorer{font-size:12px;color:#536177}.demo-bar{font-size:12px}.panel-head h2{font-size:15px;color:#303b4d}.panel-head a{color:#315fa4}.panel-body{font-size:14px}.page-head p{font-size:14px;color:#5c687a;line-height:1.6}.page-head h1{font-size:28px}.badge{font-size:12px;font-weight:550}.badge.s0,.badge.s1,.badge.s2,.badge.s3,.badge.s4,.badge.s5,.badge.s6,.badge.s7,.badge.p0,.badge.p1,.badge.p2,.badge.p3{color:#385777}.badge.s5{color:#20644d}.badge.p3{color:#a22a39}.badge.p2{color:#835500}.tab{font-size:13px;min-height:44px;color:#5b677a;padding:11px 15px}.tab.active{color:#225dc4}.ticket-row h3{font-size:14px}.ticket-row .ticket-meta,.ticket-row .ticket-id{font-size:12px;color:#586a82}.ticket-row .date{font-size:12px}.ticket-row{min-height:100px}.table-wrap td,.table-wrap th{font-size:13px;color:#44536b}.table-wrap th{color:#516179}.table-wrap .sub{font-size:12px;color:#5e6e83}.table-wrap td:before{color:#56657c!important;font-size:12px}.project-card p,.entity-card p,.project-card .text-small{font-size:13px;color:#5b6a80}.project-card h3,.entity-card h3{font-size:16px}.organization-counts span{color:#596b82;font-size:12px}.organization-counts strong{color:#425a7a}.choice-item small{color:#596a82;font-size:12px}.scope-breadcrumb{font-size:12px;color:#5b6b80}.scope-access-note{font-size:12px;color:#536881}.form-panel .panel-body{padding:24px}.ops-live-search input{font-size:13px}.ops-filter-grid input,.ops-filter-grid select{font-size:13px;min-height:42px}.ops-filter-grid{gap:0 14px}.ops-filter-foot{font-size:12px;color:#586b83;line-height:1.5}.ops-search-row .btn{font-size:12px}.ops-record-card>p,.category-routing-label,.ops-context-actions .btn{font-size:12px;color:#536a86}.ops-context-actions .btn{min-height:40px}.ops-breakdown-row{font-size:13px;color:#506682;grid-template-columns:minmax(110px,1.3fr) minmax(50px,1fr) 30px 38px}.ops-breakdown-row strong{color:#3c5c87}.ops-breakdown-row small{font-size:12px;color:#5a6d87}.ops-export-scope small,.ops-export-count span{font-size:12px;color:#5a6b82}.ops-export-scope strong{font-size:14px;color:#405b80}.ops-global-result strong{font-size:14px;color:#405878}.ops-global-result small{font-size:12px;color:#566b86}.ops-search-result strong{font-size:14px;color:#405878}.ops-search-result p{font-size:12px;color:#566b86}.ops-global-search-head{font-size:13px;color:#4a6180}.ops-global-search-head small{font-size:12px;color:#596c86}.ops-metrics .metric-foot{color:#617087}.metric .metric-value{color:#35445e}.chart-bars small{font-size:12px;color:#596a80}.chart-legend{font-size:12px;color:#56667e}.notification-row p,.notification-row small{font-size:13px;color:#5a6980}.footer{gap:16px;line-height:1.6;align-items:flex-start}.footer>span:last-child{max-width:650px;text-align:right}.v4-demo-context .demo-bar{margin-top:20px}.v4-context-chip{display:flex;gap:10px;align-items:center;min-width:0;padding:10px 12px;background:#f4f6fb;border:1px solid #e1e6ef;border-radius:10px}.v4-context-chip svg{width:18px;height:18px;flex-shrink:0;color:#667c9e}.v4-context-chip span{min-width:0}.v4-context-chip small,.v4-context-chip strong{display:block;overflow-wrap:anywhere}.v4-context-chip small{font-size:12px;color:#5e6f85;margin-bottom:3px}.v4-context-chip strong{font-size:13px;font-weight:550;color:#3f536f;line-height:1.5}.v4-ticket-context{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.v4-ticket-context .field{margin:0}.v4-ticket-context:has(>.v4-context-chip:only-child){grid-template-columns:1fr}.v4-ticket-scroll{min-height:0}.v4-ticket-form .v4-field{margin-bottom:17px}.v4-field label{display:block;margin-bottom:8px}.v4-field label span{color:#a53640}.v4-field textarea{min-height:110px;max-height:280px;resize:vertical}.v4-field .field-error:empty{display:none}.v4-field .field-error{display:block;font-size:13px;color:#b42d3a;margin-top:7px}.has-error select,.has-error input,.has-error textarea,[aria-invalid=true]{border-color:#b73643!important;box-shadow:0 0 0 2px #b7364310}.field-error{font-size:13px;color:#b42d3a}.v4-attachments{border:1px solid #dce3ee;border-radius:10px;margin-top:8px}.v4-attachments>summary{display:flex;align-items:center;gap:8px;min-height:46px;padding:11px 13px;cursor:pointer;font-size:13px;color:#485d7b}.v4-attachments>summary>svg{width:17px;height:17px}.v4-attachments>summary>span:last-child{margin-left:auto;font-size:12px;color:#627086}.v4-attachments .dropzone{margin:10px;min-height:95px;padding:17px}.v4-attachments .dropzone svg{width:22px;height:22px}.v4-attachments .dropzone strong,.v4-attachments .dropzone small{font-size:12px;color:#536783}.v4-attachments .file-item{margin:8px 10px}.v4-camera{position:relative;overflow:hidden;margin:0 10px 10px}.v4-camera input{position:absolute;inset:0;opacity:0;cursor:pointer}.v4-optional{margin:16px 0;color:#52647e;font-size:13px}.v4-optional summary{padding:8px 0;cursor:pointer;min-height:40px}.v4-advanced{margin-top:16px}.v4-ticket-actions{background:#fff;border-top:1px solid #e2e7ef;margin-top:20px;padding:16px 0 0}.v4-ticket-actions .form-actions{margin:0;border:0;padding:0}.v4-ticket-actions .subtle-note{font-size:12px;margin:12px 0 0}.v4-ticket-actions #form-error:empty{display:none}.v4-ticket-form .v4-readonly{display:block;padding:12px;background:#f4f6fa;color:#4f627d;border-radius:8px;font-size:13px}.modal.ticket-modal{display:flex;flex-direction:column;width:min(700px,calc(100vw - 40px));max-height:min(92dvh,calc(var(--v4-viewport-height) - 30px));overflow:hidden}.ticket-modal .modal-head{flex-shrink:0;padding:19px 24px}.ticket-modal .modal-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0}.ticket-modal .v4-ticket-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}.ticket-modal .v4-ticket-scroll{overflow-y:auto;overscroll-behavior:contain;padding:22px 24px 15px;scroll-padding:18px}.ticket-modal .v4-ticket-actions{flex-shrink:0;margin:0;padding:15px 24px max(15px,env(safe-area-inset-bottom));box-shadow:0 -4px 16px #23335205}.v4-ticket-header{margin-bottom:18px}.v4-ticket-header .ticket-meta{gap:9px;flex-wrap:wrap;font-size:13px}.v4-ticket-header h1{font-size:25px;line-height:1.35}.v4-conversation-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f8f9fc;padding:0 0 12px;margin-bottom:10px}.v4-conversation-toolbar>div{display:flex;gap:7px;align-items:center}.v4-conversation-toolbar .tab{border-bottom:2px solid transparent}.v4-conversation-toolbar .tab.active{border-color:var(--blue)}.v4-workspace{display:grid;grid-template-columns:205px minmax(320px,1fr) 260px;gap:17px;align-items:start}.v4-workspace.v4-external-workspace{grid-template-columns:minmax(0,1fr) 270px}.v4-workspace .v4-property-column .ticket-properties{display:block}.v4-conversation-column{min-width:0}.v4-conversation-column .conversation-panel{padding:20px}.message .bubble{font-size:14px;color:#34465e;line-height:1.7}.message-head strong{font-size:13px;color:#34465e}.message-head small{font-size:12px;color:#5d6e85}.message-source{font-size:12px;color:#61718a}.composer textarea{font-size:14px;min-height:110px;color:#30445e}.composer-top select{font-size:13px;color:#465c7c}.composer.internal{border:1px solid #b68a3a;background:#fffaf0}.composer.internal .composer-top{background:#fff3d8;color:#72501c}.composer.internal textarea{background:#fffaf0}.v4-workflow-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.v4-workflow-actions .btn{font-size:12px}.v4-details-button{display:none}.v4-resolution{padding:10px 20px;border-top:1px solid var(--border)}.v4-resolution small{display:block;font-size:12px;color:#5b6d85;margin-top:4px}.v4-resolution p{white-space:pre-wrap;font-size:14px}.v4-workflow-note{font-size:13px;color:#536783}.v4-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.v4-user-hero{min-height:0;padding:25px 28px}.v4-user-hero p{font-size:14px;color:#566780}.v4-user-hero .btn{min-height:46px;font-size:14px}.v4-simple-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.v4-simple-metrics .metric{cursor:pointer;text-align:left}.v4-people-list{padding:16px;display:grid;gap:14px}.v4-people-list>div{display:flex;align-items:center;gap:12px}.v4-number-preview{display:flex;flex-direction:column;gap:6px;padding:12px;background:#f2f5fb;border-radius:10px;overflow-wrap:anywhere}.v4-number-preview small{font-size:12px;color:#556c8b}.v4-number-preview code{color:#365f9a;font-size:13px}.v4-number-preview strong{font-size:14px;color:#354f75}.v4-timing-metrics .metric-value{font-size:20px}.v4-linked-projects{padding:0 18px}.v4-details-button svg{width:15px}.success-card{max-width:700px;margin:45px auto;padding:35px;background:#fff;border:1px solid var(--border);border-radius:18px;text-align:center}.success-card .success-icon{width:48px;height:48px;background:#e6f4ed;color:#286950;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 22px}.success-card svg{width:24px;height:24px}.success-card .form-actions{justify-content:center}.success-card h1{font-size:26px}.modal-properties .ticket-properties{display:block}.modal .v4-context-column{display:block}.v4-property-column .panel-body{padding:16px}.v4-property-column .field>label{font-size:12px}.v4-property-column .field select{font-size:13px}.v4-context-column .panel{margin-bottom:16px}.v4-context-column .meta-pair{gap:12px;font-size:12px}.v4-context-column .meta-pair strong{font-size:12px;color:#3c5477;overflow-wrap:anywhere}.v4-context-column .subtle-note{font-size:12px}.scope-access-note{color:#516783}.ticket-meta .badge,.ticket-id{white-space:normal}
@media(max-width:1350px){.v4-workspace{grid-template-columns:minmax(0,1fr) 270px}.v4-property-column{display:none}.v4-details-button{display:inline-flex}.v4-workspace .v4-context-column{display:block}.metric-label{font-size:12px}.v4-timing-metrics{grid-template-columns:1fr 1fr}.ops-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.v4-workspace,.v4-workspace.v4-external-workspace{grid-template-columns:minmax(0,1fr)}.v4-workspace .v4-context-column{display:none}.v4-ticket-header h1{font-size:25px}.ops-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-conversation-column .conversation-panel{padding:18px}.v4-quick-actions .btn{font-size:13px}}
@media(max-width:767px){body{font-size:14px}.content{padding:20px 16px 100px}.page-head h1{font-size:23px}.page-head p{font-size:13px;max-width:none}.field>label{font-size:14px}.field input,.field select,.field textarea{font-size:16px;min-height:46px}.btn,.btn.small{min-height:44px;font-size:13px}.icon-btn{min-width:44px;min-height:44px}.topbar{padding:0 12px;gap:6px}.top-search{width:min(160px,38vw)}.top-search input{font-size:13px;width:100%}.top-actions .language-select{font-size:12px;max-width:96px}.top-actions{min-width:0}.top-actions .icon-btn{min-width:32px;min-height:40px;width:32px}.demo-controls select{font-size:12px;max-width:170px}.demo-explorer{font-size:12px;min-height:40px}.demo-user-select{max-width:115px!important}.demo-bar{padding:7px 8px;margin-left:16px;margin-right:16px}.v4-demo-context .demo-bar{margin-top:12px}.mobile-nav a,.mobile-nav button{font-size:12px;min-width:44px;min-height:46px;color:#566882}.mobile-nav .new{font-size:13px;min-height:46px}.footer{font-size:12px}.footer>span:last-child{text-align:left}.v4-user-hero{padding:22px}.v4-user-hero h2{font-size:25px}.v4-user-hero p{font-size:14px}.v4-user-hero .eyebrow{font-size:12px}.v4-user-hero .btn{width:100%;justify-content:center;margin-top:8px}.v4-simple-metrics{grid-template-columns:1fr 1fr;gap:10px}.v4-simple-metrics .metric:first-child{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.v4-simple-metrics .metric-value{font-size:27px}.metric-label{font-size:13px;line-height:1.5}.metric-foot{font-size:12px}.metric{padding:15px}.panel-head h2{font-size:15px}.panel-head{padding:16px}.panel-body{font-size:14px}.ticket-row{padding:15px 12px}.ticket-row h3{font-size:14px}.ticket-row .ticket-meta,.ticket-row .ticket-id{font-size:12px}.ticket-row .ticket-meta .badge{font-size:12px}.ops-filter-bar{padding:12px}.ops-live-search input{font-size:14px}.ops-filter-grid .field label{font-size:12px}.ops-filter-grid select,.ops-filter-grid input{font-size:14px;min-height:44px}.ops-filter-foot{font-size:12px}.ops-search-row .btn{font-size:12px;min-height:44px}.ops-breakdown-row{font-size:13px;grid-template-columns:minmax(85px,1fr) minmax(30px,.5fr) 22px 36px;gap:6px}.ops-breakdown-row small{font-size:12px}.ops-context-actions .btn{min-height:44px;font-size:12px}.ops-record-card .organization-counts{gap:18px}.table-wrap td{font-size:13px;gap:10px}.table-wrap td:before{font-size:12px}.v4-ticket-context{gap:8px;margin-bottom:17px;grid-template-columns:1fr}.v4-ticket-context:has(>.v4-context-chip+input){grid-template-columns:1fr}.v4-context-chip{padding:8px 10px}.v4-context-chip small{display:inline;font-size:12px;margin:0 5px 0 0}.v4-context-chip strong{display:inline;font-size:13px;line-height:1.5}.v4-context-chip svg{width:17px;height:17px}.v4-ticket-form .v4-field{margin-bottom:16px}.v4-field textarea{min-height:108px}.v4-field label{font-size:14px;margin-bottom:7px}.modal.ticket-modal{width:100%;height:var(--v4-viewport-height);max-height:var(--v4-viewport-height);border-radius:0;padding-bottom:0}.modal-backdrop:has(.ticket-modal){align-items:flex-start;top:var(--v4-viewport-top);bottom:auto;height:var(--v4-viewport-height);padding:0}.ticket-modal .modal-head{padding:12px 16px;min-height:62px;border-radius:0}.ticket-modal .modal-head h2{font-size:20px}.ticket-modal .v4-ticket-scroll{padding:16px 18px 14px;scroll-padding-bottom:24px}.ticket-modal .v4-ticket-actions{padding:11px 18px max(12px,env(safe-area-inset-bottom))}.ticket-modal .v4-ticket-actions .subtle-note{font-size:12px;margin-top:8px}.ticket-modal .v4-ticket-actions .btn.primary{flex:1;justify-content:center;min-height:48px;font-size:15px}.v4-ticket-actions{position:sticky;bottom:var(--v4-nav-height);z-index:8;background:white;padding:12px 0 max(12px,env(safe-area-inset-bottom))}.v4-ticket-actions .form-actions{display:flex;gap:10px}.v4-ticket-actions .btn.primary{flex:1;justify-content:center}.v4-attachments .dropzone{min-height:86px;padding:14px}.v4-attachments>summary{font-size:14px}.v4-attachments .dropzone strong{font-size:13px}.v4-optional summary{font-size:14px}.v4-ticket-header{gap:10px;display:block;margin-bottom:13px}.v4-ticket-header h1{font-size:22px;line-height:1.35;margin:7px 0}.v4-ticket-header .eyebrow{font-size:12px}.v4-ticket-header .ticket-meta{font-size:12px;gap:8px}.v4-ticket-header .page-head-actions{display:none}.v4-conversation-toolbar{position:sticky;top:0;z-index:12;margin:0 -1px 10px;padding:9px 0;border-bottom:1px solid #dfe5ef;gap:5px;background:#f8f9fc}.v4-conversation-toolbar .tab{font-size:13px;padding:9px 7px;min-height:44px}.v4-conversation-toolbar>div{gap:3px}.v4-conversation-toolbar .btn{font-size:12px;padding:8px;min-height:44px}.v4-conversation-toolbar .btn svg{width:15px}.v4-workspace{display:block}.v4-property-column,.v4-workspace .v4-context-column{display:none!important}.v4-conversation-column .conversation-panel{padding:14px 12px}.message{gap:9px;margin-bottom:20px}.message .avatar{width:29px;height:29px;font-size:12px;flex-shrink:0}.message-head{gap:6px;flex-wrap:wrap}.message-head strong{font-size:13px}.message-head small{font-size:12px}.message .bubble{font-size:14px;padding:12px;line-height:1.65}.message-source{font-size:12px}.composer textarea{font-size:16px;min-height:110px}.composer-top select{font-size:14px;max-width:75%}.composer-top .subtle-note{font-size:12px}.composer-bottom .btn{font-size:14px;min-height:44px}.v4-workflow-actions .btn{font-size:13px;min-height:44px}.modal-body .ticket-properties{display:block}.modal-body .property-fields{display:block!important}.v4-number-preview strong{font-size:13px}.v4-timing-metrics{grid-template-columns:1fr 1fr}.v4-timing-metrics .metric-value{font-size:17px}.success-card{padding:25px 18px;margin:20px auto}.success-card h1{font-size:23px}.success-card .form-actions{flex-wrap:wrap}.success-card .btn{width:100%;justify-content:center}.scope-breadcrumb{font-size:12px;line-height:1.6}.hero-search input{font-size:16px}.public-nav .brand small{font-size:12px}.public-nav .links .btn{font-size:12px}.public-nav .links .language-select{font-size:12px}.public-hero p{font-size:14px}.board-card h4{font-size:13px}.board-card small{font-size:12px}.auth-card .subtle-note{font-size:13px}.state-toolbar span{font-size:12px}}
@media(max-width:374px){.demo-controls{flex-wrap:wrap}.demo-controls select{max-width:150px}.demo-user-select{max-width:85px!important}.demo-explorer{font-size:12px;padding:4px}.top-search{width:100px}.top-search input{font-size:12px}.top-actions .language-select{max-width:88px}.v4-conversation-toolbar{flex-wrap:wrap}.v4-conversation-toolbar>div{justify-content:space-between}.v4-conversation-toolbar>div:last-child{margin-left:auto}.v4-conversation-toolbar .compact-count{display:none}.ops-filter-grid{grid-template-columns:1fr}.mobile-nav .new{padding:10px 12px}.mobile-nav a,.mobile-nav button{font-size:11px}.v4-ticket-actions .subtle-note{font-size:12px}.page-head-actions{flex-wrap:wrap}.page-head{flex-wrap:wrap}.ops-list-meta{flex-wrap:wrap}.v4-simple-metrics .metric-label{font-size:12px}}
.phone-content .v4-workspace{display:block}.phone-content .v4-property-column,.phone-content .v4-context-column{display:none!important}.phone-content .v4-details-button{display:inline-flex}.phone-content .v4-ticket-context{grid-template-columns:1fr}.phone-content .v4-conversation-toolbar{position:static;flex-wrap:wrap}.phone-content .v4-ticket-actions{position:static}.phone-content .v4-ticket-header h1{font-size:20px}.phone-content .v4-simple-metrics{grid-template-columns:1fr 1fr}.phone-content .v4-ticket-header .page-head-actions{display:none}
@media print{.v4-conversation-toolbar,.v4-quick-actions,.v4-workflow-actions,.v4-demo-context{display:none!important}.v4-workspace{display:block}.v4-property-column{display:none}.v4-context-column{display:block!important}.footer{color:#333}.v4-ticket-actions{position:static}}

.field input,.field select,.field textarea{border-color:#8190a3}

.ticket-modal .v4-ticket-actions{position:static;bottom:auto}
@media(max-width:767px){:root{--v4-nav-height:calc(80px + env(safe-area-inset-bottom))}.mobile-nav{display:grid;grid-template-columns:1fr 1fr 1.4fr 1fr 1fr;gap:5px;min-height:var(--v4-nav-height);padding:8px 8px max(8px,env(safe-area-inset-bottom));align-items:center}.mobile-nav a,.mobile-nav button{min-width:0;max-width:100%;width:100%;text-align:center;font-size:12px;line-height:1.35;overflow-wrap:anywhere;min-height:58px}.mobile-nav .new{padding:8px;white-space:normal;font-size:13px;gap:4px}.composer-bottom{flex-wrap:wrap;gap:10px}.composer-bottom .btn.primary{margin-left:auto;max-width:100%}.table-wrap td>.flex{flex-wrap:wrap}.settings-row .checkbox-line{min-width:0;white-space:normal}.settings-row .checkbox-line input{flex-shrink:0;width:18px}}
