/* Horizon palette observed on shifts.horizonsupport.io. Assets are served locally. */
:root{color-scheme:light;--bg:#f4f7f8;--surface:#fff;--raised:#eef5f5;--border:#dce5e8;--text:#18373f;--muted:#657d84;--accent:#177f89}
body{font-size:15px;background:var(--bg)}header{background:#fff;padding:20px 36px;align-items:center}.brand img{max-width:210px;height:auto}.brand-divider{height:40px;width:1px;background:var(--border);margin:0 9px}.brand h1{font-size:21px}.brand p{font-size:12px}.pill{background:#eef9f6;color:#277762;border-color:#d5eee5;font-size:12px}main{max-width:1660px;margin:auto;padding:28px 36px 40px}button,.file-button{background:white;border-radius:8px;font-size:13px;transition:background .15s,box-shadow .15s}button:hover,.file-button:hover{background:#eaf7f6;box-shadow:0 2px 8px #153a4010}button.primary{background:#1d6473;color:white;border-color:#1d6473}button.primary:hover{background:#174e59}input,select{background:white;font-size:13px;padding:11px 12px}button:disabled{opacity:.5}.welcome{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}.welcome h2{font-size:29px;line-height:1.3;letter-spacing:-.7px;margin:7px 0}.welcome p{font-size:14px}.eyebrow{color:#43858b;font-size:10px;font-weight:700;letter-spacing:1.5px}.local-badge{font-size:12px;color:var(--muted);border-left:3px solid #2fbcb7;padding:8px 12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stats>div{background:white;border:1px solid var(--border);border-radius:11px;padding:19px 22px;box-shadow:0 3px 12px #14343c03}.stats span,.stats small{display:block;color:var(--muted);font-size:12px}.stats strong{display:block;font-size:30px;letter-spacing:-1px;line-height:1.4;margin:5px 0}.stats strong.stat-label{font-size:23px;letter-spacing:-.4px;line-height:42px}.collection-card{display:grid;grid-template-columns:1fr auto;background:linear-gradient(120deg,#1a6171,#12383e);color:white;border-radius:12px;padding:23px 26px;gap:20px;border:1px solid #1b6070}.collection-card h2{font-size:19px;margin:6px 0}.collection-card p{color:#c3e2e5;font-size:13px;max-width:750px}.collection-card .eyebrow{color:#58d6d1}.collection-card p.muted{font-size:11px;color:#a7cbd0;margin-top:7px}.collection-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:490px}.collection-actions .primary{background:#31c4bd;color:#103f45;border-color:#31c4bd;font-weight:700}.collection-progress{grid-column:1/-1;border-top:1px solid #ffffff24;padding-top:14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.collection-progress strong{font-size:12px;font-weight:500;flex:1;min-width:250px}.collection-progress span{font-size:12px;color:#c3e2e5}.collection-progress progress{height:4px;flex-basis:100%}.collection-progress progress::-webkit-progress-value{background:#32c5bc}.collection-progress progress::-webkit-progress-bar{background:#ffffff20}.api-panel{background:white;border:1px solid var(--border);border-radius:9px;margin-top:12px}.api-panel summary{padding:13px 18px;cursor:pointer;font-size:13px;font-weight:600}.api-panel summary span{font-weight:400;color:var(--muted);float:right;font-size:12px}.budget-bar{border:0;border-radius:0;padding:16px 20px;gap:20px}.budget-value strong{font-size:25px}.api-explanation{padding:0 20px 16px;font-size:12px}.customer-section{margin-top:28px}.section-title{display:flex;align-items:baseline;gap:15px;margin-bottom:12px}.section-title h2{font-size:17px}.section-title p{font-size:12px}.customer-cards{display:flex;gap:10px;overflow:auto;padding-bottom:7px}.customer-card{flex:0 0 180px;max-width:220px;padding:13px 15px;text-align:left;display:flex;flex-direction:column;gap:6px}.customer-card b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-card span{font-size:11px;color:var(--muted)}.customer-card.active{border-color:#2ba8a5;background:#e9f6f4;box-shadow:inset 0 2px #2ba8a5}.toolbar{margin-top:17px}.workspace{grid-template-columns:370px minmax(0,1fr);background:white;box-shadow:0 3px 12px #18373f05;border-radius:11px}.list-heading{background:#fafdfe}.ticket-item{padding:17px 20px}.ticket-item.selected{background:#eaf6f5;box-shadow:inset 3px 0 #2ba8a5}.ticket-item h3{line-height:1.45;color:#24424a}.ticket-item p{line-height:1.65}.ticket-number{color:#177e85;font-weight:600}.ticket-detail{background:white;padding:28px 32px}.ticket-detail h2{font-size:24px;line-height:1.35;letter-spacing:-.4px}.message pre,.description{color:#344d54;font-size:14px;line-height:1.8}.message{padding:20px 0}.message-head{background:#f3f7f8;padding:10px 12px;border-radius:6px;font-size:11px}.description{background:#f8fafb;padding:16px;border-radius:8px}.detail-meta span{color:#32636c;background:#edf6f5;border-radius:20px;padding:5px 11px;font-size:12px}.detail-top a{font-size:12px}.notice{background:#f1f9f3;border-color:#b7d9c1;color:#355e41;font-size:13px}.history-note{background:#fff9e9;color:#7e692b;padding:10px 12px;border-radius:6px;font-size:12px}.empty-icon{background:#edf8f6;border-radius:18px;width:65px;margin:0 auto 20px}.empty h2{font-size:23px}.empty p{font-size:14px}.pagination{border-top:1px solid var(--border)}dialog{box-shadow:0 20px 80px #18373f30}a:hover{color:#104f58}
@media(min-width:1450px){.workspace{grid-template-columns:430px minmax(0,1fr)}}
@media(max-width:1100px){.collection-card{grid-template-columns:1fr}.collection-actions{justify-content:flex-start;max-width:none}.stats{gap:10px}.stats>div{padding:16px}.brand img{width:170px}.workspace{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:700px){header,main{padding:18px}.brand{width:100%}.brand img{width:140px}.brand-divider{margin:0}.brand h1{font-size:18px}.welcome{display:block}.welcome h2{font-size:25px}.local-badge{margin-top:12px}.stats{grid-template-columns:1fr 1fr}.collection-card{padding:19px}.collection-actions>*{flex:1}.api-panel summary span{float:none;display:block;margin-top:5px}.workspace{grid-template-columns:1fr}.ticket-detail{padding:20px}.section-title{display:block}.budget-bar{grid-template-columns:1fr}.customer-card{flex-basis:155px}.header-actions{width:100%;justify-content:space-between}.toolbar .file-button{padding:10px}.message-head{flex-direction:column;gap:4px}.detail-top{align-items:flex-start}.collection-progress strong{min-width:0;flex-basis:100%}}
/* Ticketing workspace */
.app-nav{position:fixed;inset:0 auto 0 0;width:232px;background:#123d48;color:#d3e8eb;display:flex;flex-direction:column;z-index:20;border-right:1px solid #235563}.nav-brand{padding:30px 23px 26px}.nav-brand img{width:182px;height:auto}.nav-brand>span{display:block;font-size:11px;letter-spacing:1.6px;color:#8db5bd;margin-top:15px}.app-nav nav{padding:0 13px}.app-nav nav p{font-size:11px;letter-spacing:1.3px;color:#86abb4;margin:23px 13px 11px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;color:#c9e0e5;border:1px solid transparent;padding:12px 13px;margin:4px 0;font-size:14px;box-shadow:none;border-radius:7px}.nav-item>span{font-size:19px;width:21px;color:#83b9bf}.nav-item b{font-size:11px;font-weight:500;margin-left:auto;background:#ffffff16;padding:2px 7px;border-radius:5px}.nav-item:hover{background:#ffffff0b;border-color:#ffffff20;box-shadow:none}.nav-item.active{background:#217079;color:white;border-color:#378a92}.nav-item.active>span{color:#5bebe0}.nav-bottom{margin-top:auto;padding:24px;font-size:12px;border-top:1px solid #ffffff12}.nav-bottom strong{font-size:12px;font-weight:500}.nav-bottom p{font-size:12px;color:#90b7bf;margin:7px 0 16px}.nav-bottom small{color:#719aa4}.nav-dot{display:inline-block;background:#35d2b2;border-radius:50%;width:7px;height:7px;margin-right:7px}body>header{margin-left:232px;height:76px;padding:15px 28px}.brand>img,.brand-divider{display:none}.brand h1{font-size:19px}.brand p{font-size:12px}main{margin-left:232px;padding:24px 28px;max-width:none}.welcome{display:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.page-heading h2{font-size:26px;letter-spacing:-.5px}.page-heading p{font-size:14px;margin-top:3px}.stats{gap:12px;margin-bottom:18px;grid-template-columns:repeat(3,1fr)}.stats>div{padding:12px 17px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px;box-shadow:none}.stats>div:last-child{display:none}.stats strong{font-size:25px;grid-column:2;grid-row:1/3;margin:0}.stats small{font-size:11px}.stats span{font-size:13px;color:#375963}.toolbar{margin:0;padding:15px;background:white;border:1px solid var(--border);border-radius:9px 9px 0 0;gap:9px;flex-wrap:wrap}.toolbar .search-label{flex:1 1 260px}.toolbar input{font-size:14px;background:#f7f9fa}.toolbar select{max-width:185px;font-size:13px}.filter-row{display:flex;gap:9px;align-items:center;padding:11px 15px;margin-bottom:17px;background:#fafcfc;border:1px solid var(--border);border-top:0;border-radius:0 0 9px 9px;flex-wrap:wrap}.filter-row>span{font-size:12px;color:var(--muted)}.filter-row select{padding:7px 10px;font-size:13px;max-width:200px}.filter-row button{font-size:12px;padding:7px 10px;background:transparent}.filter-tip{margin-left:auto}.workspace{min-height:520px;grid-template-columns:minmax(285px,34%) minmax(0,1fr)}#ticketList{max-height:calc(100vh - 375px);min-height:365px}.ticket-detail{max-height:calc(100vh - 280px);min-height:520px;padding:24px}.ticket-item h3{font-size:14px}.ticket-item{padding:15px 18px}.ticket-item p{font-size:12px}.ticket-detail h2{font-size:22px}.empty{margin:85px auto;max-width:350px}.view-tickets .collection-card,.view-tickets .api-panel,.view-tickets .customer-section{display:none}.view-customers .collection-card,.view-customers .api-panel,.view-customers .toolbar,.view-customers .filter-row,.view-customers .workspace{display:none}.view-collection .customer-section,.view-collection .toolbar,.view-collection .filter-row,.view-collection .workspace,.view-collection .stats{display:none}.view-customers .customer-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));overflow:visible;gap:14px}.view-customers .customer-card{max-width:none;width:100%;padding:22px;font-size:14px}.view-customers .customer-card b{font-size:15px}.view-customers .customer-card span{font-size:13px}.resource-panel{border:1px solid var(--border);border-radius:8px;padding:13px 15px;margin:16px 0;background:#fbfdfd}.resource-panel summary{font-size:14px;font-weight:600;cursor:pointer}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;margin-top:12px}.file-card{padding:10px;border:1px solid var(--border);background:white;border-radius:7px;min-width:0}.file-card img{width:100%;height:105px;object-fit:contain;background:#f3f7f8;margin-bottom:8px}.file-card a,.file-card strong{font-size:12px;display:block;overflow-wrap:anywhere}.file-card small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.ticket-links{padding-left:20px;font-size:13px;max-height:230px;overflow:auto}.ticket-links li{margin:8px 0;overflow-wrap:anywhere}.custom-values{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font-size:12px}.message pre a,.description a{overflow-wrap:anywhere}.nav-item:focus-visible{outline:2px solid #44dace}
@media(max-width:1100px){.app-nav{width:205px}.nav-brand{padding-left:17px}.nav-brand img{width:165px}body>header,main{margin-left:205px}main{padding:20px}.stats small{display:none}.stats strong{grid-row:1}.toolbar .search-label{flex-basis:100%}.filter-tip{display:none}.workspace{grid-template-columns:290px minmax(0,1fr)}}
@media(max-width:800px){.app-nav{position:static;width:100%;height:auto}.nav-brand{padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.nav-brand img{width:145px}.nav-brand>span{margin:0}.app-nav nav{display:flex;overflow:auto;padding:0 10px 10px;gap:4px}.app-nav nav p,.nav-bottom,.nav-item b{display:none}.nav-item{width:auto;flex-shrink:0;font-size:12px;padding:8px 10px;margin:0}.nav-item>span{font-size:15px;width:auto}body>header,main{margin-left:0}body>header{height:auto;padding:13px 18px;flex-direction:row}.brand p{display:none}.header-actions{width:auto}.header-actions .pill{display:none}.page-heading h2{font-size:23px}.page-heading p{font-size:12px}.stats{gap:7px}.stats>div{display:block;padding:12px}.stats strong{font-size:23px}.stats span{font-size:11px}.workspace{grid-template-columns:1fr}.ticket-detail{max-height:none;min-height:300px}#ticketList{min-height:0;max-height:310px}.filter-row select{flex:1;max-width:none}.toolbar select{flex:1;max-width:none}.filter-row>span:first-child{width:100%}.ticket-detail{padding:19px}}
.rich-message{font-size:14px;line-height:1.7;overflow-wrap:anywhere;overflow:auto;color:#344d54}.rich-message img,.description img{max-width:100%;height:auto;border-radius:6px;margin:10px 0}.rich-message table,.description table{border-collapse:collapse;max-width:100%;font-size:13px}.rich-message td,.rich-message th,.description td,.description th{border:1px solid #dce5e8;padding:7px 10px}.rich-message blockquote{border-left:3px solid #b8d7da;margin-left:0;padding-left:15px;color:#658087}.rich-message pre{white-space:pre-wrap}.missing-image{display:inline-block;background:#fff5df;color:#896421;font-size:12px;padding:3px 7px;border-radius:4px}
#enableApi{display:inline-block;width:auto;margin-right:8px}#assetProgress{padding:8px 12px;border-left:3px solid #28b7ab;background:#eaf6f4;margin-bottom:15px}
/* Customer and agent ticket workspaces */
.entity-section,.scope-summary{display:none}.view-customers .entity-section,.view-agents .entity-section{display:block;background:white;border:1px solid var(--border);border-radius:10px;padding:18px;margin-bottom:16px}.view-customers .toolbar{display:flex}.view-customers .filter-row{display:flex}.view-customers .workspace{display:grid}.view-agents .collection-card,.view-agents .api-panel{display:none}.view-customers .stats,.view-agents .stats{display:none}.view-customers .scope-summary,.view-agents .scope-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.scope-summary>div{background:white;border:1px solid var(--border);padding:13px 17px;border-radius:9px;display:flex;justify-content:space-between;align-items:center}.scope-summary span{font-size:13px;color:var(--muted)}.scope-summary strong{font-size:24px}.scope-summary>p{grid-column:1/-1;font-size:12px;margin:0}.entity-section .section-title{display:flex;justify-content:space-between;align-items:center;gap:15px}.entity-section h2{font-size:18px}.entity-section p{font-size:12px}.entity-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:10px;max-height:240px;overflow:auto;margin-top:12px;padding:2px}.entity-card{display:flex;flex-direction:column;text-align:left;align-items:flex-start;gap:5px;padding:13px}.entity-card b{font-size:13px;overflow-wrap:anywhere}.entity-card strong{font-size:22px;color:#1d6473}.entity-card small{font-size:11px;color:var(--muted)}.entity-card.active{border-color:#168b8e;background:#edf9f6;box-shadow:inset 3px 0 #168b8e}.all-fields>p{margin:12px 0}.field-search-label{display:block;font-size:12px;margin:12px 0}.field-search-label input{width:100%;display:block;margin-top:5px}.field-group{margin-top:18px}.field-group h4{margin:8px 0;color:#1d6473}.field-group dl{margin:0}.field-row{display:grid;grid-template-columns:minmax(100px,38%) minmax(0,1fr);border-top:1px solid var(--border);gap:12px;padding:9px 0;font-size:12px}.field-row[hidden],.field-group[hidden]{display:none}.field-row dt{color:var(--muted);overflow-wrap:anywhere}.field-row dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.view-collection .scope-summary,.view-collection .entity-section{display:none}@media(max-width:800px){.entity-section .section-title{display:block}.entity-section input{width:100%;margin-top:10px}.entity-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-height:210px}.scope-summary>div{display:block}.scope-summary strong{display:block}.field-row{grid-template-columns:1fr;gap:3px}}
/* Browser-only workspace and TeamSupport-style ticket grid. */
.browser-page{display:none}.view-collection .browser-page{display:block}.view-collection .entity-section,.view-collection .ticket-tools,.view-collection .ticket-workspace{display:none}.entity-section .entity-cards{max-height:140px;grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}.entity-card{padding:10px 12px;min-height:58px;justify-content:center}.entity-section{padding:14px 16px!important}.entity-section .section-title h2{font-size:15px}.entity-section .section-title input{padding:8px 11px}.entity-card b{font-size:12px}.entity-card small{font-size:11px}.ticket-workspace{background:white;border:1px solid var(--border);border-radius:9px;overflow:hidden}.ticket-grid-wrap{overflow:auto;max-width:100%}.ticket-grid,.history-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.ticket-grid{min-width:1200px}.ticket-grid th{background:#edf4f5;border-bottom:1px solid #cadbdd;white-space:nowrap;position:sticky;top:0;z-index:1}.ticket-grid th button{background:none;border:0;box-shadow:none;font-size:12px;font-weight:600;padding:12px 10px;width:100%;text-align:left;color:#24555f}.ticket-grid th[aria-sort=ascending] button:after{content:' ↑';color:#128b88}.ticket-grid th[aria-sort=descending] button:after{content:' ↓';color:#128b88}.ticket-grid td{border-bottom:1px solid #edf1f2;padding:10px;vertical-align:top;max-width:230px;overflow-wrap:anywhere;color:#45626a}.ticket-grid tr:hover{background:#f3faf9}.ticket-grid tr.selected{background:#e8f6f3}.ticket-grid .ticket-item{display:inline;text-align:left;width:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#1b6d78;font-size:12px;line-height:1.6}.ticket-grid .ticket-title{min-width:260px;max-width:390px}.ticket-grid .ticket-title button{font-weight:600}.status-tag{display:inline-block;background:#edf4f5;border-radius:4px;padding:2px 5px;white-space:normal}.ticket-workspace .ticket-detail{border-top:3px solid #217079;max-height:75vh;min-height:0;background:white}.ticket-detail[hidden]{display:none}.pagination{font-size:12px;color:var(--muted);gap:12px}.pagination .row{gap:10px}.history-panel{background:white;border:1px solid var(--border);border-radius:10px;padding:20px;margin-top:24px}.history-panel>p{font-size:12px;margin:6px 0 16px}.history-table th,.history-table td{padding:11px;border-bottom:1px solid var(--border);vertical-align:top}.history-table th{background:#f4f8f9;color:#47656d}.history-table small{display:block;max-width:300px;color:var(--muted);margin-top:4px}.sync-note{font-size:13px;margin:14px 0}.action-help{display:flex;gap:7px;align-items:center;position:relative}.help{position:relative;font-size:12px;color:var(--text)}.help summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;width:23px;height:23px;border:1px solid #7ca8ad;background:#edf7f6;color:#1f5f69;font-weight:700}.help summary::-webkit-details-marker{display:none}.help p{position:absolute;right:0;top:30px;width:min(300px,75vw);padding:14px!important;color:#274d57!important;background:white;border:1px solid #c9dfe0;border-radius:8px;box-shadow:0 10px 35px #153a4028;z-index:40;font-size:13px!important;line-height:1.6}.collection-actions{gap:15px;max-width:none;justify-content:flex-start}.collection-card{display:block}.collection-card .collection-actions{margin-top:22px}.collection-progress{margin-top:20px}.header-actions #lastSync{font-size:11px;max-width:220px}.view-collection .collection-card{display:block}@media(max-width:800px){.header-actions #lastSync{display:none}.entity-section .entity-cards{max-height:135px}.history-panel{padding:12px}.ticket-workspace .ticket-detail{max-height:none}.ticket-grid-wrap{max-height:65vh}.collection-actions{align-items:flex-start}.collection-actions>.action-help{flex:0 1 auto}.help p{right:auto;left:-160px}.ticket-grid{min-width:1100px}.pagination{align-items:flex-start;flex-wrap:wrap}}
#ticketDialog{width:min(1060px,calc(100vw - 48px));max-width:none;height:calc(100vh - 48px);max-height:none;margin:24px auto;padding:0;background:white;overflow:hidden;border:1px solid #c7dcdf;box-shadow:0 20px 80px #123d4850}#ticketDialog::backdrop{background:#10343b77;backdrop-filter:blur(2px)}#ticketDialog .close-ticket{display:block;margin:12px 18px 0 auto;padding:7px 12px;position:relative;z-index:1}#ticketDialog .ticket-detail{height:calc(100% - 54px);max-height:none;min-height:0;overflow:auto;background:white;padding:18px 28px 30px}#ticketDialog .detail-top{padding-right:0}.browser-page .help p{left:0;right:auto}.ticket-grid-wrap{max-height:65vh}#ticketDialog .ticket-detail h2{margin-top:10px}@media(max-width:700px){#ticketDialog{width:calc(100vw - 16px);height:calc(100vh - 16px);margin:8px}#ticketDialog .ticket-detail{padding:16px}}
/* Account access and responsive dialogs */
.admin-only{display:none!important}body[data-role=admin] .admin-only{display:block!important}body:not([data-role=admin]) .header-actions>.action-help,body:not([data-role=admin]) .collection-actions{display:none!important}
.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;background:linear-gradient(140deg,#133e4a,#237b7a);margin:0}.login-page .login-card{margin:0;padding:36px;width:min(440px,100%);background:white;border-radius:14px;box-shadow:0 24px 80px #001b3455}.login-card>img{width:220px;max-width:100%;margin-bottom:18px}.login-card h1{font-size:26px;margin:12px 0}.login-card form, #passwordForm{display:grid;gap:16px}.login-card label,#accountDialog label,#usersDialog label{display:grid;gap:7px;font-size:13px}.login-card input,#accountDialog input,#usersDialog input,#usersDialog select{box-sizing:border-box;width:100%;min-width:0;padding:11px;border:1px solid #c8dade;border-radius:6px}.login-card [hidden]{display:none!important}.login-card .muted{font-size:12px;margin-top:24px}#loginError,#accountMessage,#usersMessage{color:#983e31;white-space:pre-wrap}#signedInUser{font-size:12px;max-width:180px}#usersDialog,#accountDialog{box-sizing:border-box;width:min(780px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:26px;border:1px solid #c8dade;border-radius:12px;overflow:auto}#accountDialog{width:min(460px,calc(100vw - 32px))}#usersDialog::backdrop,#accountDialog::backdrop{background:#10343b88}.dialog-close{float:right}.user-edit,#createUserForm{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px 0;border-bottom:1px solid #dbe5e8}.user-edit h3,#createUserForm h3{grid-column:1/-1}.user-edit h3 small{font-weight:400;color:#52717a}.user-edit .check-label{display:flex!important;align-items:center}.user-edit .check-label input{width:18px!important}#usersDialog p{line-height:1.6}.header-actions{flex-wrap:wrap}@media(max-width:650px){.user-edit,#createUserForm{grid-template-columns:1fr}.login-page .login-card{padding:24px}#signedInUser{display:none}.header-actions{gap:6px}}
/* Horizon workspace refinement */
.search-center{display:none}.view-searchcenter .search-center{display:block}.view-searchcenter .entity-section,.view-searchcenter .ticket-tools,.view-searchcenter .ticket-workspace,.view-searchcenter .browser-page{display:none!important}.search-hero,.sync-report{padding:26px;background:white;border:1px solid #d2e5e6;border-radius:16px;margin:20px 0}.search-hero{background:linear-gradient(115deg,#e3f8f4,#eff7fd);border-top:4px solid #24beb5}.search-hero h2{font-size:26px}.search-hero p{max-width:780px;line-height:1.7}.search-hero textarea{display:block;width:100%;box-sizing:border-box;min-height:110px;padding:16px;border:1px solid #b6d8db;border-radius:10px;font:inherit;margin:20px 0 12px}.search-hero button{margin-right:10px}.knowledge-card,.change-card{background:white;border:1px solid #dce9eb;border-radius:12px;padding:20px;margin:16px 0}.knowledge-card h3 button,.change-ticket{border:0;background:none;color:#19666f;text-align:left;font-weight:650;padding:0;font-size:inherit}.knowledge-card blockquote{white-space:pre-wrap;margin:14px 0;border-left:3px solid #22b4ac;background:#f5faf9;padding:16px;max-height:300px;overflow:auto;line-height:1.7}.knowledge-card small{color:#69868b}.report-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.sync-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.sync-metric{border-radius:12px;padding:18px;border:1px solid #ceeae6}.sync-metric strong{display:block;font-size:28px;margin-bottom:7px}.sync-metric span{font-size:12px}.teal{background:#e4f8f2;color:#116757}.blue{background:#e9f3fd;color:#245a87}.violet{background:#f0edfc;color:#62539a}.amber{background:#fff5df;color:#946512}.change-card>div:first-child{display:flex;justify-content:space-between;gap:18px}.change-card small{white-space:nowrap;color:#6e858c}.change-card .state-pill{margin:12px 0;display:inline-block}.change-card details{margin:12px 0;overflow:auto}.change-card table{width:100%;table-layout:fixed;border-collapse:collapse}.change-card td,.change-card th{padding:10px;border:1px solid #dce9eb;text-align:left}.change-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;font:12px/1.6 inherit}.failure{color:#ad503b}.worker-control{padding:16px;background:#eff8f7;border-radius:8px;margin-top:20px}.worker-control label{display:inline-flex;gap:12px;align-items:center}.worker-control span{font-size:12px;color:#58797e;margin-left:10px}.user-table{width:100%;border-collapse:collapse;font-size:13px}.user-table th,.user-table td{padding:16px 12px;border-bottom:1px solid #e1ebed;text-align:left}.user-table th{background:#f1f8f8;color:#53777c}.user-table td small{display:block;margin-top:5px;color:#6c858b}.user-actions{min-width:260px}.user-actions button{font-size:12px;margin:3px}.role-pill,.state-pill{border-radius:20px;padding:5px 10px;font-size:11px;white-space:nowrap}.role-pill{background:#eaf2fc;color:#396797}.enabled{background:#e0f6eb;color:#267252}.disabled{background:#f5e9e5;color:#a45942}.user-table-wrap{overflow:auto}.create-user{margin:18px 0;border:1px solid #cce3e2;padding:12px;border-radius:9px}.create-user>summary{cursor:pointer;color:#167d7b;font-weight:650}#usersDialog{width:min(1100px,calc(100vw - 32px))}#userSearch{width:min(420px,100%);padding:11px}#userEditDialog{width:min(460px,calc(100vw - 32px));border:1px solid #c6dedf;border-radius:12px;padding:26px}#userEditForm{display:grid;gap:18px}#userEditForm label{display:grid;gap:8px}#userEditForm [hidden]{display:none}#userEditForm input,#userEditForm select{padding:12px;border:1px solid #c6dedf;border-radius:7px}#userEditError{color:#a34639}#userEditDialog::backdrop{background:#153f4b88}.ticket-detail h2{font-size:26px;line-height:1.4}.detail-meta>span{background:#eff7f7;border-radius:20px;padding:6px 12px;font-size:12px}.message{margin:20px 0;border:1px solid #dae8eb;border-left:4px solid #26bcb2;border-radius:10px;box-shadow:0 5px 16px #174b5407}.message-head{background:#f0f8f7;padding:12px 16px;border-radius:7px 7px 0 0;font-size:12px}.rich-message{padding:18px;line-height:1.75;overflow-wrap:anywhere}.rich-message img{display:block;max-width:100%;max-height:520px;object-fit:contain;border-radius:8px;margin:16px 0}.comment-files,.file-grid{display:flex;flex-wrap:wrap;gap:14px;padding:14px}.attachment-tile,.file-card{border:1px solid #cce2e3;background:#f7fbfb;border-radius:10px;padding:12px;max-width:230px;overflow-wrap:anywhere}.attachment-tile img,.file-card img{width:200px;max-width:100%;height:125px;object-fit:contain;background:white}.attachment-tile strong,.attachment-tile a.download-file{display:block;margin:8px 0;font-size:12px}.file-symbol{font-size:30px;color:#27b1a8}.ticket-sections{position:sticky;top:0;display:flex;gap:10px;background:white;padding:10px 0;z-index:2;border-bottom:1px solid #deebed}.empty-evidence{padding:30px;background:white;border:1px dashed #bbd7d7;border-radius:12px}@media(max-width:800px){.sync-metrics{grid-template-columns:repeat(2,1fr)}.report-heading,.change-card>div:first-child{display:block}.search-hero{padding:18px}.user-actions{min-width:180px}.ticket-detail h2{font-size:21px}}
