.an-workspace button,.an-drawer button{font-family:inherit;cursor:pointer}.an-toolbar button:not(.primary),.an-footer button,.an-bulk button,.an-filters button,.an-drawer button:not(.primary){border:1px solid #d2ddeb;border-radius:9px;padding:9px 12px;background:#fff;color:#1b3f67;font-weight:650}.an-workspace button:focus-visible,.an-drawer button:focus-visible{outline:3px solid #78a9ef;outline-offset:2px}.an-drawer button:hover,.an-toolbar button:hover,.an-footer button:hover{filter:brightness(.96)}
.an-workspace{--an-line:#dce5f1;color:#15304b}.an-toolbar,.an-tabs,.an-filters,.an-actions,.an-summary,.an-bulk{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.an-toolbar{justify-content:space-between;margin-bottom:18px}.an-toolbar h3{margin:0;font-size:24px}.an-toolbar p{margin:6px 0;color:#61748a}.an-summary{display:grid;grid-template-columns:repeat(5,1fr);margin-bottom:20px}.an-summary button{display:grid;gap:4px;text-align:left;background:#f5f8fc;border:1px solid var(--an-line);padding:15px;border-radius:15px;color:#37516a}.an-summary strong{font-size:25px;color:#154d92}.an-tabs{border-bottom:1px solid var(--an-line);padding-bottom:12px}.an-tabs button{background:#fff;border:1px solid var(--an-line);border-radius:10px;padding:10px 16px}.an-tabs button[aria-selected=true]{background:#164f94;color:#fff;border-color:#164f94}.an-filters{margin:16px 0}.an-filters input{flex:1;min-width:190px}.an-filters input,.an-filters select{padding:10px;border:1px solid var(--an-line);border-radius:10px;background:#fff}.an-bulk{background:#eff5ff;border:1px solid #cbdcf9;padding:12px;border-radius:12px;margin-bottom:15px}.an-bulk[hidden]{display:none}.an-card{display:grid;grid-template-columns:22px 118px 1fr;gap:16px;border:1px solid var(--an-line);border-radius:18px;padding:18px;background:white;margin-bottom:14px}.an-card>img{width:118px;height:102px;object-fit:cover;border-radius:12px}.an-card h4{font-size:17px;margin:5px 0}.an-kind{font-size:11px;font-weight:800;letter-spacing:.07em;color:#08776e}.an-price{font-size:18px;font-weight:750;color:#174b89;margin:6px 0}.an-meta{color:#61748a;font-size:12px;line-height:1.7}.an-status{display:inline-block;font-size:12px;border-radius:7px;padding:4px 8px;background:#eef4ff;color:#2457a0}.an-status[data-state=PAUSED],.an-status[data-state=ARCHIVED]{background:#f2f3f6;color:#586579}.an-promotion{color:#906009;margin-left:8px;font-size:12px}.an-metrics{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0;font-size:12px;color:#5b7085}.an-metrics b{color:#183c63}.an-task{background:#fff8e9;color:#7d591c;border:0;border-radius:8px;padding:7px 10px;font-size:12px;margin:0 6px 10px 0}.an-actions>button,.an-actions summary{border:1px solid var(--an-line);border-radius:9px;padding:9px 12px;background:#fff;font-size:12px;font-weight:700;color:#1b3f67;cursor:pointer}.an-actions>button:first-child{background:#eaf2ff;border-color:#cbdcf9}.an-actions details{position:relative}.an-actions details[open]>div{position:absolute;z-index:10;right:0;top:42px;width:205px;padding:6px;background:white;border:1px solid var(--an-line);border-radius:12px;box-shadow:0 12px 30px #16304b25}.an-actions details button{display:block;text-align:left;background:white;border:0;width:100%;padding:11px;border-radius:6px}.an-actions details button:hover{background:#f0f5fc}.an-danger{color:#b52644!important}.an-empty{text-align:center;padding:40px;background:#f5f8fc;border-radius:16px}.an-empty strong{font-size:19px;display:block}.an-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0}.an-compact .an-card{grid-template-columns:22px 65px 1fr;padding:12px}.an-compact .an-card>img{width:65px;height:65px}.an-compact .an-metrics{margin:8px 0}.an-overlay{position:fixed;inset:0;background:#10243b80;z-index:11000;display:flex;justify-content:flex-end}.an-drawer{width:min(720px,100%);height:100%;overflow:auto;background:white;padding:24px;box-shadow:-10px 0 40px #0002}.an-drawer header{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-24px;background:white;padding:12px 0;z-index:2;border-bottom:1px solid #e2e9f2;margin-bottom:18px}.an-drawer h2{font-size:22px;margin:0}.an-drawer label{display:grid;gap:6px;font-size:13px;font-weight:650;margin:10px 0}.an-drawer input,.an-drawer select,.an-drawer textarea{width:100%;padding:11px;border:1px solid #d2ddeb;border-radius:9px;box-sizing:border-box}.an-drawer textarea{min-height:95px}.an-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.an-drawer .an-save{position:sticky;bottom:-24px;background:white;padding:15px 0;border-top:1px solid #e2e9f2;display:flex;gap:10px}.an-error{color:#a92336;background:#fff1f3;border-radius:9px;padding:10px;white-space:pre-wrap}.an-error:empty{display:none}.an-activity{padding:14px;border:1px solid #dce5f1;border-radius:12px;margin-bottom:12px}.an-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.an-photo-grid img{width:100%;height:120px;object-fit:cover;border-radius:10px}.an-photo-grid button{font-size:12px;margin:5px 3px 0 0}.an-drawer button:disabled,.an-actions button:disabled{opacity:.55;cursor:wait}.an-note{background:#eff5ff;padding:12px;border-radius:10px;font-size:13px;line-height:1.6}.an-results{list-style:none;padding:0}.an-results li{padding:9px;border-bottom:1px solid #e1e7ef}
@media(max-width:850px){.an-summary{grid-template-columns:repeat(3,1fr)}.an-card{grid-template-columns:20px 90px 1fr;gap:10px;padding:12px}.an-card>img{width:90px;height:82px}.an-filters select{flex:1;min-width:130px}.an-toolbar h3{font-size:20px}}
@media(max-width:540px){.an-summary{grid-template-columns:repeat(2,1fr)}.an-summary button{padding:11px}.an-card,.an-compact .an-card{grid-template-columns:18px 70px 1fr}.an-card>img,.an-compact .an-card>img{width:70px;height:70px}.an-card h4{font-size:15px}.an-actions{margin-left:-80px;margin-top:14px;gap:6px}.an-actions>button,.an-actions summary{padding:10px 8px}.an-tabs{gap:6px}.an-tabs button{padding:9px;font-size:12px}.an-fields{grid-template-columns:1fr}.an-drawer{padding:16px}.an-drawer header{top:-16px}.an-photo-grid{grid-template-columns:repeat(2,1fr)}.an-filters input{width:100%;flex-basis:100%}.an-metrics{gap:8px}.an-toolbar .primary{width:100%}}
