/* ===========================================================Admin Portal — Design System v5Matches Dashboard_dc reference: cream canvas, tinted bentocards, colored square markers, pill buttons.=========================================================== */
:root {
	--canvas: #f7f5f0;
	--ink: #1c1c1a;
	--ink-deep: #232323;
	--ink-panel: #343434;
	--text-muted: #6f6d66;
	--text-faint: #8b887f;
	--sunken: #e9e6dd;
	--sunken-hover: #eeebe3;
	--hairline: rgba(28,28,26,.07);
	/* accent families */
	--blue: #2f5bab;
	--blue-deep: #24417a;
	--blue-tint: #e4ebf9;
	--blue-tint-hover: #d7e1f5;
	--green: #2f7350;
	--green-deep: #1f5439;
	--green-tint: #e0efe4;
	--green-badge-bg: #cfe6d6;
	--green-pill-bg: #dce9e0;
	--green-pill-text: #2f6b4a;
	--orange: #c05f2c;
	--orange-tint: #f8ece3;
	--orange-tint-hover: #f7e3d6;
	--orange-badge-bg: #f6ddc9;
	--orange-badge-text: #a34e1f;
	--amber: #e8a03c;
	--on-dark: #f7f5f0;
	--font: Arial, Helvetica, sans-serif;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font);
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--ink);
	text-decoration: none;
}
/* ::-webkit-scrollbar {
	width: 10px;
	height: 10px;
} */
/* ::-webkit-scrollbar-thumb {
	background: #dcd8cd;
	border-radius: 8px;
	border: 3px solid var(--canvas);
} */
/* ===================== Shell ===================== */
.shell {
	display: flex;
	min-height: 100vh;
	background: var(--canvas);
}
.sidebar {
	width: 20%;
	flex: none;
	position: sticky;
	top: 0;
	height: 100vh;
	padding: 26px 18px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	border-right: 1px solid var(--hairline);
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 8px;
}
.brand-mark {
	width: 46px;
height: 46px;
	border-radius: 10px;
	background: var(--ink-deep);
	display: flex;
	align-items: center;
	justify-content: center;
  padding:10px;

}
.brand-mark img{
object-fit: contain;
width: 26px;
height: 26px;
}
.brand-name {
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -.01em;
}
.nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 13.5px;
	color: var(--text-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.nav-item:hover {
	background: var(--sunken-hover);
	color: var(--ink);
}
.nav-item.active {
	background: var(--sunken);
	color: var(--ink);
}
.nav-item.active:hover {
	background: #e3dfd4;
}
.nav-sq {
	width: 6px;
	height: 6px;
	border-radius: 2px;
	flex: none;
}
.sidebar-foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.setup-card {
	padding: 14px;
	border-radius: 14px;
	background: var(--sunken);
}
.setup-label {
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-faint);
}
.setup-count {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 6px;
}
.setup-count b {
	font-weight: 700;
	font-size: 26px;
	line-height: 1;
}
.setup-count span {
	font-size: 12px;
	color: var(--text-muted);
}
.setup-track {
	height: 4px;
	border-radius: 3px;
	background: #d8d4c8;
	margin-top: 9px;
	overflow: hidden;
}
.setup-fill {
	height: 100%;
	border-radius: 3px;
	background: var(--green);
	width: 0%;
	transition: width .3s ease;
}
.main {
	flex: 1;
	min-width: 0;
	padding: 35px;
	max-width: 100%;
}
/* ===================== Header ===================== */
.page-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}
.eyebrow-sm {
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 8px;
}
.page-title {
	font-weight: 700;
	font-size: 46px;
	line-height: 1;
	margin: 0;
	letter-spacing: -.015em;
}
.head-right {
	display: flex;
	align-items: center;
	gap: 10px;
}
.pill-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--green-pill-bg);
	color: var(--green-pill-text);
	font-size: 12px;
	white-space: nowrap;
}
.pill-status .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #3f8a63;
}
.avatar {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ink-deep);
	color: var(--on-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	
	flex: none;
}
.avatar img{
	width: 46px;
	height: 46px;
  object-fit: cover;
  border-radius:60px;
}
.kicker {
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-faint);
	display: flex;
	align-items: center;
	gap: 8px;
}
.kicker-sq {
	width: 7px;
	height: 7px;
	border-radius: 2px;
	flex: none;
}
.kicker-on-dark {
	color: rgba(244,242,234,.7);
}
/* ===================== Get started (dark) ===================== */
.hero {
	border-radius: 22px;
	background: var(--ink-deep);
	color: var(--on-dark);
	padding: 38px 40px 34px;
	scroll-margin-top: 24px;
}
.hero h2 {
	font-weight: 700;
	font-size: 42px;
	line-height: 1.05;
	margin: 16px 0 0;
	letter-spacing: -.01em;
}
.hero p {
	max-width: 100%;
	font-size: 14.5px;
	line-height: 1.65;
	color: rgba(244,242,234,.82);
	margin: 25px 0px;
}
.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	align-items: start;
}
.hero-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.code-label {
	font-size: 10.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(244,242,234,.6);
	margin-bottom: 8px;
}
.code-row {
	min-width: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--ink-panel);
	border: 1px solid rgba(244,242,234,.16);
	border-radius: 14px;
	padding: 14px 14px 14px 18px;
}
.code-row code {
	flex: 1;
	min-width: 0;
	font-family: var(--font);
	font-size: 12.5px;
	line-height: 1.5;
	color: #eeece5;
	overflow-x: auto;
	white-space: nowrap;
}
.code-row code.wide {
	font-size: 13.5px;
	letter-spacing: .04em;
}
.copy-btn {
	flex: none;
	border: 0;
	cursor: pointer;
	font-family: var(--font);
	font-size: 12.5px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--on-dark);
	color: var(--ink-deep);
	transition: background .15s ease;
}
.copy-btn:hover {
	background: #fff;
}
.copy-btn.ghost {
	background: rgba(244,242,234,.14);
	color: var(--on-dark);
}
.copy-btn.ghost:hover {
	background: rgba(244,242,234,.24);
}
.checklist {
	min-width: 0;
	background: rgba(244,242,234,.09);
	border: 1px solid rgba(244,242,234,.14);
	border-radius: 16px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.check-item {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	cursor: pointer;
}
.check-box {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border-radius: 6px;
	border: 1px solid rgba(244,242,234,.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: var(--ink-deep);
	background: transparent;
}
.check-item.done .check-box {
	background: #d8d5cc;
}
.check-label {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--on-dark);
}
.check-item.done .check-label {
	color: rgba(244,242,234,.6);
}
.check-divider {
	height: 1px;
	background: rgba(244,242,234,.16);
	margin-top: 2px;
}
.check-foot {
	font-size: 12px;
	line-height: 1.55;
	color: rgba(244,242,234,.65);
}
/* ===================== Bento row ===================== */
.bento {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 18px;
	margin-top: 18px;
}
.panel {
	min-width: 0;
	border-radius: 22px;
	padding: 30px 32px;
	scroll-margin-top: 24px;
	display: flex;
	flex-direction: column;
}
.panel-blue {
	background: var(--blue-tint);
}
.panel-green {
	background: var(--green-tint);
}
/* Billing */
.plan-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-top: 16px;
}
.plan-name {
	font-weight: 700;
	font-size: 36px;
	line-height: 1.05;
	letter-spacing: -.01em;
	color: var(--blue-deep);
}
.plan-meta {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 6px;
}
.badge-active {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--green-pill-bg);
	color: var(--green-pill-text);
	font-size: 12px;
	white-space: nowrap;
}
.badge-active .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #3f8a63;
}
.price-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 26px;
}
.price-row b {
	font-weight: 700;
	font-size: 30px;
	color: var(--blue-deep);
}
.price-row span {
	font-size: 13px;
	color: var(--text-muted);
}
.included {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid rgba(28,28,26,.12);
}
.included-label {
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 14px;
}
.perk-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px 18px;
}
.perk {
	display: flex;
	gap: 9px;
	align-items: flex-start;
}
.perk-tick {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 1px;
	border-radius: 5px;
	background: var(--blue);
	color: var(--on-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
}
.perk-title {
	font-size: 13px;
	line-height: 1.3;
}
.perk-note {
	font-size: 11.5px;
	line-height: 1.4;
	color: var(--text-faint);
	margin-top: 2px;
}
.btn-row {
	display: flex;
	gap: 9px;
	margin-top: 26px;
}
.btn {
	cursor: pointer;
	font-family: var(--font);
	font-size: 13.5px;
	padding: 12px;
	border-radius: 999px;
	border: 0;
	transition: background .15s ease;
}
.btn-blue {
	flex: 1;
	background: var(--blue);
	color: var(--on-dark);
}
.btn-blue:hover {
	background: var(--blue-deep);
}
.btn-blue-outline {
	flex: 1;
	background: transparent;
	border: 1px solid rgba(47,91,171,.35);
	color: var(--blue-deep);
}
.btn-blue-outline:hover {
	background: var(--blue-tint-hover);
}
.btn-cancel {
	margin-top: 9px;
	background: transparent;
	font-size: 13px;
	padding: 11px;
	border: 1px solid rgba(192,95,44,.4);
	color: var(--orange);
}
.btn-cancel:hover {
	background: var(--orange-tint-hover);
}
.panel-note {
	font-size: 11.5px;
	line-height: 1.55;
	color: var(--text-faint);
	margin: 12px 0 0;
}
/* Team */
.team-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.seats {
	font-size: 11.5px;
	color: var(--text-muted);
}
.team-title {
	font-weight: 700;
	font-size: 30px;
	line-height: 1.1;
	margin-top: 14px;
	letter-spacing: -.01em;
	color: var(--green-deep);
}
.member-list {
	display: flex;
	flex-direction: column;
	margin-top: 18px;
}
.member-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(28,28,26,.08);
}
.member-row:last-child {
	border-bottom: none;
}
.member-avatar {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: var(--on-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
}
.member-main {
	flex: 1;
	min-width: 0;
}
.member-email {
	font-size: 13.5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.member-role {
	font-size: 11.5px;
	color: var(--text-muted);
	margin-top: 2px;
}
.member-badge {
	flex: none;
	font-size: 11.5px;
	padding: 5px 10px;
	border-radius: 999px;
}
.badge-ok {
	background: var(--green-badge-bg);
	color: var(--green-deep);
}
.badge-pending {
	background: var(--orange-badge-bg);
	color: var(--orange-badge-text);
}
.btn-green {
	margin-top: 18px;
	background: var(--green);
	color: var(--on-dark);
}
.btn-green:hover {
	background: var(--green-deep);
}
.invite-box {
	margin-top: 14px;
	background: var(--canvas);
	border-radius: 16px;
	padding: 16px 18px;
	display: none;
	flex-direction: column;
	gap: 10px;
}
.invite-box.open {
	display: flex;
}
.invite-title {
	font-size: 12.5px;
	color: var(--text-muted);
}
.invite-box input, .invite-box select {
	border: 1px solid rgba(28,28,26,.14);
	background: #fff;
	border-radius: 10px;
	padding: 11px 13px;
	font-family: var(--font);
	font-size: 13.5px;
	color: var(--ink);
	outline: none;
	width: 100%;
}
.invite-box input:focus, .invite-box select:focus {
	border-color: var(--green);
}
.invite-actions {
	display: flex;
	gap: 9px;
}
.invite-actions select {
	flex: 1;
}
.invite-actions button {
	flex: 1;
	border-radius: 10px;
	padding: 11px;
}
.invite-note {
	font-size: 11.5px;
	color: var(--text-faint);
}
/* ===================== Tips ===================== */
.tips-section {
	margin-top: 44px;
	scroll-margin-top: 24px;
}
.tips-section h2 {
	font-weight: 700;
	font-size: 34px;
	line-height: 1.1;
	margin: 14px 0 6px;
	letter-spacing: -.01em;
}
.tips-sub {
	font-size: 14px;
	color: var(--text-muted);
	margin: 0 0 22px;
}
.tab-row {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.tab {
	cursor: pointer;
	font-family: var(--font);
	font-size: 12.5px;
	padding: 8px 15px;
	border-radius: 999px;
	border: 1px solid rgba(192,95,44,.3);
	background: transparent;
	color: #8a5a41;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tab.active {
	background: var(--orange);
	color: var(--on-dark);
	border-color: var(--orange);
}
.tip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}
.tip-card {
	background: var(--orange-tint);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.tip-art {
	height: 112px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	padding: 10px 12px;
}
.tip-art-fallback {
	background: repeating-linear-gradient(135deg,#efd6c3 0 9px,#f4e2d3 9px 18px);
	align-items: center;
	justify-content: center;
}
.tip-art-label {
	font-size: 10.5px;
	letter-spacing: .06em;
	color: rgba(35,35,35,.5);
}
.tip-body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.tip-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--orange);
}
.tip-kicker .sq {
	width: 4px;
	height: 4px;
	background: var(--orange);
	border-radius: 1px;
}
.tip-title {
	font-weight: 700;
	font-size: 21px;
	line-height: 1.2;
}
.tip-text {
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}
.tip-link {
	margin-top: auto;
	padding-top: 10px;
	font-size: 12.5px;
	color: var(--orange);
}
/* ===================== Modal ===================== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(28,28,26,.42);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 60;
	padding: 20px;
}
.modal-overlay.open {
	display: flex;
}
.modal {
	background: var(--canvas);
	border-radius: 20px;
	width: 420px;
	max-width: 100%;
	padding: 28px 30px;
}
.modal-title {
	font-weight: 700;
	font-size: 26px;
	letter-spacing: -.01em;
	margin-bottom: 12px;
}
.modal-text {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
}
.modal-actions {
	display: flex;
	gap: 9px;
	margin-top: 22px;
}
.modal-actions .btn {
	flex: 1;
}
.btn-neutral {
	background: transparent;
	border: 1px solid rgba(28,28,26,.18);
	color: var(--ink);
}
.btn-neutral:hover {
	background: var(--sunken);
}
.btn-danger-solid {
	background: var(--orange);
	color: var(--on-dark);
}
.btn-danger-solid:hover {
	background: #a34e1f;
}
@media (max-width: 820px) {
	.sidebar {
		display: none;
	}
	.main {
		padding: 24px 20px 60px;
	}
	.page-title {
		font-size: 32px;
	}
	.hero {
		padding: 26px 22px;
	}
	.hero h2 {
		font-size: 30px;
	}
	.panel {
		padding: 24px 22px;
	}
}
