@font-face{font-family:'Exo 2';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/exo-2-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Exo 2';font-style:normal;font-weight:600;font-display:swap;src:url('./assets/exo-2-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:Rajdhani;font-style:normal;font-weight:600;font-display:swap;src:url('./assets/rajdhani-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:Rajdhani;font-style:normal;font-weight:700;font-display:swap;src:url('./assets/rajdhani-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('./assets/jetbrains-mono-latin-400-normal.woff2') format('woff2')}
:root{color-scheme:dark;--page:#0d0e14;--surface:#151b27;--raised:#1b2433;--field:#0e1520;--ink:#f0f4f9;--muted:#a6b6c7;--line:#304352;--accent:#00f0ff;--accent-soft:#00f0ff12;--green:#05ffa1;--yellow:#fcee0a;--orange:#ffb77a;--blue:#84bcff;--pink:#ff8ac1;--font:'Exo 2',system-ui,sans-serif;--head:Rajdhani,system-ui,sans-serif;--mono:'JetBrains Mono',monospace}
.email-envelope{margin:12px 0;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:var(--field);font-size:11px;overflow-wrap:anywhere}.email-envelope>div{display:flex;flex-wrap:wrap;gap:5px 12px}.email-envelope>div>span{width:58px;color:var(--muted)}.email-envelope strong{font-weight:400}.email-envelope code{font-family:var(--mono);font-size:10px}.email-envelope small{display:block;margin-top:6px;color:var(--muted)}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.55 var(--font);min-width:320px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--head);line-height:1.15;text-transform:none}h1{font-size:38px;font-weight:700;letter-spacing:.01em}h2{font-size:23px}h3{font-size:18px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:var(--accent);color:#07151a}[hidden]{display:none!important}.icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted)}.mono,.eyebrow{font-family:var(--mono)}.eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}.cyan{color:var(--accent)}.green{color:var(--green)}.small{font-size:12px}.skip{position:fixed;left:20px;top:-80px;z-index:100;padding:12px;background:var(--accent);color:#00191c}.skip:focus{top:10px}
.shell{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;display:flex;flex-direction:column;padding:30px 16px 18px;background:linear-gradient(180deg,#111e2b,#10151f 75%);border-right:1px solid var(--line);z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 7px 32px}.brand-mark{width:39px;height:39px;display:grid;place-items:center;border:1px solid var(--accent);border-radius:10px;color:var(--accent);font:700 25px var(--head);box-shadow:0 0 22px #00f0ff16;background:#00f0ff09}.brand-name{font:700 23px/.96 var(--head);letter-spacing:.025em}.brand-name small{display:block;font:400 9px var(--mono);letter-spacing:.13em;color:var(--muted);margin-top:8px;text-transform:uppercase}.nav-label{padding:15px 13px 10px;font:400 10px var(--mono);letter-spacing:.1em;color:#7c94a7;text-transform:uppercase}.nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 13px;margin:3px 0;border:1px solid transparent;border-radius:5px;color:#b9c7d5}.nav a:hover{background:#ffffff06;color:white}.nav a.active{background:var(--accent-soft);color:var(--accent);border-color:#00f0ff3b}.nav .count{margin-left:auto;font:11px var(--mono)}.sidebar-note{padding:17px 14px;border:1px solid var(--line);border-radius:6px;margin-top:auto;background:#16202d}.sidebar-note .icon{color:var(--accent);margin-bottom:10px}.sidebar-note strong{display:block;font-size:12px}.sidebar-note p{color:var(--muted);font-size:11px;margin-top:6px;line-height:1.6}.profile{display:flex;align-items:center;gap:10px;margin-top:20px;padding:16px 7px 0;border-top:1px solid var(--line)}.avatar{width:35px;height:35px;display:grid;place-items:center;flex:none;border:1px solid #3b6471;background:#1b3541;color:#baf8ff;border-radius:50%;font:600 13px var(--head)}.profile strong{font-size:12px}.profile small{display:block;color:var(--muted);font-size:10px}.main-wrap{grid-column:2;min-width:0}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line);background:#0e141e}.topbar .crumb{font-size:12px;color:var(--muted)}.topbar .crumb span{color:#638093;margin:0 10px}.top-actions{display:flex;align-items:center;gap:18px}.demo-tag{font:10px var(--mono);letter-spacing:.07em;color:var(--yellow);border:1px solid #fcee0a44;background:#fcee0a08;padding:5px 9px;border-radius:3px;white-space:nowrap}.text-link{color:var(--accent);font-size:12px}.text-link:hover{text-decoration:underline}.top-actions .text-link{display:flex;align-items:center;gap:7px}.top-actions .icon{width:15px;height:15px}.main{max-width:1540px;margin:auto;padding:30px 34px 45px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.page-heading p{color:var(--muted);font-size:12px;margin-top:7px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border:1px solid #3b5364;border-radius:5px;padding:9px 14px;background:#172130;font-size:12px;white-space:nowrap}.btn .icon{width:16px;height:16px}.btn:hover{background:#223346;border-color:#6595a6}.btn.primary{background:var(--accent);border-color:var(--accent);color:#00252a;font-weight:600;box-shadow:0 0 20px #00f0ff17}.btn.primary:hover{background:#9cfcff}.btn.quiet{background:transparent}.btn.compact{min-height:34px;padding:6px 11px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.page-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font:10px var(--mono)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 8px #05ffa133}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:25px}.stat{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border:1px solid var(--line);border-radius:7px;background:linear-gradient(135deg,#172434,#151b27);text-align:left}.stat:hover{border-color:#578296}.stat.active{border-color:#00f0ff7a;background:linear-gradient(135deg,#173744,#151e2a)}.stat .value{font:600 34px/1 var(--head);margin-top:9px}.stat .icon{color:#7d9aaf;width:23px;height:23px}.stat.active .icon{color:var(--accent)}.stat .hint{font-size:10px;color:var(--muted);margin-top:5px}.stat-label{font-size:12px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.search{position:relative;flex:1;min-width:230px}.search .icon{position:absolute;top:12px;left:13px;color:#7f99ad;width:17px;height:17px}.search input{width:100%;padding-left:41px}.control,input,select,textarea{min-height:42px;border:1px solid var(--line);background:var(--field);border-radius:5px;color:var(--ink);padding:9px 12px}select{padding-right:24px;max-width:100%}input::placeholder,textarea::placeholder{color:#8ba0b4}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.tabs button,.tabs a{background:transparent;border:0;padding:12px 0 13px;color:var(--muted);font-size:12px;white-space:nowrap;border-bottom:2px solid transparent}.tabs .active{border-color:var(--accent);color:var(--accent)}.panel{border:1px solid var(--line);background:var(--surface);border-radius:7px;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:19px 21px;border-bottom:1px solid var(--line);gap:12px}.panel-body{padding:20px 21px}.panel-footer{padding:13px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;background:#0e1722}.table-wrap{overflow:auto}.ticket-table{width:100%;border-collapse:collapse;text-align:left}.ticket-table th{background:#101a26;color:#849fb3;text-transform:uppercase;font:10px var(--mono);letter-spacing:.07em;padding:14px 17px;white-space:nowrap}.ticket-table td{border-top:1px solid #2a3c4c;padding:18px 17px;font-size:12px}.ticket-table tr:hover td{background:#1a2b3c}.ticket-table .subject{display:block;font-weight:600;font-size:13px;max-width:370px;line-height:1.45}.ticket-table .ticket-number{font:10px var(--mono);color:var(--muted);margin-bottom:7px;display:flex;gap:9px;align-items:center}.ticket-table .icon{width:13px;height:13px}.ticket-table .site{display:block;color:var(--muted);font-size:11px;margin-top:4px}.ticket-table .client-name{white-space:nowrap}.ticket-table .person{display:flex;gap:8px;align-items:center;white-space:nowrap}.avatar.mini{width:27px;height:27px;font-size:11px}.updated{white-space:nowrap;color:var(--muted);font-size:11px!important}.badge{display:inline-flex;gap:6px;align-items:center;padding:4px 8px;border-radius:4px;font-size:10px;line-height:1.4;border:1px solid #527080;white-space:nowrap;background:#253540;color:#c4d7e2}.badge.blue{color:var(--blue);background:#84bcff10;border-color:#84bcff44}.badge.yellow{color:#fff28a;background:#fcee0a0a;border-color:#fcee0a44}.badge.orange{color:var(--orange);background:#ffb77a0a;border-color:#ffb77a44}.badge.green{color:var(--green);background:#05ffa10a;border-color:#05ffa144}.badge.cyan{color:var(--accent);background:#00f0ff0a;border-color:#00f0ff44}.badge.pink{color:var(--pink);background:#ff8ac10a;border-color:#ff8ac144}.empty{padding:50px;text-align:center;color:var(--muted)}.inbox-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:23px}.inline-card{display:flex;align-items:center;gap:15px;padding:20px}.inline-card>.icon{color:var(--accent);width:24px;height:24px}.inline-card p{font-size:11px;color:var(--muted);margin-top:4px}.inline-card .text-link{margin-left:auto;white-space:nowrap}.footer-note{font:10px var(--mono);color:#8299aa;display:flex;justify-content:space-between;gap:16px;padding-top:24px}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px;color:var(--muted);font-size:11px}.breadcrumb .icon{width:12px;height:12px}.breadcrumb a{color:var(--accent)}.ticket-heading{margin-bottom:19px}.ticket-heading h1{font-size:32px;max-width:780px;margin:10px 0 13px}.ticket-subline{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted)}.ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:22px;align-items:start}.conversation .panel-header h2{font-size:21px}.conversation-filter{display:flex;gap:6px}.conversation-filter button{background:transparent;border:1px solid transparent;padding:6px 9px;border-radius:4px;color:var(--muted);font-size:11px;min-height:34px}.conversation-filter button.active{border-color:#00f0ff44;color:var(--accent);background:var(--accent-soft)}.message{padding:21px;border-bottom:1px solid var(--line)}.message.internal{background:#fcee0a06;border-left:3px solid #fcee0a70;padding-left:18px}.message-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}.message-author{font-weight:600;font-size:12px}.message-top .message-meta{font-size:10px;color:var(--muted);margin-top:3px}.message-time{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}.message p{font-size:12px;line-height:1.85;color:#d4dee9;white-space:pre-wrap}.message .avatar.client{background:#283043;border-color:#495970;color:#d9ceff}.recording{display:flex;align-items:center;gap:12px;border:1px solid #3d5367;border-radius:5px;background:#101b29;padding:10px 12px;margin-top:14px;max-width:430px}.recording .play{display:grid;place-items:center;width:28px;height:28px;border:1px solid #00f0ff4d;border-radius:50%;color:var(--accent);font-size:12px}.wave{height:23px;flex:1;display:flex;align-items:center;gap:3px}.wave span{display:block;width:3px;background:#5790a8;border-radius:2px;height:8px}.wave span:nth-child(3n){height:19px}.wave span:nth-child(4n){height:12px}.wave span:nth-child(7n){height:23px}.recording .mono{font-size:10px;color:var(--muted)}.message-note{font-size:10px;color:#9cb0c1;margin-top:8px}.composer{padding:20px 21px;background:#101b28}.composer label{font-size:11px;color:var(--muted)}.composer select{min-height:35px;font-size:11px;margin-bottom:12px;padding:6px 10px}.composer textarea{width:100%;min-height:92px;resize:vertical;font-size:12px;display:block;line-height:1.7}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.composer-bottom span{font-size:10px;color:var(--muted)}.context-column{display:grid;gap:16px}.context-head{font:10px var(--mono);letter-spacing:.12em;color:var(--muted);text-transform:uppercase;padding-bottom:16px}.context-tree{display:grid;gap:0}.context-node{position:relative;padding:0 0 21px 27px;border-left:1px solid #3f5a69;margin-left:7px}.context-node:last-child{border:0;padding-bottom:0}.context-node::before{position:absolute;content:'';left:-5px;top:4px;width:9px;height:9px;border:1px solid #637f91;background:#121b28;border-radius:2px}.context-node:first-child::before{background:var(--accent);border-color:var(--accent);box-shadow:0 0 9px #00f0ff44}.context-node .eyebrow{font-size:9px}.context-node strong{display:block;font-size:12px;margin-top:4px}.context-node small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.context-node a:hover strong{color:var(--accent)}.visit-card{background:linear-gradient(145deg,#173841,#15202e)}.visit-card .day{font:600 25px var(--head);margin-top:13px}.visit-card p{font-size:11px;margin-top:5px;color:var(--muted)}.visit-card .visit-lead{display:flex;align-items:center;gap:9px;margin-top:17px;font-size:12px}.fields{display:grid;gap:12px}.field{display:grid;gap:6px;font-size:11px;color:var(--muted)}.field select,.field input{width:100%;font-size:12px}.safe-hint{display:flex;gap:8px;font-size:10px;color:var(--muted);margin-top:14px}.safe-hint .icon{height:14px;width:14px;color:var(--accent)}.ticket-history{padding:14px 20px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}.note-count{color:var(--yellow)}
.client-banner{display:flex;align-items:center;gap:18px;padding:24px;background:linear-gradient(115deg,#1c3442,#171e2d);border:1px solid var(--line);border-radius:7px;margin-bottom:24px}.client-emblem{height:62px;width:62px;border-radius:12px;background:#00f0ff0e;border:1px solid #00f0ff4f;display:grid;place-items:center;font:700 29px var(--head);color:var(--accent)}.client-banner h1{font-size:34px;margin:4px 0 7px}.client-banner p{font-size:11px;color:var(--muted)}.client-banner .button-row{margin-left:auto}.client-layout{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:22px}.site-card{margin-bottom:18px}.site-title{display:flex;align-items:center;gap:12px}.site-title>.icon{width:26px;height:26px;color:var(--accent)}.site-title p{font-size:11px;color:var(--muted);margin-top:4px}.project-block{padding:18px 21px;border-bottom:1px solid var(--line)}.project-block:last-child{border:0}.project-title{display:flex;align-items:center;gap:8px;justify-content:space-between}.project-title strong{font-size:13px}.project-title p{font-size:11px;margin-top:5px;color:var(--muted)}.order-row{display:flex;align-items:center;gap:12px;margin-top:14px;margin-left:8px;border-left:1px solid #486373;padding:8px 0 8px 18px;font-size:12px}.order-row .icon{color:#8aaabd;width:16px;height:16px}.order-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.order-row .badge{margin-left:auto}.summary-line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.summary-line:last-child{border:0}.summary-line span{color:var(--muted)}.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.client-card{padding:23px}.client-card h2{margin:17px 0 7px;font-size:25px}.client-card p{font-size:12px;color:var(--muted)}.client-card .btn{margin-top:20px;width:100%}.client-card .count-row{display:flex;gap:22px;font-size:11px;color:var(--muted);margin-top:20px}.client-card .count-row strong{display:block;color:var(--ink);font:600 25px var(--head);margin-bottom:3px}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.work-card{padding:22px}.work-card h2{font-size:23px;margin:16px 0 12px}.work-card p{font-size:11px;color:var(--muted);margin-bottom:8px}.work-card .work-date{font:600 26px var(--head);margin-top:20px}.work-card .btn{width:100%;margin-top:16px}
.portal-shell{max-width:1380px;margin:auto;padding:0 48px}.portal-header{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.portal-header .brand{padding:0}.portal-header .brand-name{display:block;font-size:22px}.portal-nav{display:flex;gap:26px;color:var(--muted);font-size:12px}.portal-nav a.active{color:var(--accent)}.portal-user{display:flex;align-items:center;gap:10px;font-size:12px}.portal-demo{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:var(--muted);padding:13px 0;border-bottom:1px solid #273646}.portal-main{padding:30px 0 40px}.portal-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.portal-welcome h1{font-size:39px;margin:8px 0}.portal-welcome p{font-size:12px;color:var(--muted)}.site-switch label{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.site-switch select{min-width:235px;font-size:12px}.portal-stats{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:17px;margin-bottom:24px}.portal-stat{padding:22px}.portal-stat .big-value{font:600 37px var(--head);margin:14px 0 9px;line-height:1}.portal-stat p{font-size:11px;color:var(--muted)}.portal-stat .icon{width:18px;height:18px}.portal-stat .stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px}.portal-stat.health{background:linear-gradient(120deg,#15382d,#14242a);border-color:#05ffa144}.portal-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px}.project-preview{padding:23px}.project-preview .project-title{margin:14px 0 20px}.project-preview h2{font-size:28px}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:10px}.progress{height:6px;border-radius:3px;background:#263b4b;overflow:hidden}.progress-fill{height:100%;background:var(--accent);width:72%}.progress-34{width:34%}.progress-fill.complete{width:100%;background:var(--green)}.milestones{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-top:12px}.next-step{margin-top:23px;border-top:1px solid var(--line);padding-top:17px;display:flex;gap:12px;align-items:center;font-size:12px}.next-step .icon{color:var(--accent)}.next-step small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.portal-support{margin-top:22px}.portal-history{margin:0;padding:0 21px}.portal-ticket{display:flex;align-items:center;gap:12px;padding:17px 22px;border-bottom:1px solid var(--line);font-size:12px}.portal-ticket:last-child{border:0}.portal-ticket:hover{background:#1b2e40}.portal-ticket p{font-size:10px;color:var(--muted);margin-top:5px}.portal-ticket .badge{margin-left:auto}.portal-visit{padding:23px}.date-block{display:flex;gap:17px;align-items:center;margin:20px 0}.calendar-date{width:60px;padding:9px;border:1px solid #84bcff44;border-radius:6px;text-align:center;background:#84bcff0a;font:600 30px/1 var(--head);color:var(--blue)}.calendar-date small{display:block;font:9px var(--mono);letter-spacing:.1em;margin-bottom:8px}.date-block strong{font-size:12px}.date-block p{font-size:11px;color:var(--muted);margin-top:5px}.contact-person{display:flex;align-items:center;gap:10px;font-size:12px;padding-top:16px;border-top:1px solid var(--line)}.contact-person p{font-size:10px;color:var(--muted)}.help-card{padding:23px;margin-top:20px;background:#132d39}.help-card p{font-size:11px;color:#b2cbd5;line-height:1.7;margin-top:9px}.help-card .btn{width:100%;margin-top:19px}.portal-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:22px 0}.portal-thread{margin-top:22px}.portal-thread .message.internal{display:none}.portal-back{margin-bottom:20px;display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--accent)}
.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.flow-tabs{display:flex;gap:8px;margin-bottom:22px}.flow-step{display:flex;align-items:flex-start;gap:15px;padding-bottom:24px;position:relative}.step-num{height:29px;width:29px;display:grid;place-items:center;background:#00f0ff0b;border:1px solid #00f0ff44;border-radius:50%;color:var(--accent);font:11px var(--mono);flex:none}.flow-step strong{font-size:12px;display:block;padding-top:3px}.flow-step p{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.7}.flow-step:not(:last-child)::after{content:'';position:absolute;left:14px;top:35px;bottom:4px;border-left:1px solid #355467}.info-banner{padding:15px 18px;border:1px solid #fcee0a44;border-radius:6px;background:#fcee0a05;color:#e9dea5;font-size:11px;margin-bottom:23px}.phone-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field textarea{min-height:85px;font-size:12px}.integration-list{display:grid;gap:0}.integration-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}.integration-line:last-child{border:0}.integration-line strong{font-size:12px}.integration-line p{font-size:10px;color:var(--muted);margin-top:4px}
dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100svh - 40px);padding:0;background:var(--surface);color:var(--ink);border:1px solid #537282;border-radius:9px;box-shadow:0 35px 120px #000b}dialog::backdrop{background:#040a12c9;backdrop-filter:blur(4px)}.dialog-title{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid var(--line)}.dialog-title h2{font-size:27px}.dialog-title button{border:0;background:transparent;font-size:24px;min-width:40px;min-height:40px}.dialog-body{padding:22px;display:grid;gap:15px}.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-body label{display:grid;gap:6px;color:var(--muted);font-size:11px}.dialog-body input,.dialog-body select,.dialog-body textarea{width:100%;font-size:12px}.dialog-body textarea{min-height:100px;resize:vertical}.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 22px;border-top:1px solid var(--line)}.dialog-actions span{color:var(--muted);font-size:10px}.form-error{font-size:12px;color:#ffb5bc}.form-note{font-size:11px;color:var(--muted)}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#203e49;color:#d3fcff;border:1px solid #00f0ff77;padding:14px 20px;border-radius:6px;max-width:calc(100vw - 32px);font-size:12px;box-shadow:0 10px 30px #0007;opacity:0;pointer-events:none;z-index:100}#toast.visible{opacity:1}.mobile-label{display:none}
@media(min-width:1600px){.main{padding-top:38px}.ticket-table td{padding-top:22px;padding-bottom:22px}.ticket-heading h1{font-size:36px}}
@media(max-width:1200px){.shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{width:185px;padding-left:10px;padding-right:10px}.brand-name{font-size:21px}.brand{gap:9px}.main{padding:25px 24px}.topbar{padding:0 24px}.stats{gap:10px}.stat{padding:16px}.ticket-table td,.ticket-table th{padding-left:13px;padding-right:13px}.ticket-layout,.client-layout{grid-template-columns:minmax(0,1fr) 270px}.portal-shell{padding:0 30px}.client-grid,.work-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:950px){.shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{width:78px;padding:22px 10px}.brand{padding:0 8px 30px}.brand-name,.nav-label,.nav a span,.sidebar-note,.profile>div:last-child{display:none}.nav a{justify-content:center;padding:12px}.profile{padding:20px 10px 0;margin-top:auto}.main{padding:24px}.topbar .crumb{font-size:11px}.ticket-layout,.client-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.context-column .panel-body{padding:18px}.stats .hint{display:none}.inbox-bottom{grid-template-columns:1fr}.portal-nav{gap:15px}.portal-grid{gap:16px}.portal-shell{padding:0 24px}.portal-stats{gap:12px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:700px){body{font-size:14px}.shell{display:block;padding-bottom:77px}.sidebar{inset:auto 0 0;width:100%;height:70px;padding:0 10px;background:#101b29f5;border-right:0;border-top:1px solid #3a5668;backdrop-filter:blur(15px)}.sidebar>.brand,.profile{display:none}.nav{display:grid;grid-template-columns:repeat(4,1fr);height:100%}.nav a{margin:0;min-height:62px;border:0;border-radius:0;gap:4px;flex-direction:column;padding:9px 4px;font-size:10px}.nav a span:not(.count){display:block;font-size:9px}.nav a.active{background:transparent}.nav .icon{width:21px;height:21px}.main-wrap{width:100%}.topbar{height:59px;padding:0 17px;gap:7px}.topbar .crumb{font:600 19px var(--head);color:var(--ink)}.topbar .crumb span,.topbar .crumb .desktop-label{display:none}.top-actions{gap:10px}.top-actions .text-link{font-size:10px}.top-actions .icon{display:none}.demo-tag{font-size:8px;padding:4px 6px}.main{padding:23px 17px 26px}.page-heading{align-items:flex-start;gap:8px;margin-bottom:21px}.page-heading h1{font-size:31px}.page-heading p{font-size:11px;max-width:230px;line-height:1.6}.page-heading .btn{font-size:11px;padding:9px 11px;min-height:42px}.page-meta{display:none}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:21px}.stat{padding:14px 15px;min-height:94px}.stat .value{font-size:30px}.stat .icon{width:21px;height:21px}.stat-label{font-size:11px}.toolbar{gap:9px;margin-bottom:16px}.search{min-width:100%;flex-basis:100%}.toolbar>select{flex:1;min-width:0;font-size:11px;padding-left:10px;padding-right:20px}.tabs{gap:22px;margin-bottom:16px}.ticket-table thead{display:none}.ticket-table,.ticket-table tbody,.ticket-table tr,.ticket-table td{display:block}.ticket-table tr{padding:17px 15px;border-top:1px solid var(--line);position:relative}.ticket-table tr:first-child{border:0}.ticket-table td{border:0;padding:0!important}.ticket-table td.ticket-cell{padding-right:3px!important}.ticket-table .subject{font-size:13px;max-width:none;line-height:1.65;margin-bottom:11px}.ticket-table .ticket-number{font-size:9px;margin-bottom:9px}.ticket-table td.client-cell{display:flex;gap:7px;align-items:center;font-size:10px;flex-wrap:wrap}.ticket-table .site{font-size:10px;margin:0}.ticket-table .site::before{content:' / ';color:#7c96ab}.ticket-table td.status-cell{margin-top:11px;display:flex;gap:10px;align-items:center}.ticket-table .updated-col{position:absolute;right:16px;bottom:18px;font-size:9px!important}.inbox-bottom{margin-top:17px;gap:14px}.inline-card{padding:16px;gap:11px}.inline-card h3{font-size:17px}.inline-card p{font-size:10px}.inline-card .text-link{font-size:10px}.footer-note{font-size:9px;padding-top:20px;flex-direction:column;gap:7px}.ticket-heading h1{font-size:29px;line-height:1.14;margin-top:12px}.breadcrumb{font-size:10px;gap:6px;margin-bottom:17px}.ticket-subline{font-size:10px;gap:8px}.ticket-layout,.client-layout{display:flex;flex-direction:column;gap:17px}.conversation{width:100%;order:2}.context-column{width:100%;display:contents}.context-column>.panel{display:none}.context-column>.panel.context-card{display:block;width:100%;order:1}.context-card .context-head{padding-bottom:13px}.context-tree{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px}.context-node{border:0;margin:0;padding:0 0 0 15px}.context-node::before{left:0;top:3px;width:6px;height:6px}.context-node strong{font-size:11px}.context-node small{font-size:9px;line-height:1.6}.context-node .eyebrow{font-size:8px}.context-column>.panel.visit-card{display:block;width:100%;order:3}.context-column>.panel.ownership-card{display:block;width:100%;order:4}.visit-card .panel-body{display:grid;grid-template-columns:1fr 1fr;gap:8px}.visit-card .day{font-size:22px;margin:6px 0}.visit-card .visit-lead{margin:5px 0;font-size:11px;grid-column:2;grid-row:1/4}.message{padding:17px 15px}.message.internal{padding-left:12px}.message-top{gap:9px;align-items:flex-start}.message .avatar{width:28px;height:28px;font-size:11px}.message-author{font-size:11px}.message-meta{font-size:9px!important}.message-time{font-size:8px;max-width:74px;white-space:normal;text-align:right;line-height:1.8}.message p{font-size:12px;line-height:1.8}.conversation .panel-header{padding:15px}.conversation .panel-header h2{font-size:20px}.conversation-filter button{padding:5px 7px;font-size:10px}.composer{padding:16px}.composer-bottom{align-items:flex-start}.composer-bottom span{font-size:9px;max-width:160px;line-height:1.8}.composer-bottom .btn{min-height:42px;font-size:11px}.ticket-history{font-size:9px;padding:14px 15px;line-height:1.8}.client-banner{padding:18px;flex-wrap:wrap;gap:12px}.client-emblem{width:47px;height:47px;font-size:24px}.client-banner h1{font-size:29px}.client-banner .button-row{margin:4px 0 0;width:100%}.client-banner .button-row .btn{width:100%}.client-grid,.work-grid{grid-template-columns:1fr}.client-layout>.context-column{display:grid;order:2}.client-layout>.context-column>.panel{display:block}.project-block{padding:17px}.project-title strong{font-size:12px}.project-title .badge{font-size:9px}.site-title h2{font-size:22px}.panel-header{padding:17px}.order-row{padding-left:12px;gap:9px;font-size:11px}.order-row .badge{font-size:8px}.portal-shell{padding:0 17px}.portal-header{height:70px}.portal-header .brand-mark{width:33px;height:33px;font-size:22px}.portal-header .brand-name{font-size:20px}.portal-header .brand-name small{font-size:8px}.portal-user>span{display:none}.portal-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:62px;z-index:20;background:#101b29f5;border-top:1px solid var(--line);justify-content:space-around;gap:0;backdrop-filter:blur(15px)}.portal-nav a{display:flex;align-items:center;justify-content:center;min-height:44px;flex:1}.portal-shell{padding-bottom:62px}.portal-demo{font-size:9px;line-height:1.7}.portal-demo .text-link{font-size:9px;white-space:nowrap}.portal-main{padding-top:23px}.portal-welcome{display:block;margin-bottom:20px}.portal-welcome h1{font-size:34px}.portal-welcome p{font-size:11px}.site-switch{margin-top:20px}.site-switch select{width:100%;min-height:44px}.portal-stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:19px}.portal-stat{padding:17px}.portal-stat.health{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px}.portal-stat.health .big-value{grid-column:2;grid-row:1/3;font-size:28px}.portal-stat .big-value{font-size:31px;margin:11px 0 8px}.portal-stat .stat-top{font-size:11px}.portal-stat p{font-size:10px}.portal-grid{display:flex;flex-direction:column;gap:19px}.portal-grid>div{display:contents}.project-preview{padding:20px;order:1;width:100%}.project-preview h2{font-size:25px}.project-preview .project-title{margin:13px 0 19px}.project-preview .project-title .badge{font-size:9px}.milestones{font-size:9px}.next-step{margin-top:19px;font-size:11px}.next-step small{font-size:9px}.portal-visit{padding:20px;order:2;width:100%}.portal-support{margin:0;order:3;width:100%}.help-card{margin:0;order:4;width:100%}.portal-thread{order:3;width:100%;margin:0}.portal-ticket{padding:16px;font-size:11px;align-items:flex-start;flex-wrap:wrap}.portal-ticket .badge{font-size:9px;margin-left:0}.portal-ticket>div{flex-basis:100%}.portal-ticket p{font-size:9px}.portal-footer{font-size:9px;gap:12px;line-height:1.8}.settings-grid{gap:17px}.phone-fields{grid-template-columns:1fr}.dialog-grid{grid-template-columns:1fr 1fr;gap:12px}.dialog-body{padding:18px}.dialog-actions{padding:16px 18px}.dialog-actions span{max-width:155px;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact relationship and visit views; native disclosures keep keyboard support. */
.compact-heading h1{font-size:32px}.compact-heading{margin-bottom:18px}.compact-heading p{font-size:11px}
.view-toggle{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden;flex:none}.view-toggle .btn{border:0;border-radius:0;min-height:36px;padding:7px 13px;background:transparent}.view-toggle .btn[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}
.compact-toolbar{gap:8px;margin-bottom:12px}.compact-toolbar .search{flex:1 1 260px;min-width:180px}.compact-toolbar select{font-size:11px;min-height:38px;padding:7px 25px 7px 10px}.compact-toolbar input{min-height:38px;font-size:11px}.compact-toolbar .search .icon{top:11px;width:15px;height:15px}
.results-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font:9px var(--mono);margin:0 0 12px}
.directory{display:grid;gap:8px;align-items:start}.directory.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.directory-client{min-width:0}
.client-summary,.site-summary,.project-summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;text-align:left}.client-summary::-webkit-details-marker,.site-summary::-webkit-details-marker,.project-summary::-webkit-details-marker{display:none}
.client-summary{padding:14px 16px}.fold-chevron{display:flex;flex:none;color:#8ca4b7}.fold-chevron .icon{height:14px;width:14px;transition:transform .15s}details[open]>.client-summary .fold-chevron .icon,details[open]>.site-summary .fold-chevron .icon,details[open]>.project-summary .fold-chevron .icon{transform:rotate(90deg)}
.client-summary .client-emblem,.compact-banner .client-emblem{width:37px;height:37px;border-radius:7px;font-size:19px;flex:none}.client-identity{min-width:0}.client-identity>strong{font-size:13px}.client-identity>small,.site-identity>small,.project-identity>small{display:block;color:var(--muted);font-size:10px;margin-top:4px;line-height:1.6}.client-totals,.site-totals{display:flex;align-items:center;gap:18px;margin-left:auto;flex:none}.client-totals .badge,.site-totals .badge{font-size:9px}.client-expanded{border-top:1px solid var(--line);padding:10px 14px 2px}.client-contact{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;color:var(--muted);padding:3px 2px 12px}.client-contact .text-link{font-size:10px}
.directory.cards .client-summary{flex-wrap:wrap;gap:9px}.directory.cards .client-totals{width:calc(100% - 23px);margin:2px 0 0 23px;justify-content:space-between}.directory.cards .client-summary .client-emblem{display:none}.directory.cards .client-contact{gap:8px}.directory.cards .site-totals>.muted{display:none}
.compact-site{margin-bottom:9px}.site-summary{padding:13px 15px;min-height:62px}.site-identity{min-width:0;flex:1}.site-identity>strong{font-size:13px}.site-summary>.badge{margin-left:auto}.site-totals{gap:12px}.site-totals>.muted{font-size:9px}
.compact-project{padding:0;border-top:1px solid var(--line);border-bottom:0!important}.project-summary{padding:12px 15px 12px 28px}.project-identity{min-width:0;flex:1}.project-identity>strong{font-size:12px;line-height:1.6}.project-summary>.badge{font-size:9px;flex:none}.project-visits{padding:0 14px 12px 35px}.project-visits .order-row{margin:0;padding:9px 0 9px 12px;font-size:11px}.project-visits .order-row small{font-size:9px}.empty-visit{padding:13px 16px;color:var(--muted);font-size:11px}
.compact-banner{padding:16px 18px;gap:13px;margin-bottom:16px}.compact-banner h1{font-size:27px;margin:1px 0 4px}.compact-banner p{line-height:1.8;font-size:10px}.compact-banner .eyebrow{font-size:9px}.compact-banner .btn{min-height:36px;font-size:11px}.compact-client-layout{gap:16px}.compact-client-layout .panel-body{padding:17px}.compact-client-layout .summary-line{padding:9px 0;font-size:11px}.client-detail-tools{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:12px}.client-detail-tools .tabs{margin-bottom:0}.client-detail-tools .btn{min-height:32px;padding:6px 10px;font-size:10px}.compact-support .portal-ticket{padding:12px 16px}.compact-support .portal-ticket strong{font-size:12px}.compact-support .portal-ticket p{font-size:10px}
.stat[data-queue=all] .value,.stat[data-queue=all] .icon{color:var(--yellow)}.stat[data-queue=reply] .value{color:var(--orange)}.stat[data-queue=visits] .value,.stat[data-queue=visits] .icon{color:var(--green)}
@media(max-width:1200px){.directory.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.compact-heading{align-items:center;gap:12px}.compact-heading h1{font-size:27px}.compact-heading .eyebrow{font-size:8px;line-height:1.7}.compact-heading p{font-size:10px;line-height:1.7}.view-toggle .btn{min-height:40px;padding:7px 11px;font-size:11px}.compact-toolbar .search{flex-basis:100%;min-width:0}.compact-toolbar select{flex:1 1 42%;min-width:0;max-width:100%;min-height:42px;font-size:10px}.compact-toolbar input{min-height:42px}.results-meta{font-size:8px;line-height:1.8;flex-wrap:wrap;gap:3px}.directory.cards{grid-template-columns:1fr}.client-summary{padding:12px;gap:10px;flex-wrap:wrap}.client-summary .client-emblem{width:30px;height:30px;font-size:16px}.client-identity>strong{font-size:12px}.client-identity>small{font-size:9px}.client-totals{width:calc(100% - 24px);margin:0 0 0 24px;justify-content:space-between}.client-expanded{padding:8px 8px 0}.client-contact{font-size:9px}.site-summary{padding:12px;gap:8px;flex-wrap:wrap}.site-identity>strong{font-size:12px}.site-identity>small{font-size:9px}.site-totals{margin-left:22px;width:calc(100% - 22px);justify-content:space-between}.site-totals .badge{font-size:8px}.project-summary{padding:12px;gap:8px;flex-wrap:wrap}.project-identity{flex-basis:75%}.project-identity>strong{font-size:11px}.project-identity>small{font-size:9px}.project-summary>.badge{margin-left:22px}.project-visits{padding:0 10px 10px 16px}.project-visits .order-row{flex-wrap:wrap;font-size:10px}.compact-banner{padding:13px;gap:10px}.compact-banner h1{font-size:25px}.compact-banner .button-row{margin:3px 0 0;width:100%;display:grid;grid-template-columns:1fr 1fr}.compact-banner .button-row .btn{font-size:10px;width:100%;min-height:42px;padding:7px}.client-detail-tools{flex-wrap:wrap;gap:11px}.client-detail-tools .tabs{font-size:10px;gap:18px}.client-detail-tools .btn{min-height:42px}.compact-support .site-summary{font-size:12px}.compact-support .site-summary>.badge{margin-left:22px}}

/* Ticket ownership, settings pages and the Projects-style sign-in preview. */
.system-logo{display:block;width:100%;height:100%;object-fit:contain}.sidebar .brand-mark{width:45px;height:45px;border:0;background:transparent;transform:none;box-shadow:none}.sidebar .brand{gap:12px}.sidebar .brand-name{font-size:23px;line-height:.97}.sidebar .brand-name small{font-size:8px;margin-top:9px;letter-spacing:.08em;line-height:1.5}.profile{flex-wrap:wrap}.signout-link{width:100%;font-size:10px;color:var(--muted);padding:8px 0}.settings-signout{display:block;width:max-content;margin-top:26px;font-size:11px}
.composer-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:12px}.composer-heading label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:var(--muted)}.composer-heading select{min-width:235px;min-height:40px}.composer-recipient{font-size:10px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.composer-recipient[hidden]{display:none}
.settings-tabs{overflow-x:auto;white-space:nowrap;gap:25px}.settings-tabs a{padding-bottom:12px}.settings-content{max-width:1100px}.settings-content>.info-banner{margin-bottom:16px}.settings-section{margin-bottom:10px}.settings-section[open]>.site-summary{border-bottom:1px solid var(--line)}.settings-section>.panel-body{padding:18px 20px}.settings-section>.panel-body>p{font-size:12px;line-height:1.9}.settings-section>.site-summary{min-height:70px}.settings-intro{margin-bottom:18px}.settings-intro h2{font-size:24px;margin:0 0 5px}.settings-intro p{font-size:11px;color:var(--muted);line-height:1.9}.status-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(120px,.8fr) minmax(110px,.8fr) auto;align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid var(--line)}.status-row:last-child{border-bottom:0}.status-row>.badge{justify-self:start}.status-row label,.new-status-form label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:var(--muted)}.status-row select,.new-status-form input,.new-status-form select{width:100%;min-height:38px;font-size:11px}.status-row .btn{align-self:end;min-height:38px;font-size:11px}.new-status-form{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:14px;align-items:end}.new-status-form .btn{font-size:11px;min-height:38px}.staff-row{font-size:11px;gap:20px}.phone-concept{display:flex;align-items:center;gap:20px}.phone-concept>.mono{font-size:23px;color:var(--accent)}.flow-tabs{display:flex;gap:10px;margin-bottom:15px}.flow-tabs .btn{font-size:11px}
.logo-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.logo-option{display:flex;align-items:center;flex-direction:column;gap:16px;background:#091722;border:1px solid var(--line);border-radius:7px;padding:26px 16px;color:var(--ink);cursor:pointer;text-align:center;min-width:0}.logo-option[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.logo-option .system-logo{width:104px;height:104px}.logo-option strong{font:600 19px var(--head)}.logo-option span{font-size:11px;line-height:1.9;color:var(--muted)}
.auth-page{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100svh;padding:44px 18px;overflow:hidden;background:radial-gradient(ellipse at 50% 31%,#183a4b 0,#0d2332 37%,transparent 72%),radial-gradient(circle at 88% 83%,#ff5f9e12,transparent 35%),#07131e}.auth-page::before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#00f0ff0b 1px,transparent 1px),linear-gradient(90deg,#00f0ff0b 1px,transparent 1px);background-size:40px 40px;mask-image:radial-gradient(ellipse at center,#000,transparent 75%)}.auth-page::after{content:'';position:absolute;z-index:-1;width:600px;height:600px;bottom:-410px;right:-310px;border:1px solid #00f0ff25;border-radius:50%;box-shadow:0 0 0 70px #00f0ff05,0 0 0 140px #00f0ff03;pointer-events:none}.auth-panel{width:min(100%,455px);padding:36px 32px;border:1px solid #3b6172;border-radius:16px;background:linear-gradient(145deg,#102635e8,#071722ed);box-shadow:0 24px 100px #0005;text-align:center}.auth-emblem{width:104px;height:104px;margin:0 auto 22px;filter:drop-shadow(0 0 14px #00f0ff25)}.auth-panel .eyebrow{font-size:10px;letter-spacing:.12em}.auth-panel h1{font:600 49px/1.1 var(--head);margin:12px 0}.auth-description{color:#b8cbd8;font-size:13px;line-height:1.9;margin:0 auto 28px;max-width:320px}.auth-button{display:grid;grid-template-columns:28px 1fr 24px;align-items:center;gap:10px;width:100%;min-height:53px;padding:10px 16px;border:1px solid #b8f5ff;border-radius:6px;background:linear-gradient(120deg,#9de8f4,#b3d4f1);color:#071720;font:700 16px var(--head);letter-spacing:.04em;text-transform:uppercase;text-decoration:none}.auth-panel>a.auth-button{display:flex;justify-content:center}.auth-button:disabled{opacity:1;cursor:default}.auth-google-mark{font:700 25px Arial,sans-serif;color:#174ba5}.auth-help{font-size:10px;color:#95aebf;line-height:1.9;margin:14px 0}.demo-entry{margin:4px auto 5px;font-size:11px;min-height:42px}.auth-footer{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:25px;padding-top:22px;border-top:1px solid #2e4b5c;color:#8ba5b7;font:9px var(--mono);letter-spacing:.02em}.auth-back{font:9px var(--mono);letter-spacing:.15em;color:#7894a8;margin-top:28px;text-align:center;line-height:1.8}
@media(max-width:1100px){.ownership-controls{grid-template-columns:1fr 1fr}.ownership-controls>div{grid-column:1/-1}.ownership-controls .btn{justify-self:start}.status-row{grid-template-columns:minmax(120px,1fr) 1fr 1fr auto}.new-status-form{grid-template-columns:1fr 1fr}.new-status-form .btn{justify-self:start}}
@media(min-width:701px) and (max-width:950px){.profile>div,.profile>a{display:none}.profile .avatar{flex:none}.sidebar .brand{padding-left:5px;padding-right:5px}.sidebar .brand-mark{width:40px;height:40px;flex:none}}
@media(max-width:700px){.ownership-controls{padding:15px;gap:13px}.ownership-controls h2{font-size:22px}.ownership-controls select{font-size:11px;min-height:44px;min-width:0}.ownership-controls .btn{grid-column:1/-1;min-height:44px}.ticket-visit-strip{padding:14px 15px;flex-wrap:wrap;gap:10px}.ticket-visit-strip strong{font-size:11px}.ticket-visit-strip small{font-size:9px;line-height:1.8}.ticket-visit-strip>.text-link{margin-left:32px;font-size:10px;min-height:26px;display:flex;align-items:center}.composer-heading{align-items:stretch;flex-direction:column;gap:8px}.composer-heading select{min-width:0;width:100%;font-size:11px;min-height:44px}.composer-recipient{font-size:9px}.settings-tabs{gap:22px;font-size:11px}.settings-section>.panel-body{padding:14px}.settings-section .site-summary{min-height:76px}.settings-section .site-identity>small{font-size:9px}.settings-intro p{font-size:10px}.status-row{grid-template-columns:1fr 1fr;gap:12px;padding:16px 0}.status-row>.badge{grid-column:1/-1}.status-row>.btn{grid-column:2;min-height:42px;justify-self:end}.status-row select{min-height:42px}.new-status-form{grid-template-columns:1fr 1fr;gap:12px}.new-status-form>label:first-child,.new-status-form .btn{grid-column:1/-1;width:100%}.new-status-form input,.new-status-form select,.new-status-form .btn{min-height:42px}.phone-concept{align-items:start;flex-direction:column;gap:12px}.phone-concept>.mono{font-size:20px}.flow-tabs .btn{font-size:10px;min-height:44px}.staff-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.staff-row .person{width:100%}.logo-options{grid-template-columns:1fr}.logo-option{padding:20px}.logo-option .system-logo{height:85px;width:85px}.auth-panel{padding:28px 22px}.auth-panel h1{font-size:43px}.auth-description{font-size:12px}.auth-footer{font-size:8px;gap:6px}.auth-back{font-size:8px;letter-spacing:.1em}}

/* Economy work list and compact ticket context. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.badge.gray{color:#c0ccd6;background:#b1bfcc12;border-color:#9bafc44d}
.account-menu{display:flex;align-items:center;gap:9px;border-left:1px solid var(--line);padding-left:17px}.account-name{font-size:11px}.account-signout{display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin-left:3px;border:1px solid transparent;border-radius:4px;color:var(--muted)}.account-signout:hover{border-color:var(--line);color:var(--accent)}.account-signout .icon{width:17px;height:17px}
.work-workspace{display:grid;grid-template-columns:182px minmax(0,1fr);gap:18px;align-items:start}.work-main{min-width:0}.schedule-context{background:#111b27}.schedule-context>summary{padding:12px 11px}.schedule-context h2{font-size:19px}.work-buckets{padding:5px 7px 10px}.work-buckets button{display:flex;align-items:center;gap:9px;width:100%;padding:8px;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:4px;font-size:11px;text-align:left}.work-buckets button[aria-pressed=true]{background:var(--accent-soft);border-color:#00f0ff3b;color:var(--accent)}.work-buckets .icon{height:15px;width:15px}.work-buckets b{margin-left:auto;font:10px var(--mono)}.work-context-section{border-top:1px solid var(--line);padding:12px 10px 7px}.work-context-section h3{font:9px var(--mono);text-transform:uppercase;color:#8fa7ba;margin:0 0 10px;letter-spacing:.06em}.context-visit{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:3px;padding:6px 2px;margin-bottom:7px;line-height:1.5}.context-visit:hover{background:#ffffff06}.context-visit>span{font-size:8px;color:var(--accent)}.context-visit strong{display:block;font-size:11px;font-weight:400;margin-top:4px}.context-visit small{display:block;font-size:9px;color:var(--muted);margin-top:4px}
.work-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:16px}.work-toolbar .search{grid-column:1/-1;min-width:0}.work-toolbar input,.work-toolbar select{width:100%;min-width:0;min-height:34px;padding:6px 7px;font-size:10px}.work-toolbar input{padding-left:34px}.work-toolbar .search .icon{top:9px;left:10px;height:15px;width:15px}.work-list-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.work-list-heading h2{font-size:20px}.work-type-filters{display:flex;gap:5px}.work-type-filters button{min-height:32px;padding:5px 12px;background:#121c29;border:1px solid var(--line);border-radius:4px;font-size:11px}.work-type-filters button[aria-pressed=true]{background:var(--accent-soft);border-color:#00f0ff80;color:var(--accent)}.work-type-filters .service{color:var(--orange)}.work-type-filters .project{color:var(--blue)}
.work-collection.list{display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden}.compact-work,.work-columns{display:grid;grid-template-columns:minmax(180px,2fr) minmax(85px,.8fr) minmax(120px,1.15fr) minmax(100px,1fr) 30px;gap:10px;align-items:center}.work-columns{background:#101923;padding:9px 12px;color:#8ba4b8;font:8px var(--mono);text-transform:uppercase;letter-spacing:.04em}.compact-work{padding:8px 12px;min-height:64px;background:var(--surface);border:0;border-top:1px solid #2a3c4c;border-radius:0;scroll-margin-top:15px}.compact-work:hover{background:#192735}.compact-work:focus{outline:1px solid var(--accent);outline-offset:-1px;background:#16303b}.work-title{min-width:0}.work-title>a{display:block}.work-title h2{display:inline;font:600 13px/1.4 var(--head);margin:0;letter-spacing:0}.work-title a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:0}.work-title .mono{font-size:8px;color:var(--accent);margin-right:7px}.work-context{font-size:9px;color:var(--muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-job{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.work-kind{font-size:10px;padding:5px 9px;min-height:29px;cursor:pointer}.work-kind:hover{filter:brightness(1.3)}.work-job>.mono{font-size:8px}.work-schedule{font-size:10px;line-height:1.45;min-width:0}.work-schedule strong{font-weight:400}.work-schedule>span{display:block;color:var(--muted);font-size:9px;margin-top:4px}.work-lead{font-size:10px;line-height:1.4}.work-lead>.badge{font-size:8px;padding:2px 5px;margin-top:5px}.work-lead>span:first-child{display:block}.work-open{display:grid;place-items:center;width:30px;height:34px;border-radius:4px;color:var(--accent)}.work-open:hover{background:var(--accent-soft)}.work-open .icon{width:16px;height:16px}
.work-collection.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cards .work-columns{display:none}.cards .compact-work{display:grid;grid-template-columns:1fr auto;gap:10px 6px;padding:12px;border:1px solid var(--line);border-radius:6px;align-items:center}.cards .work-title{grid-column:1/-1}.cards .work-title>a{white-space:normal}.cards .work-title h2{display:block;font-size:17px;margin-top:4px;line-height:1.25}.cards .work-title .mono{font-size:8px}.cards .work-context{white-space:normal;line-height:1.5}.cards .work-job{grid-column:1/-1}.cards .work-lead{grid-column:1}.cards .work-schedule{grid-column:1/-1;padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px}.cards .work-schedule span{margin:0}.cards .work-open{grid-column:2;grid-row:4}.cards .work-lead>span:first-child{display:inline;margin-right:6px}.cards .work-lead .badge{margin:0}
.ticket-title-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:9px 0 10px}.ticket-title-line h1{font-size:30px;max-width:none;margin:0;line-height:1.15}.ticket-title-line>.badge{font-size:10px}.ticket-heading{margin-bottom:18px}.ticket-workspace{display:grid;grid-template-columns:minmax(0,1fr) 248px;align-items:start;gap:16px}.ticket-main{min-width:0}.ticket-context{display:grid;gap:12px}.ticket-owner-form{padding:15px}.ticket-owner-form h2,.context-panel-heading h2{font-size:20px}.ticket-owner-form .field{font-size:10px;margin:13px 0 8px;gap:6px}.ticket-owner-form select{min-height:36px;font-size:11px;padding:6px 9px}.owner-meta{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-bottom:12px}.ticket-owner-form>.btn{min-height:32px;font-size:10px;padding:6px 10px}.next-visit-card{padding:15px}.context-panel-heading{display:flex;align-items:center;gap:8px;margin-bottom:13px}.context-panel-heading .icon{color:var(--blue);width:17px;height:17px}.next-visit-card>strong{font-size:12px}.next-visit-card>p{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}.visit-person{margin:12px 0 10px}.visit-person .person{display:flex;align-items:center;gap:7px;font-size:10px}.visit-person .avatar{width:23px;height:23px;font-size:9px}.next-visit-card>.text-link{font-size:10px}.conversation-summary{display:flex;gap:9px;align-items:center;list-style:none;cursor:pointer;padding:15px;border-bottom:1px solid transparent}.conversation-summary::-webkit-details-marker{display:none}.conversation-summary h2{font-size:21px}.conversation-summary .small{font-size:10px}.conversation-summary .collapse-hint{margin-left:auto;color:var(--muted);font-size:9px}.conversation-thread[open]>.conversation-summary{border-bottom-color:var(--line)}details[open]>.conversation-summary .fold-chevron .icon{transform:rotate(90deg)}.conversation-tools{padding:6px 13px;border-bottom:1px solid var(--line);background:#111a26}.conversation-thread .message{padding:15px}.conversation-thread .message.internal{padding-left:12px}.message p{line-height:1.75}.message-top{margin-bottom:10px}.composer{padding:16px;border-top:1px solid var(--line)}.composer-heading{flex-wrap:wrap;gap:7px}.composer-heading select{margin-bottom:0;min-height:34px}.composer textarea{min-height:100px}.composer-recipient{font-size:9px}.composer-bottom{align-items:center;flex-wrap:wrap;gap:10px}.composer-bottom>span{font-size:9px;flex:1;min-width:130px}.submit-status{display:flex;align-items:stretch;gap:0;margin-left:auto;max-width:100%}.submit-status select{margin:0;min-width:0;width:128px;min-height:37px;border-radius:4px 0 0 4px;font-size:10px;padding:6px 20px 6px 8px}.submit-status .btn{min-height:37px;border-radius:0 4px 4px 0;font-size:10px;white-space:normal;line-height:1.4;padding:7px 10px}.related-tickets>summary{padding:13px}.related-tickets h2{font-size:18px}.related-note{font-size:9px;color:var(--muted);padding:0 13px 12px}.related-tickets>a{display:block;padding:11px 13px;border-top:1px solid var(--line);font-size:10px}.related-tickets>a:hover{background:#ffffff05}.related-tickets>a strong{display:block;line-height:1.6;margin:4px 0 6px;font-weight:400}.related-tickets .badge{font-size:8px}
.settings-intro{display:flex;justify-content:space-between;align-items:center;gap:16px}.settings-intro>.btn{font-size:11px;min-height:36px}.status-actions{display:flex;gap:6px;align-self:end}.status-actions .btn{min-height:34px;padding:6px 10px}.status-actions .btn:last-child{color:#f5aab7;background:transparent}.status-actions .btn:disabled{color:var(--muted)}.voice-admin-banner{display:flex;justify-content:space-between;align-items:center;gap:14px}.voice-admin-banner>.btn{font-size:11px}
@media(max-width:1250px){.work-collection.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.work-workspace{display:block}#work-context{margin-bottom:14px}.schedule-context{display:flex;align-items:center}.schedule-context>summary{display:none}.schedule-context[open]>.work-buckets{display:flex;gap:6px;padding:7px;width:100%}.work-buckets button{width:auto;min-width:130px}.work-context-section{display:none}.ticket-workspace{grid-template-columns:minmax(0,1fr) 220px;gap:12px}.ticket-title-line h1{font-size:27px}.ticket-owner-form,.next-visit-card{padding:12px}.conversation-summary .collapse-hint{display:none}}
@media(max-width:800px){.ticket-workspace{display:flex;flex-direction:column}.ticket-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;order:0}.ticket-main{width:100%;order:1}.related-tickets{grid-column:1/-1}.account-name{font-size:10px}.compact-work,.work-columns{grid-template-columns:minmax(165px,2fr) 90px 120px 100px 30px;gap:8px}.work-title h2{font-size:12px}}
@media(max-width:700px){.topbar{padding:0 12px}.topbar .crumb{font-size:17px}.top-actions{gap:10px}.top-actions .client-preview-link{font-size:9px}.account-menu{padding-left:9px;gap:5px}.account-menu>.avatar{display:none}.account-name{font-size:9px;max-width:48px;line-height:1.3}.account-signout{width:32px;height:36px;margin-left:0}.account-signout .icon{display:block;width:16px;height:16px}.work-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.work-toolbar input,.work-toolbar select{min-height:40px;font-size:10px}.work-toolbar .search .icon{top:12px}.work-list-heading{flex-wrap:wrap}.work-list-heading h2{font-size:21px}.work-type-filters button{min-height:36px;padding:6px 14px}.work-columns{display:none}.work-collection.list .compact-work{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:10px 12px}.list .work-title{grid-column:1;grid-row:1}.list .work-title>a{white-space:normal}.list .work-title h2{font-size:15px;line-height:1.3;display:block;margin-top:3px}.list .work-title .mono{font-size:8px}.work-context{font-size:9px;white-space:normal;line-height:1.5}.list .work-job{grid-column:2;grid-row:1;flex-direction:column;align-items:end;gap:3px}.work-kind{font-size:10px;min-height:34px}.list .work-schedule{grid-column:1;grid-row:2;font-size:10px}.list .work-schedule>span{font-size:9px;margin-top:2px}.list .work-lead{grid-column:2;grid-row:2;text-align:right;font-size:9px}.list .work-lead>.badge{font-size:8px;margin-top:3px}.list .work-open{display:none}.work-collection.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cards .compact-work{padding:10px;gap:8px 4px}.cards .work-title h2{font-size:16px}.cards .work-title .mono,.cards .work-context{font-size:8px}.cards .work-job>.mono{font-size:8px}.cards .work-kind{min-height:32px;padding:4px 7px}.cards .work-schedule{font-size:9px;display:block}.cards .work-schedule>span{font-size:8px;margin-top:3px}.cards .work-lead{font-size:8px}.cards .work-lead>span:first-child{display:block;margin:0 0 4px}.cards .work-lead .badge{font-size:7px}.cards .work-open{width:26px}.ticket-title-line{gap:8px}.ticket-title-line h1{font-size:27px}.ticket-context{gap:8px}.ticket-owner-form h2,.context-panel-heading h2{font-size:17px}.ticket-owner-form .field{margin:10px 0 8px}.ticket-owner-form select{min-height:40px;font-size:10px}.owner-meta{font-size:8px;flex-wrap:wrap;gap:3px}.ticket-owner-form>.btn{min-height:36px}.context-panel-heading{gap:5px;margin-bottom:10px}.context-panel-heading .icon{width:14px;height:14px}.next-visit-card>strong{font-size:11px}.next-visit-card>p{font-size:9px}.visit-person{margin:9px 0}.visit-person .person{font-size:9px;gap:5px}.visit-person .avatar{width:19px;height:19px;font-size:8px}.next-visit-card>.text-link{font-size:9px}.conversation-summary{padding:13px}.conversation-summary h2{font-size:20px}.conversation-summary>.muted{font-size:9px;margin-left:auto}.composer-heading select{min-height:40px}.composer-bottom>span{max-width:none;flex-basis:100%}.submit-status{width:100%}.submit-status select{flex:1;width:45%;min-height:42px;font-size:10px}.submit-status>.btn{flex:1;min-height:42px;font-size:11px}.settings-intro{align-items:flex-start}.settings-intro h2{font-size:22px}.settings-intro .btn{padding:7px 9px;font-size:10px}.settings-intro .btn .icon{display:none}.status-row{grid-template-columns:1fr 1fr;gap:10px;padding:12px 0}.status-actions{grid-column:1/-1;justify-content:flex-end}.status-actions .btn{min-height:40px}.voice-admin-banner{align-items:start;flex-direction:column}.voice-admin-banner>.btn{min-height:40px}}
dialog{margin:auto}.submit-status .btn span{font-size:inherit;color:inherit}
@media(max-width:359px){.work-collection.cards{grid-template-columns:1fr}.ticket-context{grid-template-columns:1fr}.related-tickets{grid-column:auto}}

/* Priority and ticket ownership stay visible in both table and phone layouts. */
.inbox-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) repeat(4,minmax(125px,auto))}.inbox-toolbar .search{min-width:0}.inbox-toolbar select{width:100%;font-size:11px}.ticket-results-meta{padding:9px 14px;color:var(--muted);font:10px var(--mono);border-bottom:1px solid var(--line)}.ticket-table th{font-size:9px}.ticket-table td,.ticket-table th{padding-left:12px;padding-right:12px}.ticket-table .subject{font-size:12px}.ticket-table .person{font-size:10px;gap:6px}.ticket-table .avatar.mini{width:23px;height:23px;font-size:9px}.ticket-table .badge{font-size:9px;padding:4px 6px}.ticket-table .priority-cell{max-width:115px}.priority-badge{white-space:normal}.badge.red{color:#ff9aa6;background:#ff7b8712;border-color:#ff7b8766}.ticket-heading-badges{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.ticket-heading-badges .badge{font-size:10px}.ticket-title-line h1{margin:0;max-width:none}.ticket-table .ticket-number{flex-wrap:wrap;gap:6px}.ticket-table .client-name{white-space:normal}.ticket-table .updated-col{font-size:10px!important}
@media(min-width:701px) and (max-width:1100px){.inbox-toolbar{grid-template-columns:repeat(4,minmax(0,1fr))}.inbox-toolbar .search{grid-column:1/-1}.ticket-table td,.ticket-table th{padding-left:8px;padding-right:8px}.ticket-table .person{white-space:normal}.ticket-table .avatar{display:none}.ticket-table .badge{font-size:8px}.ticket-table .subject{min-width:150px}.ticket-table .priority-cell{min-width:80px}.ticket-table .status-cell .badge{white-space:normal}.ticket-table .ticket-number{font-size:8px}.ticket-table .site{font-size:10px}.ticket-table .updated-col{white-space:normal}}
@media(max-width:700px){.inbox-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inbox-toolbar .search{grid-column:1/-1;min-width:0}.inbox-toolbar #technician-filter{grid-column:auto}.inbox-toolbar select{min-height:42px}.ticket-results-meta{font-size:9px;padding:10px 14px}.ticket-table .subject{font-size:13px}.ticket-table td.priority-cell,.ticket-table td.status-cell{display:inline-flex;align-items:center;gap:5px;margin-top:10px;max-width:none}.ticket-table td.priority-cell{margin-right:8px}.ticket-table .badge{font-size:9px}.ticket-table td[data-label]::before{content:attr(data-label);font-size:9px;color:var(--muted)}.ticket-table td.assigned-col{display:flex;align-items:center;gap:7px;margin-top:12px;padding-right:66px!important;min-height:23px}.ticket-table .person{font-size:10px}.ticket-table .updated-col{font-size:9px!important}.ticket-heading-badges{gap:7px}.ticket-heading-badges .badge{font-size:10px}.ticket-owner-form .field{margin:10px 0}.ticket-title-line h1{margin:0}}

/* Small photos add recognition without increasing row height. */
.avatar,.site-photo{position:relative;overflow:hidden;isolation:isolate}
.photo-atlas{--photo-x:0;--photo-y:0;position:absolute;max-width:none!important;pointer-events:none;left:calc(var(--photo-x) * -100%);top:calc(var(--photo-y) * -100%)}
.photo-column-1{--photo-x:1}.photo-column-2{--photo-x:2}.photo-row-1{--photo-y:1}
.profile-photo{width:300%;height:300%;top:calc(var(--photo-y) * -150% - 12%)}.property-photo{width:200%;height:200%}
.site-photo{width:34px;height:34px;border-radius:5px;border:1px solid var(--line);display:inline-grid;place-items:center;flex:none;background:var(--field);color:var(--muted)}
.site-chip{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:10px;color:var(--muted)}
.site-chip .site-photo{width:23px;height:23px;border-radius:4px}.site-chip .site-photo>.icon{width:12px;height:12px}
.ticket-site-line{display:flex;align-items:center;gap:9px;margin:12px 0 10px;font-size:11px}
.ticket-site-line strong{font-weight:500}.ticket-site-line small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.badge.neutral{background:transparent;border-color:var(--line);color:var(--muted)}
.connection-refresh{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.connection-refresh strong{font-size:13px}.connection-refresh p{margin-top:6px}.connection-refresh .btn{flex:none}
.refresh-result{padding:10px 12px;border:1px solid var(--line);border-radius:5px;font-size:11px;color:var(--muted);margin-bottom:14px;background:var(--field)}
@media(max-width:700px){.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat{padding:12px 10px;min-height:88px}.stat .stat-label{font-size:10px;line-height:1.4}.stat .hint,.stat>.icon{display:none}.stat .value{font-size:29px;margin-top:7px}.site-summary{gap:8px}.site-summary>.site-photo{width:28px;height:28px}.site-chip{margin:0}.ticket-site-line{font-size:10px}.ticket-site-line small{font-size:9px}.connection-refresh{align-items:flex-start;flex-direction:column;gap:12px}.connection-refresh .btn{min-height:42px}}

@media(min-width:951px) and (max-width:1200px){.nav a{gap:9px;padding-left:10px;padding-right:10px}.nav a>span:not(.count){font-size:13px;white-space:nowrap}}
