/* Screen-only workspace controls; printed invoices retain their existing theme. */
@media screen {
 #hy-active-context {display:flex;align-items:center;justify-content:space-between;gap:12px;background:#102441;color:#fff;padding:10px 24px;position:relative;z-index:1;}
 #hy-active-context button {display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;text-align:right;background:transparent;border:0;color:inherit;font:inherit;cursor:pointer;min-height:44px;}
 #hy-active-context small {color:#c2d6f4;font-size:11px;}
 #hy-active-context>span {font-size:11px;color:#c2d6f4;white-space:nowrap;}
 .sidebar .workspace button {font:inherit;text-align:right;color:#eef5ff;background:transparent;border:0;cursor:pointer;min-height:44px;width:100%;overflow-wrap:anywhere;}
 .sidebar .workspace small {display:block;color:#c2d6f4;margin-top:6px;}
 #hy-workspaces {padding:0;width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;border:1px solid #abbdd4;border-radius:16px;color:#192f4d;background:#f7f9fc;box-shadow:0 24px 80px #071b4140;}
 #hy-workspaces::backdrop {background:#07172e99;}
 #hy-workspaces header {display:flex;justify-content:space-between;align-items:center;padding:18px 22px;background:#102441;color:white;}
 #hy-workspaces header h2 {margin:0;font-size:20px;} #hy-workspaces header p {color:#c2d6f4;margin-bottom:0;}
 #hy-workspaces header button {background:none;border:1px solid #7791b5;color:white;width:44px;height:44px;border-radius:10px;font-size:26px;cursor:pointer;}
 .hy-ws-body {padding:20px;} .hy-ws-body p {line-height:1.9;}
 .hy-ws-toolbar {display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:16px 0;}
 #hy-workspaces label {display:flex;flex-direction:column;gap:8px;font-size:13px;}
 #hy-workspaces input,#hy-workspaces select {min-height:44px;border:1px solid #8fa5c2;border-radius:8px;padding:8px 10px;background:white;color:#172f51;font:inherit;max-width:100%;}
 #hy-workspaces :focus-visible,#hy-active-context :focus-visible {outline:3px solid #68a9ff;outline-offset:3px;}
 .hy-ws-table {overflow:auto;border:1px solid #c9d4e3;border-radius:10px;}
 #hy-workspaces table {min-width:800px;width:100%;} #hy-workspaces th {background:#e8eef7;color:#17345b;} #hy-workspaces td,#hy-workspaces th {padding:12px;}
 .hy-ws-row-actions {display:flex;gap:6px;white-space:nowrap;}
 .hy-ws-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
 .hy-ws-error {color:#9f202d;font-weight:600;} #hy-workspaces button:disabled {opacity:.5;cursor:not-allowed;}
 @media(max-width:600px) {#hy-active-context{padding:8px 12px;}#hy-active-context>span{display:none;}#hy-active-context button{display:grid;gap:4px;font-size:12px;}#hy-workspaces header{padding:14px;} .hy-ws-body{padding:12px;}.hy-ws-fields{grid-template-columns:1fr;}.hy-ws-toolbar>label{width:100%;}#hy-workspaces .btn{min-height:44px;}}
}
@media print {#hy-active-context,#hy-workspaces {display:none!important;}}
