/* purpose: Security Line portal — mobile-first waiver check */
/* author: MD Hub */
/* date: 2026-09-04 */

body.ap-kind-waiver_check{
	background:#070b14;
	color:#e5e7eb;
}
body.ap-kind-waiver_check .ap-top{
	background:#0b1220;
	border-bottom:1px solid rgba(245,158,11,.28);
}
body.ap-kind-waiver_check .ap-brand h1{color:#fff}
body.ap-kind-waiver_check #ap_workspace{
	display:flex;
	flex-direction:column;
	min-height:0;
	overflow:hidden;
	padding:0;
	background:#070b14;
}
#swc_root{
	flex:1 1 auto;
	min-height:0;
	display:flex;
	flex-direction:column;
	position:relative;
	color:#e5e7eb;
	font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.swc-gate{
	flex:1;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:18px 16px calc(18px + env(safe-area-inset-bottom));
}
.swc-gate-card{
	width:100%;
	max-width:22rem;
	text-align:center;
}
.swc-kicker{
	margin:0 0 6px;
	font-size:11px;
	letter-spacing:.16em;
	text-transform:uppercase;
	font-weight:700;
	color:#f59e0b;
}
.swc-gate-card h2,.swc-share h2{
	margin:0 0 8px;
	font-size:1.55rem;
	color:#fff;
}
.swc-lead{
	margin:0 0 18px;
	color:#94a3b8;
	font-size:14px;
}
.swc-dots{
	display:flex;
	justify-content:center;
	gap:12px;
	margin:8px 0 14px;
}
.swc-dots i{
	width:14px;
	height:14px;
	border-radius:50%;
	border:2px solid #f59e0b;
	background:transparent;
	display:block;
}
.swc-dots i.on{background:#f59e0b}
.swc-msg{
	min-height:1.2em;
	margin:0 0 10px;
	font-size:13px;
	font-weight:600;
	color:#fca5a5;
}
.swc-msg.ok{color:#86efac}
.swc-pad{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:10px;
}
.swc-pad button{
	min-height:64px;
	border:0;
	border-radius:16px;
	background:#111827;
	color:#fff;
	font-size:1.45rem;
	font-weight:700;
	cursor:pointer;
	touch-action:manipulation;
	-webkit-tap-highlight-color:transparent;
}
.swc-pad button:active{background:#1f2937}
.swc-pad-muted{color:#94a3b8;font-size:1.2rem}
.swc-pad-go{background:#f59e0b;color:#111827}
.swc-app{
	flex:1;
	min-height:0;
	display:flex;
	flex-direction:column;
}
.swc-pane{
	flex:1;
	min-height:0;
	overflow:auto;
	-webkit-overflow-scrolling:touch;
	display:none;
	flex-direction:column;
}
.swc-pane.on{display:flex}
.swc-toolbar{
	position:sticky;
	top:0;
	z-index:2;
	background:#070b14;
	padding:10px 12px 6px;
}
.swc-search{
	display:flex;
	align-items:center;
	gap:8px;
	background:#111827;
	border:1px solid #1f2937;
	border-radius:14px;
	padding:0 12px;
}
.swc-search i{color:#94a3b8}
.swc-search input{
	flex:1;
	min-width:0;
	border:0;
	background:transparent;
	color:#fff;
	font-size:16px;
	min-height:48px;
	outline:none;
}
.swc-parties{
	display:flex;
	gap:8px;
	overflow-x:auto;
	padding:10px 0 4px;
	-webkit-overflow-scrolling:touch;
}
.swc-chip{
	flex:none;
	border:1px solid #334155;
	background:#111827;
	color:#e5e7eb;
	border-radius:999px;
	padding:8px 14px;
	font-size:13px;
	font-weight:700;
	cursor:pointer;
	white-space:nowrap;
}
.swc-chip.on{background:#f59e0b;color:#111827;border-color:#f59e0b}
.swc-chip .swc-live{
	display:inline-block;
	width:7px;
	height:7px;
	border-radius:50%;
	background:#22c55e;
	margin-right:6px;
}
.swc-chip .swc-mi{
	margin-left:8px;
	font-weight:600;
	opacity:.7;
	font-size:11px;
}
.swc-geo{
	margin:8px 12px 0;
	padding:18px 16px;
	border:1px solid #1f2937;
	background:#111827;
	border-radius:16px;
	text-align:center;
}
.swc-geo p{
	margin:0 0 12px;
	color:#cbd5e1;
	font-size:15px;
	font-weight:600;
	line-height:1.4;
}
.swc-geo .swc-btn{
	min-width:12rem;
}
.swc-count{
	margin:6px 2px 0;
	font-size:12px;
	color:#94a3b8;
	font-weight:600;
}
.swc-list{
	padding:4px 12px calc(88px + env(safe-area-inset-bottom));
	display:flex;
	flex-direction:column;
	gap:8px;
}
.swc-empty{
	text-align:center;
	color:#94a3b8;
	padding:40px 16px;
	font-size:15px;
}
.swc-card{
	background:#111827;
	border:1px solid #1f2937;
	border-radius:16px;
	padding:12px 14px;
	text-align:left;
	color:inherit;
	width:100%;
	cursor:pointer;
}
.swc-card-name{
	font-size:1.12rem;
	font-weight:800;
	color:#fff;
	line-height:1.25;
}
.swc-card-meta{
	margin-top:4px;
	font-size:13px;
	color:#94a3b8;
}
.swc-card-detail{
	display:none;
	margin-top:10px;
	padding-top:10px;
	border-top:1px solid #1f2937;
	font-size:14px;
	color:#cbd5e1;
}
.swc-card.open .swc-card-detail{display:block}
.swc-card-detail p{margin:0 0 6px}
.swc-ok{color:#86efac;font-weight:700}
.swc-tabs{
	position:sticky;
	bottom:0;
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:8px;
	padding:8px 12px calc(8px + env(safe-area-inset-bottom));
	background:linear-gradient(180deg,transparent,#070b14 28%);
}
.swc-tabs button{
	min-height:48px;
	border:0;
	border-radius:14px;
	background:#111827;
	color:#94a3b8;
	font-weight:700;
	font-size:14px;
	cursor:pointer;
}
.swc-tabs button.on{background:#f59e0b;color:#111827}
.swc-share{
	padding:18px 16px calc(96px + env(safe-area-inset-bottom));
	text-align:center;
	max-width:24rem;
	margin:0 auto;
	width:100%;
}
.swc-qr{
	width:220px;
	height:220px;
	margin:12px auto 12px;
	background:#fff;
	border-radius:16px;
	padding:10px;
	box-sizing:border-box;
}
.swc-qr img,.swc-qr canvas{display:block;width:100%;height:100%}
.swc-url{
	font-size:12px;
	word-break:break-all;
	color:#94a3b8;
	margin:0 0 16px;
}
.swc-code-label{
	margin:0;
	font-size:11px;
	letter-spacing:.16em;
	text-transform:uppercase;
	font-weight:700;
	color:#f59e0b;
}
.swc-code{
	margin:6px 0 16px;
	font-size:2.6rem;
	font-weight:800;
	letter-spacing:.28em;
	color:#fff;
	font-variant-numeric:tabular-nums;
}
.swc-share-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	justify-content:center;
}
.swc-btn{
	min-height:44px;
	border:0;
	border-radius:12px;
	padding:10px 14px;
	background:#f59e0b;
	color:#111827;
	font-weight:700;
	cursor:pointer;
}
.swc-btn-ghost{
	background:#111827;
	color:#e5e7eb;
	border:1px solid #334155;
}
.swc-lock{
	margin-top:18px;
	background:none;
	border:0;
	color:#94a3b8;
	font-size:13px;
	text-decoration:underline;
	cursor:pointer;
}
#swc_root[hidden],.swc-gate[hidden],.swc-app[hidden],.swc-pane[hidden],.swc-geo[hidden]{display:none!important}
