.system-portal{margin:-28px max(4vw,1rem) 32px;padding:clamp(1.1rem,3vw,2rem);border:1px solid #d9c58e;border-radius:24px;background:linear-gradient(145deg,#fffdf7,#f2eee4);box-shadow:0 18px 48px #281c4e26;position:relative}
.system-portal header{display:grid;gap:.35rem}.system-portal header p{margin:0;color:#9a6e13;font-weight:800}.system-portal h2{margin:0;font:400 clamp(1.8rem,3.5vw,2.8rem)/1.25 Amiri,serif}.system-portal header small{color:#6f7476}
.system-portal form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:.65rem .8rem;margin-top:1.2rem;align-items:end}.system-portal label{display:grid;gap:.35rem;font-weight:700}.system-portal input{min-height:48px;border:1px solid #cbc3b3;border-radius:12px;padding:0 .85rem;font:inherit;background:#fff;direction:ltr}.system-portal button{min-height:48px;border:0;border-radius:12px;padding:.6rem 1.1rem;background:#163442;color:#fff;font-weight:800;cursor:pointer}.system-portal button.secondary{border:1px solid #b9af9e;background:#fff;color:#163442}.system-portal button:disabled{opacity:.58;cursor:wait}.system-portal-help{grid-column:1/-1;margin:0;color:#6f7476;font-size:.9rem}.system-portal-step{display:flex;gap:.65rem;align-items:end}.system-portal-verify{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,auto);gap:.8rem}.system-portal-step-actions{display:flex;gap:.65rem;flex-wrap:wrap}.system-portal-step[hidden]{display:none}
.system-portal-status{min-height:1.5rem;color:#986d16;margin:.7rem 0}.system-portal-actions{display:flex;gap:.7rem;margin:.7rem 0}.system-trip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:1rem}.system-trip{border:1px solid #d8d1c3;border-radius:18px;background:#fff;padding:1rem;display:grid;gap:.6rem}.system-trip header{display:flex;justify-content:space-between;gap:.7rem}.system-trip h3,.system-trip p{margin:0}.system-trip b{color:#087f75}.system-trip-meta{display:flex;flex-wrap:wrap;gap:.45rem}.system-trip-meta span{background:#eef4f1;border-radius:99px;padding:.3rem .65rem;font-size:.8rem}.system-trip details{border-top:1px solid #eee;padding-top:.6rem}.system-trip li{display:flex;justify-content:space-between;gap:.7rem;margin:.45rem 0}
.system-portal.is-live~.trip-library,.system-portal.is-live~.trip-summary,.system-portal.is-live~.trip-panel{display:none}.system-portal.is-disabled form{opacity:.55}.system-portal.is-disabled button{cursor:not-allowed}.system-portal footer{display:flex;justify-content:space-between;gap:.7rem;margin-top:1rem}
@media(max-width:720px){.system-portal form,.system-portal-verify{grid-template-columns:1fr}.system-portal-step-actions,.system-portal-step-actions button,.system-portal-step>button{width:100%}.system-portal{border-radius:18px}.system-trip-grid{grid-template-columns:1fr}}
