
:root{
  --blue:#1768FF;--blue-dark:#0F55D5;--bg:#F5F7FB;--side:#0E1728;--text:#18202C;--muted:#7D8798;
  --line:#E6EBF2;--card:#FFFFFF;--green:#18A66B;--red:#E34A4A;--orange:#E99A16;--shadow:0 8px 28px rgba(31,42,64,.055);
}
body.hda-app-page{margin:0!important;background:var(--bg)!important}
body.hda-app-page .site-header,body.hda-app-page #masthead,body.hda-app-page .site-footer,body.hda-app-page footer,body.hda-app-page .entry-header{display:none!important}
body.hda-app-page .site-content,body.hda-app-page .ast-container,body.hda-app-page .content-area,body.hda-app-page article,body.hda-app-page .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.hda-app-page .entry-content>.hda-app,body.hda-app-page article>.hda-app,body.hda-app-page main>.hda-app{width:100vw!important;max-width:none!important;margin:0!important;padding:0!important}
.hda-app,.hda-app *{box-sizing:border-box}
.hda-app{position:relative!important;left:calc(50% - 50vw)!important;width:100vw!important;max-width:none!important;margin:0!important;min-height:100vh;background:var(--bg);color:var(--text);font-family:"Gmarket Sans","Apple SD Gothic Neo","Noto Sans KR",Arial,sans-serif;letter-spacing:-.025em}
.hda-app button,.hda-app input,.hda-app select,.hda-app textarea{font-family:inherit!important;letter-spacing:-.02em!important}

