:root {
    --p101-pink: #FF6665;
    --p101-magenta: #D816E3;
    --p101-purple: #8C56FF;
    --p101-blue: #5200FF;
    --p101-gradient: linear-gradient(135deg, var(--p101-pink), var(--p101-magenta), var(--p101-purple), var(--p101-blue));
    --p101-bg: #0a0a0c;
    --p101-card-bg: #16161a;
    --p101-text: #ffffff;
    --p101-text-dim: #a0a0a0;
    --p101-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body.page-template-default.page-id-community, 
body.page-slug-community {
    background-color: var(--p101-bg) !important;
    color: var(--p101-text) !important;
    font-family: var(--font-main) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force full width and hide theme clutter */
.page-id-community header, 
.page-id-community footer,
.page-id-community .entry-header,
.page-id-community .entry-footer,
.page-id-community .comments-area {
    display: none !important;
}

#p101-app-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--p101-bg);
    z-index: 99999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Auth Styles */
.p101-auth-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 20px;
}

.p101-auth-card {
    background: var(--p101-card-bg);
    border: 1px solid var(--p101-border);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center;
}

.p101-logo-large {
    width: 120px;
    margin-bottom: 30px;
}

.p101-auth-card h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
}

.p101-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.p101-input-group label {
    display: block;
    font-size: 14px;
    color: var(--p101-text-dim);
    margin-bottom: 8px;
}

.p101-input-group input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--p101-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.p101-input-group input:focus {
    outline: none;
    border-color: var(--p101-purple);
    background: rgba(255,255,255,0.1);
}

.p101-btn-primary {
    width: 100%;
    background: var(--p101-gradient);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p101-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(140, 86, 255, 0.3);
}

/* App Shell Styles */
.p101-app-shell {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 30px;
    padding: 30px 20px;
}

/* Sidebar */
.p101-sidebar {
    position: sticky;
    top: 30px;
    height: calc(100vh - 60px);
}

.p101-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--p101-text);
    text-decoration: none;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}

.p101-nav-item i {
    margin-right: 15px;
    font-size: 20px;
}

.p101-nav-item:hover, .p101-nav-item.active {
    background: rgba(255,255,255,0.05);
    color: var(--p101-purple);
}

/* Main Content (Feed/Profile) */
.p101-main-feed {
    border-left: 1px solid var(--p101-border);
    border-right: 1px solid var(--p101-border);
    padding: 0 20px;
}

.p101-profile-header {
    position: relative;
    margin-bottom: 100px;
}

.p101-cover {
    height: 200px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.p101-avatar-container {
    position: absolute;
    bottom: -60px;
    left: 30px;
    width: 120px;
    height: 120px;
    border-radius: 60px;
    border: 4px solid var(--p101-bg);
    overflow: hidden;
    background: var(--p101-card-bg);
}

.p101-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p101-profile-info {
    padding: 20px 30px;
}

.p101-profile-info h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 0;
}

.p101-bio {
    color: var(--p101-text-dim);
    margin: 10px 0;
    font-size: 16px;
}

/* Mobile App Styles */
@media (max-width: 991px) {
    .p101-app-shell {
        grid-template-columns: 1fr;
        padding: 0;
        margin-bottom: 70px;
    }
    
    .p101-sidebar, .p101-right-rail {
        display: none;
    }
    
    .p101-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--p101-card-bg);
        border-top: 1px solid var(--p101-border);
        justify-content: space-around;
        padding: 10px 0;
        z-index: 1000;
    }
    
    .p101-mobile-nav-item {
        color: var(--p101-text-dim);
        text-align: center;
        font-size: 12px;
        text-decoration: none;
    }
    
    .p101-mobile-nav-item i {
        display: block;
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .p101-mobile-nav-item.active {
        color: var(--p101-purple);
    }
    
    .p101-main-feed {
        border: none;
    }
}

@media (min-width: 992px) {
    .p101-mobile-nav {
        display: none;
    }
}

