:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14201e;background:#f4f6f5}*{box-sizing:border-box}body{margin:0;padding:24px;min-height:100vh}.portal-shell{width:min(760px,100%);margin:0 auto}.portal-shell header{margin-bottom:18px}.portal-shell header span{font-weight:900;letter-spacing:.12em;color:#111}.portal-shell h1{margin:4px 0 6px;font-size:clamp(28px,5vw,42px)}.portal-shell p{color:#65736f;line-height:1.5}.portal-card{display:grid;gap:13px;background:#fff;border:1px solid #dce4e1;border-radius:22px;padding:20px;box-shadow:0 14px 40px rgba(18,36,31,.07);margin-bottom:14px}.portal-card label{display:grid;gap:6px;font-weight:800}.portal-card input,.portal-card select,.portal-card textarea{width:100%;min-height:48px;border:1px solid #cbd7d3;border-radius:13px;padding:10px 12px;font:inherit;font-size:16px;background:#fff;color:#14201e}.portal-card textarea{min-height:96px;resize:vertical}.portal-card button{min-height:48px;border:0;border-radius:13px;background:#111;color:#fff;font-weight:900;font-size:16px}.portal-card button.secondary{background:#edf2f0;color:#111}.portal-card button:disabled{opacity:.78;cursor:wait}.portal-status{margin-top:12px;padding:0}.portal-status.error{display:grid;gap:10px;padding:14px;border-radius:14px;background:#fff0f0;color:#7e2020}.portal-status-message{line-height:1.45}.portal-help-link{justify-self:start;display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border-radius:10px;background:#111;color:#fff;text-decoration:none;font-weight:800;font-size:14px}.portal-help-link:focus-visible{outline:2px solid #111;outline-offset:3px}.portal-summary span{font-size:20px;font-weight:900}.portal-summary small,.hint{color:#6d7976}.portal-warning{padding:12px;border-radius:12px;background:#fff5dd;color:#855300}.or{text-align:center;color:#81908c;font-weight:800}.success-card{text-align:center}.portal-fallback-link{display:inline-flex;justify-content:center;align-items:center;color:#53645f;text-decoration:none;font-weight:800;font-size:14px;padding:8px}.portal-fallback-link:hover{text-decoration:underline}.portal-primary-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border-radius:13px;background:#111;color:#fff;text-decoration:none;font-weight:900}.portal-submit-loading{display:none;align-items:center;justify-content:center;gap:9px}.portal-submit.is-loading{background:#6d9496}.portal-submit.is-loading .portal-submit-idle{display:none}.portal-submit.is-loading .portal-submit-loading{display:inline-flex}.portal-spinner{width:17px;height:17px;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;animation:portal-spin .7s linear infinite}@keyframes portal-spin{to{transform:rotate(360deg)}}.portal-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.portal-request-confirm{grid-template-columns:auto minmax(0,1fr);align-items:start}.portal-request-confirm input{width:18px;min-height:18px;margin-top:2px}.portal-request-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media(max-width:600px){body{padding:14px}.portal-card{padding:16px;border-radius:18px}.portal-help-link{width:100%;justify-content:center}.portal-request-grid{grid-template-columns:1fr}}
.portal-request-progress{display:grid;grid-template-columns:auto minmax(28px,1fr) auto;align-items:center;gap:10px;margin:0 0 14px;padding:0 4px;color:#71807b;font-size:13px;font-weight:900}.portal-request-progress i{height:2px;background:#dce4e1}.portal-request-progress span.active,.portal-request-progress span.done{color:#14201e}.portal-request-progress span.done::before{content:"✓ ";color:#17643c}.portal-request-actions{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);gap:10px}.portal-request-upload input[type="file"]{padding:9px;background:#fff}.portal-request-upload strong{font-size:13px;color:#17643c;overflow-wrap:anywhere}#portal-lookup .portal-fallback-link{display:none}.portal-shell:has(#portal-status.error) #portal-lookup .portal-fallback-link{display:inline-flex}@media(max-width:600px){.portal-request-actions{grid-template-columns:1fr}.portal-request-progress{font-size:12px}}
.portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-grid div{display:grid;gap:4px;padding:12px;border:1px solid #ddd;border-radius:12px}.portal-grid small{color:#666}.portal-items{display:grid;gap:8px}.portal-items>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e5e5e5}.action-row{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:600px){.portal-grid{grid-template-columns:1fr}}.portal-shell-wide{width:min(1180px,100%)}.portal-result{gap:16px}.portal-result-summary{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr);gap:12px}.portal-result-summary>div{display:grid;gap:5px;padding:12px;border:1px solid #dce4e1;border-radius:13px;overflow-wrap:anywhere}.portal-result-summary small{color:#65736f}.portal-pdf{height:min(72vh,900px);min-height:560px;border:1px solid #cbd7d3;border-radius:16px;overflow:hidden;background:#e9eeec}.portal-pdf iframe{display:block;width:100%;height:100%;border:0;background:#fff}.portal-resend{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.portal-status.success{padding:12px;border-radius:12px;background:#e8f7ef;color:#17643c}.portal-status.warning{padding:12px;border-radius:12px;background:#fff5dd;color:#855300}@media(max-width:700px){.portal-result-summary,.portal-resend{grid-template-columns:1fr}.portal-pdf{min-height:460px;height:64vh}}
.portal-constancia{display:grid;gap:8px;padding:14px;border:1px dashed #b9c8c3;border-radius:14px;background:#f8faf9}.portal-constancia small{color:#65736f;line-height:1.45}.portal-constancia button{width:100%}.portal-constancia-prompt{display:grid;gap:8px}.portal-constancia-success{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #b8dec8;border-radius:12px;background:#edf9f2}.portal-constancia-success[hidden]{display:none}.portal-constancia-check{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#17643c;color:#fff;font-size:22px;font-weight:900}.portal-constancia-copy{display:grid;gap:3px;min-width:0}.portal-constancia-copy b{color:#17643c}.portal-constancia-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700}.portal-constancia-success button{width:auto;min-width:126px}@media(max-width:600px){.portal-constancia-success{grid-template-columns:auto minmax(0,1fr)}.portal-constancia-success button{grid-column:1/-1;width:100%}}
.portal-request{gap:11px}.portal-request h2{margin:0 0 2px;font-size:20px;line-height:1.25}.portal-request-grid{gap:11px 13px}.portal-request label{gap:5px;font-size:14px;line-height:1.3}.portal-request input,.portal-request select,.portal-request textarea{min-height:42px;border-radius:11px;padding:8px 10px;font-size:14px;line-height:1.35}.portal-request textarea{min-height:76px}.portal-request label small,.portal-request .hint{font-size:12px;line-height:1.4;font-weight:600}.portal-request-progress{margin-bottom:11px;font-size:12px}.portal-request-upload{padding:11px}.portal-request-upload strong{font-size:12px}.portal-request-confirm{font-size:13px;line-height:1.4}.portal-request-actions button{min-height:44px;font-size:14px}@media(max-width:600px){.portal-request h2{font-size:19px}.portal-request label{font-size:13px}.portal-request input,.portal-request select,.portal-request textarea{min-height:41px;font-size:14px}.portal-request-grid{gap:10px}.portal-request-confirm{font-size:12px}}
.portal-item-price{display:grid;justify-items:end;gap:2px;text-align:right}.portal-item-price>span{display:flex;align-items:center;gap:8px}.portal-item-price s{color:#65736f;font-size:13px;font-weight:600}.portal-item-price small{color:#65736f;font-weight:700}.portal-item-price small.portal-gift{color:#17643c}@media(max-width:600px){.portal-items>div{align-items:flex-start}.portal-item-price>span{justify-content:flex-end;flex-wrap:wrap}}
