body { background:#f8f9fa; color:#191c1d; font-family:'Manrope',sans-serif; }
.sms-main { min-height:70vh; padding-top:calc(var(--nav-h) + 56px); }
.sms-wrap { width:100%; max-width:1240px; margin-inline:auto; padding-inline:clamp(18px,4vw,48px); }
.sms-grid > *, .sms-shell > *, .sms-panel { min-width:0; }
.sms-eyebrow { display:inline-flex; align-items:center; gap:8px; color:#ac001e; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; margin-bottom:14px; }
.sms-eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background:#d90429; box-shadow:0 0 0 6px rgba(217,4,41,.08); }
.sms-hero { padding:32px 0 44px; }
.sms-back { display:inline-flex; align-items:center; gap:7px; margin-bottom:24px; font-size:13px; font-weight:800; color:#5f5e5e; transition:color .2s; }
.sms-back:hover { color:#ac001e; }
.sms-back .material-symbols-outlined { font-size:18px; }
.sms-hero h1 { max-width:780px; font-size:clamp(42px,6vw,72px); line-height:1.03; letter-spacing:-.05em; font-weight:900; }
.sms-hero p { max-width:680px; margin-top:16px; color:#5f5e5e; font-size:17px; line-height:1.8; }
.sms-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.sms-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; border-radius:10px; padding:0 18px; border:1px solid rgba(146,110,108,.24); color:#191c1d; font-size:14px; font-weight:900; background:#fff; cursor:pointer; }
.sms-btn.primary { background:#ac001e; color:#fff; border-color:#ac001e; box-shadow:0 16px 36px rgba(172,0,30,.16); }
.status-actions { display:grid; grid-template-columns:minmax(120px,1fr) minmax(180px,1.25fr); gap:12px; margin-top:0; align-items:stretch; }
.status-actions .sms-btn { width:100%; white-space:nowrap; }
.status-layout { align-items:stretch; }
.status-layout > .sms-panel:first-child { align-self:start; }
.status-detail-list { margin-top:18px; }
.status-content { min-width:0; }
.sms-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:24px; align-items:start; }
.sms-panel { background:#fff; border:1px solid rgba(231,188,186,.22); border-radius:18px; box-shadow:0 20px 46px rgba(28,27,27,.06); padding:clamp(22px,3.4vw,36px); }
.sms-panel.soft { background:#f3f4f5; box-shadow:none; }
.sms-panel.dark { background:#191c1d; color:#fff; border-color:#191c1d; }
.sms-panel h2, .sms-panel h3 { letter-spacing:-.03em; font-weight:900; }
.sms-panel h2 { font-size:24px; margin-bottom:18px; }
.sms-panel h3 { font-size:20px; margin-bottom:10px; }
.sms-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:20px; }
.sms-panel-head h2 { margin-bottom:6px; }
.sms-panel-titlebar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.sms-muted { color:#5f5e5e; line-height:1.7; }
.sms-form { display:grid; gap:18px; }
.sms-field { display:grid; gap:7px; }
.sms-field label { font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:#5f5e5e; }
.sms-field input, .sms-field textarea, .sms-field select { width:100%; border:1px solid rgba(146,110,108,.22); border-radius:10px; background:#f8f9fa; color:#191c1d; padding:14px 15px; font:inherit; font-size:14px; outline:none; }
.sms-field textarea { min-height:140px; resize:vertical; }
.sms-field input:focus, .sms-field textarea:focus, .sms-field select:focus { border-color:#ac001e; background:#fff; box-shadow:0 0 0 4px rgba(217,4,41,.09); }
.sms-two { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.sms-tabs { display:flex; gap:8px; padding:4px; border-radius:12px; background:#edeeef; width:max-content; }
.sms-tab { border:0; border-radius:9px; padding:10px 18px; font-weight:900; color:#5f5e5e; background:transparent; cursor:pointer; }
.sms-tab.active { background:#fff; color:#ac001e; box-shadow:0 8px 20px rgba(17,17,17,.06); }
.sms-tab-panel { display:none; }
.sms-tab-panel.active { display:block; }
.sms-message-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:8px 0 18px; }
.sms-price { display:grid; gap:10px; border:1px dashed rgba(146,110,108,.28); border-radius:14px; background:#f3f4f5; padding:18px; }
.sms-price-row { display:flex; justify-content:space-between; gap:16px; color:#5f5e5e; font-size:14px; }
.sms-price-row strong { color:#191c1d; }
.sms-status { min-height:22px; font-size:13px; font-weight:800; color:#5f5e5e; }
.sms-status.error { color:#ba1a1a; }
.sms-status.success { color:#0f7a45; }
.sms-result-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
.sms-result-head .sms-eyebrow { margin-bottom:8px; }
.sms-badge {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:34px; padding:0 12px; border-radius:999px;
  background:rgba(217,4,41,.08); color:#ac001e;
  font-size:12px; font-weight:900; text-transform:capitalize;
  white-space:nowrap;
}
.sms-breakdown { margin-top:12px; }
.sms-notice {
  margin-top:18px; border:1px solid rgba(172,0,30,.16);
  border-radius:14px; background:rgba(217,4,41,.06);
  color:#5d3f3d; padding:14px 16px; font-size:14px; font-weight:800;
}
.sms-notice.success {
  border-color:rgba(15,122,69,.18); background:rgba(15,122,69,.08); color:#0f7a45;
}
.sms-notice.muted {
  border-color:rgba(146,110,108,.18); background:#f8f9fa; color:#5f5e5e;
}
.sms-card-list { display:grid; gap:14px; }
.sms-stat-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.sms-stat { background:#fff; border:1px solid rgba(231,188,186,.2); border-radius:14px; padding:18px; }
.sms-stat span { display:block; color:#5f5e5e; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.sms-stat strong { font-size:28px; color:#ac001e; letter-spacing:-.04em; }
.sms-table { width:100%; border-collapse:collapse; font-size:14px; }
.sms-table th, .sms-table td { text-align:left; padding:14px 10px; border-bottom:1px solid rgba(17,17,17,.07); }
.sms-table th { color:#5f5e5e; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.sms-table-wrap { width:100%; overflow-x:auto; }
.sms-table-sub { display:block; max-width:360px; margin-top:5px; color:#5f5e5e; font-size:12px; line-height:1.45; }
.sms-empty { border:1px dashed rgba(146,110,108,.26); border-radius:14px; background:#f8f9fa; color:#5f5e5e; padding:18px; font-weight:800; }
.sms-pagination { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-top:18px; }
.sms-shell { display:grid; grid-template-columns:230px minmax(0,1fr); gap:24px; }
.sms-sidebar { position:sticky; top:calc(var(--nav-h) + 24px); background:#fff; border:1px solid rgba(231,188,186,.22); border-radius:18px; padding:14px; }
.sms-sidebar a { display:flex; align-items:center; gap:10px; min-height:42px; padding:0 12px; border-radius:10px; color:#5f5e5e; font-weight:800; font-size:14px; }
.sms-sidebar a.active, .sms-sidebar a:hover { background:rgba(217,4,41,.08); color:#ac001e; }
.sms-upload { display:grid; place-items:center; min-height:180px; border:1px dashed rgba(146,110,108,.32); border-radius:16px; background:#f3f4f5; text-align:center; padding:22px; }
.sms-upload .material-symbols-outlined { color:#ac001e; font-size:42px; margin-bottom:8px; }
.sms-upload-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:16px; }
.sms-upload-actions .sms-btn .material-symbols-outlined { color:inherit; font-size:18px; margin:0; }
.sms-upload-note { min-height:20px; margin-top:12px; color:#5f5e5e; font-size:13px; font-weight:800; line-height:1.45; }
.sms-upload-note.success { color:#0f7a45; }
.sms-upload-note.error { color:#ba1a1a; }
@media (max-width:960px){
  .sms-grid,.sms-shell{grid-template-columns:1fr}
  .sms-grid > *, .sms-shell > * { grid-column:1 / -1 !important; }
  .sms-sidebar{
    position:static; display:flex; gap:8px; overflow-x:auto;
    padding:10px; scrollbar-width:none;
  }
  .sms-sidebar::-webkit-scrollbar{display:none}
  .sms-sidebar a{flex:0 0 auto; white-space:nowrap}
  .sms-two,.sms-stat-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  body{overflow-x:hidden}
  .sms-main{padding-top:calc(var(--nav-h) + 28px)}
  .sms-wrap{padding-inline:18px}
  .sms-hero{padding:20px 0 30px}
  .sms-hero h1{font-size:clamp(34px,11vw,44px);line-height:1.06;letter-spacing:-.045em}
  .sms-hero p{font-size:15px;line-height:1.65}
  .sms-grid{gap:16px}
  .sms-shell{gap:16px}
  .sms-sidebar{margin-inline:-2px;border-radius:14px}
  .sms-sidebar a{min-height:40px;padding:0 11px;font-size:13px}
  .sms-panel{padding:20px;border-radius:16px}
  .sms-panel h2{font-size:22px}
  .sms-panel.dark h3[id*="walletBalance"],
  .sms-panel.dark #walletBalance{font-size:34px!important;line-height:1.1;word-break:break-word}
  .sms-panel-head{flex-direction:column;align-items:stretch;gap:12px}
  .sms-panel-titlebar{display:grid;grid-template-columns:1fr;gap:12px}
  .sms-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
  .sms-actions .sms-btn{width:100%}
  .status-actions{grid-template-columns:1fr}
  .status-layout{gap:14px}
  .status-content{display:grid;gap:0}
  .status-layout .sms-panel{box-shadow:0 14px 34px rgba(28,27,27,.05)}
  .status-layout .sms-field input{min-height:48px}
  .status-layout #statusResult{padding-top:22px}
  .status-layout #statusResult > h2{margin-bottom:8px}
  .status-summary{display:grid;grid-template-columns:1fr;gap:10px}
  .status-summary .sms-stat{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}
  .status-summary .sms-stat span{margin-bottom:0}
  .status-summary .sms-stat strong{font-size:18px;text-align:right;max-width:52vw;overflow-wrap:anywhere}
  .sms-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .sms-tab{width:100%;padding-inline:10px}
  .sms-message-tools{display:grid;grid-template-columns:1fr;gap:10px}
  .sms-message-tools .sms-btn{width:100%}
  .sms-price-row{align-items:flex-start;flex-direction:column;gap:4px}
  .status-detail-list .sms-price-row{display:grid;grid-template-columns:1fr;gap:5px}
  .status-detail-list .sms-price-row strong{overflow-wrap:anywhere}
  .sms-stat{padding:16px}
  .sms-stat strong{font-size:24px}
  .sms-result-head{flex-direction:column;align-items:flex-start;gap:10px}
  .sms-result-head h2{font-size:20px;line-height:1.25;overflow-wrap:anywhere}
  .sms-result-head .sms-badge{max-width:100%;white-space:normal;text-align:center}
  .sms-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .sms-breakdown .sms-stat{display:block}
  .sms-breakdown .sms-stat strong{font-size:22px;text-align:left}
  .sms-table{display:block;width:100%;overflow-x:auto;white-space:nowrap}
  .sms-table th,.sms-table td{padding:12px 10px;vertical-align:top}
  .sms-table-sub{white-space:normal;min-width:220px}
  .sms-pagination{justify-content:stretch;display:grid;grid-template-columns:1fr;gap:10px;text-align:center}
  .sms-pagination .sms-btn{width:100%}
  .sms-upload{min-height:150px}
  .sms-upload-actions{display:grid;grid-template-columns:1fr;align-items:stretch}
  .sms-upload-actions .sms-btn{width:100%}
}
@media (max-width:380px){
  .sms-wrap{padding-inline:14px}
  .sms-panel{padding:18px}
}
