.order-team-page{color:#172442;padding:4px 0 32px}.team-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.team-head h1{font-size:32px;line-height:1.15;margin:8px 0}.team-head p{color:#597297;margin:0}.team-tabs{display:flex;gap:8px;margin-bottom:18px}.team-tabs button{border:1px solid #b8d3f1;background:#e6f1ff99;color:#3b5c88;border-radius:14px;padding:11px 16px;cursor:pointer}.team-tabs button.is-active{color:#075df3;background:#f5faff;border-color:#7eaefb;font-weight:700}.team-tabs b{font-size:12px;margin-left:5px}.team-content{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:18px;align-items:start}.team-list,.team-card,.team-empty{border:1px solid #ffffffae;border-radius:23px;background:#eaf3ffad;box-shadow:0 8px 25px #3e77b91b}.team-list{padding:16px}.team-list-head,.team-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.team-list .button,.team-card .button,.team-head .button{min-height:38px}.team-search{display:grid;gap:5px;margin:16px 0;color:#536d90;font-size:12px}.team-search input,.team-card input:not([type=checkbox]):not([type=color]):not([type=file]),.team-card select,.team-card textarea{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #bad2ef;border-radius:12px;background:#edf6ff;color:#142441;padding:10px 12px;font:inherit;outline:none}.team-card textarea{resize:vertical}.team-search input:focus,.team-card input:focus,.team-card select:focus,.team-card textarea:focus{border-color:#3779f8;box-shadow:0 0 0 3px #4b8aff30}.team-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:0;border-radius:14px;background:transparent;color:#1b2d4c;cursor:pointer}.team-row:hover,.team-row.selected{background:#d5e8ff}.team-row>span:nth-child(2){flex:1;min-width:0}.team-row strong,.team-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-row small{color:#6980a2;margin-top:3px}.team-avatar,.team-role-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:var(--avatar-color,#d0e2fd);color:#fff;font-weight:700;overflow:hidden}.team-avatar img{width:100%;height:100%;object-fit:cover}.team-avatar-large{width:66px;height:66px;font-size:22px;border-radius:19px}.team-role-icon{background:#d7e8ff;color:#236af2}.team-role-icon svg{width:23px}.team-card{padding:22px}.team-card-title{display:flex;align-items:center;gap:14px}.team-card h2{font-size:23px;margin:6px 0 18px}.team-upload-row,.team-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.team-upload-row label{cursor:pointer}.team-fields,.team-about,.team-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.team-card label:not(.team-switch):not(.team-check):not(.button){display:grid;gap:7px;color:#516b8e;font-size:12px}.team-card input[readonly]{opacity:.7}.team-card input[type=color]{width:100%;height:42px;padding:3px;border:1px solid #bad2ef;border-radius:12px;background:#edf6ff}.team-gallery{margin:20px 0}.team-gallery-items{display:flex;flex-wrap:wrap;gap:10px;margin-top:11px}.team-gallery-items>div{position:relative;width:76px;height:76px}.team-gallery-items img{width:100%;height:100%;object-fit:cover;border-radius:12px}.team-gallery-items button{position:absolute;top:2px;right:2px;border:0;border-radius:50%;background:#172442d9;color:white;width:22px;height:22px;cursor:pointer}.team-check{display:flex;gap:8px;align-items:center}.team-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #c4dbf4;border-radius:13px;padding:12px;font-size:13px}.team-switch input{width:18px;height:18px;accent-color:#176afa}.team-empty{padding:32px;color:#60799b}.team-error{color:#b12642;background:#fff1f4;border-radius:11px;padding:11px}.team-invite{display:grid;grid-template-columns:1fr auto;gap:9px;padding:14px;border:1px solid #abd0ff;border-radius:14px;margin:16px 0}.team-invite strong{grid-column:1/-1}.team-no-results{color:#6d83a1;padding:10px}@media(max-width:850px){.team-content{grid-template-columns:1fr}.team-fields,.team-about,.team-permissions{grid-template-columns:1fr}}@media(max-width:550px){.team-head{align-items:flex-start}.team-head h1{font-size:27px}.team-refresh{font-size:12px}.team-card{padding:16px}.team-tabs button{padding:10px}}

.order-team-page .team-list.glass-painted,.order-team-page .team-card.glass-painted,.order-team-page .team-empty.glass-painted,.order-team-page .team-tabs button.glass-painted{background:transparent;border-color:#f0faff85;box-shadow:0 14px 34px #2860ae24,inset 0 1px #ffffffc9}
.order-team-page .team-list,.order-team-page .team-card,.order-team-page .team-empty{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.team-archive-filter{display:flex;gap:5px;padding:4px;margin:0 0 12px;border:1px solid #b9d3f085;border-radius:13px;background:#d9eafa54}
.team-archive-filter button{flex:1;min-height:34px;border:0;border-radius:9px;background:transparent;color:#52709a;cursor:pointer;font-size:12px}
.team-archive-filter button.is-active{background:#ffffff9c;color:#1758ca;box-shadow:0 2px 9px #3972be24;font-weight:700}
.team-extra{margin:20px 0;padding:18px;border:1px solid #c0d9f299;border-radius:18px;background:#e4f1ff47}
.team-extra h3{margin:4px 0 10px;font-size:14px;color:#173256}
.team-extra-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 9px;font-size:13px}
.team-extra-rows{display:grid;gap:8px}
.team-extra-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) 34px;gap:8px;align-items:center}
.team-extra-row>button{height:34px;border:1px solid #c7d9ef;border-radius:10px;background:#eef6ff;color:#b63448;cursor:pointer}
.team-danger{color:#a42a43!important;border:1px solid #dc9fac;background:#fff2f4a8}
.team-danger:hover{background:#ffe5e9}
.team-card input:disabled,.team-card select:disabled,.team-card textarea:disabled{opacity:.65}
@media(max-width:550px){.team-extra{padding:12px}.team-extra-row{grid-template-columns:1fr 1fr 30px;gap:4px}.team-extra-row input{min-width:0}}

.order-team-page .team-search input,.order-team-page .team-card input:not([type=checkbox]):not([type=file]),.order-team-page .team-card select,.order-team-page .team-card textarea{background:linear-gradient(135deg,#ffffff38,#dcecff22);border:1px solid #f8fcff9e;box-shadow:inset 0 1px #ffffffb8,0 6px 20px #3673ae15;backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);color:#172442}
.order-team-page .team-card select{appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233b608d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),linear-gradient(135deg,#ffffff38,#dcecff22);background-repeat:no-repeat;background-position:right 12px center,center;background-size:18px,auto;text-align:left}
.order-team-page .team-tabs button,.order-team-page .team-archive-filter,.order-team-page .team-archive-filter button.is-active,.order-team-page .team-extra,.order-team-page .team-extra-row>button,.order-team-page .team-switch,.order-team-page .team-invite{background:linear-gradient(135deg,#ffffff4f,#deefff35);border-color:#f7fcff99;box-shadow:inset 0 1px #ffffffba,0 5px 18px #2c67af18;backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}
.order-team-page .team-tabs button.is-active,.order-team-page .team-archive-filter button.is-active{background:linear-gradient(135deg,#ffffffa1,#ddecff73);color:#135acf}
.order-team-page .team-card input:focus,.order-team-page .team-card select:focus,.order-team-page .team-card textarea:focus,.order-team-page .team-search input:focus{border-color:#6da3ff;box-shadow:inset 0 1px #fff,0 0 0 3px #317eff36}

/* Operations UX: calm glass, legible teams, responsive list/detail navigation. */
.order-team-page{--team-accent:#1764ef;gap:18px;min-width:0}
.order-team-page .team-head{margin-bottom:14px;align-items:center}
.order-team-page .team-head h1{font-size:clamp(26px,2.7vw,34px);letter-spacing:-.025em}
.order-team-page .team-head .eyebrow{display:none}
.order-team-page .team-head .team-refresh{width:42px;height:42px;padding:0;display:grid;place-items:center}
.order-team-page .team-refresh>span{display:none}
.order-team-page .team-content{grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:20px}
.order-team-page .team-list,.order-team-page .team-card,.order-team-page .team-empty,.order-team-page .team-list.glass-painted,.order-team-page .team-card.glass-painted,.order-team-page .team-empty.glass-painted{background:linear-gradient(135deg,rgba(245,250,255,.88),rgba(222,236,252,.84))!important;border:1px solid rgba(255,255,255,.88);box-shadow:0 8px 28px rgba(42,79,129,.07),inset 0 1px rgba(255,255,255,.9);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:20px;min-width:0}
.order-team-page .team-list>canvas,.order-team-page .team-card>canvas,.order-team-page .team-empty>canvas{display:none!important}
.order-team-page .team-list{padding:16px;position:sticky;top:16px}
.order-team-page .team-rows{max-height:min(65vh,700px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain;padding:2px}
.order-team-page .team-row{min-height:68px;padding:11px 10px;gap:12px;transition:background .15s ease;align-items:center}
.order-team-page .team-row strong{font-size:13px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.order-team-page .team-row small{font-size:12px;line-height:1.4}
.order-team-page .team-row.selected{background:rgba(23,100,239,.10);box-shadow:inset 3px 0 #1764ef}
.order-team-page .team-row:hover{background:rgba(23,100,239,.065)}
.order-team-page .team-row:focus-visible,.order-team-page .team-tabs button:focus-visible{outline:2px solid #1764ef;outline-offset:2px}
.order-team-page .team-avatar{width:42px;height:42px;border-radius:14px;font-size:14px;letter-spacing:.02em;background:var(--avatar-color,#1764ef)}
.order-team-page .team-avatar-large{width:60px;height:60px;font-size:21px}
.order-team-page .team-tabs{gap:6px;flex-wrap:wrap;margin-bottom:18px}
.order-team-page .team-tabs button,.order-team-page .team-tabs button.glass-painted{min-height:42px;background:rgba(238,246,255,.82)!important;color:#385370;border:1px solid rgba(112,145,186,.2);box-shadow:none;padding:10px 15px;border-radius:12px}
.order-team-page .team-tabs button.is-active,.order-team-page .team-tabs button.is-active.glass-painted{background:#1764ef!important;color:white;border-color:#1764ef}
.order-team-page .team-tabs button>canvas{display:none!important}
.order-team-page .team-search input,.order-team-page .team-card input:not([type=checkbox]):not([type=file]):not([type=color]),.order-team-page .team-card select,.order-team-page .team-card textarea{min-height:44px;background:rgba(247,251,255,.78);border:1px solid rgba(102,133,174,.25);box-shadow:inset 0 1px 2px rgba(29,72,126,.025);font-size:14px;color:#20324c}
.order-team-page .team-card{padding:22px}
.order-team-page .team-card h2{font-size:22px;line-height:1.25;overflow-wrap:anywhere}
.order-team-page .team-card-title{align-items:center}
.order-team-page .team-card-title h2{margin:4px 0}
.order-team-page .team-fields{gap:16px}
.order-team-page .team-actions{border-top:1px solid rgba(100,133,178,.18);padding-top:18px;margin-bottom:0}
.order-team-page .team-actions .button{min-height:44px}
.order-team-page .button.primary{background:#1764ef!important;color:#fff!important;border-color:#1764ef!important;box-shadow:0 4px 12px rgba(23,100,239,.16)}
.order-team-page .team-selection-empty{min-height:300px;padding:40px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px}
.order-team-page .team-selection-empty h2{margin:0;font-size:22px;color:#20324c}
.order-team-page .team-selection-empty p{margin:0;max-width:330px;line-height:1.6;font-size:14px}
.order-team-page .team-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:rgba(23,100,239,.08);color:#1764ef}
.order-team-page .team-empty-icon svg{width:26px;height:26px}
.order-team-page .team-mobile-back{display:none}
@media(max-width:950px){.order-team-page .team-content{grid-template-columns:minmax(220px,290px) minmax(0,1fr)}.order-team-page .team-fields,.order-team-page .team-about{grid-template-columns:1fr}.order-team-page .team-card{padding:18px}}
@media(max-width:720px){.order-team-page .team-content{grid-template-columns:minmax(0,1fr)}.order-team-page .team-list{position:static}.order-team-page .team-rows{max-height:none}.order-team-page .team-card-wrap{display:none}.order-team-page.team-detail-open .team-list{display:none}.order-team-page.team-detail-open .team-card-wrap{display:block}.order-team-page .team-mobile-back{display:inline-flex;margin-bottom:18px;min-height:44px}.order-team-page .team-head{align-items:center}.order-team-page .team-card{padding:16px}.order-team-page .team-tabs button{flex:1;justify-content:center;min-width:120px}.order-team-page .team-actions .button{flex:1;justify-content:center}.order-team-page .team-fields,.order-team-page .team-permissions{grid-template-columns:1fr}}
.order-team-page .team-content>.team-empty{grid-column:1/-1}
.order-team-page [hidden]{display:none!important}