/* Forms */
.p101-profile-edit-form {
    background: var(--p101-card-bg);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}
.p101-documents-hero {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	margin-bottom: 18px;
	border-radius: 22px;
	background: linear-gradient(135deg, #8c56ff, #ef55ce);
	color: #fff;
}
.p101-documents-hero > .dashicons { width: 42px; height: 42px; font-size: 42px; }
.p101-documents-hero h2 { margin: 0 0 5px; color: #fff; font-size: 20px; }
.p101-documents-hero p { margin: 0; opacity: .88; font-size: 12px; font-weight: 600; }
.p101-document-grid { display: grid; gap: 12px; }
.p101-document-card {
	display: grid;
	grid-template-columns: 48px minmax(0,1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 15px;
	border: 1px solid #e3e7ec;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(17,24,39,.05);
}
.p101-document-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #f3edff;
	color: #8c56ff;
}
.p101-document-copy span { color: #8c56ff; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.p101-document-copy h3 { margin: 3px 0; color: #111; font-size: 14px; }
.p101-document-copy small { color: #78828a; font-weight: 700; }
.p101-document-open {
	padding: 9px 13px;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	text-decoration: none;
	font-size: 12px;
	font-weight: 900;
}
.p101-documents-empty { padding: 56px 20px; text-align: center; color: #78828a; }
.p101-documents-empty .dashicons { width: 44px; height: 44px; font-size: 44px; color: #c2c8d0; }
.p101-documents-empty h3 { margin: 12px 0 5px; color: #111; }
.p101-document-folders { display: grid; gap: 16px; }
.p101-document-folder {
	overflow: hidden;
	border: 1px solid rgba(140, 86, 255, .16);
	border-radius: 22px;
	background: linear-gradient(180deg, #fff, #fcfaff);
	box-shadow: 0 14px 34px rgba(48, 30, 88, .07);
}
.p101-folder-header {
	width: 100%;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 24px;
	align-items: center;
	gap: 13px;
	padding: 17px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}
.p101-folder-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 43px;
	border-radius: 8px 11px 11px 11px;
	background: linear-gradient(145deg, #a376ff, #7b3cff);
	color: #fff;
	box-shadow: 0 9px 20px rgba(123, 60, 255, .26);
}
.p101-folder-art::before {
	content: "";
	position: absolute;
	left: 4px;
	top: -6px;
	width: 23px;
	height: 10px;
	border-radius: 6px 6px 0 0;
	background: #a376ff;
}
.p101-folder-art .dashicons { position: relative; z-index: 1; }
.p101-folder-name strong { display: block; color: #111; font-size: 15px; font-weight: 900; }
.p101-folder-name small { display: block; margin-top: 3px; color: #78828a; font-size: 11px; font-weight: 700; }
.p101-folder-chevron { color: #8c56ff; transition: transform .18s ease; }
.p101-document-folder.is-collapsed .p101-folder-chevron { transform: rotate(-90deg); }
.p101-folder-files { display: grid; gap: 8px; padding: 0 12px 12px; }
.p101-document-file {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	width: 100%;
	padding: 11px;
	border: 1px solid #ece8f4;
	border-radius: 15px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.p101-document-file:hover { transform: translateY(-1px); border-color: #cdb9f7; box-shadow: 0 8px 20px rgba(48,30,88,.08); }
.p101-file-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: #f4efff;
	color: #8c56ff;
}
.p101-file-copy strong { display: block; color: #111; font-size: 13px; font-weight: 850; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p101-file-copy small { display: block; margin-top: 3px; color: #8b939d; font-size: 10px; font-weight: 750; }
.p101-file-open { padding: 7px 10px; border-radius: 999px; background: #111; color: #fff; font-size: 10px; font-weight: 900; }
#p101-document-viewer {
	position: fixed;
	inset: 0;
	z-index: 1000002;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: rgba(10, 8, 15, .82);
	backdrop-filter: blur(9px);
}
#p101-document-viewer.is-open { display: flex; }
.p101-document-viewer-shell {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: min(960px, 100%);
	height: min(90vh, 820px);
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.p101-document-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 17px; border-bottom: 1px solid #e8ebef; }
.p101-document-viewer-head small { display: block; color: #8c56ff; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.p101-document-viewer-head h3 { margin: 3px 0 0; color: #111; font-size: 16px; }
#p101-document-viewer-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f3f4f6; color: #111; font-size: 25px; cursor: pointer; }
#p101-document-viewer-body { min-height: 0; display: grid; place-items: center; overflow: auto; background: #eef0f4; }
.p101-viewer-frame { width: 100%; height: 100%; min-height: 500px; border: 0; background: #fff; }
.p101-viewer-image { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.p101-viewer-video { display: block; width: 100%; height: 100%; max-height: 100%; background: #000; }
.p101-viewer-audio-wrap { width: min(520px, 90%); padding: 30px; border-radius: 20px; background: #fff; }
.p101-viewer-audio-wrap audio { width: 100%; }
.p101-viewer-unavailable { padding: 30px; max-width: 420px; text-align: center; color: #66707a; }
.p101-viewer-unavailable .dashicons { width: 52px; height: 52px; font-size: 52px; color: #8c56ff; }
.p101-viewer-unavailable h4 { margin: 15px 0 6px; color: #111; font-size: 18px; }
.p101-pdf-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 300px;
	padding: 30px;
	color: #66707a;
	text-align: center;
}
.p101-pdf-loading > span {
	width: 42px;
	height: 42px;
	border: 4px solid #dcd2ee;
	border-top-color: #7b3cff;
	border-radius: 50%;
	animation: p101PdfSpin .8s linear infinite;
}
.p101-pdf-loading strong { color: #111; font-size: 15px; }
.p101-pdf-loading small { font-size: 11px; font-weight: 700; }
@keyframes p101PdfSpin { to { transform: rotate(360deg); } }
.p101-pdf-pages {
	display: grid;
	gap: 18px;
	width: 100%;
	padding: 14px;
	box-sizing: border-box;
	background: #d8dbe1;
}
.p101-pdf-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.p101-pdf-page small {
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(17,17,17,.72);
	color: #fff;
	font-size: 9px;
	font-weight: 800;
}
.p101-pdf-page canvas {
	display: block;
	max-width: 100%;
	height: auto !important;
	background: #fff;
	box-shadow: 0 7px 22px rgba(0,0,0,.18);
}
.p101-pdf-retry {
	margin-top: 12px;
	padding: 10px 15px;
	border: 0;
	border-radius: 999px;
	background: #7b3cff;
	color: #fff;
	font-weight: 850;
	cursor: pointer;
}
body.p101-document-viewer-open { overflow: hidden !important; }
@media (max-width: 640px) {
	#p101-document-viewer { padding: 0; }
	.p101-document-viewer-shell { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
	.p101-viewer-frame { min-height: 100%; }
}

/* Premium document library */
#p101-documents-section {
	min-height: calc(100vh - 170px);
	background:
		radial-gradient(circle at 95% 4%, rgba(172, 135, 255, .20), transparent 28%),
		linear-gradient(155deg, #f1e9ff 0%, #fbf8ff 52%, #f5f1fc 100%);
}
#p101-documents-section .p101-documents-hero {
	align-items: flex-start;
	padding: 4px 2px 22px;
	margin-bottom: 0;
	background: transparent;
	color: #111;
}
#p101-documents-section .p101-documents-hero > .dashicons {
	display: none;
}
#p101-documents-section .p101-documents-hero h2 {
	margin: 0 0 7px;
	color: #111;
	font-size: clamp(25px, 5vw, 34px);
	line-height: 1.1;
	letter-spacing: -.035em;
}
#p101-documents-section .p101-documents-hero p {
	max-width: 620px;
	color: #5e6470;
	font-size: 13px;
	line-height: 1.55;
	opacity: 1;
}
#p101-documents-section .p101-document-folders {
	padding: 18px;
	border: 1px solid rgba(143, 95, 235, .10);
	border-radius: 26px;
	background: rgba(255, 255, 255, .42);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 18px 48px rgba(76, 42, 129, .08);
	backdrop-filter: blur(12px);
}
.p101-document-folder {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}
.p101-document-folder + .p101-document-folder {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid rgba(107, 82, 143, .13);
}
.p101-folder-header {
	grid-template-columns: 52px minmax(0, 1fr) 38px;
	padding: 0 2px 14px;
}
.p101-folder-art {
	width: 50px;
	height: 42px;
	border-radius: 9px 11px 11px;
	background: linear-gradient(145deg, #8d65de, #60359d);
	box-shadow: 0 10px 22px rgba(80, 43, 140, .24);
}
.p101-folder-art::before { background: #a584e5; }
.p101-folder-name strong {
	font-size: 18px;
	letter-spacing: -.02em;
}
.p101-folder-name small {
	margin-top: 4px;
	color: #7d748a;
	font-size: 11px;
}
.p101-folder-chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,.74);
	color: #382257;
	box-shadow: 0 5px 14px rgba(70,42,110,.10);
}
.p101-folder-files {
	gap: 13px;
	padding: 0;
}
.p101-document-file {
	position: relative;
	grid-template-columns: 58px minmax(0, 1fr) 40px;
	gap: 15px;
	min-height: 100px;
	padding: 17px 16px 23px;
	overflow: hidden;
	border: 1px solid rgba(89, 64, 123, .07);
	border-radius: 19px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 9px 25px rgba(65, 39, 102, .08);
}
.p101-document-file:hover,
.p101-document-file:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(99, 53, 160, .18);
	box-shadow: 0 14px 32px rgba(65, 39, 102, .13);
	outline: none;
}
.p101-file-icon {
	position: relative;
	width: 52px;
	height: 62px;
	border: 2px solid #d3d6dc;
	border-radius: 7px;
	background: linear-gradient(145deg, #fff, #edf0f4);
	color: #6b7280;
	box-sizing: border-box;
}
.p101-file-icon::before {
	content: "";
	position: absolute;
	right: -2px;
	top: -2px;
	width: 17px;
	height: 17px;
	border-left: 2px solid #d3d6dc;
	border-bottom: 2px solid #d3d6dc;
	background: #f8f9fb;
	clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.p101-file-icon .dashicons {
	position: absolute;
	left: 13px;
	top: 12px;
	width: 22px;
	height: 22px;
	font-size: 22px;
	opacity: .22;
}
.p101-file-icon em {
	position: absolute;
	left: -7px;
	bottom: 8px;
	min-width: 40px;
	padding: 3px 5px;
	border-radius: 4px;
	background: #7850b5;
	color: #fff;
	font-size: 9px;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	box-shadow: 0 3px 8px rgba(63,35,102,.24);
}
.p101-file-icon-pdf em { background: #d9164b; }
.p101-file-icon-jpg em,
.p101-file-icon-jpeg em,
.p101-file-icon-png em,
.p101-file-icon-webp em { background: #168b7c; }
.p101-file-icon-mp4 em,
.p101-file-icon-mov em,
.p101-file-icon-webm em { background: #2469c9; }
.p101-file-copy strong {
	font-size: 15px;
	font-weight: 850;
	letter-spacing: -.01em;
}
.p101-file-copy small {
	margin-top: 7px;
	color: #6d7179;
	font-size: 11px;
	white-space: normal;
	line-height: 1.45;
}
.p101-file-ready {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 4px;
	color: #289d68;
	font-weight: 850;
}
.p101-file-ready i {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #38bd7a;
	box-shadow: inset 0 0 0 4px #38bd7a;
}
.p101-file-ready i::after {
	content: "✓";
	display: block;
	color: #fff;
	font-size: 9px;
	line-height: 15px;
	text-align: center;
}
.p101-file-open {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #d9d1e5;
	border-radius: 50%;
	background: #fff;
	color: #4a2d73;
}
.p101-file-open .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
}
.p101-file-progress {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 10px;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: #d7dbe2;
}
.p101-file-progress i {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #5e3898, #7c4fba);
}
.profile-tab-panel .p101-document-folders {
	padding: 14px;
	border-radius: 20px;
	background: linear-gradient(145deg, #f0e7ff, #fbf8ff);
}
@media (max-width: 640px) {
	#p101-documents-section { padding: 22px 14px !important; }
	#p101-documents-section .p101-document-folders { padding: 14px; border-radius: 22px; }
	.p101-folder-header { grid-template-columns: 46px minmax(0, 1fr) 34px; gap: 11px; }
	.p101-folder-art { width: 44px; height: 38px; }
	.p101-folder-name strong { font-size: 16px; }
	.p101-document-file { grid-template-columns: 52px minmax(0, 1fr) 34px; gap: 12px; padding: 15px 13px 22px; }
	.p101-file-icon { transform: scale(.9); transform-origin: left center; }
	.p101-file-copy strong { font-size: 14px; }
}
@media (max-width: 991px) {
	.bottom-nav ul { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bottom-nav li { display: flex; align-items: center; justify-content: center; min-width: 0; }
	#p101-mob-messages {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 44px !important;
		height: 44px !important;
		overflow: visible !important;
		border-radius: 50%;
	}
	#p101-mob-messages img { display: block; width: 24px !important; height: 24px !important; object-fit: contain; }
	#p101-mob-messages .p101-bottom-message-badge { right: -3px !important; top: -4px !important; }
}
.p101-in-app-map {
	height: 250px;
	margin: 0 0 14px;
	overflow: hidden;
	border: 1px solid #e3e7ec;
	border-radius: 16px;
	background: #f6f8fe;
}
.p101-in-app-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.p101-group-logo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 7px;
	box-sizing: border-box;
	background: #fff;
}
#p101-chat-presence { color: #78828a !important; }
#p101-chat-presence.is-online { color: #00a86b !important; }
#p101-chat-selection-bar {
	display: none;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	padding: 10px 12px;
	border-radius: 16px;
	background: #111;
	color: #fff;
	box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
#p101-chat-selection-bar.is-open { display: flex; }
#p101-chat-selection-bar button { border:0;border-radius:999px;padding:8px 11px;background:rgba(255,255,255,.14);color:#fff;font-weight:800;cursor:pointer; }
#p101-chat-selection-bar #p101-chat-delete-selected { margin-left:auto;background:#e53935; }
.p101-chat-contact-item.p101-selecting { position: relative; padding-left: 52px !important; }
.p101-chat-contact-item.p101-selecting::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 21px;
	height: 21px;
	border: 2px solid #9b94a5;
	border-radius: 50%;
	transform: translateY(-50%);
	background:#fff;
}
.p101-chat-contact-item.p101-selected { border-color:#8c56ff !important;background:#f3edff !important; }
.p101-chat-contact-item.p101-selected::before { content:"✓";background:#8c56ff;border-color:#8c56ff;color:#fff;text-align:center;line-height:21px;font-weight:900; }
#p101-directions-screen {
	position: fixed;
	inset: 0;
	z-index: 1000004;
	display: none;
	grid-template-rows: auto auto auto auto minmax(0,1fr) auto;
	background: #fff;
	font-family: "Plus Jakarta Sans", Arial, sans-serif;
}
#p101-directions-screen.is-open { display: grid; }
.p101-directions-top { display:flex;align-items:center;gap:13px;padding:max(14px,env(safe-area-inset-top)) 16px 12px;background:var(--p101-gradient);color:#fff; }
.p101-directions-top button { width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff; }
.p101-directions-top small,.p101-directions-top strong { display:block; }.p101-directions-top small{opacity:.78;font-size:10px}.p101-directions-top strong{font-size:16px}
.p101-directions-fields { display:grid;gap:8px;padding:13px 16px;background:linear-gradient(135deg,#7b3cff,#a734d6); }
.p101-directions-fields div { display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:15px;background:rgba(255,255,255,.17);color:#fff; }
.p101-directions-fields input { min-width:0;width:100%;border:0;background:transparent;color:#fff;font-weight:700;outline:none; }
.p101-directions-modes { display:grid;grid-template-columns:repeat(4,1fr);padding:11px 12px;background:#fff;box-shadow:0 7px 18px rgba(93,46,145,.14);z-index:2; }
.p101-directions-modes button { display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;color:#9aa2ac; }
.p101-directions-modes button span { display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#f3f4f6; }
.p101-directions-modes button.active { color:#8c56ff;font-weight:900; }.p101-directions-modes button.active span{background:linear-gradient(135deg,#8c56ff,#d816e3);color:#fff}
.p101-directions-live { display:flex;align-items:center;gap:10px;padding:10px 16px;background:#f7f2ff;border-bottom:1px solid #e9def8;color:#4a2d73; }
.p101-directions-live strong,.p101-directions-live small{display:block}.p101-directions-live strong{font-size:12px}.p101-directions-live small{margin-top:2px;color:#786d83;font-size:10px;font-weight:700}
.p101-navigation-pulse{width:13px;height:13px;border-radius:50%;background:#8c56ff;box-shadow:0 0 0 0 rgba(140,86,255,.42)}
.p101-directions-live.is-navigating .p101-navigation-pulse{background:#00a86b;animation:p101NavigationPulse 1.4s infinite}
@keyframes p101NavigationPulse{70%{box-shadow:0 0 0 10px rgba(0,168,107,0)}100%{box-shadow:0 0 0 0 rgba(0,168,107,0)}}
.p101-directions-map { position:relative;min-height:0;background:#e8edf3;overflow:hidden; }.p101-directions-map iframe{width:100%;height:100%;border:0;display:block}
#p101-navigation-guidance{display:none;position:absolute;z-index:3;top:14px;left:14px;right:14px;color:#fff;filter:drop-shadow(0 8px 18px rgba(31,11,62,.25))}
.p101-guidance-main{display:flex;align-items:center;gap:15px;padding:18px;background:linear-gradient(135deg,#7137e8,#b51bc7);border-radius:22px}
.p101-guidance-main>.dashicons{width:42px;height:42px;font-size:42px}.p101-guidance-main small,.p101-guidance-main strong{display:block}.p101-guidance-main small{font-size:12px;opacity:.82}.p101-guidance-main strong{font-size:20px;line-height:1.2}
.p101-guidance-next{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;background:#5825b8;border-radius:0 0 16px 16px;font-weight:800;font-size:13px}
.p101-map-controls{display:none;position:absolute;z-index:3;right:16px;bottom:20px;gap:10px;flex-direction:column}.p101-map-controls button{display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:#6331c8;box-shadow:0 5px 18px rgba(0,0,0,.22)}
#p101-directions-screen.is-navigating .p101-directions-top,#p101-directions-screen.is-navigating .p101-directions-fields,#p101-directions-screen.is-navigating .p101-directions-live,#p101-directions-screen.is-navigating .p101-directions-modes{display:none}
#p101-directions-screen.is-navigating{grid-template-rows:minmax(0,1fr) auto}
#p101-directions-screen.is-navigating #p101-navigation-guidance{display:block}
#p101-directions-screen.is-navigating .p101-map-controls{display:flex}
.p101-directions-bottom { display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 17px calc(13px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -8px 24px rgba(0,0,0,.10); }
.p101-directions-bottom small,.p101-directions-bottom strong{display:block}.p101-directions-bottom small{color:#78828a}.p101-directions-bottom strong{max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#p101-directions-start { padding:12px 22px;border:0;border-radius:999px;background:var(--p101-gradient);color:#fff;font-weight:900;box-shadow:0 9px 18px rgba(140,86,255,.30); }
#p101-directions-start.is-active{background:#111}
body.p101-directions-open { overflow:hidden !important; }
