.hc-page{color:#182c4d}.hc-heading{margin:0 0 24px}.hc-heading h2{font-size:28px;margin:0 0 8px}.hc-heading p{color:#637898;margin:0;font-size:15px;line-height:1.6}.hc-card{background:#fff;border:1px solid #dfe7f2;border-radius:16px;padding:24px;min-width:0;box-shadow:0 4px 18px #18335404}.hc-card h3{font-size:18px;margin:0 0 18px}.hc-card h3:not(:first-child){padding-top:24px;margin-top:24px;border-top:1px solid #e8eef5}.hc-pallet-layout{display:grid;grid-template-columns:minmax(350px,1fr) minmax(360px,1fr);gap:20px;align-items:start}.hc-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}.hc-field{display:flex;flex-direction:column;gap:8px;min-width:0}.hc-field>span{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600}.hc-field small{color:#6a7f99;font-weight:400}.hc-page input,.hc-page select{width:100%;height:44px;border:1px solid #d5e0ee;border-radius:8px;padding:8px 12px;background:white;font:inherit;font-size:16px;color:#203650;min-width:0}.hc-page input:focus,.hc-page select:focus{outline:2px solid #c5dbff;border-color:#4485e2}.hc-page .btn{font-size:14px;min-height:38px}.hc-pallet-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.hc-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hc-summary>div{padding:16px;border-radius:12px;background:#f1f6ff}.hc-summary span,.hc-material-result span{display:block;color:#59718e;font-size:14px;margin-bottom:8px}.hc-summary strong{font-size:27px;color:#193f78}.hc-summary strong small,.hc-material-result strong small{font-size:14px;font-weight:400}.hc-pallet-map{margin-top:20px;padding:16px;background:#f8fafc;border-radius:12px;text-align:center}.hc-pallet-map svg{display:block;max-height:300px;width:100%;margin:auto}.hc-pallet-map p{font-size:14px;color:#657c99;margin:12px 0 0}.hc-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.hc-details dt{color:#687e99;font-size:14px;margin-bottom:5px}.hc-details dd{margin:0;font-size:16px;font-weight:600}.hc-notice{color:#647a96;font-size:14px;line-height:1.7;margin:18px 0 0}.hc-empty{padding:40px 12px;color:#6a7c93;text-align:center;line-height:1.7}.hc-empty b{color:#243d61;font-size:20px}.hc-material-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.hc-material-toolbar .hc-field{width:220px}.hc-table-scroll{overflow:auto;margin:22px 0}.hc-material-table{width:100%;border-collapse:collapse;min-width:930px;font-size:15px}.hc-material-table th{padding:12px 8px;text-align:left;background:#f4f7fc;color:#5f7593;font-size:13px;white-space:nowrap}.hc-material-table td{padding:14px 8px;border-bottom:1px solid #e8eef5;vertical-align:top}.hc-material-table td:nth-child(3){width:80px}.hc-material-table td:nth-child(4),.hc-material-table td:nth-child(5){width:125px}.hc-material-table td:nth-child(6),.hc-material-table td:nth-child(7){white-space:nowrap;padding-top:26px}.hc-material-name{min-width:230px}.hc-material-name>input,.hc-material-name>select:not(:first-child){margin-top:8px}.hc-material-name>select{font-size:14px}.hc-material-name select[hidden]{display:none!important}.hc-row-number{display:block;padding-top:12px;color:#7c8da5}.hc-material-result{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px;background:#edf5ff;border-radius:12px}.hc-material-result strong{font-size:30px;color:#174880}.hc-material-result .hc-empty{grid-column:1/-1;padding:8px}.hc-nav .workspace-nav-group-title{margin-top:14px}body.workspace-r3 .hc-page .section-head{display:none}
@media(max-width:1100px){.hc-pallet-layout{grid-template-columns:1fr}.hc-result .hc-pallet-map svg{max-height:260px}}@media(max-width:600px){.hc-card{padding:16px}.hc-heading h2{font-size:23px}.hc-fields{gap:14px 10px}.hc-material-result{grid-template-columns:1fr;padding:18px}.hc-summary strong{font-size:23px}.hc-material-toolbar .hc-field{width:150px}.hc-pallet-presets .btn{font-size:12px}}
body[data-huidi-view="pallet-calculator"] .topbar,body[data-huidi-view="material-calculator"] .topbar{display:none!important}
.hc-nav .workspace-nav-count{display:none!important}
.kp-order-settings{margin-bottom:20px}.kp-order-settings>.hc-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.kp-order-settings .hc-field>span{font-size:14px}.kp-order-settings .hc-field>select{font-size:14px}.kp-known-packages{margin-top:16px;font-size:14px;color:#607998}.kp-known-packages summary{cursor:pointer}.kp-line-title{min-width:0;overflow-wrap:anywhere}.kp-layers span{overflow-wrap:anywhere}@media(max-width:1100px){.kp-order-settings>.hc-fields{grid-template-columns:1fr 1fr}}@media(max-width:600px){.kp-order-settings>.hc-fields{grid-template-columns:1fr}}
.kp-order-line{border:1px solid #dfe8f4;border-radius:12px;padding:14px;margin:10px 0;background:#f8faff;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.kp-line-title b,.kp-line-title span{display:block;line-height:1.55}.kp-line-title b{font-size:15px}.kp-line-title span{font-size:13px;color:#667f9c;margin-top:5px}.kp-line-qty{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:14px;color:#546e8c}.kp-line-qty input{width:84px;height:38px;padding:7px}.kp-line-actions{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end}.kp-line-actions .btn{min-height:32px;font-size:13px;padding:5px 12px}.kp-order-empty{border:1px dashed #cbd9ec;border-radius:12px;padding:18px;color:#6e829d;font-size:14px;line-height:1.7}.kp-builder-quantity{margin-top:18px}.kp-builder-actions{display:flex;gap:10px;align-items:center}.kp-error{color:#c44638;font-size:14px;line-height:1.6;min-height:0;margin:12px 0}.kp-error:empty{display:none}#kpBuilder{border-top:1px solid #e4ebf5;margin-top:24px;padding-top:24px}#kpOrderCount{font-size:13px;font-weight:400;color:#65809f;margin-left:10px}.kp-result-heading{margin-bottom:18px}.kp-result-heading h3{margin-bottom:8px}.kp-result-heading span{font-size:14px;line-height:1.6;color:#667e9b}.kp-legend{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:#54708e}.kp-legend span{display:flex;align-items:center;gap:5px}.kp-legend i{display:inline-block;width:13px;height:13px;border:1px solid #7891ad;border-radius:3px}@media(max-width:600px){.kp-order-line{grid-template-columns:1fr}.kp-line-actions{grid-column:auto}.kp-line-qty input{width:100px}.kp-line-title b{font-size:15px}}
body.workspace-r3 .hc-nav .nav-copy b{white-space:normal;text-overflow:clip}
.hc-material-table td:nth-child(3){min-width:92px}
.kp-full{grid-column:1/-1}.kp-summary strong em{font-style:normal;font-size:17px}.kp-packages{display:grid;gap:10px;margin-top:18px}.kp-packages>div{padding:13px 14px;background:#f6f9fd;border:1px solid #e5edf8;border-radius:10px}.kp-packages b{display:block;font-size:15px;margin-bottom:6px}.kp-packages span{display:block;font-size:14px;line-height:1.7;color:#607796}.kp-order-summary{padding:16px;border-radius:10px;background:#edf5ff;color:#315b8c;line-height:1.7;margin-top:16px}.kp-order-summary b,.kp-order-summary span{display:block}.kp-order-summary span{font-size:14px}.hc-card h3 i{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:8px;font-style:normal;font-size:14px;background:#e6efff;color:#3578db;margin-right:8px}.kp-settings,.kp-ratio,.kp-list{margin-top:18px;border-top:1px solid #e7edf5;padding-top:16px}.kp-settings summary,.kp-ratio summary,.kp-list summary{cursor:pointer;color:#3c608c;font-size:14px;font-weight:600;line-height:1.6}.kp-settings .hc-fields,.kp-ratio .hc-fields{margin-top:18px}.kp-plan-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.kp-plan-controls label{font-size:14px;color:#607796}.kp-plan-controls select{margin-top:8px;font-size:14px}.kp-layers{border:1px solid #e5ecf6;border-radius:10px;padding:8px 14px}.kp-layers>div{display:flex;gap:16px;padding:9px 0;font-size:14px}.kp-layers b{white-space:nowrap}.kp-layers span{color:#617c9b}.kp-list table{width:100%;border-collapse:collapse;font-size:13px;min-width:480px}.kp-list th,.kp-list td{padding:10px;border-bottom:1px solid #e7edf5;text-align:left}.kp-list th{background:#f5f8fc;color:#607796}.hc-page [hidden]{display:none!important}@media(max-width:600px){.kp-plan-controls{grid-template-columns:1fr}.kp-summary strong{font-size:24px}.kp-summary strong em{font-size:15px}.kp-packages span{font-size:13px}}

.kp-builder-footer{margin-top:20px;padding-top:18px;border-top:1px solid #e4ebf5;display:flex;flex-direction:column;gap:14px}.kp-builder-footer>.hc-notice{margin:0;line-height:1.65}.kp-builder-actions{justify-content:flex-end;flex-wrap:wrap}.kp-builder-actions .btn{min-height:42px;min-width:130px;padding:10px 18px;font-size:14px}.kp-layer-counts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.kp-layer-counts>span{border:1px solid #dce7f5;border-radius:8px;padding:8px 12px;font-size:14px;color:#46658b;background:#f4f8ff}.kp-layer-counts b{margin-left:6px;color:#203f68}.kp-rule-note{font-size:14px;line-height:1.7;color:#56708f;margin:14px 0}@media(max-width:600px){.kp-builder-actions .btn{flex:1}.kp-builder-footer{margin-top:18px}}
body.workspace-r3 .hc-page .kp-builder-actions .btn{min-height:44px;padding:10px 18px;font-size:14px}
