:root{color:#182026;background:#f4f6f8;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--brand:#00a5df;--action:#007da8;--ink:#13191e;--line:#dbe3e9;--soft:#e8f5fc}
[hidden]{display:none!important}.menu button{justify-content:flex-start}
button,a,input,select{touch-action:manipulation}a{color:#006f96}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #007da8;outline-offset:3px}
.boot-message{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}.boot-message .logo-wordmark{width:min(300px,100%)}.boot-message p{margin:0}.block{display:block}.skip-link{position:fixed;left:12px;top:-80px;z-index:100;background:#fff;padding:12px;border:2px solid #007da8}.skip-link:focus{top:12px}
.sidebar{width:252px;background:#fff;color:#182026;border-right:1px solid var(--line);padding-top:26px}.brand{margin:0 8px 30px}.menu button{color:#4f5e68;border-radius:8px;min-height:46px}.menu button:hover{background:#f2f7fa}.menu button.active{color:#006c94;background:var(--soft)}.side-bottom{color:#687a87}.side-bottom a{display:inline-block;margin-top:14px;font-size:11px}
.logo-app,.logo-wordmark{position:relative;overflow:hidden;display:block;flex-shrink:0;background:#fff}.logo-app{width:48px;aspect-ratio:1;border-radius:12px}.logo-app img{position:absolute;width:357.21%;max-width:none;left:-243.02%;top:-123.26%}.logo-wordmark{width:210px;aspect-ratio:930/133}.logo-wordmark img{position:absolute;width:165.161%;max-width:none;left:-7.527%;top:-68.421%}
.top{background:#fff;backdrop-filter:none;min-height:82px;gap:16px}.top-title{color:var(--ink);font-size:19px}.top-subtitle{margin:3px 0 0;color:#687887}.brandmark{gap:12px}.profile{display:grid;gap:4px;text-align:right;max-width:220px}.profile strong{font-size:13px;overflow-wrap:anywhere}.profile small{font-size:11px;color:#647480}.environment-banner{background:#edf6fc;border-bottom:1px solid #d3e7f2;color:#385b6c;padding:11px 24px;font-size:12px;line-height:1.5}
.main{max-width:1240px;padding-top:28px}.page-head h1{color:var(--ink);font-size:25px;letter-spacing:-.5px}.page-head .sub{font-size:13px;color:#687b87}.panel{border-radius:10px;box-shadow:none;border-color:var(--line)}.section-title{color:var(--ink);margin-top:8px}.btn{background:var(--action);border-color:var(--action);border-radius:8px;min-height:44px}.btn:hover{background:#006a90;border-color:#006a90}.btn.outline{color:#006c94;border-color:#a8cddd}.btn.outline:hover{background:#eaf6fb}.btn.muted{background:#f0f4f7;border-color:#e2e9ef;color:#425968}.btn.tiny{min-height:38px;font-size:12px}.btn:disabled{opacity:.6}.field label{color:#3b5261;display:grid;gap:8px;font-size:13px}.field small,.hint{color:#657c8b;font-size:12px;line-height:1.55}.field input,.field select,.field textarea,.search-input{border-color:#c8d7e0;border-radius:8px;color:#182c38;min-height:44px}.field input,.field select{margin-top:0}.field textarea{min-height:96px}.field input[type=checkbox]{min-height:18px;width:18px;accent-color:var(--action)}
.filters button{color:#526976;min-height:40px;border-radius:8px}.filters button.active{background:var(--soft);border-color:#8ec8e3;color:#006c94}.order-card{border-radius:9px;box-shadow:none;gap:16px}.order-card:hover{box-shadow:none;border-color:#72b7d8}.order-open{display:flex;align-items:center;gap:13px;text-align:left;background:none;border:0;padding:0;min-width:0;flex:1;color:inherit;min-height:78px}.order-open .grow{display:block}.thumb{background:#eef4f8;border-radius:8px}.card-top{align-items:flex-start;gap:12px}.item-title{color:#162d3a;line-height:1.5}.item-meta{line-height:1.5;color:#647d8a;overflow-wrap:anywhere}.tag{border-radius:6px;font-size:11px}.tag.work{background:#e4f2fc;color:#0a6794}.tag.inactive{color:#8e3841}.photo-pending{background:#f6f9fb;border:1px dashed #b8cdd9;border-radius:9px;min-height:84px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;margin-bottom:24px;color:#516d7e}.photo-pending span{font-size:12px}.intake-form .cols2,.intake-form .cols3{margin-bottom:10px}
.person{border-radius:8px;flex-wrap:wrap}.avatar{background:var(--soft);color:#006c94;border-radius:8px}.person .btngroup{margin-left:auto}.person p{margin-bottom:0}.check-label{display:flex;align-items:center;gap:9px;margin:12px 0 18px;line-height:1.5}.check-label input{width:18px;height:18px;accent-color:var(--action)}.edit-dialog{border:1px solid var(--line);border-radius:12px;padding:24px;width:540px;max-width:calc(100% - 24px);max-height:85vh;overflow:auto;color:#172c38}.edit-dialog::backdrop{background:#12293688}.edit-dialog h2{font-size:20px;margin:0 0 20px}.edit-dialog .between{align-items:flex-start}.edit-dialog form{margin:0}
.detail-grid{display:grid;grid-template-columns:130px minmax(0,1fr);gap:14px;margin:22px 0 24px}.detail-grid dt{color:#6a7d89}.detail-grid dd{margin:0;overflow-wrap:anywhere;font-weight:600}.history-list{list-style:none;padding:0;margin:0}.history-list li{padding:14px 0;border-bottom:1px solid #e7edf2}.history-list li:last-child{border:0}.history-list p{margin:7px 0;color:#526c7c;font-size:13px}.history-list small{color:#6e8491}.history-list strong{font-size:13px}.empty{color:#617b8a;line-height:1.6}.notice{color:#115b4a}.warning{line-height:1.6}.suggestions{margin-bottom:18px}
.login-wrap{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);place-items:center;padding:calc(24px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#f4f6f8}.login-card{width:min(440px,100%);min-width:0;margin-inline:auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:32px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.login-card>.logo-app{width:72px;margin:auto}.login-card>.logo-wordmark{width:100%;max-width:340px;margin:0 auto 12px}.login-card h1{font-size:23px;margin:0;color:var(--ink)}.login-card p{line-height:1.65;margin:0;color:#536b7b}.login-card .hint{font-size:12px}.login-card select{padding:12px;border:1px solid #c8d7e0;border-radius:8px;min-width:0;width:100%;background:white;color:#263f4d}.login-card .notice,.login-card .warning{margin:0}.mobile-nav{padding-top:6px}.mobile-nav button{font-size:12px;min-height:48px}.mobile-nav button.active{color:#006f99;background:var(--soft);border-radius:7px}
@media(max-width:920px){.sidebar{width:218px}.sidebar .logo-wordmark{width:178px}.top{padding:13px 16px}.environment-banner{padding:10px 16px}.main{padding-top:20px}}
@media(max-width:920px){.order-card{flex-wrap:wrap}.order-open{flex-basis:100%}.order-card>.btn{margin-left:auto}}
@media(max-width:720px){.sidebar{display:none}.top{flex-wrap:wrap;gap:10px}.top-right{width:100%;justify-content:space-between}.profile{text-align:left;max-width:60%}.brandmark .logo-app{width:38px}.top-title{font-size:17px}.main{padding:18px 12px 100px}.page-head h1{font-size:23px}.order-card{flex-wrap:wrap}.order-open{flex-basis:100%}.order-card>.btn{width:100%}.card-top{flex-wrap:wrap;gap:6px}.person .grow{flex-basis:60%}.person .btngroup{width:100%;justify-content:flex-end}.detail-grid{grid-template-columns:100px minmax(0,1fr);gap:12px}.cols3{grid-template-columns:1fr}.login-card{padding:24px}.edit-dialog{padding:18px}.environment-banner{font-size:11px}.top-subtitle{display:none}}
.line-list{list-style:none;padding:0;margin:0}.line-list li{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.line-list li:last-child{border:0}.line-list .grow{min-width:0}.line-list strong{overflow-wrap:anywhere}.line-list p{font-size:13px;margin:8px 0;color:#526c7c}.line-list small{color:#647c8a;font-size:11px}.order-total{font-size:23px;color:#006c94}.earning-snapshot{padding:18px;background:#edf8f4;border-radius:8px;color:#205a4c}.earning-snapshot p{font-size:13px;line-height:1.6}.earning-snapshot small{font-size:12px}.catalog-picker{padding:12px 0}.catalog-results{max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:8px}.catalog-option{display:grid;gap:6px;width:100%;padding:12px;background:white;color:#233d4b;text-align:left;border:0;border-bottom:1px solid var(--line)}.catalog-option:hover{background:var(--soft)}.catalog-option span{font-size:12px}.catalog-picker input{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;margin-bottom:10px}.item-dialog .btngroup{margin:12px 0 18px}.history-items{margin-top:12px;color:#526c7c;font-size:13px;line-height:1.6}.history-items summary{cursor:pointer;color:#006c94}.history-items p{overflow-wrap:anywhere}
@media(max-width:720px){.line-list li{flex-wrap:wrap;gap:10px}.line-list .grow{flex-basis:100%}.line-list .btn{margin-left:auto}.panel>.between{flex-wrap:wrap;gap:10px}.filters{flex-wrap:wrap}.item-dialog .cols2{grid-template-columns:1fr}.item-dialog .between{gap:10px}.item-dialog h2{font-size:18px}}
.basket-fieldset{border:0;margin:0;padding:0;min-width:0}.service-picker .catalog-container{gap:20px}.service-picker .catalog-container>div{min-width:0}.service-picker .catalog-list{max-height:420px;border-color:var(--line);border-radius:8px}.service-picker .catalog-row{padding:14px 12px;gap:12px}.catalog-row .btn{flex-shrink:0}.service-picker .catalog-title{font-size:13px;line-height:1.45;color:#213b49}.service-picker .catalog-info{color:#5f7684;line-height:1.5}.service-picker .catalog-price{color:#006c94}.service-picker .basket{background:#fafcfd;border-color:var(--line);border-radius:8px;padding:16px}.basket h3{font-size:14px;margin:0}.basket-list>.empty{padding:16px 0;font-size:13px}.basket .basket-row{padding:16px 0}.basket-row>.between{align-items:flex-start;gap:10px}.basket .basket-meta{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)}.basket-meta .field{margin:0}.basket-meta .field label{font-size:11px;gap:4px}.basket-meta .field input{padding:8px;min-height:40px}.basket-meta strong{overflow-wrap:anywhere}.basket-options{font-size:11px;margin:10px 0;color:#536e7d}.basket-options summary{cursor:pointer;padding:6px 0;color:#006c94}.basket-options .cols2{margin-top:8px}.basket .manual-position .field{margin-bottom:12px}.manual-position>.btn{font-size:13px}.service-picker .summary .sum{color:#006c94;font-size:23px;overflow-wrap:anywhere}.service-picker .summary .box{background:#e8f5fc;border-radius:8px}.basket-form> .field{margin-top:20px}.basket-form .form-foot{margin-top:20px}.service-picker .filters{gap:6px}.service-picker .filters button{padding:8px 10px;font-size:12px}.service-picker .summary>.between{font-size:13px}.basket-fieldset:disabled{opacity:.7}
@media(max-width:720px){.service-picker .basket{padding:12px}.service-picker .catalog-row{padding:12px 10px;gap:8px}.service-picker .catalog-row .btn{font-size:11px;padding:8px;min-height:40px}.basket .summary .box{gap:10px}.basket .summary .sum{font-size:21px}.service-picker .catalog-list{max-height:300px}.service-picker .catalog-title{font-size:12px}.basket-row>.between{flex-wrap:nowrap}.basket .basket-meta{gap:6px}.basket-meta .money{font-size:11px}.basket-options .cols2{grid-template-columns:1fr 1fr}.basket .manual-position .cols2{grid-template-columns:1fr 1fr}}
.basket .basket-row{padding:10px 0}.basket-row .basket-options{margin:4px 0 0}.basket-row .basket-options summary{padding:4px 0}.basket-fieldset .basket-meta{margin-top:6px}.basket .between>.grow{min-width:0}.service-picker .basket h3{line-height:1.5}
.stage-controls summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#006c94;font-weight:600;gap:8px}.stage-controls summary::before{content:'▸'}.stage-controls details[open]>summary::before{content:'▾'}.stage-controls summary::-webkit-details-marker{display:none}.stage-controls form{padding:8px 0 16px}.stage-controls details+details{border-top:1px solid var(--line)}.stage-controls .btn.danger{background:#a92736;color:#fff}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.service-picker .catalog-tabs{margin-bottom:14px;gap:8px}.service-picker .catalog-tabs>button{flex:1;min-height:44px;font-size:15px}.service-picker .filters[hidden]{display:none}
.tag.order-status{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 9px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;flex-shrink:0}
.tag.order-status::before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:currentColor}
.tag.status-received{background:#eaf0f5;color:#455d70}.tag.status-diagnosis{background:#eeeafa;color:#59448c}.tag.status-approval{background:#fff1d6;color:#86520e}.tag.status-in_progress{background:#e2f3fb;color:#006b94}.tag.status-ready{background:#e5f4e9;color:#236139}.tag.status-issued{background:#e2f2f0;color:#28665f}.tag.status-cancelled{background:#f9e8e9;color:#963d47}
.orders-list .order-card{display:block;border-radius:10px;padding:18px}
.orders-list .order-open{display:block;width:100%;font:inherit;cursor:pointer}
.order-card-heading,.order-card-equipment,.order-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.order-card-heading{flex-wrap:wrap}.order-number{font-size:12px;color:#536b7b}.order-card-equipment{justify-content:flex-start;align-items:flex-start;margin-top:16px}.order-card-equipment .grow{min-width:0}.order-card-equipment .item-title{font-size:17px;margin-bottom:4px;overflow-wrap:anywhere}.order-card-equipment .item-meta{font-size:13px}
.order-card-bottom{border-top:1px solid #e7edf1;margin-top:16px;padding-top:14px}.order-card-bottom>span:first-child{min-width:0;overflow-wrap:anywhere}.order-price{font-size:18px}.order-open-label{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #b8cdd9;border-radius:8px;color:#006c94;font-size:13px;flex-shrink:0;box-sizing:border-box}.orders-list .order-card>.btn{margin-top:12px}.order-open:focus-visible{outline:3px solid #007da8;outline-offset:5px;border-radius:6px}
@media(max-width:480px){.orders-list .order-card{padding:14px}.order-card-equipment .thumb{width:64px;height:64px;flex-shrink:0}}
.quick-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:8px 0 24px}
.quick-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;min-width:0;min-height:144px;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.quick-choice:hover{border-color:#72b7d8}.quick-choice:focus-visible{outline:3px solid #007da8;outline-offset:3px}.quick-choice:disabled{opacity:.65;cursor:wait}
.quick-choice-icon{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;border-radius:12px;background:var(--soft);color:#007da8}.quick-choice-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.quick-choice-copy{min-width:0}.quick-choice-copy strong{display:block;font-size:19px;line-height:1.4}.quick-change{margin:0 0 20px}
@media(max-width:600px){.quick-choices{gap:12px}.quick-choice{padding:20px 12px;gap:12px}.quick-choice-copy strong{font-size:18px}}
.queue-search{display:flex;align-items:center;gap:12px;margin-bottom:16px}.queue-search .search-input{flex:1;min-width:0;margin:0}.queue-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px}.queue-tools .filters{margin:0;flex:1}.queue-mine{font:inherit;font-size:13px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#526976;cursor:pointer}.queue-mine.active,.queue-search .btn.active{background:var(--soft);border-color:#8ec8e3;color:#006c94}.queue-mine:focus-visible{outline:3px solid #007da8;outline-offset:2px}.order-state-labels{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}.order-urgent{display:inline-flex;align-items:center;font-size:11px;font-weight:700;line-height:1.5;padding:6px 9px;border:1px solid #e8b9b1;border-radius:6px;background:#fff0ec;color:#983c2c}.queue-sort-dialog{width:min(420px,calc(100vw - 32px));box-sizing:border-box}.queue-sort-dialog .btngroup{justify-content:flex-end}
.queue-page{overflow-anchor:none}
.order-save-state{font-size:12px;line-height:1.5;color:#586f7b;margin:0 0 16px}.order-save-state.dirty{color:#86520e}.order-summary-main{display:flex;align-items:flex-start;gap:16px}.order-summary-main>.grow{min-width:0}.order-summary-main .order-state-labels{justify-content:flex-start;gap:6px}.order-equipment-title{font-size:21px;line-height:1.35;margin:8px 0;overflow-wrap:anywhere}.order-executor{font-size:13px;line-height:1.5;color:#586f7b;margin:0;overflow-wrap:anywhere}
.order-summary-photo{display:block;flex:0 0 80px;min-width:80px;min-height:80px;width:80px;height:80px;border:0;padding:0;border-radius:10px;background:var(--soft);overflow:hidden}.order-summary-photo .thumb{width:80px;height:80px;border-radius:10px}.order-summary-photo:focus-visible{outline:3px solid #007da8;outline-offset:3px}.order-customer{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:16px 0 8px;overflow-wrap:anywhere}.order-customer strong{font-size:14px;line-height:1.5}.order-phone{display:inline-flex;align-items:center;min-height:44px;font-size:16px;color:#006c94;text-decoration:none;font-variant-numeric:tabular-nums}.order-phone:focus-visible{outline:3px solid #007da8;outline-offset:2px}.order-next-action{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 16px}.order-next-action:empty{display:none}.order-next-action>.btn{width:100%;min-height:48px}.order-next-action .hint{margin:0;flex-basis:100%}.order-fold>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:14px;font-weight:600;color:#516b7b;list-style:none}.order-fold>summary::-webkit-details-marker{display:none}.order-fold>summary::before{content:'›';font-size:22px;line-height:1}.order-fold[open]>summary::before{transform:rotate(90deg)}.order-fold>summary:focus-visible{outline:3px solid #007da8;outline-offset:2px}.order-fold-content{padding-top:12px}.order-summary>.order-fold{border-top:1px solid var(--line);margin-top:8px}.order-secondary-actions{padding:8px 0;gap:8px}
@media(max-width:380px){.order-summary-main{gap:12px}.order-equipment-title{font-size:18px}.order-summary-photo{flex-basis:64px;min-width:64px;min-height:64px;width:64px;height:64px}.order-summary-photo .thumb{width:64px;height:64px}}
.discard-dialog{width:min(440px,calc(100vw - 32px));box-sizing:border-box}.discard-dialog p{font-size:14px;line-height:1.6}.discard-dialog .btngroup{justify-content:flex-end;gap:12px;flex-wrap:wrap}.discard-dialog .btn{min-height:44px}
.order-summary button.order-summary-photo{cursor:pointer}
@media(min-width:721px){.order-next-action>.btn{width:auto;min-width:220px}.order-customer{flex-direction:row;align-items:center;gap:24px}}
.payment-fill-remaining{margin-top:8px;min-height:44px;max-width:100%;white-space:normal;font-size:13px;align-self:flex-start}
.employee-avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:14px;overflow:hidden;background:var(--soft);color:#006c94;font-size:15px;font-weight:700;line-height:1}
.employee-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.employee-avatar-large{width:112px;height:112px;border-radius:30px;font-size:32px}
.avatar-editor-picture{display:flex;justify-content:center;margin:24px 0}
.avatar-file-label{display:grid;gap:10px;font-size:14px;font-weight:600}.avatar-file-label input{max-width:100%;min-height:44px;font:inherit;font-size:14px}
.avatar-file-label input::file-selector-button{min-height:44px;margin-right:10px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:#006c94;font:inherit;cursor:pointer}
.avatar-editor .btngroup{gap:12px;margin-top:20px}.avatar-editor .btngroup .btn{min-height:44px}