/* sidebar */
.hda-sidebar{
  position:fixed;left:0;top:0;bottom:0;width:246px;background:var(--side);color:#fff;padding:20px 15px 18px;
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;z-index:80
}
.admin-bar .hda-sidebar{top:32px}
.hda-logo-wrap{display:flex;align-items:center;gap:12px;padding:0 10px 20px}
.hda-logo{width:43px;height:43px;border-radius:13px;background:var(--blue);display:grid;place-items:center;font-size:24px;font-weight:900}
.hda-logo-copy{display:flex;flex-direction:column}.hda-logo-copy b{font-size:17px}.hda-logo-copy span{margin-top:5px;color:#7D889D;font-size:9px;font-weight:900;letter-spacing:.17em}
.hda-nav-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:5px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}
.hda-nav-scroll::-webkit-scrollbar{width:7px}.hda-nav-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:10px}
.hda-nav{display:flex;flex-direction:column;gap:4px;padding-bottom:8px}
.hda-nav a{height:43px;border-radius:11px;padding:0 12px;display:flex;align-items:center;gap:11px;color:#ADB7C8!important;text-decoration:none!important;font-size:12px;font-weight:800;transition:.15s}
.hda-nav a:hover{background:rgba(255,255,255,.055);color:#fff!important}.hda-nav a.active{background:var(--blue);color:#fff!important;box-shadow:0 7px 20px rgba(23,104,255,.22)}
.hda-nav i{width:22px;text-align:center;font-style:normal;font-size:15px}
.hda-sidebar-foot{padding:14px 10px 0;border-top:1px solid rgba(255,255,255,.07)}
.hda-side-status{display:flex;align-items:center;gap:8px;color:#B5BED0;font-size:10px}.hda-side-status span{width:7px;height:7px;border-radius:50%;background:#28D18A}.hda-sidebar-foot small{display:block;margin-top:8px;color:#667188;font-size:9px}

/* main */
.hda-main{margin-left:246px;width:calc(100vw - 246px);max-width:none!important;min-height:100vh}
.hda-topbar{height:94px;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:60}
.admin-bar .hda-topbar{top:32px}
.hda-title-area h1{margin:0 0 5px;font-size:23px;line-height:1.2}.hda-title-area p{margin:0;color:var(--muted);font-size:11px}
.hda-top-actions{display:flex;gap:9px}
.hda-btn{width:auto!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:0 15px!important;border:0!important;border-radius:10px!important;font-size:11px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;text-transform:none!important}
.hda-btn-primary{background:var(--blue)!important;color:#fff!important}.hda-btn-primary:hover{background:var(--blue-dark)!important}.hda-btn-ghost{background:#F1F4F8!important;color:#526075!important}.hda-btn-soft{background:#EAF1FF!important;color:var(--blue)!important}
.hda-content{width:100%!important;max-width:none!important;margin:0!important;padding:26px 34px 50px}.hda-page{display:none}.hda-page.active{display:block}

/* common */
.hda-card{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:21px}.hda-card.hda-no-pad{padding:0;overflow:hidden}.hda-mt{margin-top:17px}
.hda-card-head h2,.hda-section-title{margin:0;font-size:15px}.hda-card-head p,.hda-section-desc{margin:5px 0 0;color:var(--muted);font-size:10px}.hda-between{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.hda-status-banner{min-height:64px;padding:14px 18px;border:1px solid #DDE7FF;background:#F7FAFF;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.hda-status-banner>div{display:flex;align-items:center;gap:10px}.hda-status-banner span{padding:5px 8px;border-radius:7px;background:#E6EEFF;color:var(--blue);font-size:9px;font-weight:900}.hda-status-banner b{font-size:11px}.hda-status-banner small{color:#8A94A6;font-size:10px}
.hda-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:17px}.hda-kpi-grid article{height:132px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow);display:grid;grid-template-rows:auto 1fr auto}.hda-kpi-grid span{font-size:10px;color:#5C687B;font-weight:800}.hda-kpi-grid strong{align-self:center;font-size:29px}.hda-kpi-grid small{font-size:9px;color:#939CAC}
.hda-green{color:var(--green)!important}.hda-orange{color:var(--orange)!important}.hda-red{color:var(--red)!important}
.hda-grid-2{display:grid;grid-template-columns:1.5fr 1fr;gap:15px;margin-top:17px}
.hda-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.hda-quick-grid button{width:100%!important;min-height:76px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:#fff!important;padding:13px!important;display:grid!important;grid-template-columns:39px 1fr!important;grid-template-rows:auto auto!important;text-align:left!important;cursor:pointer!important;color:#273347!important}.hda-quick-grid button:hover{border-color:#BFD2FF!important;background:#FBFCFF!important}.hda-quick-grid i{grid-row:1/3;width:34px;height:34px;border-radius:10px;background:#EEF4FF;color:var(--blue);display:grid;place-items:center;font-style:normal;font-weight:900}.hda-quick-grid b{font-size:10px}.hda-quick-grid small{margin-top:3px;color:#7E899B;font-size:9px}
.hda-master-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.hda-master-list span{min-height:35px;border:1px solid #E8ECF2;border-radius:9px;background:#FAFBFD;display:grid;place-items:center;color:#526075;font-size:9px;font-weight:800}
.hda-rule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:15px}.hda-rule-grid div{min-height:62px;border:1px solid #E7EBF2;border-radius:12px;padding:12px 14px}.hda-rule-grid span{display:block;color:#818B9B;font-size:9px}.hda-rule-grid b{display:block;margin-top:6px;font-size:11px}

/* toolbar / filters */
.hda-toolbar{min-height:52px;margin-bottom:13px;display:flex;align-items:center;justify-content:space-between;gap:14px}.hda-filter-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.hda-search{height:40px;width:275px;border:1px solid #DCE2EA;background:#fff;border-radius:10px;padding:0 11px;display:flex;align-items:center;gap:7px}.hda-search-wide{width:340px}.hda-search span{color:#8E98A8}.hda-search input{width:100%!important;height:auto!important;min-height:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;color:#39465A!important;font-size:10px!important}
.hda-filter-row select,.hda-toolbar select{width:auto!important;height:40px!important;min-height:40px!important;margin:0!important;border:1px solid #DCE2EA!important;border-radius:10px!important;background:#fff!important;color:#4E5A6E!important;padding:0 31px 0 11px!important;font-size:10px!important;line-height:1!important}
.hda-history-filters{flex-wrap:nowrap!important}.hda-history-filters select{width:190px!important;min-width:190px!important}

/* tables */
.hda-list-summary{height:50px;padding:0 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.hda-list-summary span{font-size:11px}.hda-list-summary small{color:#919AA8;font-size:9px}
.hda-table-wrap{width:100%;overflow:auto}.hda-table{width:100%;border-collapse:collapse;table-layout:auto}.hda-table th{height:41px;padding:0 13px;background:#FAFBFD;border-bottom:1px solid var(--line);color:#687488;text-align:left;font-size:9px;font-weight:900;white-space:nowrap}.hda-table td{height:57px;padding:8px 13px;border-bottom:1px solid #F0F2F5;color:#384559;font-size:10px;vertical-align:middle}.hda-table tbody tr:hover{background:#FBFCFE}.hda-table tbody tr:last-child td{border-bottom:0}.hda-action-head{width:112px!important;text-align:center!important}.hda-table td:last-child{min-width:112px;text-align:center}
.hda-thumb{width:58px;height:38px;border-radius:8px;background:#EFF2F6;object-fit:cover;display:block}.hda-name{font-weight:900;color:#1E2734}.hda-muted{color:#8E97A6}.hda-money{font-variant-numeric:tabular-nums;font-weight:800;white-space:nowrap}
.hda-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#EEF2F6;color:#657184;font-size:8px;font-weight:900;white-space:nowrap}.hda-badge.blue{background:#EAF1FF;color:var(--blue)}.hda-badge.green{background:#EAF8F2;color:var(--green)}.hda-badge.red{background:#FDEEEE;color:var(--red)}.hda-badge.orange{background:#FFF4DF;color:#C87900}
.hda-mini-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:nowrap}.hda-mini-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:52px!important;height:29px!important;min-height:29px!important;padding:0 9px!important;margin:0!important;border:1px solid #DDE2EA!important;border-radius:8px!important;background:#fff!important;color:#384559!important;font-size:9px!important;font-weight:800!important;line-height:1!important;cursor:pointer!important}.hda-mini-btn:hover{border-color:#BDD1FF!important;color:var(--blue)!important;background:#F8FAFF!important}.hda-mini-btn.danger{border-color:#F1CDCD!important;color:var(--red)!important}
.hda-switch{display:inline-block!important;position:relative!important;width:36px!important;min-width:36px!important;height:20px!important;margin:0!important;padding:0!important}.hda-switch input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important}.hda-slider{position:absolute!important;inset:0!important;background:#CDD4DE!important;border-radius:20px!important;cursor:pointer!important}.hda-slider:after{content:"";position:absolute;width:14px;height:14px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.15s}.hda-switch input:checked+.hda-slider{background:var(--blue)!important}.hda-switch input:checked+.hda-slider:after{transform:translateX(16px)}
.hda-order-controls{display:inline-flex;align-items:center;gap:5px}.hda-order-controls button{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;padding:0!important;border:1px solid #DDE2EA!important;border-radius:8px!important;background:#fff!important;color:#4F5C70!important;font-size:11px!important;cursor:pointer!important}

/* price summary */
.hda-price-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:13px}.hda-price-summary>div{min-height:60px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 13px}.hda-price-summary span{display:block;color:#7B8698;font-size:8px}.hda-price-summary b{display:block;margin-top:6px;font-size:12px}

/* brand */
.hda-segment-tabs{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:0 0 13px}.hda-segment-tabs button{width:100%!important;height:43px!important;min-height:43px!important;border:1px solid #DDE3EB!important;border-radius:11px!important;background:#fff!important;color:#667286!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important}.hda-segment-tabs button.active{border-color:var(--blue)!important;background:var(--blue)!important;color:#fff!important}
.hda-brand-list{padding:7px 0}.hda-brand-row{min-height:62px;padding:9px 17px;border-bottom:1px solid #F0F2F5;display:grid;grid-template-columns:52px minmax(180px,1fr) 80px 78px 80px 138px;gap:12px;align-items:center}.hda-brand-row:last-child{border-bottom:0}.hda-brand-logo-box{width:40px;height:40px;border-radius:10px;background:#F1F3F6;display:grid;place-items:center;color:#657083;font-weight:900;font-size:10px}.hda-brand-row h3{margin:0;font-size:11px}.hda-brand-row small{display:block;margin-top:3px;color:#8C95A5;font-size:8px}

/* home */
.hda-home-sections{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hda-home-section{min-width:0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:17px}.hda-home-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.hda-home-section-head h3{margin:0;font-size:12px}.hda-home-list{display:flex;flex-direction:column;gap:7px}.hda-home-item{min-height:52px;border:1px solid #E7EBF1;border-radius:10px;padding:8px 10px;display:grid;grid-template-columns:28px minmax(120px,1fr) 72px 70px;gap:8px;align-items:center;background:#fff}.hda-home-item .rank{width:24px;height:24px;border-radius:7px;background:#F2F5F9;display:grid;place-items:center;font-size:8px;font-weight:900}.hda-home-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}

/* faq */
.hda-faq-list{padding:4px 0}.hda-faq-item{padding:14px 17px;border-bottom:1px solid #F0F2F5}.hda-faq-item:last-child{border-bottom:0}.hda-faq-top{display:flex;justify-content:space-between;gap:15px}.hda-faq-item h3{margin:6px 0 0;font-size:11px}.hda-faq-item p{margin:8px 0 0;color:#687487;font-size:9px;line-height:1.6}

/* images */
.hda-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.hda-image-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:var(--shadow);display:grid;grid-template-rows:auto 1fr}.hda-image-media{position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;background:#F0F2F5;border-bottom:1px solid #EEF1F5}.hda-image-media img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#F6F7F9}.hda-image-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#A0A8B5;font-size:10px}.hda-image-card-body{min-height:132px;padding:14px;display:grid;grid-template-rows:1fr auto;gap:12px}.hda-image-copy b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hda-image-copy small{display:block;margin-top:5px;color:#8D97A8;font-size:8px}.hda-image-card-actions{display:flex;gap:6px}

/* validation */
.hda-validation-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.hda-validation-card{min-height:118px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;box-shadow:var(--shadow);display:grid;grid-template-rows:auto 1fr auto}.hda-validation-card span{font-size:9px;color:#697487;font-weight:800}.hda-validation-card b{align-self:center;font-size:27px}.hda-validation-card small{font-size:8px;color:#8D97A7}.hda-validation-card.ok{border-top:3px solid var(--green)}.hda-validation-card.warn{border-top:3px solid var(--orange)}
.hda-check-list{margin-top:14px}.hda-check-list div{min-height:46px;border-bottom:1px solid #F0F2F5;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px}.hda-check-list div:last-child{border-bottom:0}

/* drawer */
.hda-overlay{position:fixed;inset:0;background:rgba(13,20,32,.38);opacity:0;pointer-events:none;transition:.18s;z-index:100}.hda-overlay.open{opacity:1;pointer-events:auto}
.hda-drawer{position:fixed;top:0;right:-820px;width:min(800px,95vw);height:100vh;background:#fff;z-index:110;box-shadow:-20px 0 54px rgba(20,29,45,.17);transition:.22s;display:grid;grid-template-rows:76px minmax(0,1fr) 68px}.admin-bar .hda-drawer{top:32px;height:calc(100vh - 32px)}.hda-drawer.open{right:0}
.hda-drawer-head{height:76px;padding:14px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.hda-drawer-head span{color:var(--blue);font-size:8px;font-weight:900}.hda-drawer-head h2{margin:3px 0 0;font-size:18px}.hda-icon-btn{display:grid!important;place-items:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;border-radius:9px!important;background:#F2F4F7!important;color:#354153!important;font-size:17px!important;cursor:pointer!important}.hda-drawer-body{padding:20px 22px 28px;overflow:auto}.hda-drawer-foot{height:68px;padding:12px 22px;border-top:1px solid var(--line);background:#FAFBFD;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.hda-form-section{margin:0 0 23px}.hda-form-section>h3{margin:0 0 12px;font-size:12px}.hda-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}.hda-field{min-width:0;display:flex;flex-direction:column;gap:6px}.hda-field.full{grid-column:1/-1}.hda-field label{display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important;color:#4B576B!important;font-size:9px!important;font-weight:900!important;line-height:1.3!important}.hda-field label:before,.hda-field label:after{display:none!important;content:none!important}
.hda-drawer .hda-field input,.hda-drawer .hda-field select{width:100%!important;height:39px!important;min-height:39px!important;max-height:39px!important;margin:0!important;padding:0 11px!important;border:1px solid #DAE0E8!important;border-radius:9px!important;background:#fff!important;color:#2D394D!important;font-size:10px!important;line-height:37px!important;box-shadow:none!important}.hda-drawer .hda-field input[disabled],.hda-drawer .hda-field input[readonly]{background:#F5F7FA!important;color:#7E899B!important}.hda-drawer .hda-field textarea{width:100%!important;min-height:88px!important;margin:0!important;padding:10px 11px!important;border:1px solid #DAE0E8!important;border-radius:9px!important;background:#fff!important;color:#2D394D!important;font-size:10px!important;line-height:1.55!important;box-shadow:none!important}
.hda-drawer .hda-field small{display:block!important;margin:0!important;padding:0!important;background:none!important;border:0!important;color:#929BAC!important;font-size:8px!important;line-height:1.45!important}
.hda-inline-note{width:100%;min-height:42px;padding:10px 12px;border:1px solid #DFE8FA;border-radius:10px;background:#F7FAFF;color:#667287;font-size:9px;line-height:1.55}.hda-inline-note b{color:var(--blue)}
.hda-sheet-note{margin-bottom:15px;padding:11px 13px;border-left:3px solid var(--blue);background:#F6F9FF;border-radius:8px;color:#657185;font-size:9px;line-height:1.55}
.hda-fuel-block{border:1px solid #E4E9F0;border-radius:12px;padding:13px;margin-bottom:10px;background:#FCFDFE}.hda-fuel-block-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.hda-fuel-block-head b{font-size:10px}.hda-fuel-block-head .hda-mini-actions{justify-content:flex-end}
.hda-image-drop{min-height:112px;border:1.5px dashed #C9D2E0;border-radius:11px;background:#FAFBFD;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px}.hda-image-drop b{font-size:10px}.hda-image-drop span{max-width:560px;margin-top:5px;color:#8E98A8;font-size:8px;line-height:1.55}
.hda-advanced{margin-top:12px;border:1px solid #E5EAF1;border-radius:11px;overflow:hidden}.hda-advanced summary{cursor:pointer;padding:12px 13px;background:#FAFBFD;color:#526075;font-size:9px;font-weight:900}.hda-advanced-body{padding:14px}
.hda-form-divider{height:1px;background:#EEF1F5;margin:2px 0 20px}

/* modal */
.hda-modal-wrap{position:fixed;inset:0;background:rgba(13,20,32,.38);z-index:130;display:none;align-items:center;justify-content:center;padding:20px}.hda-modal-wrap.open{display:flex}.hda-modal{width:min(520px,94vw);background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(20,29,45,.2);overflow:hidden}.hda-modal-head{height:60px;padding:0 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.hda-modal-head h3{margin:0;font-size:14px}.hda-modal-body{padding:18px;color:#4D596D;font-size:10px;line-height:1.7}.hda-modal-foot{padding:12px 18px;border-top:1px solid var(--line);background:#FAFBFD;display:flex;justify-content:flex-end;gap:8px}

/* toast */
.hda-toast{position:fixed;right:24px;bottom:24px;z-index:200;padding:12px 15px;border-radius:11px;background:#111827;color:#fff;font-size:9px;font-weight:900;box-shadow:0 12px 32px rgba(0,0,0,.16);opacity:0;transform:translateY(8px);pointer-events:none;transition:.18s}.hda-toast.show{opacity:1;transform:none}

/* responsive */
@media(max-width:1360px){.hda-grid-2{grid-template-columns:1fr}.hda-home-sections{grid-template-columns:1fr}.hda-image-grid{grid-template-columns:repeat(3,1fr)}.hda-rule-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.hda-kpi-grid,.hda-validation-grid{grid-template-columns:repeat(2,1fr)}.hda-price-summary{grid-template-columns:repeat(2,1fr)}.hda-image-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){
  .hda-sidebar{width:76px;padding:18px 10px}.hda-logo-copy,.hda-nav span,.hda-sidebar-foot{display:none}.hda-logo-wrap{justify-content:center;padding-left:0;padding-right:0}.hda-nav a{justify-content:center;padding:0}.hda-nav i{width:auto}.hda-main{margin-left:76px;width:calc(100vw - 76px)}.hda-topbar{padding:0 18px}.hda-content{padding:18px}.hda-form-grid{grid-template-columns:1fr}.hda-field.full{grid-column:auto}.hda-history-filters{flex-wrap:wrap!important}.hda-history-filters select{width:100%!important;min-width:0!important}
}
@media(max-width:620px){.hda-kpi-grid,.hda-validation-grid,.hda-price-summary,.hda-image-grid,.hda-rule-grid{grid-template-columns:1fr}.hda-quick-grid{grid-template-columns:1fr}.hda-master-list{grid-template-columns:repeat(2,1fr)}}

/* v2.1.0 — Sheet 18개 전체 매핑 / 가격규칙 자동적용 */
.hda-master-list-18{grid-template-columns:repeat(3,1fr)!important;max-height:210px;overflow:auto;padding-right:3px}
.hda-lock-note{font-size:9px;color:#7C8798;background:#F5F7FA;border:1px solid #E4E9F0;border-radius:8px;padding:7px 9px;white-space:nowrap}
.hda-mt-sm{margin-top:12px}
.hda-rule-panel,.hda-quote-panel{display:none}.hda-rule-panel.active,.hda-quote-panel.active{display:block}
.hda-rule-tabs{grid-template-columns:repeat(3,1fr)!important}.hda-quote-tabs{grid-template-columns:repeat(4,1fr)!important}
.hda-rule-warning{margin-top:14px;padding:11px 13px;border:1px solid #F2DEB7;border-radius:10px;background:#FFF9EE;color:#876423;font-size:9px;line-height:1.55}
.hda-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.hda-choice-card{border:1px solid #E5EAF1;border-radius:12px;background:#FBFCFE;padding:13px}.hda-choice-card>span{display:block;font-size:9px;color:#707C8E;font-weight:900;margin-bottom:9px}.hda-choice-card>div{display:flex;gap:5px;flex-wrap:wrap}.hda-choice-card b{display:inline-flex;padding:6px 8px;border-radius:7px;background:#fff;border:1px solid #E0E5ED;color:#445066;font-size:8px}
.hda-calc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:17px}.hda-calc-action{display:flex;align-items:flex-end}.hda-calc-action .hda-btn{width:100%!important}
.hda-calc-result{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px;padding-top:16px;border-top:1px solid #EDF0F4}.hda-calc-result>div{min-height:58px;border:1px solid #E6EBF2;border-radius:10px;padding:10px 11px;background:#FAFBFD}.hda-calc-result span{display:block;color:#808B9B;font-size:8px}.hda-calc-result b{display:block;margin-top:6px;font-size:10px}.hda-calc-result .result{grid-column:span 2;background:#F1F6FF;border-color:#CFDEFF}.hda-calc-result .result b{font-size:15px;color:#1768FF}
.hda-guide-card{padding:18px 21px!important}.hda-fuel-advanced{margin-top:0!important;width:100%}
@media(max-width:1100px){.hda-choice-grid{grid-template-columns:repeat(2,1fr)}.hda-calc-grid,.hda-calc-result{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.hda-rule-tabs,.hda-quote-tabs{grid-template-columns:1fr!important}.hda-choice-grid,.hda-calc-grid,.hda-calc-result{grid-template-columns:1fr}.hda-calc-result .result{grid-column:auto}}


/* =========================================================
   v2.2.0 STAGING READ ONLY
========================================================= */
.hda-app.hda-readonly [data-action="new-vehicle"],
.hda-app.hda-readonly [data-action="new-brand"],
.hda-app.hda-readonly [data-action="new-exception"],
.hda-app.hda-readonly [data-action="new-home"],
.hda-app.hda-readonly [data-action="new-related"],
.hda-app.hda-readonly [data-action="new-faq"],
.hda-app.hda-readonly [data-action="new-setting"],
.hda-app.hda-readonly [data-action="rollback"],
.hda-app.hda-readonly #hdaPublishBtn,
.hda-app.hda-readonly #runValidationBtn,
.hda-app.hda-readonly .vehicle-delete,
.hda-app.hda-readonly .brand-delete,
.hda-app.hda-readonly .exception-delete,
.hda-app.hda-readonly .related-delete,
.hda-app.hda-readonly .faq-delete,
.hda-app.hda-readonly .home-add,
.hda-app.hda-readonly .hda-order-controls{
  display:none!important;
}

.hda-app.hda-readonly .hda-switch{
  pointer-events:none;
  opacity:.72;
}

.hda-app.hda-readonly button:disabled,
.hda-app.hda-readonly input:disabled,
.hda-app.hda-readonly select:disabled,
.hda-app.hda-readonly textarea:disabled{
  cursor:not-allowed;
}

.hda-status-banner.error{
  border-color:#fecaca;
  background:#fff7f7;
}


/* v2.2.2 viewport full-bleed fix:
   WordPress/Astra may center the shortcode inside a content column.
   Pull the app itself back to the viewport origin so .hda-main starts
   immediately after the fixed 246px sidebar. */
body.hda-app-page .hda-app{
  position:relative!important;
  left:calc(50% - 50vw)!important;
  width:100vw!important;
  max-width:100vw!important;
}


/* =========================================================
   v2.3.1 READABILITY / TYPOGRAPHY
   전체 글씨를 한 단계 키우고 굵기를 올림.
   레이아웃 폭/실데이터/API 동작은 변경하지 않음.
========================================================= */

.hda-app{
  font-size:15px!important;
  color:#111827!important;
}

/* 상단 */
.hda-title-area h1{
  font-size:27px!important;
  font-weight:950!important;
}
.hda-title-area p{
  font-size:13px!important;
  font-weight:650!important;
  color:#667085!important;
}

/* 사이드바 */
.hda-logo-copy b{
  font-size:19px!important;
  font-weight:950!important;
}
.hda-logo-copy span{
  font-size:10px!important;
}
.hda-nav a{
  font-size:14px!important;
  font-weight:900!important;
}
.hda-nav i{
  font-size:17px!important;
}
.hda-side-status{
  font-size:11px!important;
  font-weight:800!important;
}
.hda-sidebar-foot small{
  font-size:10px!important;
  font-weight:650!important;
}

/* 공통 제목/설명 */
.hda-section-title,
.hda-card h2,
.hda-card-head h2,
.hda-home-section-head h3{
  font-size:17px!important;
  font-weight:950!important;
}
.hda-section-desc,
.hda-card-head p,
.hda-list-summary small,
.hda-status-banner small,
.hda-home-section-head p{
  font-size:12px!important;
  font-weight:650!important;
  color:#667085!important;
}

/* 상태 배너 */
.hda-status-banner,
.hda-status-banner b,
.hda-status-banner span{
  font-size:12px!important;
  font-weight:850!important;
}

/* KPI */
.hda-kpi-grid article>span,
.hda-price-summary div>span,
.hda-validation-card>span,
.hda-rule-grid div>span{
  font-size:12px!important;
  font-weight:850!important;
  color:#566174!important;
}
.hda-kpi-grid article>strong{
  font-size:31px!important;
  font-weight:950!important;
}
.hda-kpi-grid article>small,
.hda-price-summary div>small,
.hda-validation-card>small{
  font-size:11px!important;
  font-weight:650!important;
}

/* 빠른관리 */
.hda-quick-grid button b{
  font-size:14px!important;
  font-weight:950!important;
}
.hda-quick-grid button small{
  font-size:11px!important;
  font-weight:650!important;
}

/* Production Master */
.hda-master-list span{
  font-size:11px!important;
  font-weight:850!important;
}

/* 운영기준 */
.hda-rule-grid div b{
  font-size:13px!important;
  font-weight:900!important;
}

/* 버튼/필터 */
.hda-btn,
.hda-mini-btn,
.hda-segment-tabs button{
  font-size:12px!important;
  font-weight:900!important;
}
.hda-search input,
.hda-filter-row select,
.hda-field input,
.hda-field select,
.hda-field textarea{
  font-size:13px!important;
  font-weight:650!important;
}

/* 표 */
.hda-table{
  font-size:13px!important;
}
.hda-table th{
  font-size:12px!important;
  font-weight:950!important;
}
.hda-table td{
  font-size:13px!important;
  font-weight:650!important;
}

/* 목록/배지/FAQ 등 */
.hda-list-summary,
.hda-list-summary span,
.hda-badge,
.hda-lock-note,
.hda-guide-card,
.hda-check-list,
.hda-faq-list,
.hda-home-list,
.hda-image-grid,
.hda-brand-list{
  font-size:13px!important;
}
.hda-list-summary span,
.hda-check-list b,
.hda-home-item b,
.hda-faq-list b{
  font-weight:900!important;
}

/* 드로어/모달 */
.hda-drawer-head h2,
.hda-modal-head h3{
  font-size:20px!important;
  font-weight:950!important;
}
.hda-drawer-body,
.hda-modal-body,
.hda-drawer-foot,
.hda-modal-foot{
  font-size:13px!important;
}

/* 모바일/노트북에서도 너무 작아지지 않도록 */
@media(max-width:1200px){
  .hda-nav a{font-size:13px!important;}
  .hda-table{font-size:12px!important;}
  .hda-table td{font-size:12px!important;}
}



/* =========================================================
   v2.3.2 PHASE 1 UNCONNECTED STATES
========================================================= */
.hda-badge-muted{
  background:#f2f4f7!important;
  color:#667085!important;
  border:1px solid #e4e7ec!important;
}
.hda-unconnected-card{
  padding:34px 28px!important;
  text-align:center;
  border-style:dashed!important;
  background:#fbfcfe!important;
}
.hda-unconnected-card h3{
  margin:10px 0 8px;
  font-size:18px;
  font-weight:950;
  color:#1d2939;
}
.hda-unconnected-card p{
  margin:0 auto;
  max-width:760px;
  font-size:13px;
  line-height:1.65;
  font-weight:650;
  color:#667085;
}
.hda-unconnected-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#eef2f6;
  color:#475467;
  font-size:11px;
  font-weight:950;
  letter-spacing:.04em;
}
.hda-inline-unconnected{
  padding:22px 12px;
  text-align:center;
  color:#667085;
  font-size:13px;
  font-weight:750;
}
.hda-btn:disabled{
  opacity:.55;
  cursor:not-allowed!important;
}


/* =========================================================
   v2.4.0 PHASE 1 FINAL POLISH
========================================================= */
.hda-connection-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin-top:8px;
  padding:0 10px;
  border:1px solid #cfe0ff;
  border-radius:999px;
  background:#f4f8ff;
  color:#1768ff;
  font-size:11px;
  font-weight:950;
  letter-spacing:.02em;
}
.hda-btn:disabled,
.hda-quick-grid button:disabled,
.hda-toolbar button:disabled{
  opacity:.48!important;
  filter:grayscale(.12);
  cursor:not-allowed!important;
}
.hda-quick-grid button:disabled:hover{
  transform:none!important;
  box-shadow:none!important;
}


/* =========================================================
   v2.4.2 DETAIL / MODAL READABILITY
   상세/수정 드로어의 흐린 회색 텍스트를 진하게 하고
   라벨·입력값·설명문·버튼의 크기/굵기를 상향.
========================================================= */

/* 상세 패널 전체 기본 글자 */
.hda-drawer,
.hda-drawer *{
  -webkit-font-smoothing:auto!important;
  text-rendering:optimizeLegibility;
}

/* 상단 구분/제목 */
.hda-drawer-head small,
.hda-modal-head small{
  color:#1768ff!important;
  font-size:12px!important;
  font-weight:900!important;
}
.hda-drawer-head h2,
.hda-modal-head h3{
  color:#101828!important;
  font-size:23px!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
}

/* 안내 박스 */
.hda-drawer .hda-lock-note,
.hda-drawer .hda-guide-card,
.hda-modal .hda-lock-note,
.hda-modal .hda-guide-card{
  color:#475467!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.65!important;
}

/* 필드 라벨 */
.hda-drawer .hda-field label,
.hda-modal .hda-field label,
.hda-drawer label,
.hda-modal label{
  color:#344054!important;
  font-size:12px!important;
  font-weight:900!important;
}

/* 입력값 */
.hda-drawer input,
.hda-drawer select,
.hda-drawer textarea,
.hda-modal input,
.hda-modal select,
.hda-modal textarea{
  color:#101828!important;
  font-size:14px!important;
  font-weight:750!important;
  opacity:1!important;
}

/* readonly/disabled도 흐리게 만들지 않음 */
.hda-drawer input[readonly],
.hda-drawer input:disabled,
.hda-drawer select:disabled,
.hda-drawer textarea[readonly],
.hda-drawer textarea:disabled,
.hda-modal input[readonly],
.hda-modal input:disabled,
.hda-modal select:disabled,
.hda-modal textarea[readonly],
.hda-modal textarea:disabled{
  color:#344054!important;
  -webkit-text-fill-color:#344054!important;
  background:#f8fafc!important;
  opacity:1!important;
  font-weight:750!important;
  border-color:#d0d5dd!important;
}

/* placeholder도 너무 흐리지 않게 */
.hda-drawer input::placeholder,
.hda-drawer textarea::placeholder,
.hda-modal input::placeholder,
.hda-modal textarea::placeholder{
  color:#98a2b3!important;
  opacity:1!important;
  font-weight:650!important;
}

/* select 화살표/값 */
.hda-drawer select,
.hda-modal select{
  color:#344054!important;
}

/* 하단 버튼 */
.hda-drawer-foot .hda-btn,
.hda-modal-foot .hda-btn{
  min-height:42px!important;
  font-size:13px!important;
  font-weight:950!important;
}
.hda-drawer-foot .hda-btn-soft,
.hda-modal-foot .hda-btn-soft{
  color:#344054!important;
}
.hda-drawer-foot .hda-btn-primary:disabled,
.hda-modal-foot .hda-btn-primary:disabled{
  color:#ffffff!important;
  opacity:.65!important;
}

/* READ ONLY 뱃지 */
.hda-drawer-foot .hda-badge,
.hda-modal-foot .hda-badge{
  color:#1768ff!important;
  font-size:12px!important;
  font-weight:950!important;
  opacity:1!important;
}

/* v2.5.0 Phase 2 staging edit */
.hda-status-banner.error{border-color:#fecdca!important;background:#fff6f5!important}
.hda-status-banner.error b{color:#b42318!important}
.hda-btn:disabled,.hda-mini-btn:disabled{cursor:not-allowed!important;opacity:.46!important}


/* Dashboard KPI cards: center all text */
.hda-kpi-grid article{
  text-align:center;
  justify-items:center;
}
.hda-kpi-grid article>span,
.hda-kpi-grid article>strong,
.hda-kpi-grid article>small{
  justify-self:center;
  text-align:center;
  width:100%;
}


/* v2.8.1 — branded front login (WordPress auth underneath, no WP-looking screen) */
body.hda-app-page #wpadminbar{display:none!important}
html{margin-top:0!important}
.hda-login-shell{
  position:relative;left:calc(50% - 50vw);width:100vw;min-height:100vh;
  display:grid;place-items:center;padding:24px;background:
  radial-gradient(circle at 20% 15%,rgba(23,104,255,.16),transparent 34%),
  radial-gradient(circle at 85% 80%,rgba(23,104,255,.10),transparent 30%),#F4F7FC;
  font-family:"Gmarket Sans","Apple SD Gothic Neo","Noto Sans KR",Arial,sans-serif
}
.hda-login-card{width:min(430px,calc(100vw - 36px));background:#fff;border:1px solid #E2E8F2;border-radius:24px;padding:36px;box-shadow:0 26px 70px rgba(28,45,78,.12)}
.hda-login-brand{display:flex;align-items:center;gap:12px}.hda-login-logo{width:48px;height:48px;border-radius:14px;background:#1768FF;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:900}
.hda-login-brand>div:last-child{display:flex;flex-direction:column}.hda-login-brand b{font-size:20px;color:#111827}.hda-login-brand span{margin-top:3px;color:#8792A5;font-size:9px;font-weight:900;letter-spacing:.18em}
.hda-login-card h1{margin:30px 0 8px;font-size:25px;color:#111827}.hda-login-card>p{margin:0 0 25px;color:#8490A3;font-size:12px}
.hda-login-error{margin:0 0 16px;padding:11px 13px;border-radius:10px;background:#FFF0F0;color:#D44747;font-size:11px;font-weight:800}
.hda-login-form{display:grid;gap:15px}.hda-login-form label>span{display:block;margin-bottom:7px;color:#4D5B70;font-size:11px;font-weight:800}
.hda-login-form input[type=text],.hda-login-form input[type=password]{width:100%;height:48px;border:1px solid #DCE3ED;border-radius:11px;padding:0 14px;background:#fff;color:#1D2735;font-size:14px;outline:0}
.hda-login-form input:focus{border-color:#1768FF;box-shadow:0 0 0 3px rgba(23,104,255,.10)}
.hda-login-remember{display:flex!important;align-items:center;gap:8px}.hda-login-remember input{width:16px;height:16px}.hda-login-remember span{margin:0!important}
.hda-login-form button{height:50px;border:0;border-radius:12px;background:#1768FF;color:#fff;font-size:13px;font-weight:900;cursor:pointer}.hda-login-form button:hover{background:#0F55D5}
.hda-login-card>small{display:block;margin-top:24px;text-align:center;color:#A1AABC;font-size:9px;letter-spacing:.1em}

/* Vehicle ordering: arrows and direct position edit share one order model */
.hda-vehicle-order{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.hda-vehicle-order button{width:27px!important;min-width:27px!important;height:28px!important;min-height:28px!important;padding:0!important;border:1px solid #DDE2EA!important;border-radius:8px!important;background:#fff!important;color:#4F5C70!important;font-size:11px!important;cursor:pointer!important}
.hda-vehicle-order input{width:48px!important;height:28px!important;min-height:28px!important;padding:0 4px!important;text-align:center!important;border:1px solid #DDE2EA!important;border-radius:8px!important;background:#fff!important;color:#263246!important;font-size:10px!important}

/* Brand -> vehicle two-stage pickers */
.hda-picker-group{border:1px solid #E7ECF3;border-radius:12px;padding:12px;background:#FAFBFD}
.hda-picker-title{margin-bottom:10px;color:#263246;font-size:11px;font-weight:900}
.hda-picker-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hda-picker-group .hda-field{margin:0}
.hda-picker-group .hda-field.full{margin-top:10px}
@media(max-width:700px){.hda-picker-row{grid-template-columns:1fr}}
