:root{
  --orange:#f4511e;
  --orange-2:#ff6a2a;
  --orange-soft:#fff1ea;
  --blue:#2878ff;
  --teal:#22b8a8;
  --purple:#9a5df5;
  --green:#19b26b;
  --yellow:#f59e0b;
  --red:#ef4444;
  --ink:#171b2a;
  --text:#4d5567;
  --muted:#8a93a6;
  --line:#e7eaf0;
  --line-soft:#f0f2f6;
  --bg:#f8fafc;
  --white:#ffffff;
  --shadow:0 14px 30px rgba(17,24,39,.065);
  --shadow-hover:0 20px 50px rgba(17,24,39,.10);
  --radius:15px;
  --font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --sidebar-width:296px;
  --sidebar-width-md:268px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  font-size:14px;
  line-height:1.45;
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}

.app-shell{display:flex;min-height:100vh}

.sidebar{
  width:var(--sidebar-width);
  height:100vh;
  position:fixed;
  left:0;
  top:0;
  background:#fff;
  border-right:1px solid #cbd5e1;
  z-index:50;
  padding:20px 18px 22px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.sidebar::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
  background:transparent;
}
.sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:7px;
  flex:1 1 auto;
  min-height:0;
  min-width:0;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.sidebar-nav::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
  background:transparent;
}
.sidebar-nav .nav-link{
  height:46px;
  border-radius:12px;
  padding:0 14px;
  display:flex;
  align-items:center;
  gap:15px;
  color:#0f172a;
  font-size:16px;
  font-weight:700;
  letter-spacing:-.01em;
  transition:.18s ease;
  position:relative;
}
.sidebar-nav .nav-link i{
  font-size:20px;
  color:#0f172a;
  width:22px;
  text-align:center;
  flex:0 0 22px;
}
.sidebar-nav .nav-link:hover{
  background:#f8fafc;
  color:#0f172a;
  transform:translateX(2px);
}
.sidebar-nav .nav-link:hover i{color:#0f172a}
.sidebar-nav .nav-link.active{
  background:#ffdcc8;
  color:#0f172a;
}
.sidebar-nav .nav-link.active i{color:#0f172a}
.sidebar-nav .nav-link-text{
  flex:1;
  min-width:0;
}
.sidebar-nav .nav-link-badge{
  flex-shrink:0;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:var(--orange);
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:22px;
  text-align:center;
}
.sidebar-nav .nav-link-badge.is-hidden{
  display:none;
}

.sale-card{
  margin-top:auto;
  height:320px;
  border-radius:16px;
  background:linear-gradient(180deg,#fff4ec 0%,#fff1ea 42%,#f5fbff 100%);
  position:relative;
  overflow:hidden;
  padding:24px 20px;
  box-shadow:inset 0 0 0 1px rgba(244,81,30,.05);
}
.sale-content{position:relative;z-index:4}
.sale-card h3{
  font-size:18px;
  color:var(--orange);
  font-weight:600;
  margin:0 0 17px;
}
.sale-card p{
  font-size:15px;
  line-height:1.45;
  color:#1e2637;
  margin:0 0 17px;
  font-weight:600;
}
.sale-card button{
  border:0;
  background:linear-gradient(135deg,#ff651f,#f04412);
  color:#fff;
  font-size:13px;
  font-weight:600;
  border-radius:10px;
  padding:10px 19px;
  box-shadow:0 10px 20px rgba(244,81,30,.26);
  cursor:pointer;
}
.korea-scene{position:absolute;left:0;right:0;bottom:0;height:150px}
.mountain{position:absolute;bottom:37px;width:160px;height:80px;background:#e4edf0;clip-path:polygon(0 100%,50% 18%,100% 100%)}
.m1{left:-25px;background:#dbe7e4}
.m2{left:55px;width:185px;height:96px;background:#eef4ed}
.lake{position:absolute;left:0;right:0;bottom:0;height:54px;background:linear-gradient(180deg,#cfe8e9,#e7f3f2)}
.pagoda{position:absolute;right:40px;bottom:33px;width:64px;height:53px}
.pagoda:before{content:"";position:absolute;left:2px;right:2px;top:10px;height:9px;background:#e83e20;border-radius:8px 8px 1px 1px;box-shadow:0 13px 0 #f06a3f}
.pagoda:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:31px;border-left:5px solid #7a5d44;border-right:5px solid #7a5d44}
.tower{position:absolute;right:25px;bottom:33px;width:2px;height:95px;background:#958b84}
.tower:before{content:"";position:absolute;left:-7px;top:16px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:14px solid #77736e}
.flower{position:absolute;border-radius:50%;background:#f9b4c4;box-shadow:8px 3px 0 #ffc4d0,-5px 7px 0 #f5a2b6}
.f1{right:7px;bottom:125px;width:9px;height:9px}
.f2{right:26px;bottom:104px;width:8px;height:8px}
.f3{right:10px;bottom:77px;width:8px;height:8px}

.main-area{
  width:calc(100% - var(--sidebar-width));
  margin-left:var(--sidebar-width);
  min-height:100vh;
}

.topbar{
  height:66px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #e9edf3;
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 32px;
  gap:16px;
}
.topbar-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
}
.search-wrap{
  width:562px;
  max-width:48vw;
  height:38px;
  border:1px solid #dfe4ec;
  background:#fff;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  color:#a0a7b5;
}
.search-wrap input{
  border:0;
  outline:0;
  width:100%;
  font-size:13px;
  color:#333b4f;
  background:transparent;
}
.search-wrap input::placeholder{color:#8e96a8}
.topbar-right{display:flex;align-items:center;gap:18px}
.top-dropdown-wrap{position:relative}
.bell-btn{
  position:relative;
  width:40px;
  height:40px;
  border:0;
  background:#fff;
  color:#121827;
  display:grid;
  place-items:center;
  font-size:22px;
  cursor:pointer;
  border-radius:10px;
}
.bell-btn span,
.bell-btn .bell-count{
  position:absolute;
  top:3px;
  right:3px;
  min-width:18px;
  height:18px;
  padding:0 4px;
  background:#ff3b30;
  color:#fff;
  border-radius:999px;
  font-size:10px;
  font-weight:600;
  display:grid;
  place-items:center;
  border:2px solid #fff;
  line-height:1;
}
.bell-btn .bell-count.is-hidden{display:none}
.bell-btn:hover,
.top-dropdown-wrap.open > .bell-btn{
  background:var(--orange-soft);
  color:var(--orange);
}
.top-dropdown-wrap.open > .bell-btn{
  box-shadow:inset 0 0 0 1px rgba(244,81,30,.12);
}

/* Notification dropdown */
.dropdown-card.notification-dropdown{
  width:min(480px,calc(100vw - 32px));
  border:1px solid rgba(244,81,30,.08);
  border-radius:18px;
  box-shadow:0 22px 48px rgba(15,23,42,.14),0 0 0 1px rgba(255,255,255,.6) inset;
  background:linear-gradient(180deg,#fff 0%,#fffcfa 100%);
}
.notification-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(135deg,rgba(255,241,234,.95) 0%,rgba(255,255,255,.4) 100%);
}
.notification-head-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.notification-head-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:18px;
  color:var(--orange);
  background:linear-gradient(145deg,#fff,#fff1ea);
  box-shadow:0 8px 18px rgba(244,81,30,.14),inset 0 1px 0 rgba(255,255,255,.9);
  flex-shrink:0;
}
.notification-head-main strong{
  display:block;
  font-size:15px;
  font-weight:700;
  color:var(--ink);
  line-height:1.2;
}
.notification-head-main small{
  display:block;
  margin-top:3px;
  font-size:12px;
  color:var(--muted);
}
.notification-view-all{
  flex-shrink:0;
  padding:7px 12px;
  border-radius:999px;
  background:#fff;
  color:var(--orange);
  font-size:12px;
  font-weight:600;
  border:1px solid rgba(244,81,30,.16);
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.notification-view-all:hover{
  background:var(--orange-soft);
  border-color:rgba(244,81,30,.28);
  transform:translateY(-1px);
}
.notification-body{
  max-height:360px;
  overflow:auto;
  padding:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(244,81,30,.25) transparent;
}
.notification-body::-webkit-scrollbar{width:6px}
.notification-body::-webkit-scrollbar-thumb{
  background:rgba(244,81,30,.22);
  border-radius:999px;
}
.notification-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:28px 22px 32px;
}
.notification-empty-visual{
  position:relative;
  width:92px;
  height:92px;
  margin-bottom:18px;
}
.notification-empty-glow{
  position:absolute;
  inset:8px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,106,42,.18) 0%,rgba(255,106,42,0) 72%);
}
.notification-empty-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:linear-gradient(145deg,#fff7f2,#ffe8dc);
  border:1px solid rgba(244,81,30,.12);
  box-shadow:0 14px 28px rgba(244,81,30,.12);
}
.notification-empty-icon{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:34px;
  color:var(--orange);
  opacity:.82;
}
.notification-empty-title{
  display:block;
  font-size:15px;
  font-weight:700;
  color:var(--ink);
  margin-bottom:8px;
}
.notification-empty-text{
  margin:0;
  max-width:360px;
  font-size:13px;
  line-height:1.55;
  color:var(--muted);
}
.notification-list{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.notification-item{
  position:relative;
  display:grid;
  grid-template-columns:42px 1fr auto;
  gap:12px;
  align-items:start;
  padding:12px 14px;
  border-radius:14px;
  color:inherit;
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.notification-item:hover{
  background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  transform:translateY(-1px);
}
.notification-item.is-unread{
  background:linear-gradient(90deg,rgba(255,241,234,.95) 0%,rgba(255,255,255,.85) 100%);
  box-shadow:inset 3px 0 0 var(--orange);
}
.notification-item-icon{
  width:42px;
  height:42px;
  border-radius:13px;
  display:grid;
  place-items:center;
  font-size:17px;
  flex-shrink:0;
}
.notification-item-icon.tone-orange{background:#ffedd5;color:#ea580c}
.notification-item-icon.tone-blue{background:#dbeafe;color:#2563eb}
.notification-item-icon.tone-green{background:#dcfce7;color:#16a34a}
.notification-item-icon.tone-red{background:#fee2e2;color:#dc2626}
.notification-item-icon.tone-purple{background:#ede9fe;color:#7c3aed}
.notification-item-content{min-width:0;padding-right:8px}
.notification-item-content strong{
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.notification-item-content small{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:var(--text);
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.notification-item-time{
  font-style:normal;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  padding-top:2px;
  line-height:1.3;
}
.notification-foot{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
  padding:12px 18px 14px;
  border-top:1px solid var(--line-soft);
  text-align:center;
  background:linear-gradient(180deg,rgba(255,255,255,.2) 0%,rgba(255,241,234,.35) 100%);
}
.notification-foot a,
.notification-foot .notification-foot-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  color:var(--orange);
  background:#fff;
  border:1px solid rgba(244,81,30,.14);
  transition:background .18s ease,border-color .18s ease;
  text-decoration:none;
}
.notification-foot a:hover,
.notification-foot .notification-foot-link:hover{
  background:var(--orange-soft);
  border-color:rgba(244,81,30,.24);
}
.notification-mark-all{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:38px;
  padding:0 14px;
  border:0;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg,#ff641f,#f23f0e);
  box-shadow:0 8px 18px rgba(244,81,30,.2);
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease;
}
.notification-mark-all:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(244,81,30,.24);
}
.notification-mark-all i{
  font-size:15px;
}
@media (max-width:640px){
  .dropdown-card.notification-dropdown{width:calc(100vw - 24px);max-width:480px}
  .notification-head{padding:14px}
  .notification-empty{padding:22px 16px 26px}
}
.divider{width:1px;height:30px;background:#e3e7ee}
.account-box{
  display:flex;
  align-items:center;
  gap:12px;
  border:0;
  background:transparent;
  padding:4px 6px;
  margin:0;
  border-radius:10px;
  cursor:pointer;
  font:inherit;
  color:inherit;
  text-align:left;
  transition:background .18s ease;
}
.account-box:hover,
.top-dropdown-wrap.open > .account-toggle{background:#f8fafc}
.account-toggle .account-chevron{transition:transform .2s ease}
.top-dropdown-wrap.open > .account-toggle .account-chevron{transform:rotate(180deg)}
.account-box img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
}
.account-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:128px;
}
.account-text strong{font-size:14px;color:#1a1f2c;font-weight:600}
.account-text small{margin-top:7px;font-size:12px;color:#7c8596}
.account-box>i{color:#161c28;font-size:16px}

/* Topbar dropdown cards */
.dropdown-card{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:min(340px,calc(100vw - 24px));
  background:#fff;
  border:1px solid #e4e8ef;
  border-radius:14px;
  box-shadow:0 18px 40px rgba(15,23,42,.12);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
  z-index:60;
  overflow:hidden;
}
.top-dropdown-wrap.open .dropdown-card{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #edf0f5;
}
.dropdown-head strong{font-size:15px;color:#171b2a;font-weight:600}
.dropdown-link-btn{
  border:0;
  background:transparent;
  color:#2563eb;
  font-size:12px;
  font-weight:500;
  cursor:pointer;
  padding:0;
  font:inherit;
}
.dropdown-body{max-height:320px;overflow:auto;padding:6px 0}
.dropdown-item{
  display:grid;
  grid-template-columns:38px 1fr auto;
  gap:10px;
  align-items:start;
  padding:10px 16px;
  color:inherit;
  transition:background .15s ease;
}
.dropdown-item:hover{background:#f8fafc}
.dropdown-item.unread{background:#fffbf8}
.dropdown-item>div{min-width:0}
.dropdown-item strong{
  display:block;
  font-size:13px;
  color:#1d2435;
  font-weight:600;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dropdown-item small{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#6b7280;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.dropdown-item em{
  font-style:normal;
  font-size:11px;
  color:#94a3b8;
  white-space:nowrap;
  padding-top:2px;
}
.dropdown-ico{
  width:36px;
  height:36px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:15px;
  flex-shrink:0;
}
.dropdown-ico.orange{background:#ffedd5;color:#ea580c}
.dropdown-ico.blue{background:#dbeafe;color:#2563eb}
.dropdown-ico.purple{background:#ede9fe;color:#7c3aed}
.dropdown-foot{
  padding:10px 16px 12px;
  border-top:1px solid #edf0f5;
  text-align:center;
}
.dropdown-foot a{
  font-size:13px;
  color:#2563eb;
  font-weight:500;
}
.dropdown-profile{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-bottom:1px solid #edf0f5;
}
.dropdown-profile img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}
.dropdown-profile strong{
  display:block;
  font-size:14px;
  color:#171b2a;
  font-weight:600;
}
.dropdown-profile small{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:#6b7280;
}
.dropdown-profile span{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#94a3b8;
}
.dropdown-menu-list{
  display:flex;
  flex-direction:column;
  padding:6px;
}
.dropdown-menu-list a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:10px;
  color:#374151;
  font-size:13px;
  font-weight:500;
  transition:background .15s ease,color .15s ease;
}
.dropdown-menu-list a i{font-size:16px;color:#64748b;width:18px;text-align:center}
.dropdown-menu-list a:hover{background:#f8fafc;color:#f4511e}
.dropdown-menu-list a:hover i{color:#f4511e}
.dropdown-logout{
  width:100%;
  height:40px;
  border:1px solid #fecaca;
  border-radius:10px;
  background:#fff;
  color:#dc2626;
  font-size:13px;
  font-weight:500;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font:inherit;
  transition:background .15s ease;
}
.dropdown-logout:hover{background:#fef2f2}

.page-content,
.content,
.dashboard-content{
  padding:25px 34px 32px;
}
.page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.page-head h1{
  margin:0 0 4px;
  color:#171b2a;
  font-size:18px;
  line-height:1.25;
  font-weight:600;
  letter-spacing:-.02em;
}
.page-head p{
  margin:0;
  color:#737c90;
  font-size:12px;
  font-weight:500;
  line-height:1.45;
}
.create-btn,
.page-head .btn-primary{
  height:32px;
  border:0;
  border-radius:9px;
  background:linear-gradient(135deg,#ff641f,#f23f0e);
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 13px;
  font-size:12px;
  font-weight:600;
  box-shadow:0 6px 14px rgba(244,81,30,.18);
  cursor:pointer;
  white-space:nowrap;
}
.create-btn i,.page-head .btn-primary i{font-size:14px}

.mobile-menu{
  display:none;
  width:40px;
  height:40px;
  border:1px solid #dfe4ec;
  border-radius:10px;
  background:#fff;
  color:#121827;
  font-size:20px;
  cursor:pointer;
  flex:0 0 auto;
  place-items:center;
}

.topbar-icon-btn{
  width:40px;
  height:40px;
  border:1px solid #dfe4ec;
  border-radius:10px;
  background:#fff;
  color:#121827;
  font-size:20px;
  cursor:pointer;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  padding:0;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}

.topbar-icon-btn:hover,
.topbar-icon-btn[aria-expanded="true"]{
  background:var(--orange-soft);
  border-color:rgba(244,81,30,.18);
  color:var(--orange);
}

.topbar-search-toggle{display:none}

.topbar-center{
  display:none;
  align-items:center;
  justify-content:center;
  min-width:0;
}

.topbar-brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:inherit;
}

.topbar-brand-logo-wrap{
  position:relative;
  width:36px;
  height:36px;
  flex:0 0 auto;
}

.topbar-brand-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.topbar-brand-mark{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  color:#475569;
  background:#f1f5f9;
  opacity:0;
  pointer-events:none;
}

.topbar-brand-logo-wrap.is-fallback .topbar-brand-mark,
.topbar-brand-logo-wrap:not(:has(.topbar-brand-logo:not([hidden]))) .topbar-brand-mark{
  opacity:1;
}

.topbar-brand-logo-wrap.is-fallback .topbar-brand-logo,
.topbar-brand-logo-wrap:not(:has(.topbar-brand-logo:not([hidden]))) .topbar-brand-logo{
  display:none;
}

.topbar-search-panel{
  display:none;
}

.topbar-search-panel.is-open{
  display:block;
}

.search-wrap--mobile{
  width:100%;
  max-width:100%;
}

.topbar-search-close{
  width:32px;
  height:32px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#64748b;
  display:grid;
  place-items:center;
  font-size:14px;
  cursor:pointer;
  flex:0 0 auto;
}

.topbar-search-close:hover{
  background:#f1f5f9;
  color:#0f172a;
}
.toast{
  position:fixed;
  right:24px;
  bottom:24px;
  background:#111827;
  color:#fff;
  border-radius:12px;
  padding:13px 16px;
  box-shadow:0 18px 42px rgba(15,23,42,.28);
  z-index:99;
  transform:translateY(20px);
  opacity:0;
  pointer-events:none;
  transition:.25s;
}
.toast.show{transform:translateY(0);opacity:1}
.chat-message-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:10050;
  display:flex;
  align-items:flex-start;
  gap:12px;
  max-width:min(360px,calc(100vw - 32px));
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(244,81,30,.18);
  background:linear-gradient(135deg,#fff 0%,#fffaf7 100%);
  color:#0f172a;
  box-shadow:0 20px 48px rgba(15,23,42,.16),0 0 0 1px rgba(15,23,42,.04);
  cursor:pointer;
  transform:translateY(16px) scale(.98);
  opacity:0;
  pointer-events:none;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .28s ease;
}
.chat-message-toast.is-visible{
  transform:translateY(0) scale(1);
  opacity:1;
  pointer-events:auto;
}
.chat-message-toast:focus-visible{
  outline:2px solid rgba(244,81,30,.45);
  outline-offset:2px;
}
.chat-message-toast-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  color:var(--orange);
  background:linear-gradient(145deg,#fff1ea,#ffe8dc);
  font-size:18px;
}
.chat-message-toast-body{
  min-width:0;
  flex:1;
}
.chat-message-toast-title{
  display:block;
  font-size:14px;
  font-weight:700;
  color:#0f172a;
  line-height:1.3;
}
.chat-message-toast-text{
  display:block;
  margin-top:4px;
  font-size:13px;
  line-height:1.45;
  color:#64748b;
}
.chat-message-toast-action{
  display:block;
  margin-top:8px;
  font-size:12px;
  font-weight:600;
  color:var(--orange);
}
@media(max-width:768px){
  .chat-message-toast{
    right:12px;
    bottom:12px;
    max-width:calc(100vw - 24px);
  }
}
.footer-space{height:6px}

@media(max-width:1500px){
  .main-area{width:calc(100% - var(--sidebar-width-md));margin-left:var(--sidebar-width-md)}
  .sidebar{width:var(--sidebar-width-md)}
  .search-wrap{max-width:44vw}
  .page-content,.content,.dashboard-content{padding-left:28px;padding-right:28px}
}
@media(min-width:769px) and (max-width:1200px){
  .sidebar{width:86px;padding:18px 12px}
  .brand-block{justify-content:center;padding:8px}
  .brand-copy,
  .sidebar-nav .nav-link span:not(.nav-link-badge),
  .sale-card{display:none}
  .sidebar-nav .nav-link{justify-content:center;padding:0}
  .sidebar-nav .nav-link-badge{
    position:absolute;
    top:4px;
    right:6px;
    min-width:18px;
    height:18px;
    line-height:18px;
    font-size:10px;
    padding:0 5px;
  }
  .main-area{width:calc(100% - 86px);margin-left:86px}
  .search-wrap{max-width:55vw}
  .page-content,.content,.dashboard-content{padding:24px 20px}
}
@media(max-width:768px){
  .mobile-menu{display:grid}
  .topbar-search-toggle{display:grid}
  .search-wrap--desktop{display:none}
  .topbar-center{display:flex}
  .topbar{
    height:auto;
    min-height:56px;
    padding:8px 12px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    grid-template-areas:
      "left center right"
      "search search search";
    align-items:center;
    gap:8px 10px;
    flex-direction:row;
  }
  .topbar-left{
    grid-area:left;
    width:auto;
    justify-self:start;
    gap:8px;
  }
  .topbar-center{grid-area:center}
  .topbar-right{
    grid-area:right;
    justify-self:end;
    justify-content:flex-end;
    width:auto;
    gap:8px;
  }
  .topbar-search-panel{
    grid-area:search;
    width:100%;
  }
  .topbar-search-panel.is-open .search-wrap--mobile{
    animation:topbar-search-in .18s ease;
  }
  @keyframes topbar-search-in{
    from{opacity:0;transform:translateY(-4px)}
    to{opacity:1;transform:translateY(0)}
  }
  .topbar-icon-btn,
  .mobile-menu{
    width:36px;
    height:36px;
    font-size:20px;
    border:none;
    border-radius:8px;
    background:transparent;
  }
  .topbar-icon-btn:hover,
  .topbar-icon-btn[aria-expanded="true"],
  .mobile-menu:hover{
    background:#f8fafc;
    border:none;
  }
  .topbar-brand-logo-wrap{
    width:44px;
    height:44px;
  }
  .topbar-brand-mark{
    font-size:18px;
    border-radius:11px;
  }
  .bell-btn{
    width:36px;
    height:36px;
    border:none;
    border-radius:8px;
    font-size:20px;
    background:transparent;
  }
  .bell-btn:hover,
  .top-dropdown-wrap.open > .bell-btn{
    background:#f8fafc;
    border:none;
    box-shadow:none;
  }
  .bell-btn span,
  .bell-btn .bell-count{
    top:0;
    right:0;
    min-width:16px;
    height:16px;
    font-size:9px;
  }
  .account-box{
    gap:0;
    padding:0;
  }
  .account-box img{
    width:32px;
    height:32px;
    border:1px solid #e2e8f0;
  }
  .account-toggle .account-chevron{
    display:none;
  }
  .page-head{flex-direction:column;gap:14px}
  .page-head h1{font-size:17px}
  .create-btn,.page-head .btn-primary{width:100%;justify-content:center;height:32px;font-size:12px}
  .page-content,.content,.dashboard-content{padding:18px 12px}
  .account-text,.divider{display:none}
  .dropdown-card{right:-8px;width:min(320px,calc(100vw - 20px))}
  .dropdown-card.notification-dropdown{right:-8px;width:calc(100vw - 24px);max-width:480px}
  .main-area{width:100%;margin-left:0}
}
