
:root{--premium:#bca3ff;--panel:#1b1c26;--border:#373542}
.work-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}.work-tabs a{color:#e5dcff;text-decoration:none;background:#30283e;border:1px solid #544269;border-radius:12px;padding:12px 16px;font-weight:650}.work-tabs a:hover{background:#453457}
.sheet-field[hidden]{display:none!important}
/* New orders view: readable responsive cards and cleaner detail panel */
body:has(#ordersTable) .table-wrapper{overflow:visible!important;border:0!important;background:transparent!important}
body:has(#ordersTable) .table-wrapper table,body:has(#ordersTable) .table-wrapper tbody{display:block!important;width:100%!important;min-width:0!important}
body:has(#ordersTable) .table-wrapper thead{display:none!important}
body:has(#ordersTable) #ordersTable{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px}
body:has(#ordersTable) #ordersTable tr{display:grid!important;grid-template-columns:1fr 1fr;gap:8px 15px;align-content:start;background:#1c1d27!important;border:1px solid #393643!important;border-radius:18px!important;padding:18px!important;box-shadow:0 8px 30px #0002}
body:has(#ordersTable) #ordersTable td{display:block!important;text-align:left!important;min-width:0!important;overflow-wrap:anywhere;border:0!important;padding:0!important;font-size:13px}
body:has(#ordersTable) #ordersTable td::before{display:block!important;content:attr(data-label)!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.07em;color:#a5a0b3!important;margin-bottom:4px}
body:has(#ordersTable) #ordersTable td:nth-child(1),body:has(#ordersTable) #ordersTable td:nth-child(2),body:has(#ordersTable) #ordersTable td:last-child{grid-column:1/-1}
body:has(#ordersTable) #ordersTable td:nth-child(3),body:has(#ordersTable) #ordersTable td:nth-child(5){grid-column:1/-1}
body:has(#ordersTable) #ordersTable td:last-child button{min-height:42px;border-radius:10px}
body:has(#ordersTable) .drawer{background:#02030bc9!important;backdrop-filter:blur(5px)}
body:has(#ordersTable) .drawer-panel{width:min(740px,100%)!important;background:#14151d!important;border-left:1px solid #484052!important;padding:clamp(18px,3vw,36px)!important}
body:has(#ordersTable) .drawer-head{position:sticky;top:-36px;z-index:2;background:#14151df5;padding:12px 0 18px;border-bottom:1px solid #373542;margin-bottom:20px}
body:has(#ordersTable) .drawer-panel .detail-grid>div,body:has(#ordersTable) .drawer-panel .detail-card{border-radius:14px!important;background:#20212b!important;border:1px solid #383743!important}
@media(max-width:700px){body:has(#ordersTable) #ordersTable{grid-template-columns:1fr!important}body:has(#ordersTable) .drawer-panel{width:100%!important;height:100dvh!important}body:has(#ordersTable) .toolbar{display:grid!important;grid-template-columns:1fr 1fr!important}body:has(#ordersTable) .toolbar input:first-child{grid-column:1/-1}}
