.prebuilt-build-own-wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.prebuilt-build-own { position: relative; display: flex; min-height: 112px; justify-content: center; align-items: center; padding: 1.5rem 2rem; isolation: isolate; overflow: hidden; border-radius: 60px; border: 2px solid #b7fff1; color: #081514; background: linear-gradient(115deg, #fff5a6, #81f4de 30%, #a7e5ff 55%, #f2b9ee 78%, #fff5a6); background-size: 220% 100%; box-shadow: inset 0 3px 0 #ffffffb3, inset 0 -5px 12px #032d3d40, 0 0 24px #73f5d529; font-size: 44px; font-weight: 900; text-align: center; text-decoration: none; line-height: 1.15; letter-spacing: 0; animation: deck-holo 8s ease-in-out infinite; }
.prebuilt-build-own::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(125deg, transparent 0 24px, #ffffff40 25px 26px, transparent 27px 54px); z-index: -1; }
.prebuilt-build-own:hover { filter: brightness(1.07); }
.prebuilt-build-own:focus-visible { outline: 4px solid #fff775; outline-offset: 5px; }
@keyframes deck-holo { 50% { background-position: 100% 50%; } }
.custom-deck-order { padding: 2rem 0; border-top: 1px solid #679eab55; border-bottom: 1px solid #679eab55; background: #0c1424; color: #eff8ff; scroll-margin-top: 112px; }
.custom-deck-order h2 { font-size: 28px; margin: 0 0 .75rem; letter-spacing: 0; }
.custom-deck-order label { display: grid; gap: .4rem; min-width: 0; font-size: .9rem; font-weight: 650; }
.custom-deck-order input:not([type=checkbox]), .custom-deck-order select, .custom-deck-order textarea { width: 100%; min-width: 0; min-height: 44px; padding: .65rem; color: #142a31; background: #fff; border: 1px solid #a0c9ca; border-radius: 6px; font: inherit; }
.custom-deck-fields { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .8rem; margin: 1rem 0; }
.custom-deck-source { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .5fr); gap: 1rem; align-items: start; }
.custom-deck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: .8rem 0; }
.custom-deck-actions .btn, .custom-deck-upload { min-height: 44px; border-radius: 24px; text-align: center; white-space: normal; }
.custom-deck-upload { position: relative; padding: .75rem 1rem; background: #d2fff0; color: #112d30; cursor: pointer; border: 1px solid #73dfc4; font-weight: 750; }
.custom-deck-upload:focus-within { outline: 3px solid #ffff8d; outline-offset: 2px; }
.custom-deck-upload input { position: absolute; width: 1px !important; height: 1px; min-height: 0 !important; opacity: 0; }
.custom-deck-status { min-height: 1.5em; overflow-wrap: anywhere; color: #c7e7ed; }
.custom-deck-status[data-kind=error] { color: #ffbec2; }
.custom-deck-status[data-kind=success] { color: #8df3bd; }
.custom-deck-confirm-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 1.25rem; color: #eff8ff; background: #101c2c; border: 1px solid #8bdbd4; border-radius: 8px; }
.custom-deck-confirm-dialog::backdrop { background: #02070ddd; }
.custom-deck-confirm-dialog h3 { margin: 0 0 .75rem; font-size: 22px; }
.custom-deck-confirm-dialog p { overflow-wrap: anywhere; }
.custom-deck-confirm-dialog li { overflow-wrap: anywhere; }
.custom-deck-confirm-dialog ul { max-height: min(35dvh, 280px); overflow: auto; padding-left: 1.25rem; }
.custom-deck-confirm-dialog .custom-deck-actions { justify-content: flex-end; }
.custom-deck-table { margin: 1rem 0; border-top: 1px solid #66829366; max-height: 580px; overflow: auto; overscroll-behavior: contain; }
.custom-deck-row, .custom-deck-table-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 70px 100px; gap: .7rem; align-items: center; padding: .75rem .35rem; border-bottom: 1px solid #66829340; }
.custom-deck-table-head { position: sticky; top: 0; z-index: 1; background: #172637; font-size: .82rem; font-weight: 700; }
.custom-deck-row > input[type=checkbox] { width: 22px; height: 22px; accent-color: #8df3bd; justify-self: center; }
.custom-deck-row strong, .custom-deck-row small { display: block; overflow-wrap: anywhere; }
.custom-deck-row small { color: #b6ccd6; margin-top: .25rem; }
.custom-deck-summary { font-weight: 750; color: #a2f1d9; }
.custom-deck-history { margin-top: 1.5rem; }
.custom-deck-history > article, .custom-deck-request-detail { border-top: 1px solid #6ca6a355; padding: 1rem 0; }
.custom-deck-history h3 { margin-bottom: .3rem; font-size: 18px; }
.card-camera-dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 1rem; color: #e9f9fb; background: #0b1522; border: 1px solid #8bdbd4; border-radius: 8px; overflow: auto; }
.card-camera-dialog::backdrop { background: #02070ddd; }
.card-camera-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-camera-head h2 { font-size: 24px; margin: 0 0 .7rem; }
.card-camera-head button { border: 0; color: #fff; background: transparent; font-size: 30px; min-width: 44px; min-height: 44px; }
.card-camera-dialog video { display: block; width: 100%; max-height: 62dvh; aspect-ratio: 4 / 3; object-fit: contain; background: #000; }
.card-camera-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
[data-custom-admin] { border-top: 1px solid #91bdbf66; margin-top: 1.5rem; padding-top: 1rem; }
[data-custom-admin] .custom-deck-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-custom-admin] label { display: grid; gap: .4rem; min-width: 0; margin-bottom: .6rem; }
[data-custom-admin] input:not([type=checkbox]), [data-custom-admin] textarea { width: 100%; min-width: 0; min-height: 44px; padding: .6rem; }
[data-custom-admin] label:has(input[type=checkbox]) { display: flex; gap: .6rem; align-items: flex-start; }
[data-custom-admin] input[type=checkbox] { flex: 0 0 22px; width: 22px; height: 22px; accent-color: #8df3bd; }
@media (max-width: 700px) { .prebuilt-build-own { font-size: 30px; min-height: 96px; padding: 1.25rem; } .custom-deck-fields, .custom-deck-source, [data-custom-admin] .custom-deck-fields { grid-template-columns: 1fr; } .custom-deck-table { max-height: 520px; } .custom-deck-row, .custom-deck-table-head { grid-template-columns: 32px minmax(0, 1fr) 42px 72px; gap: .35rem; } .custom-deck-row input[type=number] { padding: .45rem; } }
@media (max-width: 380px) { .prebuilt-build-own { font-size: 25px; } .custom-deck-order h2 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .prebuilt-build-own { animation: none; } }
