.avpc3d{margin:12px 0;color:#e4f3ff;background:#0c263f;border:1px solid #47718d;border-radius:10px;padding:14px}.avpc3d-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.avpc3d-heading strong{font-size:22px;color:#5ae4ed}.avpc3d-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.avpc3d-tools button{padding:7px 10px!important;font-size:12px!important}.avpc3d-tools label{font-size:12px;display:flex;align-items:center;gap:5px}.avpc3d-tools select{width:100px!important;padding:5px!important}.avpc3d-work{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px}.avpc3d-palette{max-height:580px;overflow-y:auto}.avpc3d-palette h4{margin:4px 0 10px;color:#effaff}.avpc3d-item{display:block;width:100%;text-align:left;margin-bottom:8px;padding:10px!important;background:#183c58!important;color:#e8f9ff!important;border:1px solid #456d89!important}.avpc3d-item strong,.avpc3d-item span{display:block}.avpc3d-item strong{font-size:12px}.avpc3d-item span{font-size:11px;margin-top:6px;font-weight:normal}.avpc3d-item.active{border-color:#62e7f0!important;background:#225a73!important}.avpc3d-viewport{height:580px;min-width:0;border:1px solid #456d89;border-radius:8px;overflow:hidden}.avpc3d-viewport canvas{display:block;width:100%;height:100%;touch-action:none}.avpc3d-info{font-size:12px;background:#163a54;padding:10px;border-radius:5px;margin-top:12px;line-height:1.7}.avpc3d-status{color:#ffe39d;font-size:13px;min-height:20px;margin:10px 0}.avpc3d-hint{font-size:12px;color:#bfd5e5;line-height:1.6;margin:8px 0}.avpc3d-fallback{padding:25px}.avpc3d-report-image{display:block;width:100%;max-height:420px;object-fit:contain}.avpc3d-placement-table{font-size:11px!important}.avpc3d-placement-table td,.avpc3d-placement-table th{padding:5px!important}@media(max-width:750px){.avpc3d-work{grid-template-columns:1fr}.avpc3d-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:180px}.avpc3d-palette h4{grid-column:1/-1}.avpc3d-viewport{height:430px}}@media print{.avpc3d-report-image{max-height:95mm;break-inside:avoid}.avpc3d-placement-table{font-size:7pt!important}}

.avpc3d.avpc3d-is-fullscreen{display:flex;flex-direction:column;width:100vw!important;max-width:none!important;height:100vh;height:100dvh;min-height:0;margin:0!important;box-sizing:border-box;border:0;border-radius:0;overflow:hidden}.avpc3d-is-fullscreen .avpc3d-heading,.avpc3d-is-fullscreen .avpc3d-tools,.avpc3d-is-fullscreen .avpc3d-info,.avpc3d-is-fullscreen .avpc3d-status{flex-shrink:0}.avpc3d-is-fullscreen .avpc3d-work{flex:1;min-height:0;grid-template-columns:230px minmax(0,1fr)}.avpc3d-is-fullscreen .avpc3d-viewport{height:100%;min-height:0}.avpc3d-is-fullscreen .avpc3d-palette{display:block;min-height:0;max-height:none;overflow-y:auto}.avpc3d-is-fullscreen .avpc3d-hint{display:none}.avpc3d-is-fullscreen .avpc3d-status{margin:6px 0;min-height:18px}.avpc3d-is-fullscreen .avpc3d-info{margin-top:8px;padding:7px}.avpc3d.avpc3d-overlay{position:fixed!important;inset:0!important;z-index:2147483646!important;background:#0c263f}.avpc3d-is-fullscreen button{font-family:inherit;cursor:pointer;font-weight:600;border:1px solid #aab8d0;border-radius:6px;background:#eaf0fa;color:#11244b}.avpc3d-is-fullscreen select{background:white;color:#152039;border:1px solid #9aa8be;border-radius:5px}@media(max-width:750px){.avpc3d-is-fullscreen .avpc3d-work{grid-template-columns:minmax(110px,29%) minmax(0,1fr)}.avpc3d-is-fullscreen .avpc3d-heading strong{font-size:17px}.avpc3d-is-fullscreen .avpc3d-heading span{display:none}.avpc3d-is-fullscreen .avpc3d-info{font-size:10px}.avpc3d-is-fullscreen .avpc3d-status{font-size:11px}.avpc3d-is-fullscreen .avpc3d-tools{gap:4px}.avpc3d-is-fullscreen .avpc3d-item{padding:6px!important}}

.avpc3d-item-photo{display:block;width:100%;height:110px;object-fit:contain;background:#edf2f6;border-radius:4px;margin-bottom:7px}.avpc3d-details{display:flex;gap:14px;align-items:center;padding:10px;background:#173950;border-radius:6px;margin-top:10px}.avpc3d-details:empty{display:none}.avpc3d-details img{width:160px;max-height:85px;object-fit:contain;background:#edf2f6;border-radius:4px}.avpc3d-details strong{display:block;font-size:13px}.avpc3d-details p{font-size:12px;margin:5px 0}.avpc3d-details a{color:#70e9f0;font-size:12px}.avpc3d-is-fullscreen .avpc3d-details{display:none}.avpc3d-tools label select{width:auto!important;max-width:170px}.avpc3d-is-fullscreen .avpc3d-tools label select{max-width:150px}@media(max-width:750px){.avpc3d-item-photo{height:75px}.avpc3d-details img{width:100px}.avpc3d-details{align-items:flex-start}.avpc3d-is-fullscreen .avpc3d-item-photo{height:65px}}
.avpc3d-item:disabled{opacity:.85!important}

/* Keep toolbar fields compact even when the WordPress theme styles forms. */
.avpc3d .avpc3d-tools button,.avpc3d .avpc3d-tools select{box-sizing:border-box!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:5px 10px!important;font-family:inherit!important;font-size:12px!important;line-height:20px!important;vertical-align:middle!important}.avpc3d .avpc3d-tools label{margin:0!important;padding:0!important;min-height:0!important;font-size:12px!important;line-height:20px!important;align-items:center}.avpc3d .avpc3d-tools label select{width:auto!important;min-width:0!important;max-width:170px!important;padding:5px 26px 5px 8px!important}
