.pkg-page{min-width:0}.pkg-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.pkg-toolbar-search{display:flex;gap:8px;flex:1}.pkg-toolbar-search input{width:min(390px,100%)}.pkg-state-filter{width:130px}.pkg-name{display:flex;align-items:center;gap:10px}.pkg-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:#eef4ff;color:#2f7df4;font-weight:800}.pkg-price strong,.pkg-price small,.pkg-scope strong,.pkg-scope small{display:block}.pkg-table-actions{display:flex;gap:7px;white-space:nowrap}.pkg-editor-head{padding:16px 18px;border:1px solid var(--cc-line);border-radius:12px;background:var(--card,#fff);margin-bottom:18px}.pkg-editor-title{display:flex;align-items:center;gap:12px}.pkg-editor-title h2{margin:3px 0 0}.pkg-editor-title .btn{margin-right:2px}.pkg-editor-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}.pkg-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.pkg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pkg-form-grid label,.pkg-field{display:flex;flex-direction:column;gap:7px;color:var(--muted,#7c879b);font-size:12px}.pkg-form-grid .pkg-wide{grid-column:1/-1}.pkg-form-grid textarea{min-height:42px;resize:vertical;border:1px solid var(--cc-line);border-radius:6px;padding:9px 10px;font:inherit;color:inherit;background:var(--card,#fff)}.pkg-image-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.pkg-image-row img{width:54px;height:54px;object-fit:cover;border-radius:8px}.pkg-card-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.pkg-card-options.three{grid-template-columns:repeat(3,minmax(0,1fr))}.pkg-card-option{display:flex;align-items:flex-start;gap:9px;padding:13px;border:1px solid var(--cc-line);border-radius:9px;background:var(--card,#fff);text-align:left;color:inherit}.pkg-card-option.active{border-color:#79aaf0;background:#f1f7ff;box-shadow:0 0 0 2px #2f7df410}.pkg-card-option strong,.pkg-card-option small{display:block}.pkg-card-option small{margin-top:4px}.pkg-agent-select{min-width:0}.pkg-scope-help{margin-top:12px;padding:11px 13px;border:1px solid #cfe0f5;border-radius:8px;background:#f3f8ff;color:#52708f;font-size:12px}.pkg-lines-table td:first-child strong,.pkg-lines-table td:first-child small{display:block}.pkg-line-summary{max-width:380px;white-space:normal}.pkg-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:14px;margin-top:16px}.pkg-price-grid label{display:flex;flex-direction:column;gap:7px;color:var(--muted,#7c879b);font-size:12px}.pkg-price-grid .pkg-money{display:flex;align-items:center;border:1px solid var(--cc-line);border-radius:6px;overflow:hidden}.pkg-money span{align-self:stretch;display:grid;place-items:center;width:34px;border-right:1px solid var(--cc-line);background:#f8fafc}.pkg-money input{border:0!important;width:100%}.pkg-editor-footer{position:sticky;bottom:0;z-index:5}.pkg-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid var(--cc-line);border-radius:15px;background:var(--card,#fff);color:inherit;box-shadow:0 22px 70px #17203330}.pkg-dialog::backdrop{background:#17203370}.pkg-dialog header{display:flex;align-items:flex-start;gap:12px;padding:22px;border-bottom:1px solid var(--cc-line)}.pkg-dialog header h3{margin-top:5px}.pkg-dialog-body{padding:20px;overflow:auto;max-height:calc(100vh - 190px)}.pkg-dialog-body>*+*{margin-top:18px}.pkg-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--cc-line)}.pkg-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:260px;overflow:auto}.pkg-product-grid label{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:8px;padding:10px;border:1px solid var(--cc-line);border-radius:8px}.pkg-product-grid label:has(input:checked){background:#f1f7ff;border-color:#79aaf0}.pkg-product-grid strong,.pkg-product-grid small{display:block}.pkg-warning{color:#a66b17;background:#fff8eb;border:1px solid #efd5a8;border-radius:7px;padding:10px}.pkg-validation{display:grid;gap:6px;margin:0;padding-left:18px;color:#cc596a}.pkg-status{display:inline-flex;padding:3px 7px;border-radius:5px;background:#fff4df;color:#a66b17;font-size:11px}.pkg-status.ACTIVE{background:#effaf5;color:#1a956c}.pkg-status.VALIDATED{background:#eef4ff;color:#2f7df4}.pkg-empty{padding:50px 20px;text-align:center;color:var(--muted,#7c879b)}
@media(max-width:900px){.pkg-editor-head{align-items:flex-start;flex-direction:column}.pkg-editor-actions{margin-left:0}.pkg-form-grid,.pkg-card-options,.pkg-card-options.three,.pkg-product-grid,.pkg-price-grid{grid-template-columns:1fr}.pkg-toolbar{align-items:stretch;flex-direction:column}.pkg-toolbar-search{flex-wrap:wrap}}
[data-theme=dark] .pkg-card-option.active,[data-theme=dark] .pkg-scope-help,[data-theme=dark] .pkg-product-grid label:has(input:checked){background:#172b49}
.pkg-money input{flex:1;min-width:0}.pkg-money select{width:92px!important;flex:none;border:0!important;border-left:1px solid var(--cc-line)!important;border-radius:0!important;padding:9px 5px!important}
.pkg-page .pkg-money input{flex:1 1 0%;width:0;min-width:0}
.pkg-page .pkg-money>.select-control{flex:0 0 76px;width:76px;min-width:76px}
.pkg-page .pkg-money .select-trigger{height:100%;min-height:40px;border:0;border-left:1px solid var(--cc-line);border-radius:0;padding-left:8px;padding-right:22px}
.pkg-page .pkg-money .select-trigger::after{right:8px}
.pkg-page .pkg-money .select-trigger-text{width:auto;padding:0;border:0;background:transparent}
.pkg-page .pkg-money select{width:76px!important}
.pkg-price-mode{max-width:300px;margin-top:16px}
.pkg-toolbar-search{align-items:center;max-width:600px}.pkg-toolbar-search input{flex:1 1 360px;width:auto;max-width:420px}.pkg-state-filter{flex:0 0 150px;width:150px}.pkg-list-table{table-layout:fixed;min-width:1100px}.pkg-col-name{width:26%}.pkg-col-count{width:7%}.pkg-col-scope{width:14%}.pkg-col-price{width:18%}.pkg-col-state{width:8%}.pkg-col-time{width:13%}.pkg-col-actions{width:14%}.pkg-list-name{width:100%;min-width:0;text-align:left}.pkg-list-name>span:last-child{min-width:0}.pkg-list-name strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.45}.pkg-list-name small,.pkg-scope small,.pkg-price small{margin-top:4px;color:var(--muted,#7c879b);line-height:1.45}.pkg-updated-at{white-space:nowrap}.pkg-basic-grid{grid-template-columns:minmax(260px,2fr) minmax(220px,1fr);align-items:start}.pkg-page input:not(:disabled),.pkg-page select:not(:disabled),.pkg-dialog input:not(:disabled),.pkg-dialog select:not(:disabled){color:var(--ink)}.pkg-page input::placeholder,.pkg-dialog input::placeholder{color:var(--muted,#7c879b);opacity:.72}.pkg-page input:disabled{color:var(--muted,#7c879b);background:var(--cc-soft,#f7f9fc)}.pkg-field-help{display:block;margin-top:0;color:var(--muted,#7c879b);font-size:12px;line-height:1.55}.pkg-lines-table{table-layout:fixed;min-width:760px}.pkg-line-name-col{width:17%}.pkg-line-count-col{width:9%}.pkg-line-required-col{width:11%}.pkg-line-actions-col{width:15%}.pkg-line-summary{max-width:none;vertical-align:top}.pkg-line-summary-text{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:3.1em;line-height:1.55;overflow-wrap:anywhere;text-overflow:ellipsis}.pkg-price-layout{display:grid;grid-template-columns:repeat(3,minmax(200px,1fr));gap:14px;align-items:end;margin-top:16px}.pkg-price-layout>label{display:flex;min-width:0;flex-direction:column;gap:7px;color:var(--muted,#7c879b);font-size:12px}.pkg-price-layout .pkg-price-mode{max-width:none;margin-top:0}.pkg-price-layout .pkg-money{display:flex;align-items:stretch;width:100%;min-width:0;min-height:40px;border:1px solid var(--cc-line);border-radius:6px;overflow:hidden;background:var(--card,#fff)}.pkg-price-layout .pkg-money input{width:auto;min-width:0;flex:1 1 auto;border:0!important;border-radius:0}.pkg-price-layout .pkg-money>.select-control{align-self:stretch}
.pkg-list-version-status{display:grid;justify-items:start;gap:5px}.pkg-list-version-status small{color:var(--muted,#7c879b);font-size:11px;white-space:nowrap}
@media(max-width:1100px){.pkg-price-layout{grid-template-columns:repeat(2,minmax(180px,1fr))}}
@media(max-width:900px){.pkg-basic-grid,.pkg-price-layout{grid-template-columns:1fr}.pkg-toolbar-search input{max-width:none}.pkg-state-filter{flex:1 1 150px}}
