.aam-panel{padding:18px;background:#fff;border:1px solid #dbe4ef;border-radius:16px;color:#18324e;margin:12px 0}.aam-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 20px}.aam-summary>div{background:#f1f6fc;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px}.aam-summary>div:last-child{background:#edf2ff}.aam-summary strong{font-size:23px}.aam-summary span{color:#52677e}.aam-card{padding:20px;border:1px solid #dce5ef;border-radius:14px;margin:20px 0;background:#fbfdff}.aam-card-head{display:flex;justify-content:space-between;align-items:start;gap:16px}.aam-card h3{margin:0 0 16px;font-size:17px}.aam-remove{color:#b42318!important;font-size:22px!important}.aam-search{display:flex;gap:10px;margin:8px 0 18px}.aam-search input{flex:1;min-width:0}.aam-options{display:grid;gap:5px;max-height:260px;overflow:auto}.aam-option{text-align:start!important;white-space:normal!important;height:auto!important}.aam-sizes{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.aam-size{display:flex;flex-direction:column;gap:6px;text-align:center;width:76px;font-weight:600}.aam-size input{width:76px;height:48px;text-align:center;border-radius:9px;border:1px solid #afc1d7;background:white;font-size:17px}.aam-prices{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin:18px 0}.aam-prices label,.aam-note,.aam-design{display:flex;flex-direction:column;gap:6px}.aam-prices input{width:145px}.aam-note{margin:22px 0;font-weight:600}.aam-note textarea{width:100%}.aam-zones{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.aam-zones strong,.aam-zones small{flex-basis:100%}.aam-warning{background:#fff8e8;border-inline-start:3px solid #d69b1b;padding:12px}.aam-share{display:flex;gap:10px;align-items:end}.aam-share label{flex:1}.aam-share input{display:block;width:100%;direction:ltr}.aam-receipt{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e1e8ef;padding:12px 0}.aam-receipt small,.aam-full small{display:block;color:#617286;font-size:13px;margin-top:5px}.aam-public{max-width:1050px;margin:35px auto;padding:0 18px}.aam-panel[dir=rtl]{text-align:right}.aam-panel .button{white-space:normal}#aam-editor[hidden]{display:none!important}#aam-result{font-weight:600}.aam-full{width:100%}.aam-full td,.aam-full th{text-align:start;padding:12px;border-bottom:1px solid #e1e8ef}.aam-receipts h3{font-size:18px}
@media(max-width:700px){.aam-summary{grid-template-columns:1fr}.aam-summary>div{flex-direction:row;justify-content:space-between}.aam-panel{padding:12px}.aam-card{padding:12px}.aam-share{flex-direction:column;align-items:stretch}.aam-search{flex-wrap:wrap}.aam-size,.aam-size input{width:66px}.aam-summary strong{font-size:20px}}

#aam-app [hidden]{display:none!important}.aam-supplement #order_review>table.shop_table{display:none}

.woocommerce .aam-panel table.aam-full,.woocommerce .aam-panel table.aam-full th,.woocommerce .aam-panel table.aam-full td{background:#fff!important;color:#18324e!important}.woocommerce .aam-panel table.aam-full small{color:#52677e!important}

/* Compact per-product editor; financial fields and handlers are unchanged. */
#aam-app details.aam-card{padding:0;margin:10px 0;overflow:hidden}
#aam-app summary.aam-card-head{display:flex;align-items:center;cursor:pointer;padding:16px;list-style:none;user-select:none}
#aam-app summary.aam-card-head::-webkit-details-marker{display:none}
#aam-app summary.aam-card-head:focus-visible,.aam-inline-fold>summary:focus-visible{outline:2px solid #3858e9;outline-offset:-3px}
#aam-app .aam-card-title{display:flex;flex-direction:column;gap:7px;min-width:0}
#aam-app .aam-card-title strong{font-size:15px;overflow-wrap:anywhere}
#aam-app .aam-brief{color:#52677e;font-size:13px}
#aam-app .aam-fold-label{color:#3858e9;white-space:nowrap;font-size:13px}
#aam-app .aam-fold-label:after{content:' ▾'}
#aam-app details[open]>.aam-card-head .aam-fold-label:after{content:' ▴'}
#aam-app .aam-card-body{padding:0 16px 18px;border-top:1px solid #e1e8ef}
#aam-app .aam-card-body>.aam-remove{display:block;margin:12px 0 12px auto;font-size:13px!important}
.aam-inline-fold{margin:8px 0;border:1px solid #dce5ef;border-radius:8px;background:#fbfdff}
.aam-inline-fold>summary{padding:10px 12px;cursor:pointer;color:#3858e9;font-weight:600}
.aam-inline-fold>.arena-content-editor{margin:0!important;border:0!important}
