.gc-workspace{--gc-primary:var(--primary,#3214dc);color:var(--text,#24233c);display:grid;gap:18px;direction:rtl;min-width:0}
.gc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.gc-heading h2{margin:0 0 6px;font-size:22px}.gc-heading p{margin:0;color:var(--muted,#738096);font-size:12px;line-height:1.9}.gc-heading-icon{padding:12px;border-radius:16px;background:#eeebff;color:#5438c7}.gc-workspace svg{width:26px;height:26px;display:block}
.gc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.gc-stat{background:var(--card,#fff);border:1px solid var(--line,#e3e7f0);border-radius:16px;padding:16px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 4px 16px #28346104}.gc-stat>span{padding:9px;border-radius:12px;background:#eeebff;color:#5438c7}.gc-stat-held>span{background:#fff2dc;color:#ad6509}.gc-stat-delivered>span{background:#e3f6ec;color:#228353}.gc-stat-overdue>span{background:#fcecee;color:#bb4557}.gc-stat strong{display:block;font-size:27px;line-height:1.6}.gc-stat small{display:block;font-size:11px;color:var(--muted,#738096);line-height:1.8}
.gc-card{background:var(--card,#fff);border:1px solid var(--line,#e3e7f0);border-radius:16px;padding:18px;box-shadow:0 4px 16px #28346104;min-width:0}.gc-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.gc-toolbar label{display:grid;gap:6px;font-size:11px;color:var(--muted,#738096);min-width:150px}.gc-toolbar .gc-search{flex:1;min-width:220px}.gc-workspace input,.gc-workspace select{box-sizing:border-box;width:100%;height:42px;border:1px solid var(--line,#dfe3ee);border-radius:9px;background:var(--card,#fff);color:inherit;padding:8px 12px;font:inherit}.gc-workspace button,.gc-workspace .gc-print{border:1px solid var(--line,#dfe3ee);border-radius:9px;background:var(--card,#fff);color:inherit;padding:9px 12px;font:inherit;font-size:11px;cursor:pointer;min-height:36px}.gc-workspace button:focus-visible,.gc-workspace input:focus-visible,.gc-workspace select:focus-visible{outline:2px solid var(--gc-primary);outline-offset:2px}.gc-workspace button:disabled{opacity:.45;cursor:not-allowed}.gc-toolbar>[data-refresh]{height:42px;background:#eeebff;color:#5438c7;border-color:transparent}
.gc-categories{display:flex;gap:8px;flex-wrap:wrap;padding:14px 0}.gc-categories button[aria-pressed=true]{background:var(--gc-primary);color:white;border-color:transparent}.gc-categories span{padding:0 5px;opacity:.8}.gc-table-wrap{overflow:auto;border:1px solid var(--line,#e3e7f0);border-radius:12px}.gc-table{width:100%;min-width:850px;border-collapse:collapse;text-align:right;font-size:12px}.gc-table th{background:var(--bg,#f7f8fc);font-size:11px;color:var(--muted,#738096);white-space:nowrap}.gc-table th,.gc-table td{padding:12px;border-bottom:1px solid var(--line,#e3e7f0);vertical-align:middle}.gc-table th button{border:0;background:transparent;padding:0;min-height:30px}.gc-table td:first-child{max-width:250px;overflow-wrap:anywhere}.gc-table tbody tr:nth-child(even){background:#8089b005}.gc-table tbody tr:hover{background:#8089b010}.gc-table tr:last-child td{border-bottom:0}.gc-table small{display:block;color:var(--muted,#738096);font-size:10px;margin-top:5px}.gc-actions{display:flex;gap:6px;flex-wrap:wrap}.gc-workspace .gc-primary{background:var(--gc-primary);color:#fff;border-color:transparent}.gc-status{display:inline-flex;padding:5px 9px;border-radius:7px;font-size:11px;white-space:nowrap}.gc-held{background:#fff0d7;color:#925800}.gc-delivered{background:#e4f5eb;color:#19734c}
.gc-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px;font-size:12px}.gc-workspace [hidden]{display:none!important}.gc-empty-state{text-align:center;padding:28px 16px}.gc-empty-state svg{margin:auto;color:#8a85ac;width:38px;height:38px}.gc-empty-state h3{font-size:15px}.gc-empty-state p{font-size:12px;color:var(--muted,#738096)}.gc-loading{padding:20px;color:var(--muted,#738096);font-size:12px}.gc-loading i{display:block;height:38px;background:linear-gradient(90deg,#f2f3f8,#e7eaf3,#f2f3f8);background-size:200% 100%;border-radius:8px;margin-top:12px;animation:gc-pulse 1.6s infinite}.gc-workspace [data-error]{color:#ad3146;font-size:12px;background:#fff0f1;padding:12px;border-radius:8px}
.gc-drawer{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;width:min(460px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border:0;border-radius:16px 0 0 16px;padding:24px;background:var(--card,#fff);color:var(--text,#24233c);overflow-y:auto;box-shadow:-10px 0 40px #18223818;direction:rtl}.gc-drawer::backdrop{background:#18223860}.gc-drawer header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.gc-drawer h2{margin:4px 0;font-size:20px}.gc-drawer header small{color:var(--muted,#738096)}.gc-drawer dl{margin:20px 0}.gc-drawer dl>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:12px;border-bottom:1px solid var(--line,#e3e7f0);padding:12px 0;font-size:12px}.gc-drawer dt{color:var(--muted,#738096)}.gc-drawer dd{margin:0;overflow-wrap:anywhere}.gc-drawer footer{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line,#e3e7f0);padding-top:18px}.gc-hint{padding:12px;background:#fff3df;color:#925800;border-radius:10px;font-size:12px;line-height:1.9}
@keyframes gc-pulse{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.gc-loading i{animation:none}}
@media(max-width:1100px){.gc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gc-toolbar .gc-search{flex-basis:100%}}@media(max-width:600px){.gc-heading h2{font-size:18px}.gc-heading-icon{display:none}.gc-stats{gap:8px}.gc-stat{padding:12px;gap:8px}.gc-stat>span{display:none}.gc-stat strong{font-size:24px}.gc-card{padding:12px}.gc-toolbar label{min-width:0;flex:1}.gc-toolbar .gc-search{min-width:0}.gc-drawer{padding:18px;border-radius:0}}
