/* Backend form helpers layered on the supplied layout; prototype CSS is unchanged. */
.production .production-page{display:contents}.production .main{min-height:calc(100vh - 96px)}.production .sidebar-foot,.production footer{display:none}.production .heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.production .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.production .grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.production .panel{background:#fff;border:1px solid #e4e4e4;border-radius:12px;padding:24px}.production .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:6px;background:#35373c;color:#fff;text-decoration:none}.production .button.secondary{background:#fff;border:1px solid #ddd;color:#35373c}.production label{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.production input,.production select,.production textarea{width:100%}.production .notice{padding:16px;background:#f4f3ef;border:1px solid #d4cec4;border-radius:8px;margin-bottom:20px}.production .actions{display:flex;gap:12px;flex-wrap:wrap}.production .detail-list{display:grid;grid-template-columns:1fr 2fr;gap:12px}.production .auth-card{max-width:520px;margin:40px auto}.production .table-scroll{overflow:auto}.production .account{display:flex;gap:16px;align-items:center}.production .muted{color:#737782}.production .skip{position:absolute;left:-10000px}.production .skip:focus{left:20px;top:20px;z-index:1000}@media(max-width:800px){.production .grid.two,.production .grid.three{grid-template-columns:1fr}}

/* Shared portal navigation and sidebar-free public/authentication pages. */
.guest-page .main{margin-left:0}.guest-page .topbar{left:0}.public-topbar{justify-content:space-between}.public-topbar .brand{padding:0;font-size:24px}.public-topbar nav{display:flex;gap:20px}.portal-label{padding:14px 24px 8px;margin:0;color:#656a73;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.sidebar nav{overflow-y:auto;overscroll-behavior:contain;padding-bottom:20px}.portal-switcher{position:relative;flex-shrink:0}.portal-switcher summary{cursor:pointer;font-weight:600;list-style:none;padding:9px 12px;border:1px solid #ddd;border-radius:6px}.portal-switcher nav{position:absolute;left:0;top:calc(100% + 8px);min-width:235px;max-height:65vh;overflow:auto;padding:8px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 8px 30px #0002;z-index:30}.portal-switcher nav a{display:block;padding:10px 12px;border-radius:4px}.portal-switcher nav a:hover,.portal-switcher nav a[aria-current=true]{background:#f0f1f2}.portal-cards .card{padding:24px}.portal-cards h2{margin-bottom:12px}.portal-cards p{margin-bottom:20px}.top-tools{margin-left:auto}
@media(max-width:800px){.public-topbar{gap:10px;padding:12px 16px}.public-topbar nav{gap:12px;font-size:12px}.topbar .top-search{display:none}.portal-switcher summary{font-size:13px;padding:8px}.top-tools>span:not(.avatar){display:none}.top-tools{gap:8px}.portal-cards{grid-template-columns:1fr}}
.portal-target{display:block;font-size:11px;color:#646970;margin-top:4px}.sidebar .nav-link{height:auto;min-height:42px;padding-top:10px;padding-bottom:10px}
