:root { --ink:#513521; --pink:#e889a0; --cream:#fffaf4; --peach:#f7e7dd; --line:rgba(81,53,33,.14); --muted:rgba(81,53,33,.62); }
* { box-sizing:border-box; } body { margin:0; color:var(--ink); background:var(--cream); font-family:"DM Sans",sans-serif; } a { color:inherit; text-decoration:none; } button,input,textarea,select { font:inherit; }
.crm-body { display:flex; min-height:100vh; }.crm-sidebar { position:fixed; inset:0 auto 0 0; width:250px; height:100vh; min-height:0; padding:30px 22px; display:flex; flex-direction:column; overflow:hidden; background:#f7e7dd; border-right:1px solid var(--line); }.crm-brand { display:flex; align-items:center; flex:0 0 auto; gap:10px; font-family:"Playfair Display",serif; font-size:21px; line-height:.9; }.crm-brand img { width:48px; height:48px; object-fit:contain; }.crm-brand small { font-size:16px; }.crm-kicker { margin:0 0 9px; color:#b66c78; text-transform:uppercase; letter-spacing:.15em; font-size:10px; font-weight:700; }.crm-sidebar > .crm-kicker { margin:58px 12px 14px; }.crm-sidebar nav { display:flex; flex:0 0 auto; flex-direction:column; gap:4px; }.crm-sidebar nav a { display:flex; align-items:center; gap:12px; padding:12px 13px; border-radius:9px; color:rgba(81,53,33,.7); font-size:13px; }.crm-sidebar nav a:first-letter { font-size:17px; }.crm-sidebar nav a:hover,.crm-sidebar nav a.is-active { color:var(--ink); background:rgba(255,255,255,.6); }.crm-sidebar-bottom { display:flex; flex:0 0 auto; flex-direction:column; gap:12px; margin-top:auto; padding:16px 12px 0; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }.crm-main { width:calc(100% - 250px); min-height:100vh; margin-left:250px; padding:48px clamp(24px,5vw,72px) 70px; }.crm-topbar { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:42px; }.crm-topbar h1 { margin:0; font-family:"Playfair Display",serif; font-size:48px; font-weight:500; letter-spacing:-.05em; }.crm-user { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:var(--cream); background:var(--ink); font-weight:700; }.crm-alert { margin-bottom:22px; padding:13px 15px; border-radius:8px; background:#e7f0e9; font-size:13px; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:32px; }.stat-card { min-height:155px; padding:21px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.36); }.stat-card:hover { border-color:var(--pink); transform:translateY(-2px); }.stat-card span,.stat-card small { display:block; color:var(--muted); font-size:12px; }.stat-card strong { display:block; margin:19px 0 12px; font-family:"Playfair Display",serif; font-size:42px; font-weight:500; }.stat-card small { color:#b66c78; }.crm-columns { display:grid; grid-template-columns:1fr 1fr; gap:22px; }.crm-panel { padding:26px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.32); }.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:20px; }.panel-heading h2 { margin:0; font-family:"Playfair Display",serif; font-size:28px; font-weight:500; }.panel-heading > a { color:#b66c78; font-size:12px; }.crm-row,.manage-row { display:flex; align-items:center; gap:14px; padding:14px 0; border-top:1px solid var(--line); }.crm-row p,.manage-row p { margin:4px 0 0; color:var(--muted); font-size:12px; }.date-chip { display:flex; flex:0 0 45px; flex-direction:column; align-items:center; padding:6px 2px; border-radius:8px; color:var(--ink); background:var(--pink); }.date-chip strong { font-family:"Playfair Display",serif; font-size:20px; line-height:1; }.date-chip span { margin-top:3px; font-size:10px; text-transform:uppercase; }.message-row { align-items:flex-start; }.message-row time { margin-left:auto; color:var(--muted); font-size:11px; }.message-dot { width:8px; height:8px; flex:0 0 8px; margin-top:5px; border-radius:50%; background:var(--pink); }.message-dot.read { background:#d4d2cb; }.empty-state { padding:28px 0; color:var(--muted); font-size:13px; }.quick-actions { display:flex; align-items:center; gap:22px; margin-top:28px; padding:18px 20px; border-radius:10px; background:#f7e7dd; }.quick-actions .crm-kicker { margin:0 auto 0 0; }.quick-actions a { font-size:13px; }.quick-actions a span { color:#b66c78; }
.crm-form label { display:block; margin:17px 0 7px; font-size:12px; font-weight:700; }.crm-form input:not([type=checkbox]):not([type=file]),.crm-form textarea,.crm-form select { width:100%; padding:12px 13px; border:1px solid var(--line); border-radius:7px; outline:0; color:var(--ink); background:rgba(255,255,255,.6); }.crm-form textarea { min-height:96px; resize:vertical; }.crm-form input:focus,.crm-form textarea:focus,.crm-form select:focus { border-color:var(--pink); }.crm-form input[type=checkbox] { accent-color:var(--pink); }.crm-form p { margin:0; }.crm-form p label { margin-top:17px; }.crm-button { display:inline-flex; align-items:center; gap:18px; margin-top:22px; padding:13px 18px; border:0; border-radius:100px; color:var(--ink); background:var(--pink); cursor:pointer; font-weight:700; }.crm-button:hover { box-shadow:0 8px 18px rgba(81,53,33,.12); transform:translateY(-1px); }.content-form { max-width:850px; }.form-section { margin-bottom:24px; padding:26px; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.3); }.form-section h2 { margin:0 0 4px; font-family:"Playfair Display",serif; font-size:27px; font-weight:500; }.form-help { margin:0 0 22px; color:var(--muted); font-size:13px; }.form-two,.form-three { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.form-three { grid-template-columns:repeat(3,1fr); }.form-three label { line-height:1.25; }.collection-layout { align-items:start; }.sticky-panel { position:sticky; top:25px; }.manage-row { justify-content:space-between; }.row-actions { display:flex; gap:12px; align-items:center; }.row-actions a { color:#b66c78; font-size:12px; }.row-actions button,.read-button { padding:0; border:0; color:var(--muted); background:none; cursor:pointer; font-size:12px; }.cancel-link { display:inline-block; margin-left:13px; color:var(--muted); font-size:12px; }.message-card { display:flex; align-items:flex-start; justify-content:space-between; gap:25px; padding:19px 0; border-top:1px solid var(--line); }.message-card.unread { border-left:3px solid var(--pink); padding-left:14px; }.message-card-top { display:flex; gap:16px; align-items:baseline; }.message-card-top span,.message-card small { color:var(--muted); font-size:11px; }.message-card a { display:block; margin-top:5px; color:#b66c78; font-size:12px; }.message-card small { display:block; margin-top:4px; }.message-card p { margin:10px 0 0; color:var(--muted); line-height:1.5; font-size:13px; }.read-button { color:#b66c78; white-space:nowrap; }.read-label { color:var(--muted); font-size:11px; }
.crm-login { min-height:100vh; display:grid; place-items:center; background:#f7e7dd; }.login-card { width:min(440px,calc(100% - 40px)); padding:45px; border:1px solid var(--line); border-radius:18px; background:var(--cream); box-shadow:0 25px 70px rgba(81,53,33,.1); }.login-card > img { display:block; width:110px; height:110px; margin:0 auto 20px; object-fit:contain; }.login-card h1 { margin:15px 0 32px; font-family:"Playfair Display",serif; font-size:52px; line-height:.96; font-weight:500; letter-spacing:-.05em; }.login-card h1 em { color:#b66c78; font-style:normal; }.login-card label { display:block; margin:18px 0 7px; font-size:12px; font-weight:700; }.login-card input:not([type=hidden]) { width:100%; padding:13px; border:1px solid var(--line); border-radius:7px; outline:0; background:rgba(255,255,255,.65); }.login-card .crm-button { width:100%; justify-content:center; margin-top:28px; }
@media (max-width:900px) { .crm-sidebar { width:215px; }.crm-main { width:calc(100% - 215px); margin-left:215px; padding-left:28px; padding-right:28px; }.stats-grid { grid-template-columns:repeat(2,1fr); }.crm-columns { grid-template-columns:1fr; }.form-three { grid-template-columns:1fr; } }
@media (max-height:760px) and (min-width:621px) { .crm-sidebar { padding-top:18px; padding-bottom:18px; }.crm-sidebar > .crm-kicker { margin-top:28px; margin-bottom:9px; }.crm-sidebar nav { gap:2px; }.crm-sidebar nav a { min-height:40px; padding-top:8px; padding-bottom:8px; }.crm-sidebar .nav-group-space { margin-top:16px; }.crm-sidebar-bottom { gap:8px; padding-top:10px; } }
@media (max-width:620px) { .crm-sidebar { position:static; width:100%; min-height:auto; padding:16px; }.crm-body { display:block; }.crm-sidebar > .crm-kicker,.crm-sidebar-bottom { display:none; }.crm-sidebar nav { display:grid; grid-template-columns:repeat(4,1fr); margin-top:18px; }.crm-sidebar nav a { justify-content:center; padding:9px 3px; }.crm-sidebar nav a span { display:none; }.crm-main { width:100%; margin:0; padding:28px 18px 50px; }.crm-topbar h1 { font-size:38px; }.stats-grid { grid-template-columns:1fr 1fr; gap:10px; }.stat-card { min-height:130px; padding:15px; }.stat-card strong { font-size:32px; }.form-two { grid-template-columns:1fr; }.login-card { padding:30px; } }
