/* Dahinet control centre. Final layer over the WHMCS / Bootstrap theme. */
:root {
    --dn-ink: #10243a;
    --dn-muted: #586b80;
    --dn-blue: #0066cc;
    --dn-navy: #071e35;
    --dn-line: #dde5ed;
    --dn-surface: #fff;
    --dn-bg: #f3f6fa;
    --dn-radius: 12px;
    --dd-primary: #0066cc;
    --dd-radius: 12px;
    --dd-shadow: none;
}
body.dahinet-theme { background: var(--dn-bg); color: var(--dn-ink); font-size: 14px; line-height: 1.6; }
body.dahinet-theme .container { max-width: 1360px; }
body.dahinet-theme h1, body.dahinet-theme h2, body.dahinet-theme h3 { color: var(--dn-ink); letter-spacing: -.035em; }
body.dahinet-theme a, body.dahinet-theme button { touch-action: manipulation; }
body.dahinet-theme a:focus-visible, body.dahinet-theme button:focus-visible,
body.dahinet-theme input:focus-visible, body.dahinet-theme select:focus-visible,
body.dahinet-theme textarea:focus-visible { outline: 3px solid #0086de; outline-offset: 3px; }
body.dahinet-theme [hidden] { display: none !important; }
.dn-skip-link { position: fixed; top: -100px; left: 20px; z-index: 10000; padding: 12px 20px; background: #fff; color: var(--dn-ink); border-radius: 8px; }
.dn-skip-link:focus { top: 12px; }
body.dahinet-theme .dahinet-header { position: sticky !important; top: 0; background: #fff !important; border-bottom: 1px solid var(--dn-line); box-shadow: none !important; backdrop-filter: none; }
body.dahinet-theme .dahinet-topbar { background: var(--dn-navy) !important; padding: 6px 0 !important; }
body.dahinet-theme .dahinet-topbar a, body.dahinet-theme .dahinet-topbar button,
body.dahinet-theme .dahinet-topbar .client-label { color: #e2edf8 !important; }
body.dahinet-theme .dahinet-topbar .btn-notifications,
body.dahinet-theme .dahinet-topbar .client-name,
body.dahinet-theme .dahinet-topbar .btn-switch { background: transparent !important; border: 1px solid #ffffff24; border-radius: 6px; box-shadow: none; }
body.dahinet-theme .dahinet-navbar { min-height: 76px; padding: 12px 0 !important; gap: 24px; }
body.dahinet-theme .dahinet-navbar .logo a { color: var(--dn-navy); font-size: 27px; letter-spacing: -.04em; }
body.dahinet-theme .nav-menu { gap: 8px !important; }
body.dahinet-theme .nav-menu > li > a { color: #354a61; font-size: 13px !important; padding: 10px 12px !important; border-radius: 7px; font-weight: 600; }
body.dahinet-theme .nav-menu > li > a.active { background: #eaf3ff; color: var(--dn-blue); }
body.dahinet-theme .nav-menu > li > a.btn-login { background: #eaf3ff !important; color: #0066cc !important; box-shadow: none !important; border: 1px solid #cfe0f5 !important; }
body.dahinet-theme .nav-menu > li > a::after { display: none; }
body.dahinet-theme .navbar-actions { gap: 8px; }
body.dahinet-theme .btn-icon { width: 42px; height: 42px; border-radius: 9px; background: #f3f6fa; box-shadow: none; border: 1px solid var(--dn-line); color: #294763; }
body.dahinet-theme .btn-primary-header { background: var(--dn-blue) !important; box-shadow: none !important; border-radius: 8px; }
body.dahinet-theme .master-breadcrumb { position: static !important; padding: 14px 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
body.dahinet-theme .master-breadcrumb .breadcrumb { margin: 0; padding: 0; font-size: 12px; background: transparent; }
body.dahinet-theme #main-body.dahinet-main-body { padding: 16px 0 56px !important; min-height: 60vh; margin: 0 !important; }
.dahinet-content { min-width: 0; }
.dn-context-nav-toggle { display: none; }
.dn-workspace-nav { background: #fff; border-bottom: 1px solid var(--dn-line); }
.dn-workspace-nav > .container { display: flex; align-items: center; gap: 26px; }
.dn-workspace-label { font-size: 10px; font-weight: 700; color: #6b7d90; letter-spacing: .12em; white-space: nowrap; }
.dn-workspace-links { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.dn-workspace-links a { display: flex; align-items: center; gap: 8px; padding: 17px 14px; border-bottom: 2px solid transparent; white-space: nowrap; font-size: 13px; font-weight: 600; color: #54677c; }
.dn-workspace-links a:hover { background: #f5f8fc; text-decoration: none; color: var(--dn-blue); }
.dn-workspace-links a.active { color: var(--dn-blue); border-color: var(--dn-blue); }
.dn-workspace-order { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--dn-blue); white-space: nowrap; }
.dn-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; margin-bottom: 10px; color: var(--dn-muted); }
body.dahinet-theme .dn-welcome-banner { padding: 32px; min-height: 176px; border-radius: var(--dn-radius); background: linear-gradient(115deg, #071e35, #10395c) !important; box-shadow: none; gap: 24px; }
.dn-welcome-banner::before { width: 380px; height: 380px; top: -200px; right: 80px; border: 1px solid #ffffff12; background: transparent; }
.dn-welcome-banner::after { width: 280px; height: 280px; bottom: -190px; right: -50px; border: 40px solid #ffffff04; background: transparent; }
.dn-welcome-banner .dn-eyebrow { color: #88b4d8; }
body.dahinet-theme .dn-welcome-title { color: #fff; font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 10px; }
.dn-welcome-sub { color: #bed1e1; }
.dn-welcome-avatar { display: none; }
body.dahinet-theme .dn-welcome-action { min-height: 44px; padding: 11px 16px; border-radius: 8px; border: 1px solid #6a8ca9; background: transparent; }
body.dahinet-theme .dn-welcome-action-primary { background: #fff; color: #10395c; border-color: #fff; }
body.dahinet-theme .dn-welcome-action:hover { background: #214b6e; color: #fff; }
body.dahinet-theme .dn-welcome-action-primary:hover { background: #e8f2fc; color: #10395c; }
.dn-dashboard { gap: 22px; }
body.dahinet-theme .dn-home-stat-card { border-radius: var(--dn-radius); min-height: 122px; border: 1px solid var(--dn-line); box-shadow: none; padding: 20px 16px; gap: 12px; }
.dn-home-stat-card .dn-hstat-bar { display: none; }
body.dahinet-theme .dn-hstat-icon { width: 42px; height: 42px; border-radius: 10px; font-size: 18px; background: #edf4fc; color: #266baa; flex-shrink: 0; }
body.dahinet-theme .dn-hstat-num { font-size: 28px; color: var(--dn-ink); font-weight: 600; }
.dn-hstat-label { font-size: 11px; color: var(--dn-muted); }
.dn-hstat-arrow { font-size: 10px; color: #8d9fb1; }
.dn-hstat-alert .dn-hstat-icon { background: #fff3de; color: #9a600c; }
.dn-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dn-section-heading .dn-eyebrow { margin-bottom: 4px; }
.dn-section-heading h2 { margin: 0; font-size: 20px; font-weight: 600; }
.dn-section-heading > a { font-size: 12px; color: var(--dn-blue); }
body.dahinet-theme .dn-panel-card, body.dahinet-theme .dahinet-sidebar-panel,
body.dahinet-theme .dn-domain-card, body.dahinet-theme .dn-content-area,
body.dahinet-theme .dn-pd-status-card, body.dahinet-theme .dn-pd-info-card,
body.dahinet-theme .card { border: 1px solid var(--dn-line); border-radius: var(--dn-radius); box-shadow: none !important; background: #fff; }
body.dahinet-theme .dn-panel-header { padding: 18px 20px; background: #fff; border-bottom: 1px solid #e9eef4; }
.dn-panel-title { font-size: 14px; }
.dn-panel-icon { color: var(--dn-blue); }
.dn-panel-list-link { padding: 15px 20px; }
body.dahinet-theme .dahinet-sidebar-panel-header { background: #fff !important; padding: 16px !important; border-bottom: 1px solid #e9eef4; }
body.dahinet-theme .dahinet-sidebar-panel-title { color: #2a4058 !important; font-size: 12px !important; }
body.dahinet-theme .dahinet-sidebar-panel-icon { background: #edf4fc !important; color: var(--dn-blue) !important; }
body.dahinet-theme .dahinet-sidebar-nav-link { min-height: 44px; border: none; font-size: 12px; }
body.dahinet-theme .dn-page-header { padding-bottom: 22px; margin-bottom: 24px; border-color: var(--dn-line); }
body.dahinet-theme .dn-page-icon { background: #e7f1fd !important; color: var(--dn-blue); box-shadow: none !important; border-radius: 12px; }
.dn-page-title { font-size: clamp(23px, 2.5vw, 30px); }
.dn-page-subtitle { color: var(--dn-muted); }
body.dahinet-theme .dn-btn, body.dahinet-theme .btn { border-radius: 8px; font-weight: 600; box-shadow: none; }
body.dahinet-theme .dn-btn-primary, body.dahinet-theme .btn-primary { background: var(--dn-blue) !important; border-color: var(--dn-blue) !important; color: #fff; }
body.dahinet-theme .dn-btn:hover, body.dahinet-theme .btn:hover { transform: none !important; }
body.dahinet-theme .dn-btn { min-height: 44px; font-size: 12px; }
body.dahinet-theme .dn-btn-outline { color: #38536f; background: #fff; border: 1px solid #cedae6; }
body.dahinet-theme .dn-stat-card { background: #fff; border: 1px solid var(--dn-line); border-radius: 10px; box-shadow: none; }
.dn-stat-card .dn-stat-icon { background: #eef4fb; color: #2a6ca8; }
.dn-toolbar { flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.dn-toolbar-left { flex-wrap: wrap; min-width: 0; gap: 12px; }
body.dahinet-theme .dn-search-box { border: 1px solid #cad7e4; border-radius: 8px; background: #fff; min-width: 220px; }
body.dahinet-theme .dn-search-input { min-height: 44px; font-size: 13px; }
.dn-filter-tabs { flex-wrap: wrap; gap: 4px; }
body.dahinet-theme .dn-filter-tab { min-height: 44px; padding: 8px 12px; border-radius: 7px; font-size: 12px; white-space: nowrap; }
body.dahinet-theme .dn-filter-tab.active { background: #e4effc; color: #0959a6; box-shadow: none; }
body.dahinet-theme .dn-view-btn { min-height: 44px; min-width: 44px; }
.dn-domains-table { width: 100%; }
body.dahinet-theme .dn-domains-table thead th { background: #f8fafc; color: #697c90; font-size: 10px; letter-spacing: .05em; padding: 16px; border-color: #e7edf4; }
body.dahinet-theme .dn-domains-table tbody td { padding: 18px 16px; border-color: #e7edf4; }
.dn-svc-product-name { font-weight: 600; }
.dn-svc-domain-link { color: #61768c; font-size: 12px; }
body.dahinet-theme .dn-manage-btn { min-height: 44px; border-radius: 8px; border: 1px solid #c8daf0; background: #f1f6fd; color: #0a5ba9; font-size: 12px; }
.dn-results-note { color: var(--dn-muted); font-size: 12px; margin: 0 0 12px; }
.dn-search-empty { padding: 40px 24px; text-align: center; border: 1px dashed #cad7e4; border-radius: 12px; background: #fff; margin-top: 16px; }
.dn-search-empty h3 { font-size: 18px; }
.dn-search-empty p { color: var(--dn-muted); }
.dn-table-sort { border: 0; background: transparent; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; padding: 0; text-align: left; cursor: pointer; min-height: 44px; }
body.dahinet-theme .form-control { border-color: #cbd8e5; border-radius: 8px; color: var(--dn-ink); box-shadow: none; }
body.dahinet-theme .form-control:focus { border-color: #0075d4; box-shadow: 0 0 0 3px #0066cc18; }
body.dahinet-theme .dahinet-footer { background: var(--dn-navy) !important; padding-top: 42px; margin-top: 0; }
.dahinet-footer .footer-column h3 { color: #fff; font-size: 14px; }
body.dahinet-theme .dahinet-footer p, body.dahinet-theme .dahinet-footer li, body.dahinet-theme .dahinet-footer a { color: #b2c6d8; font-size: 12px; }
body.dahinet-theme .dahinet-footer .footer-bottom { border-color: #ffffff16; }
/* Domain overview: scoped typography prevents the global heading colour leak. */
.dd-page-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 24px; border-bottom: 1px solid #dde5ed; margin-bottom: 24px; scrollbar-width: thin; }
.dd-page-tabs a { display: flex; gap: 8px; align-items: center; flex-shrink: 0; padding: 4px 0 16px; border-bottom: 2px solid transparent; color: #60758b; font-size: 12px; font-weight: 600; }
.dd-page-tabs a.active { color: #0066cc; border-color: #0066cc; }
.dd-page-tabs a:hover { color: #0066cc; text-decoration: none; }
body.dahinet-theme .dd-invoice-alert { padding: 16px 20px; background: #fff7f5; border: 1px solid #f2d3ce; border-radius: 10px; gap: 14px; }
.dd-alert-text { display: flex; flex-direction: column; gap: 3px; }
.dd-alert-text strong { font-size: 13px; font-weight: 600; }
.dd-alert-text > span { font-size: 12px; }
body.dahinet-theme .dd-alert-btn { min-height: 42px; padding: 10px 16px; border-radius: 8px; font-size: 12px; background: #b83125; box-shadow: none; }
body.dahinet-theme .dd-hero { background: #071e35; padding: 30px; margin-bottom: 22px; border-radius: 12px; }
.dd-hero::before { width: 300px; height: 300px; border: 1px solid #ffffff12; background: transparent; top: -160px; right: 60px; }
.dd-hero::after { background: #ffffff03; left: auto; right: -140px; }
.dd-hero-left { min-width: 0; flex: 1; }
.dd-hero-name { min-width: 0; }
.dd-hero-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #89b3d4; display: block; margin-bottom: 8px; }
body.dahinet-theme .dd-hero-name h1 { color: #fff !important; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.3; font-weight: 600; margin: 0 0 12px; overflow-wrap: anywhere; }
.dd-hero-tools { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
body.dahinet-theme .dd-hero-tools a, .dd-copy-domain { display: inline-flex; gap: 7px; align-items: center; min-height: 28px; color: #b7d0e5; font-size: 11px; font-weight: 500; }
.dd-copy-domain { border: 0; background: transparent; padding: 0; cursor: pointer; }
.dd-copy-domain:hover { color: #fff; }
.dd-copy-feedback { display: block; color: #b7d0e5; font-size: 11px; }
.dd-copy-feedback:empty { display: none; }
.dd-hero-icon { width: 52px; height: 52px; background: #163c5d; color: #9fc9ed; border: 1px solid #3e607b; border-radius: 12px; }
.dd-hero-right { flex-direction: column; align-items: flex-end; gap: 14px; }
body.dahinet-theme .dd-hero-renew-btn { background: #fff; border-color: #fff; color: #0c3457; font-size: 12px; min-height: 44px; padding: 11px 16px; }
body.dahinet-theme .dd-hero-renew-btn:hover { color: #0c3457; background: #e6f2fc; transform: none; }
.dd-status-badge { padding: 5px 10px; font-size: 10px; text-transform: none; letter-spacing: 0; }
.dd-status-badge.active { background: #153f3b; border-color: #306b57; color: #a0e3c0; }
.dd-status-badge .dot { animation: none !important; }
.dd-summary-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-bottom: 22px; }
.dd-summary-card { min-width: 0; background: #fff; border: 1px solid #dde5ed; border-radius: 12px; overflow: hidden; }
.dd-summary-card-header { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid #e9eef4; }
.dd-summary-card-header .dd-section-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; background: #edf4fc; color: #266baa; border-radius: 9px; }
body.dahinet-theme .dd-summary-card-header h2 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.dd-summary-card-header p { margin: 3px 0 0; font-size: 11px; color: #657b90; }
.dd-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px 22px; }
.dd-date-item { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dd-date-next { border-left: 1px solid #e5edf4; padding-left: 20px; }
.dd-detail-label { display: block; font-size: 11px; font-weight: 500; color: #60758b; }
.dd-date-item strong { color: #10243a; font-size: 20px; font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
.dd-detail-note { display: block; font-size: 10px; color: #708498; }
.dd-setting-row { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-top: 1px solid #e9eef4; }
.dd-setting-row > div { flex: 1; min-width: 0; }
.dd-setting-row strong { display: block; font-size: 12px; font-weight: 600; color: #304a64; }
.dd-setting-row > div > span { display: block; font-size: 10px; color: #708498; }
@media (max-width: 480px) {
    .dd-date-grid { grid-template-columns: 1fr; }
    .dd-date-next { border-left: 0; padding-left: 0; border-top: 1px solid #e5edf4; padding-top: 12px; margin-top: 12px; }
}
.dd-setting-state { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; font-size: 11px; color: #38648a; white-space: nowrap; }
.dd-setting-state.enabled { color: #15734f; }
.dd-setting-state.disabled { color: #a65e09; }
.dd-setting-state i { font-size: 8px; }
.dd-renewal-price { padding: 22px; background: #f8fafc; border-bottom: 1px solid #e9eef4; }
.dd-renewal-price strong { display: block; color: #10243a; font-weight: 600; font-size: 28px; letter-spacing: -.04em; margin: 4px 0; overflow-wrap: anywhere; }
.dd-billing-list { margin: 0; padding: 4px 22px; }
.dd-billing-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #edf2f7; }
.dd-billing-list > div:last-child { border: 0; }
.dd-billing-list dt { font-size: 11px; font-weight: 500; color: #60758b; }
.dd-billing-list dd { font-size: 12px; font-weight: 600; margin: 0; text-align: right; color: #304a64; overflow-wrap: anywhere; }
.dd-billing-renew { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px solid #e9eef4; color: #0066cc; font-size: 11px; font-weight: 600; }
body.dahinet-theme .dd-actions-section, body.dahinet-theme .dd-ssl-section { padding: 22px; border-color: #dde5ed; border-radius: 12px; margin-bottom: 22px; }
.dd-actions-header h2 { margin: 0; font-size: 14px; font-weight: 600; }
.dd-actions-header { padding-bottom: 16px; margin-bottom: 18px; border-color: #e9eef4; }
.dd-actions-header .dd-section-icon { background: #edf4fc; color: #266baa; }
.dd-quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.dahinet-theme .dd-action-card { min-width: 0; min-height: 78px; padding: 14px; background: #fff; border-color: #e0e8f1; box-shadow: none; transform: none; }
.dd-action-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dd-action-text strong { color: #304a64; font-size: 12px; font-weight: 600; }
.dd-action-text small { color: #708498; font-size: 10px; }
.dd-action-card .dd-action-icon { border: 0; background: #edf4fc; }
.dd-ssl-section-header { border-color: #e9eef4; }
body.dahinet-theme .dd-ssl-section-header h4 { font-size: 14px; font-weight: 600; }
.dd-ssl-item-label { text-transform: none; font-size: 11px; letter-spacing: 0; }
.dd-ssl-item-value { font-size: 12px; overflow-wrap: anywhere; }
body.dahinet-theme .dd-overview-wrapper .tab-pane > .card .card-title { font-size: 20px; }
@media (min-width: 993px) {
    body.dahinet-theme .dahinet-header .nav-menu .dropdown > .dropdown-menu { display: none !important; }
    body.dahinet-theme .dahinet-header .nav-menu .dropdown:hover > .dropdown-menu,
    body.dahinet-theme .dahinet-header .nav-menu .dropdown:focus-within > .dropdown-menu,
    body.dahinet-theme .dahinet-header .nav-menu .dropdown.active > .dropdown-menu { display: block !important; opacity: 1; visibility: visible; pointer-events: auto; }
}
@media (max-width: 1199px) {
    .dn-workspace-label { display: none; }
    .dn-workspace-nav > .container { gap: 12px; }
    .dn-home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dd-hero-right { flex-direction: row; align-items: center; }
    .dd-summary-layout { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    body.dahinet-theme .dahinet-navbar { min-height: 66px; padding: 10px 0 !important; }
    body.dahinet-theme .dahinet-header .nav-menu { background: #fff !important; top: 0 !important; height: 100dvh !important; padding-top: 20px !important; }
    body.dahinet-theme .dahinet-header .nav-menu a { min-height: 44px; }
    .dn-workspace-order { display: none; }
    .dn-workspace-links { width: 100%; gap: 0; }
    .dn-workspace-links a { padding: 14px 12px; font-size: 12px; }
}
@media (max-width: 991px) {
    .dn-context-nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 12px 16px; margin: 0 0 18px; background: #fff; border: 1px solid #d3dfeb; border-radius: 8px; color: #385b7a; font-size: 12px; font-weight: 600; text-align: left; }
    .dn-context-nav-toggle i:last-child { margin-left: auto; }
    body.dahinet-theme .sidebar.dahinet-sidebar.dn-domain-context-sidebar { display: none !important; }
    body.dahinet-theme .sidebar.dahinet-sidebar.dn-domain-context-sidebar.is-open { display: block !important; margin-bottom: 18px; }
}
@media (max-width: 767px) {
    body.dahinet-theme .container { padding-left: 16px; padding-right: 16px; }
    body.dahinet-theme #main-body.dahinet-main-body { padding-top: 6px !important; padding-bottom: 32px !important; }
    body.dahinet-theme .dn-welcome-banner { padding: 24px; min-height: 0; }
    .dn-welcome-right { width: 100%; }
    .dn-welcome-right a { flex: 1; justify-content: center; }
    .dn-home-stats { gap: 10px; }
    body.dahinet-theme .dn-home-stat-card { padding: 16px 12px; min-height: 106px; gap: 10px; }
    .dn-home-stat-card .dn-hstat-arrow, .dn-home-stat-card .dn-hstat-badge { display: none; }
    body.dahinet-theme .dn-hstat-icon { width: 32px; height: 32px; font-size: 15px; }
    body.dahinet-theme .dn-hstat-num { font-size: 24px; }
    .dn-section-heading { align-items: flex-start; }
    .dn-section-heading > a { max-width: 94px; }
    .dn-section-heading h2 { font-size: 18px; }
    .dn-page-header-left { align-items: flex-start; min-width: 0; }
    .dn-page-header-left > div:last-child { min-width: 0; overflow-wrap: anywhere; }
    .dn-page-header-right { width: 100%; }
    .dn-page-header-right .dn-btn-primary { flex: 1; justify-content: center; }
    .dn-toolbar, .dn-toolbar-left, .dn-search-box { width: 100%; }
    .dn-search-box { min-width: 0 !important; }
    .dn-services-page .dn-table-container { overflow: visible; }
    .dn-services-page .dn-domains-table, .dn-services-page .dn-domains-table tbody { display: block; width: 100%; }
    .dn-services-page .dn-domains-table thead { display: none; }
    .dn-services-page .dn-svc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 18px; gap: 10px 12px; border-bottom: 1px solid var(--dn-line); }
    body.dahinet-theme .dn-services-page .dn-domains-table td { display: block; border: 0; padding: 0; min-width: 0; white-space: normal; }
    .dn-services-page .dn-svc-row .dn-td-ssl { display: none; }
    .dn-services-page .dn-svc-row .dn-td-domain { grid-column: 1; grid-row: 1; overflow-wrap: anywhere; }
    .dn-services-page .dn-svc-row .dn-td-status { grid-column: 2; grid-row: 1; align-self: start; }
    .dn-services-page .dn-svc-row .dn-td-date::before { content: attr(data-label); display: block; font-size: 10px; color: #6a7c90; margin-bottom: 3px; }
    .dn-services-page .dn-svc-row .dn-td-action { grid-column: 1 / -1; margin-top: 4px; }
    .dn-services-page .dn-manage-btn { width: 100%; justify-content: center; }
    .dn-services-page .dn-domain-grid { grid-template-columns: 1fr; }
    body.dahinet-theme input.form-control, body.dahinet-theme select.form-control,
    body.dahinet-theme textarea.form-control, .dn-search-input { font-size: 16px !important; }
    .dn-alert, .dn-alert-banner { flex-wrap: wrap; }
    .dd-page-tabs { gap: 22px; margin-bottom: 20px; }
    .dd-page-tabs a { min-height: 44px; padding-bottom: 12px; }
    body.dahinet-theme .dd-hero { padding: 24px 20px; gap: 22px; }
    .dd-hero-left { gap: 12px; align-items: flex-start; width: 100%; }
    .dd-hero-icon { width: 40px; height: 40px; font-size: 17px; }
    .dd-hero-right { width: 100%; justify-content: space-between; }
    .dd-hero-tools { gap: 6px 14px; }
    .dd-summary-card-header, .dd-setting-row { padding: 18px; }
    .dd-date-grid { padding: 22px 18px; gap: 12px; }
    .dd-date-next { padding-left: 14px; }
    .dd-date-item strong { font-size: 19px; }
    .dd-setting-row > div > span { font-size: 11px; }
    .dd-invoice-alert .dd-alert-btn { margin-left: 0; width: 100%; justify-content: center; }
    body.dahinet-theme .dd-actions-section, body.dahinet-theme .dd-ssl-section { padding: 18px; }
    .dd-quick-actions { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
    body.dahinet-theme .navbar-actions .btn-logout-compact,
    body.dahinet-theme .navbar-actions .btn-account-compact { display: none !important; }
    .dn-welcome-right { flex-direction: column; align-items: stretch; }
    .dn-home-stat-card .dn-hstat-icon { display: none; }
    .dn-workspace-links a { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    body.dahinet-theme *, body.dahinet-theme *::before, body.dahinet-theme *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
