:root{font-family:Arial,sans-serif;color:#20324c;background:#f4f6fa;font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #bac6d5;border-radius:5px;background:#fff;color:#263e5b;padding:8px 12px}button:hover{background:#edf3fa}button:disabled{opacity:.6;cursor:wait}header{height:64px;background:#173754;color:#fff;display:flex;align-items:center;padding:0 24px;gap:30px;position:sticky;top:0;z-index:2}.brand{font-size:23px;letter-spacing:.7px}.brand b{font-weight:700}.brand span{font-size:9px;display:block;letter-spacing:2px;color:#bdd0e3;margin-top:3px}.pilot{background:#35516b;border:1px solid #58738a;padding:7px 12px;border-radius:5px;font-size:12px}header>button{margin-left:auto;background:transparent;color:white;border-color:#7891a7}aside{position:fixed;top:64px;bottom:0;left:0;width:88px;background:#e8edf4;border-right:1px solid #c9d3df;padding:16px 7px;display:flex;flex-direction:column;gap:14px}.nav{border:0;background:none;font-size:25px;padding:10px 2px}.nav span{display:block;font-size:10px;margin-top:7px}.nav.active{background:#d0dfee;color:#174b78}.sidefoot{margin-top:auto;font-size:9px;line-height:1.5;text-align:center;color:#627993}main{margin-left:88px;padding:22px 28px}.titlebar{display:flex;justify-content:space-between;align-items:center;gap:20px}h1{font-size:24px;margin:0 0 5px}h2{font-size:17px;margin:0 0 12px}p{line-height:1.6;margin:6px 0 14px;color:#526780}.primary{background:#2367a1;border-color:#2367a1;color:#fff}.primary:hover{background:#194d7c}.syncbar{background:#fff5df;border:1px solid #e4cf9d;color:#76571e;border-radius:5px;padding:10px 13px;margin:12px 0 18px;line-height:1.6}.syncbar.good{background:#e9f4ee;border-color:#b8d8c5;color:#286345}.tabs{display:flex;gap:6px;border-bottom:1px solid #c6d2e1}.tabs button{padding:12px 20px;border-bottom:0;border-radius:5px 5px 0 0;background:#e5eaf1}.tabs button.selected{background:white;font-weight:bold;color:#174b78}.tabs b{background:#e6edf6;padding:3px 6px;margin-left:6px;border-radius:4px}.filters{display:flex;gap:10px;padding:14px;background:#e2e8f0;border:1px solid #c6d2e1;border-top:0}.filters input{flex:1;min-width:180px}.filters select{max-width:220px}input,select,textarea{border:1px solid #b8c7d8;border-radius:4px;background:#fff;padding:9px;color:#233d59}textarea{width:100%;resize:vertical;min-height:72px}.tablewrap{overflow:auto;background:#fff;border:1px solid #c6d2e1;border-top:0}table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1000px}th{text-align:left;background:#f0f3f8;font-weight:normal;color:#64778e;font-size:11px;padding:11px 10px;border-bottom:1px solid #c7d3e1}th:first-child{width:66px}th.subject{width:33%}th:nth-child(3){width:16%}th:nth-child(4){width:12%}th:nth-child(5){width:125px}th:nth-child(6),th:nth-child(7){width:115px}td{padding:9px 10px;border-bottom:1px solid #dce3ed;line-height:1.5;overflow:hidden;text-overflow:ellipsis}tbody tr{cursor:pointer}tbody tr:hover{background:#eff5fb}td.subjectcell{white-space:nowrap;color:#203e63;font-weight:600}td:first-child{color:#4680b0;border-left:4px solid transparent}.overdue td:first-child{border-left-color:#db5454}.sub{display:block;font-size:11px;color:#71849a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-block;border-radius:4px;padding:3px 6px;font-size:11px;font-weight:600;background:#edf0f5;color:#516681;white-space:nowrap}.opened{background:#fff0dc;color:#a85c00}.V_Rabote{background:#e5ecff;color:#234eaa}.completed{background:#dff2e6;color:#27753e}.closed{background:#e3e7ed;color:#5c6c81}.local{background:#e9e3f6;color:#705095}.foot{padding:12px 0;color:#708299;font-size:12px}.panel{background:#fff;border:1px solid #ccd6e2;border-radius:6px;padding:20px;margin:0 0 14px}.filebtn{display:inline-block;background:#e9f0f8;border:1px solid #c1d2e6;padding:9px;border-radius:5px;cursor:pointer}.filebtn input{display:none}.inboxrow{padding:15px;background:#fff;border:1px solid #ccd6e2;margin-bottom:8px;line-height:1.7}.inboxrow button{float:right}dialog{border:1px solid #aabbce;border-radius:8px;width:min(1050px,96vw);max-height:92vh;padding:0;box-shadow:0 20px 90px #10274450}dialog::backdrop{background:#19334c77}.dialoghead{padding:20px 24px;border-bottom:1px solid #c9d5e2;display:flex;gap:20px;align-items:flex-start;background:#f1f5fa}.dialoghead h2{margin:8px 0 0;line-height:1.5}.dialoghead button{margin-left:auto}#cardnumber{font-size:12px;color:#6b7d92}#cardbody{padding:24px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sourcebox{background:#edf2f8;padding:16px;border:1px solid #cedae6;border-radius:5px;overflow-wrap:anywhere}.sourcebox dl{display:grid;grid-template-columns:110px 1fr;gap:8px;margin:0 0 16px}dt{color:#718096}dd{margin:0;line-height:1.45}.description{white-space:pre-wrap;font-size:12px;line-height:1.6;max-height:330px;overflow:auto}.form label{display:block;margin-bottom:12px;font-size:12px;color:#4f647e}.form label input:not([type=checkbox]),.form select{display:block;width:100%;margin-top:5px}.form textarea{margin-top:5px}.form .hint{font-size:11px;color:#73869b}.actions{display:flex;align-items:center;gap:12px;margin-top:16px}a{color:#236ca6}#notice{padding:0;color:#9d351d}#notice:not(:empty){padding:12px;margin-top:10px;background:#fff0e8;border:1px solid #eac9b8;border-radius:5px}.event{font-size:12px;padding:12px 0;border-bottom:1px solid #dce5ed;line-height:1.6}.event pre{white-space:pre-wrap;margin:4px 0;font-family:inherit}.history{margin-top:24px}#formerror{color:#ad322d;line-height:1.5}.empty{text-align:center;padding:50px;color:#6c8199}.pending{color:#9b6416}.statusgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.statusgrid .panel{overflow-wrap:anywhere}#cardbody button.link{border:0;padding:0;color:#236ca6;text-decoration:underline;background:none}@media(max-width:900px){main{padding:16px;margin-left:66px}aside{width:66px}.filters{flex-wrap:wrap}.filters select{flex:1;max-width:none}.twocol,.statusgrid{grid-template-columns:1fr}header{padding:0 14px;gap:12px}.pilot{font-size:10px}.titlebar{align-items:flex-start}.tabs button{padding:10px}.brand{font-size:18px}.brand span{font-size:7px}header>button{font-size:11px}.titlebar p{font-size:11px}.titlebar>.primary{font-size:11px}#cardbody{padding:16px}}
:root{--settings-border:#c6d2e1}.settings-note{padding:12px 16px;background:#eef3f9;border:1px solid var(--settings-border);border-radius:5px;line-height:1.6;margin-bottom:14px}.settings-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:14px}.settings-tabs .selected{background:#245e90;color:#fff;border-color:#245e90}.settings-tabs b{font-size:11px;margin-left:4px}.settings-tools{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}.settings-tools input{flex:1;min-width:200px}.settings-table{table-layout:auto;min-width:720px}.settings-table th:first-child{width:26%}.settings-table th:last-child{width:110px}.settings-table th:nth-child(n+2){width:auto}.settings-table td{vertical-align:top}.settings-table tbody tr{cursor:default}.settings-dialog{width:min(680px,95vw)}.settings-form{padding:24px}.settings-form input,.settings-form select{width:100%}.settings-form fieldset{border:1px solid var(--settings-border);margin:16px 0;border-radius:5px}.settings-form .check{display:flex;gap:9px;align-items:center}.settings-form .check input{width:auto!important;margin:0!important}.direction-checks{display:grid;grid-template-columns:1fr 1fr;gap:4px;max-height:200px;overflow:auto}.settings-error{color:#a52e24;line-height:1.6;margin:9px 0}.assignment-box{padding:14px;background:#edf1fa;border:1px solid #c5d1e4;border-radius:5px;margin-bottom:18px}.assignment-box p{margin:8px 0}.route-result{display:flex;gap:14px;border-top:1px solid #d9e2ed;padding:12px 0;align-items:flex-start;line-height:1.6}#routing-results{max-height:440px;overflow:auto;margin-top:12px}.settings-tabs button{white-space:nowrap}#settings-list pre{white-space:pre-wrap;overflow-wrap:anywhere}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #287bbd;outline-offset:2px}@media(max-width:700px){.direction-checks{grid-template-columns:1fr}.settings-form{padding:15px}.settings-tools>*{width:100%}}

.create-dialog{width:min(680px,96vw)}.create-dialog>.form{padding:24px}.activity{margin-top:28px;padding-top:20px;border-top:2px solid #c5d2e1}.activity-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.activity .form{padding:16px;border:1px solid #ccd6e2;border-radius:6px;margin-bottom:14px}.activity [role=alert],.create-dialog [role=alert]{color:#a52e24;margin:10px 0}.file-list{overflow-wrap:anywhere}.titlebar>div{flex:1}th:first-child{width:100px}@media(max-width:700px){.activity-grid{grid-template-columns:1fr}.titlebar{flex-wrap:wrap}.titlebar>div{flex-basis:100%}.create-dialog>.form{padding:16px}}

[hidden]{display:none!important}.locked>header,.locked>aside,.locked>main{display:none}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#e8edf4}.login-panel{width:min(480px,100%);padding:32px;background:white;border:1px solid #b8c7d8;border-radius:10px;box-shadow:0 15px 50px #17375418}.login-panel .brand{margin-bottom:26px;color:#173754}.login-panel h1{font-size:23px}.login-panel [role=alert],.settings-form [role=alert]{color:#a52e24;margin:12px 0}.login-panel button{margin-top:8px}#identity{font-size:12px;margin-left:auto}header{gap:12px}header>button{margin-left:0}input[readonly]{background:#edf2f8}@media(max-width:900px){header{height:auto;min-height:64px;flex-wrap:wrap;padding:12px}.login-panel{padding:22px}}

.settings-layout{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid #c6d2e1;background:#fff;min-height:620px}.settings-menu{background:#dfe5ed;border-right:1px solid #becbd9;padding:10px 12px;display:flex;flex-direction:column;align-items:stretch;gap:0}.settings-menu button{text-align:left;border:0;border-bottom:1px solid #fff;border-radius:0;padding:13px 10px;background:transparent;line-height:1.4;color:#19334e}.settings-menu button:hover{background:#d1dce9}.settings-menu button[aria-current=page]{background:#fff;color:#174d7d;font-weight:700;box-shadow:inset 3px 0 #2367a1}.settings-menu button:focus-visible{outline:2px solid #2367a1;outline-offset:-2px}.settings-content{padding:20px;min-width:0}.settings-heading{border-bottom:1px solid #c6d2e1;margin-bottom:18px}.settings-heading>span{display:block;font-size:11px;color:#5e7289;margin-bottom:8px}.settings-content .settings-table{min-width:700px}.settings-content .actions{flex-wrap:wrap}.settings-content .panel{box-shadow:none}@media(max-width:850px){.settings-layout{grid-template-columns:1fr}.settings-menu{display:grid;grid-template-columns:1fr 1fr;border-right:0;border-bottom:1px solid #becbd9}.settings-content{padding:14px}}
/* Atlas 0.6.1 — compact service desk workspace */
:root{font-family:Arial,"Segoe UI",sans-serif;color:#172e48;background:#fff;font-size:13px;--line:#d3dbe6;--muted:#6d7e95;--accent:#278542}
body{background:#fff}.app-header{margin-left:82px;position:sticky;top:0;height:60px;min-height:60px;border-top:4px solid #334253;border-bottom:1px solid var(--line);padding:8px 16px;gap:22px;background:#fff;color:#19344e;z-index:20;flex-wrap:nowrap}.app-header .brand{font-size:16px;letter-spacing:.5px;white-space:nowrap}.app-header .brand span{color:#8191a3;font-size:7px;letter-spacing:1px}.app-header .pilot{font-size:11px;color:#63758b;background:#f0f3f6;border:0;padding:5px 8px;white-space:nowrap}.app-header>button{color:#4d6380;background:#fff;border:1px solid #c5d0dd;font-size:12px;margin:0}.app-header #newissue{background:#369748;color:#fff;border-color:#369748;font-size:13px;font-weight:600;border-radius:6px;padding:7px 15px;white-space:nowrap}.app-header #newissue:hover{background:#2a7f3a}.new-issue>span{font-size:20px;vertical-align:-1px;font-weight:400}.app-header #sync{margin-left:auto}.profile{position:relative;margin-left:auto;max-width:330px}.profile summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;padding:8px;border-radius:5px}.profile summary:hover{background:#f0f3f7}.profile summary::-webkit-details-marker{display:none}#identity{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu{position:absolute;right:0;top:100%;width:215px;background:#fff;border:1px solid var(--line);padding:6px;box-shadow:0 8px 24px #24364c25;border-radius:5px;z-index:21}.profile-menu button{display:block;text-align:left;width:100%;border:0;padding:11px}
aside{top:0;width:82px;padding:0 7px 10px;border-top:4px solid #334253;background:#f8f9fc;border-right:1px solid var(--line);gap:7px;overflow:auto;z-index:21}.rail-mark{height:49px;min-height:49px;display:grid;place-items:center;font-size:16px;font-weight:700;color:#246340;letter-spacing:1px}.nav{font-size:13px;padding:10px 2px;border-radius:6px;color:#526681;line-height:1.2}.nav svg{display:block;width:24px;height:24px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav span{font-size:10px;margin-top:7px}.nav:hover{background:#e9eef5}.nav.active{background:#e2e8f0;color:#246340}.rail-bottom{margin-top:auto;padding-top:16px}.rail-bottom .nav{width:100%}.sidefoot{display:none}main{margin-left:82px;padding:10px 16px 20px}.titlebar{padding:10px 2px 0}.titlebar h1{font-size:20px}.titlebar p{font-size:12px}body[data-view=issues] .titlebar{display:none}.syncbar{padding:5px 9px;margin:0 0 8px;background:#fff9ec;border-color:#eddfbe;border-radius:3px;font-size:11px;line-height:1.5}.syncbar.good{background:#f2f8f4;color:#416750;border-color:#dce9df}.tabs{gap:8px;margin-bottom:12px}.tabs button{border:1px solid var(--line);border-bottom:0;background:#dfe4eb;color:#324660;font-weight:400;border-radius:5px 5px 0 0;padding:12px 16px;min-height:44px;font-size:12px}.tabs button.selected{background:#fff;box-shadow:0 1px #fff;position:relative;color:#18344f}.tabs b{background:none;font-weight:400;font-size:11px;padding:0;margin-left:3px;color:#5f7087}.filter-panel{background:#e6eaf0;border-radius:7px;padding:10px;margin-bottom:8px}.filter-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filter-toolbar button{padding:6px 10px;font-size:12px;background:transparent;border-color:#b9c6d7}.filter-toolbar button:hover{background:#fff}.filter-toolbar select{width:200px}.filter-toolbar input{width:280px;min-width:180px}.filter-toolbar input,.filter-toolbar select,.filter-grid select,.list-options select{padding:6px 9px;border-color:#b6c5d8;height:31px;border-radius:5px;font-size:12px}.table-mode{margin-left:auto;color:#647892;font-size:12px;border:1px solid #bac8d9;border-radius:5px;padding:6px 9px}#filterfields{border:1px solid #bdcadb;padding:18px 18px 12px;margin-top:9px;border-radius:2px}.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px 30px;max-width:1200px}.filter-grid>label{font-size:12px;color:#677d97;display:grid;gap:6px}.filter-grid select{width:100%;min-width:0}.filter-checks{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:13px;color:#536b88;font-size:12px}.filter-checks label{display:flex;align-items:center;gap:6px}.filter-checks input{accent-color:#278542}.filter-save{display:flex;align-items:center;gap:10px;border-top:1px solid #bbc9da;margin-top:20px;padding-top:12px;flex-wrap:wrap}.filter-save button{font-size:12px;padding:6px 9px}.filter-save span{font-size:11px;color:#697e96}.list-options{display:flex;align-items:center;gap:20px;margin-top:10px;font-size:11px;color:#6d8099;flex-wrap:wrap}.list-options>span{margin-right:auto;max-width:55%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list-options>label{display:flex;align-items:center;gap:7px}.list-options select{height:28px}.issue-table{border:0}.issue-table table{min-width:1170px;table-layout:fixed}.issue-table th{background:#fff;color:#7789a0;border-bottom:1px solid var(--line);border-right:1px solid #e0e6ee;padding:9px 9px;font-size:11px;white-space:nowrap}.issue-table th:first-child{width:92px}.issue-table th.subject{width:auto}.issue-table th:nth-child(3){width:17%}.issue-table th:nth-child(4){width:13%}.issue-table th:nth-child(5){width:145px}.issue-table th:nth-child(6){width:85px}.issue-table th:nth-child(7){width:113px}.issue-table th:nth-child(8){width:117px}.issue-table td{padding:7px 9px;height:37px;font-size:12px;border-bottom:1px solid #d6dfea;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:400;color:#213f60}.issue-table td.subjectcell{font-weight:500}.issue-table tbody tr:hover{background:#eef4f8}.issue-table tr:focus-within{background:#eef4f8}.issue-link{border:0;background:transparent;color:#7792b3;padding:0;font-size:12px;white-space:nowrap}.issue-link:hover{text-decoration:underline;background:transparent}.late{color:#e74351;font-weight:bold;margin-right:5px}.deadline{font-variant-numeric:tabular-nums}.overdue .deadline{color:#9f4b29}.priority{color:#667a93;font-size:11px}.priority.urgent{color:#ac472f}.local-dot{color:#3573a1;font-size:8px;margin-left:5px}.badge{font-size:10px;font-weight:500;padding:3px 8px;border-radius:5px}.badge.opened{background:#e67c24;color:#fff}.badge.V_Rabote{background:#315dc0;color:#fff}.badge.completed{background:#4b9e5d;color:#fff}.badge.closed{background:#8394ac;color:#fff}.badge.local{background:#edf0f5;color:#5c6d85}.badge.local[data-phase="Принята"],.badge.local[data-phase="В работе"]{background:#e5edfb;color:#2a56aa}.badge.local[data-phase="Ожидает ТМЦ"]{background:#fff0d4;color:#94670a}.badge.local[data-phase="На проверке"]{background:#eae4fa;color:#76559a}.badge.local[data-phase="Закрыта"]{background:#e0efdf;color:#397642}.list-footer{display:flex;justify-content:space-between;align-items:center;gap:14px}.list-footer .actions{margin:8px 0}.list-footer button{font-size:12px;padding:6px 10px}.foot{font-size:11px}.issue-table .empty{height:160px;white-space:normal}.settings-layout{border-radius:4px}.settings-menu{background:#e1e6ed}.settings-content{background:#fff}.panel{border-radius:4px;padding:18px}dialog{border-radius:6px;border-color:#aebed0}#card{width:min(1280px,96vw);height:92vh}.dialoghead{padding:14px 22px;background:#f4f6f9}.dialoghead h2{font-size:18px;margin:6px 0 0}#cardbody{padding:18px 22px}.sourcebox{background:#fafbfd;border-color:#d4deea}.twocol{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.form label{font-size:12px}.form input,.form select{padding:7px 9px}.form textarea{min-height:62px}.card-sections{display:flex;gap:8px;padding:0 0 14px;border-bottom:1px solid var(--line);margin-bottom:18px;position:sticky;top:0;background:#fff;z-index:1}.card-sections button{font-size:12px;padding:7px 12px}.primary{background:#369748;border-color:#369748}.primary:hover{background:#2b7f3a}.settings-tabs .selected{background:#edf3f8;border-color:#a9bdd2;color:#284d70}.login-panel .brand{font-size:22px}
@media(min-width:1600px){.issue-table td{height:38px}.filter-grid{max-width:1150px}}
@media(max-width:1050px){.app-header{gap:12px}.app-header .pilot{display:none}.filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.list-options>span{max-width:100%;flex-basis:100%}.profile{max-width:220px}.filter-toolbar input{flex:1}.twocol{grid-template-columns:1fr}}
@media(max-width:650px){.app-header{margin-left:62px;padding:7px 8px;gap:8px;height:60px}.app-header .brand{display:none}.app-header #newissue{font-size:11px;padding:6px}.app-header #sync{font-size:11px;padding:6px}.profile{max-width:135px}.profile summary{padding:5px}#identity{font-size:10px}aside{width:62px;padding:0 3px}.nav span{font-size:9px}.nav{padding:9px 0}.nav svg{width:21px;height:21px}main{margin-left:62px;padding:8px}.tabs{gap:4px;overflow:auto}.tabs button{white-space:nowrap;padding:9px 10px;font-size:11px}.filter-toolbar input{width:100%;flex-basis:100%}.filter-toolbar select{flex:1;min-width:100px}.table-mode{display:none}.filter-grid{grid-template-columns:1fr;gap:12px}#filterfields{padding:12px}.list-options{gap:8px}.list-options label{font-size:10px}.list-options select{max-width:160px}.list-footer{align-items:flex-start;flex-direction:column;gap:0}.settings-menu{grid-template-columns:1fr}.settings-content{padding:10px}.card-sections{flex-wrap:wrap}#cardbody{padding:12px}.dialoghead{padding:12px}.dialoghead h2{font-size:16px}.syncbar{font-size:10px}}
/* 0.7: shared statuses and working views */
[hidden]{display:none!important}.view-switch{display:flex;margin-left:auto;gap:3px;flex-wrap:wrap}.view-switch button{padding:6px 8px;background:transparent;border-color:transparent;color:#61758c;font-size:12px}.view-switch button.selected{background:#fff;border-color:#adbdd0;color:#213d60}.status-pill{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 9px;border:0;border-radius:7px;font-size:11px;font-weight:600;line-height:1.2;max-width:100%;text-overflow:ellipsis;overflow:hidden}.status-pill:hover{filter:brightness(.96)}.issue-table th:nth-child(7){width:150px}.issue-table th:nth-child(8){width:130px}.queue-note{font-size:10px;color:#7a591a;white-space:normal}.issue-commandbar{padding:12px;background:#f2f5f9;border:1px solid #cbd6e3;margin-bottom:16px;border-radius:6px}.command-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.command-actions .status-pill{font-size:13px;padding:10px 15px}.sync-jobs{display:grid;gap:5px;margin-top:8px}.sync-job{background:#fff7e6;border-left:3px solid #ddb65b;padding:7px;font-size:12px}.sync-job.conflict,.sync-job.failed,.sync-job.uncertain{background:#fff0f0;border-color:#ce4f65}.status-options{display:flex;gap:9px;flex-wrap:wrap}.status-options button{border:2px solid transparent;min-height:36px;font-weight:bold}.status-options .chosen{outline:3px solid #1e344f;outline-offset:2px}.exchange-dialog{max-width:700px;width:94vw}.exchange-body{padding:20px}.exchange-config{max-width:560px;margin-top:18px}.exchange-config select{width:100%}.exchange-error,[role=alert]{color:#b53042}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px;padding:12px 0}.issue-mini{background:#fff;border:1px solid #d0d9e5;border-radius:6px;padding:12px;min-width:0}.issue-mini.late-card{border-left:4px solid #e65368}.mini-title{display:block;border:0;background:none;text-align:left;padding:0;width:100%;color:#213f60}.mini-title span{display:block;font-size:10px;color:#7890ab;margin-bottom:5px}.mini-title strong{font-size:13px;line-height:1.5}.issue-mini p{font-size:11px;margin:8px 0}.mini-footer{display:flex;align-items:center;justify-content:space-between;gap:7px}.mini-footer>span{font-size:11px;color:#64758c}.view-hint{margin:12px 0}.kanban{display:flex;gap:12px;overflow:auto;align-items:flex-start;padding:4px 0 16px;max-height:70vh}.kanban-column{flex:0 0 285px;background:#e9eef4;border:1px solid #d3deea;border-radius:6px;padding:10px;max-height:100%;overflow:auto}.kanban-column h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:12px}.kanban-column .issue-mini{margin-bottom:9px}.calendar-toolbar{display:flex;align-items:center;gap:12px;margin:16px 0;flex-wrap:wrap}.calendar-toolbar h2{margin:0;text-transform:capitalize}.calendar-toolbar span{font-size:11px;color:#73859a}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#cdd8e5;gap:1px;border:1px solid #cdd8e5}.weekday{background:#e8edf4;padding:10px;text-align:center;font-size:12px}.calendar-day{min-height:120px;background:#fff;padding:7px}.calendar-day.muted{background:#f4f6f9}.calendar-day.today{outline:2px solid #38964a;outline-offset:-2px}.calendar-day h3{font-size:12px;margin:2px 0 8px}.calendar-day small{float:right;color:#7b8fa8}.calendar-event{width:100%;border:1px solid #dde5ef;text-align:left;padding:4px;margin-bottom:4px;overflow:hidden;background:#f5f8fc;display:flex;flex-direction:column;gap:4px}.calendar-event>span:last-child{font-size:10px;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event .status-pill{font-size:9px;padding:3px 5px}.undated{margin-top:15px}.undated summary{padding:10px;cursor:pointer;background:#edf1f6}.atlas-map{height:540px;position:relative;overflow:hidden;background:#dce6df;touch-action:none;border:1px solid #c4d1dd}.map-tiles,.map-points{position:absolute;inset:0;pointer-events:none}.map-tiles img{position:absolute;max-width:none;user-select:none}.map-pin{position:absolute;transform:translate(-50%,-100%);border:2px solid white;background:#244bc1;color:white;border-radius:50% 50% 50% 0;min-width:34px;min-height:34px;box-shadow:0 2px 5px #0004;pointer-events:auto}.map-zoom{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:4px}.attribution{position:absolute;bottom:0;right:0;background:#ffffffe8;padding:4px;font-size:10px;color:#25467c}.map-popup{position:absolute;top:15px;right:15px;max-width:330px;max-height:80%;overflow:auto;padding:10px;background:white;box-shadow:0 2px 10px #0004;display:grid;gap:6px}.map-popup button{text-align:left}.source-files{margin-top:20px}button:focus-visible{outline:3px solid #234ecc;outline-offset:2px}
@media(max-width:760px){.view-switch{margin-left:0;width:100%;overflow:auto;flex-wrap:nowrap}.view-switch button{white-space:nowrap;font-size:11px}.cards-grid{grid-template-columns:1fr}.mini-title strong{font-size:14px}.mini-footer .status-pill{min-height:36px;font-size:12px}.calendar-grid{min-width:700px}#alternate-view{overflow:auto}.calendar-toolbar h2{font-size:15px}.command-actions{align-items:stretch}.command-actions>button{min-height:42px}.status-options button{min-height:44px}.exchange-body{padding:12px}.atlas-map{height:420px}.kanban-column{flex-basis:270px}.form input,.form select,.form textarea{font-size:16px}.card-sections{position:static}}

.profile-menu a{display:block;padding:10px 12px;color:inherit;text-decoration:none;border-radius:8px}.profile-menu a:hover{background:#edf4ee}

.workflow-editor{width:min(760px,96vw);max-height:92vh;overflow:auto}.workflow-editor fieldset{border:1px solid #d8e3df;border-radius:8px;padding:12px;margin:14px 0}.workflow-editor select[multiple]{min-height:110px}.workflow-roles{display:flex;flex-wrap:wrap;gap:12px}.workflow-roles label{display:flex;align-items:center;gap:5px}.workflow-roles input,.workflow-editor input[type=checkbox]{width:auto}

.map-tabs{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.map-tabs button{min-height:38px;padding:8px 18px}.map-tabs .selected{background:#246b3d;color:#fff;border-color:#246b3d}.object-pin{background:#2c7d4c}.map-object-card{border:1px solid #d0d9e5;border-radius:6px;padding:12px;background:#fff}.map-object-card h3{margin:0 0 8px;font-size:14px}.map-object-card p{font-size:12px;line-height:1.5}.map-assignments{display:grid;gap:5px;font-size:12px;line-height:1.5}.map-assignments small{color:#61758c}.map-popup .close-popup{justify-self:end}.map-popup .map-object-card{border:0;padding:4px 0}.map-popup{max-width:380px}.map-count{font-weight:600}

/* Account-specific table layout and object location editor. */
.table-tools{display:flex;justify-content:flex-end;margin:0 0 6px}.table-tools button{font-size:11px;padding:5px 9px}
.issue-table table{min-width:100%;table-layout:fixed}.issue-table th[data-column]{width:auto;position:relative;padding-right:18px;overflow:hidden;text-overflow:ellipsis}.issue-table th.column-settings{width:44px;padding:2px;text-align:center}.column-settings button{padding:4px 8px;border:0;background:transparent;font-size:18px}
.column-resizer{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none}.column-resizer:hover,.column-resizer:focus{background:#b8c9db;outline:1px solid #527ba4}
.columns-dialog{width:min(720px,96vw);max-height:90vh;border:1px solid #bccbd8;border-radius:10px;padding:20px}.columns-dialog .form{padding:0}.columns-dialog h2{font-size:19px;margin:0}.column-list{max-height:50vh;overflow:auto}.column-option{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e1e7ec;padding:8px 2px}.column-option[hidden]{display:none}.column-option .check{display:flex;align-items:center;gap:8px;flex:1;font-size:13px}.column-option .check input{width:auto}.column-drag{cursor:grab;font-size:22px;color:#72859a}.column-option .column-width{display:flex;align-items:center;gap:6px;font-size:11px}.column-width input{width:68px;padding:6px}.column-option button{padding:5px 9px}.column-option label{margin:0}
.settings-dialog:has([data-object-location]){width:min(840px,96vw)}.object-location{margin:8px 0 16px;border:1px solid #cbd7df;border-radius:8px;padding:12px;min-width:0}.object-location legend{font-weight:600;padding:0 6px}.object-location p{font-size:13px}.object-location .location-map{height:340px;cursor:crosshair}.location-pin{display:grid;place-items:center;width:34px;height:34px;pointer-events:none}.location-pin[hidden]{display:none}.location-fields{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.location-fields label{flex:1;min-width:130px}.location-fields input{width:100%;box-sizing:border-box}.location-fields button{margin-bottom:2px;padding:9px}.location-error{color:#ab342b}.object-location small{display:block;margin-top:10px;color:#63758b}
@media(max-width:760px){.object-location .location-map{height:280px}.columns-dialog{padding:12px}.column-option{gap:4px}.column-option .check{font-size:12px}.column-option .column-width{font-size:0}.column-width input{font-size:12px;width:58px}}

.location-pin{pointer-events:auto;cursor:grab;touch-action:none}.location-pin:active{cursor:grabbing}.location-search-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.object-location .location-search-tools small{margin:0;font-size:10px}.location-search-status{padding:8px;background:#f0f5f8;border-radius:5px;line-height:1.5}.location-search-status[data-state=error]{background:#fff0e7;color:#94431d}.location-search-status:empty{display:none}.location-matches{margin:8px 0}.location-matches summary{cursor:pointer;color:#285c87;padding:8px;background:#edf3f8}.location-matches>div{max-height:160px;overflow:auto;display:grid;gap:5px;margin-top:5px}.location-matches button{text-align:left;white-space:normal;font-size:12px;line-height:1.5;padding:8px}
/* Routing rules use the same top-to-bottom matching order as OKDESK. */
.routing-choices{max-height:220px;overflow:auto;border:1px solid #d7e3dc;padding:8px;margin:8px 0}.routing-choices label[hidden]{display:none}.routing-picker{margin:12px 0}.routing-picker small{display:block}.routing-table td{vertical-align:top}.routing-table details{max-width:480px}.routing-table summary{cursor:pointer;font-weight:600}.routing-table .actions{flex-wrap:nowrap}.settings-table.routing-table th:first-child{width:100px}

/* Searchable issue filters retain the original select values. */
.search-select{position:relative;min-width:0}.search-select>input{display:block;width:100%;min-width:0;height:32px;padding:6px 62px 6px 12px;font-size:12px;color:#233d59;border:1px solid #b8c7d8;border-radius:4px;background:#fff;overflow:hidden;text-overflow:ellipsis}.search-select>button{position:absolute;top:1px;height:30px;width:29px;padding:0;border:0;background:transparent;color:#536b88;font-size:16px}.search-select-toggle{right:1px}.search-select-clear{right:30px}.search-select>button:hover{background:#eaf0f7}.search-select-list{position:absolute;top:calc(100% + 3px);left:0;right:0;z-index:60;max-height:240px;overflow-y:auto;background:#fff;border:1px solid #a9bdd2;border-radius:4px;box-shadow:0 5px 15px #243d5926;padding:3px 0}.search-select-option{padding:8px 11px;font-size:12px;line-height:1.35;color:#233d59;cursor:pointer;overflow-wrap:anywhere}.search-select-option:hover,.search-select-option.active{background:#e8f0fa}.search-select-option[aria-selected=true]{font-weight:600}.search-select-empty{padding:11px;color:#677d97;font-size:12px}.search-select-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.search-select [hidden]{display:none!important}

/* Multiple filter choices stay open while selecting. */
.search-select-option{display:flex;gap:8px;align-items:flex-start}.search-select-check{display:inline-flex;flex:0 0 14px;align-items:center;justify-content:center;width:14px;height:14px;margin-top:1px;border:1px solid #91a8c0;border-radius:3px;font-size:11px;line-height:1;background:#fff}.search-select-option[aria-selected=true] .search-select-check{background:#285e93;border-color:#285e93;color:#fff}.filter-multiple-hint{margin:0 0 12px;font-size:11px;color:#61758c}
