/* Viking Abstract Tools — component styles layered on the theme design system.
   Falls back to safe values if the theme is not active. */

.vt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0;pointer-events:none}

.hint-inline{font-weight:400;color:var(--slate-light,#626e7b);font-size:.92em}

.tool-head{position:relative}
.tool-badge{
	margin-left:auto;flex:none;align-self:flex-start;
	background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);
	color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
	padding:.25rem .65rem;border-radius:999px;
}

/* ---- Forms vault ------------------------------------------------------ */
.filter-opt.is-active{color:var(--navy-800,#0b1f3a);font-weight:600}
.form-card mark{background:rgba(198,161,91,.34);color:inherit;padding:0 .1em;border-radius:2px}

/* ---- PriceHQ reserved slot -------------------------------------------- */
.pricehq-slot .tool-head{align-items:flex-start}
.pricehq-placeholder{
	display:grid;grid-template-columns:auto 1fr;gap:2rem;align-items:center;
	background:linear-gradient(120deg,var(--brass-100,#f4ecdc),#fff);
	border:1px dashed var(--brass-500,#c6a15b);border-radius:var(--r-lg,14px);
	padding:2rem 2.2rem;
}
.pricehq-placeholder img{flex:none}
.pricehq-placeholder h3{margin-bottom:.5rem}
.pricehq-placeholder p{color:var(--ink-soft,#33424f);font-size:.95rem}
.pricehq-mount{min-height:420px}
.notify-row{display:flex;gap:.7rem;align-items:flex-end;max-width:560px}
.notify-row .btn{flex:none;height:44px}

/* ---- Wizard summary ---------------------------------------------------- */
.summary-block h3,.summary-block h4{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.summary-edit{
	background:none;border:0;padding:0;cursor:pointer;
	font-family:inherit;font-size:.74rem;font-weight:700;letter-spacing:.06em;
	color:var(--brass-text,#856526);text-transform:uppercase;
}
.summary-edit:hover{text-decoration:underline}

/* ---- Confirmation ------------------------------------------------------ */
.confirm{text-align:center;max-width:620px;margin:0 auto;padding:1rem 0 2rem}
.confirm-icon{
	width:74px;height:74px;margin:0 auto 1.5rem;border-radius:50%;
	background:var(--ok-bg,#e8f5ee);color:var(--ok,#1f7a52);
	display:flex;align-items:center;justify-content:center;
}
.confirm-icon svg{width:38px;height:38px}
.confirm h3{margin-bottom:.5rem}
.confirm-ref{
	background:linear-gradient(165deg,var(--navy-800,#0b1f3a),var(--navy-900,#061426));
	border-radius:var(--r,10px);padding:1.6rem;margin:1.8rem 0;color:rgba(255,255,255,.75);
}
.confirm-ref span{display:block;font-size:.74rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--brass-400,#d9bd84);margin-bottom:.55rem}
.confirm-ref strong{
	display:block;font-family:var(--font-mono,monospace);font-size:1.9rem;color:#fff;
	letter-spacing:.04em;line-height:1.1;
}
.confirm-ref em{display:block;font-style:normal;font-size:.8rem;color:rgba(255,255,255,.75);margin-top:.6rem}

/* ---- Messages ---------------------------------------------------------- */
.vt-form-message:empty{display:none}
.vt-form-message{margin-top:1.2rem}
.vt-form-message .notice{margin-bottom:0}

/* ---- Portal preview ---------------------------------------------------- */
.portal-shell{display:grid;grid-template-columns:230px 1fr;border:1px solid var(--line,#dfe4ea);border-radius:var(--r-lg,14px);overflow:hidden;background:#fff}
.portal-side{background:var(--navy-900,#061426);padding:1.4rem 1rem;color:rgba(255,255,255,.75)}
.portal-side h3,.portal-side h4{font-family:var(--font-sans,sans-serif);color:#fff;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1rem;padding:0 .6rem}
.portal-side ul{list-style:none;margin:0;padding:0;display:grid;gap:.15rem}
.portal-side li{margin:0}
.portal-side a,.portal-side li>span{display:flex;align-items:center;gap:.6rem;padding:.55rem .6rem;border-radius:6px;color:rgba(255,255,255,.78);text-decoration:none;font-size:.86rem}
.portal-side a:hover,.portal-side a.is-current,.portal-side li>span.is-current{background:rgba(255,255,255,.09);color:#fff}
.portal-side svg{width:16px;height:16px;flex:none;opacity:.75}
.portal-main{padding:1.6rem}
.portal-row{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;padding:1rem 1.1rem;border:1px solid var(--line,#dfe4ea);border-radius:var(--r,10px);margin-bottom:.7rem}
.portal-row b{display:block;color:var(--navy-800,#0b1f3a);font-size:.95rem}
.portal-row small{color:var(--slate,#5a6875);font-size:.82rem}
.status-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .7rem;border-radius:999px;font-size:.76rem;font-weight:650}
.status-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status-chip--active{background:var(--info-bg,#e9f1f9);color:var(--info,#1b4d80)}
.status-chip--wait{background:var(--warn-bg,#fdf3e0);color:var(--warn,#9a6300)}
.status-chip--done{background:var(--ok-bg,#e8f5ee);color:var(--ok,#1f7a52)}

.timeline{list-style:none;margin:1.5rem 0 0;padding:0 0 0 1.6rem;border-left:2px solid var(--line,#dfe4ea)}
.timeline li{position:relative;padding:0 0 1.5rem 1.2rem;margin:0}
.timeline li::before{
	content:"";position:absolute;left:-1.62rem;top:.35rem;width:12px;height:12px;border-radius:50%;
	background:#fff;border:2px solid var(--line,#dfe4ea);
}
.timeline li.is-done::before{background:var(--ok,#1f7a52);border-color:var(--ok,#1f7a52)}
.timeline li.is-current::before{background:var(--brass-500,#c6a15b);border-color:var(--brass-500,#c6a15b);box-shadow:0 0 0 4px rgba(198,161,91,.22)}
.timeline b{display:block;color:var(--navy-800,#0b1f3a);font-size:.94rem;margin-bottom:.15rem}
.timeline small{color:var(--slate,#5a6875);font-size:.83rem}

@media (max-width:900px){
	.pricehq-placeholder{grid-template-columns:1fr;text-align:center}
	.pricehq-placeholder img{margin:0 auto}
	.notify-row{flex-direction:column;align-items:stretch}
	.notify-row .btn{width:100%}
	.portal-shell{grid-template-columns:1fr}
	.portal-side ul{grid-template-columns:repeat(2,1fr)}
	.confirm-ref strong{font-size:1.5rem}
}

/* ======================================================================
   FORMS LIBRARY — REQUEST DIALOG
   ====================================================================== */

body.vt-modal-open{overflow:hidden}

.vt-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-start;
	justify-content:center;padding:5vh 1rem 2rem;overflow-y:auto}
.vt-modal[hidden]{display:none}
.vt-modal__backdrop{position:fixed;inset:0;background:rgba(12,22,35,.62);backdrop-filter:blur(2px)}
.vt-modal__panel{position:relative;z-index:1;width:100%;max-width:640px;background:#fff;
	border-radius:14px;padding:2rem 2rem 1.75rem;
	box-shadow:0 24px 60px rgba(12,22,35,.32)}
.vt-modal__panel h3{margin:0 0 .35rem;font-size:1.45rem}
.vt-modal__sub{margin:0 0 1.25rem;color:#4b5563}
.vt-modal__close{position:absolute;top:.6rem;right:.8rem;border:0;background:none;
	font-size:1.9rem;line-height:1;color:#6b7280;cursor:pointer;padding:.2rem .5rem}
.vt-modal__close:hover{color:#111}
.vt-modal__actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.4rem}
.vt-modal__done{text-align:center;padding:1.5rem .5rem .5rem}
.vt-modal__done h3{font-size:1.4rem}
.vt-modal__done p{color:#4b5563;max-width:34em;margin:.6rem auto 1.6rem}

.vt-tabs{display:flex;gap:.4rem;margin:0 0 1.2rem;border-bottom:1px solid #e5e7eb}
.vt-tab{border:0;background:none;padding:.6rem .95rem;font:inherit;font-weight:600;
	color:#6b7280;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-1px}
.vt-tab.is-on{color:#1b3a5c;border-bottom-color:#1b3a5c}
.vt-tab:hover{color:#1b3a5c}

.vt-form__notice{background:#f4f7fb;border-left:4px solid #1b3a5c;padding:.8rem 1rem;
	border-radius:0 8px 8px 0;margin:0 0 1.1rem;color:#33465c}
.vt-form__signedin{background:#e9f6ee;border-left:4px solid #0f7b3f;padding:.8rem 1rem;
	border-radius:0 8px 8px 0;margin:0 0 1.1rem}

@media (max-width:620px){
	.vt-modal{padding:0}
	.vt-modal__panel{max-width:none;min-height:100vh;border-radius:0;padding:3.2rem 1.15rem 2rem}
}

/* ======================================================================
   FORMS LIBRARY — MEMBER PORTAL
   ====================================================================== */

.vt-portal__card{max-width:560px}
.vt-portal__card h2{font-size:1.35rem;margin:0 0 .6rem}
.vt-portal__card h3{font-size:1.05rem;margin:1.6rem 0 .6rem}
.vt-portal__head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}
.vt-portal__meta{color:#55637a;font-size:.9rem;margin:0}
.vt-portal__actions{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;margin-top:1.1rem}
.vt-portal__link{font-size:.9rem}
.vt-portal__foot{font-size:.88rem;color:#55637a;margin:1.4rem 0 0}
.vt-portal__table{width:100%;border-collapse:collapse;font-size:.92rem}
.vt-portal__table th,.vt-portal__table td{text-align:left;padding:.55rem .4rem;border-bottom:1px solid rgba(15,35,64,.12);vertical-align:top}
.vt-portal__table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#55637a}
.vt-portal__pill{display:inline-block;padding:.15rem .6rem;border-radius:999px;font-size:.78rem;font-weight:600;white-space:nowrap}
.vt-portal__pill.is-sent{background:#e6f6ec;color:#0f7b3f}
.vt-portal__pill.is-held{background:#fdf3e0;color:#8a5a00}
@media (max-width:560px){
	.vt-portal__table thead{display:none}
	.vt-portal__table tr{display:block;padding:.6rem 0;border-bottom:1px solid rgba(15,35,64,.12)}
	.vt-portal__table td{display:block;border:0;padding:.15rem 0}
}
