/* ===== Scoped core page system ===== */
html.yn-core-page .primary-content{min-width:0}
html.yn-core-page h1,html.yn-core-page h2,html.yn-core-page h3,html.yn-core-page h4{color:#111b2e;letter-spacing:-.015em}
html.yn-core-page .card,html.yn-core-page .panel,html.yn-core-page .modal-content{border:1px solid var(--yn-line);border-radius:var(--yn-radius);background:#fff;box-shadow:var(--yn-shadow-sm)}
html.yn-core-page .card-header,html.yn-core-page .card-footer,html.yn-core-page .panel-heading{background:#fff;border-color:var(--yn-line)}
html.yn-core-page .card-body{padding:22px}
html.yn-core-page .btn{min-height:40px;padding:.5rem .95rem;border-radius:11px;box-shadow:none;font-weight:700;letter-spacing:0}
html.yn-core-page .btn-sm,html.yn-core-page .btn-group-sm>.btn{min-height:34px;padding:.34rem .72rem;border-radius:9px;font-size:12px}
html.yn-core-page .btn-primary,html.yn-core-page .btn-info{background:var(--yn-blue);border-color:var(--yn-blue);color:#fff}
html.yn-core-page .btn-primary:hover,html.yn-core-page .btn-primary:focus,html.yn-core-page .btn-info:hover,html.yn-core-page .btn-info:focus{background:var(--yn-blue-600);border-color:var(--yn-blue-600);color:#fff;box-shadow:0 8px 20px rgba(25,146,253,.18)}
html.yn-core-page .btn-default,html.yn-core-page .btn-light{background:#fff;border-color:var(--yn-line-2);color:#4d5b6e}
html.yn-core-page .btn-default:hover,html.yn-core-page .btn-light:hover{background:#f8fafc;border-color:#c8d4e1;color:#0d79d2}
html.yn-core-page .form-control,html.yn-core-page .custom-select,html.yn-core-page .input-group-text{min-height:43px;border-color:var(--yn-line-2);background:#fff;color:#172033;border-radius:11px}
html.yn-core-page textarea.form-control{min-height:auto}
html.yn-core-page .form-control::placeholder{color:#a5afbd}
html.yn-core-page .form-control:focus,html.yn-core-page .custom-select:focus{border-color:#76bdf8;box-shadow:var(--yn-focus)}
html.yn-core-page .input-group>.form-control:not(:first-child),html.yn-core-page .input-group>.custom-select:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
html.yn-core-page .input-group>.form-control:not(:last-child),html.yn-core-page .input-group>.custom-select:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}
html.yn-core-page label,html.yn-core-page .form-control-label{margin-bottom:7px;color:#4d5c70;font-size:13px;font-weight:700}
html.yn-core-page .alert{border:0;border-radius:13px;box-shadow:none}
html.yn-core-page .alert-info{background:#eaf5ff;color:#255f8e}
html.yn-core-page .alert-success{background:var(--yn-green-bg);color:var(--yn-green)}
html.yn-core-page .alert-warning{background:var(--yn-amber-bg);color:var(--yn-amber)}
html.yn-core-page .alert-danger{background:var(--yn-red-bg);color:var(--yn-red)}
html.yn-core-page .dropdown-menu{padding:7px;border:1px solid var(--yn-line);border-radius:12px;box-shadow:0 16px 40px rgba(15,23,42,.11)}
html.yn-core-page .dropdown-item{padding:9px 10px;border-radius:8px}
html.yn-core-page .btn:focus,html.yn-core-page a:focus-visible,html.yn-core-page button:focus-visible,html.yn-core-page input:focus-visible,html.yn-core-page textarea:focus-visible,html.yn-core-page select:focus-visible{outline:0;box-shadow:var(--yn-focus)}

/* statuses */
html.yn-core-page .label.status,html.yn-core-page span.status{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:5px 10px;border:0;border-radius:999px;font-size:11px;font-weight:700;line-height:1.1}
html.yn-core-page .status-active,html.yn-core-page .status-paid,html.yn-core-page .status-completed,html.yn-core-page .status-open,html.yn-core-page .status-answered{background:var(--yn-green-bg);color:var(--yn-green)}
html.yn-core-page .status-pending,html.yn-core-page .status-unpaid,html.yn-core-page .status-inprogress,html.yn-core-page .status-customer-reply{background:var(--yn-amber-bg);color:var(--yn-amber)}
html.yn-core-page .status-suspended,html.yn-core-page .status-cancelled,html.yn-core-page .status-terminated,html.yn-core-page .status-overdue,html.yn-core-page .status-fraud,html.yn-core-page .status-closed{background:var(--yn-red-bg);color:var(--yn-red)}

/* ===== Page title/header ===== */
html.yn-core-page .yn-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:2px 0 18px}
html.yn-core-page .yn-page-head-copy{min-width:0}
html.yn-core-page .yn-page-eyebrow{display:block;margin-bottom:5px;color:#0d83df;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
html.yn-core-page .yn-page-head h1{margin:0;font-size:28px;font-weight:800;line-height:1.2;letter-spacing:-.035em}
html.yn-core-page .yn-page-head p{margin:7px 0 0;color:var(--yn-muted);font-size:13px}
html.yn-core-page .yn-page-actions{display:flex;gap:9px;flex:0 0 auto}

/* ===== Data surfaces / DataTables ===== */
html.yn-core-page .yn-surface{overflow:hidden;border:1px solid var(--yn-line);border-radius:18px;background:#fff;box-shadow:var(--yn-shadow-sm)}
html.yn-core-page .yn-table-tools,html.yn-core-page .yn-surface .dataTables_wrapper>.row:first-child{padding:14px 17px 10px}
html.yn-core-page .yn-surface .dataTables_wrapper>.row:last-child{padding:11px 17px 15px}
html.yn-core-page .dataTables_wrapper .dataTables_filter label,html.yn-core-page .dataTables_wrapper .dataTables_length label{color:#7e8a9c;font-size:12px}
html.yn-core-page .dataTables_wrapper .dataTables_filter input,html.yn-core-page .dataTables_wrapper .dataTables_length select{min-height:36px;border:1px solid var(--yn-line-2);border-radius:10px;background:#fff;color:#334155}
html.yn-core-page .yn-table{margin:0;color:#415066}
html.yn-core-page .yn-table thead th{padding:12px 17px;border-top:1px solid #eef2f6;border-bottom:1px solid var(--yn-line);background:#f8fafc;color:#7f8c9e;font-size:11px;font-weight:800;letter-spacing:.035em;text-transform:none;vertical-align:middle}
html.yn-core-page .yn-table td{padding:15px 17px;border-top:1px solid #eef2f6;vertical-align:middle}
html.yn-core-page .yn-table tbody tr{transition:background-color .12s ease}
html.yn-core-page .yn-table tbody tr:hover{background:#fbfdff}
html.yn-core-page .yn-primary-text{color:#152036;font-weight:700}
html.yn-core-page .yn-secondary-text{margin-top:3px;color:#8b97a8;font-size:12px}
html.yn-core-page .yn-money{color:#132036;font-size:14px;font-weight:800;white-space:nowrap}
html.yn-core-page .yn-loading{padding:34px;color:#8794a7}
html.yn-core-page .yn-loading i{margin-right:7px;color:var(--yn-blue)}
html.yn-core-page .page-link{margin:0 2px;border-color:var(--yn-line);border-radius:8px;color:#59677b}
html.yn-core-page .page-item.active .page-link{background:var(--yn-blue);border-color:var(--yn-blue)}

/* ===== Dashboard ===== */
html[data-yn-template="clientareahome"] .yn-dashboard-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;padding:28px 30px;border-radius:24px;background:linear-gradient(135deg,#0f172a 0%,#17345a 58%,#176fb2 100%);color:#fff;box-shadow:0 16px 40px rgba(15,23,42,.13)}
html[data-yn-template="clientareahome"] .yn-dashboard-hero:after{content:"";position:absolute;right:-170px;top:-240px;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(97,190,255,.46),rgba(97,190,255,0) 68%);pointer-events:none}
html[data-yn-template="clientareahome"] .yn-dashboard-hero-copy,html[data-yn-template="clientareahome"] .yn-dashboard-hero-actions{position:relative;z-index:1}
html[data-yn-template="clientareahome"] .yn-dashboard-hero-kicker{display:block;margin-bottom:7px;color:#83c8ff;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
html[data-yn-template="clientareahome"] .yn-dashboard-hero h1{margin:0;color:#fff;font-size:29px;font-weight:800;letter-spacing:-.035em}
html[data-yn-template="clientareahome"] .yn-dashboard-hero p{margin:8px 0 0;color:#c7d8ea;font-size:13px}
html[data-yn-template="clientareahome"] .yn-dashboard-hero-actions{display:flex;gap:10px}
html[data-yn-template="clientareahome"] .yn-dashboard-hero .btn{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(6px)}
html[data-yn-template="clientareahome"] .yn-dashboard-hero .btn:hover{background:rgba(255,255,255,.17);color:#fff}
html[data-yn-template="clientareahome"] .yn-dashboard-hero .btn.yn-hero-primary{background:#fff;border-color:#fff;color:#132033}
html[data-yn-template="clientareahome"] .yn-dashboard-hero .btn.yn-hero-primary:hover{background:#f5f9fd;color:#0f172a}
html[data-yn-template="clientareahome"] .yn-dashboard-stats .row{margin-right:-7px;margin-left:-7px}
html[data-yn-template="clientareahome"] .yn-dashboard-stats [class*="col-"]{padding-right:7px;padding-left:7px}
html[data-yn-template="clientareahome"] .yn-stat-card{display:flex;align-items:center;gap:13px;min-height:94px;height:100%;padding:17px 18px;border:1px solid var(--yn-line);border-radius:18px;background:#fff;color:#152036;box-shadow:var(--yn-shadow-sm)}
html[data-yn-template="clientareahome"] .yn-stat-card:hover{border-color:#cfe0f0;box-shadow:0 12px 30px rgba(15,23,42,.065);transform:translateY(-1px)}
html[data-yn-template="clientareahome"] .yn-stat-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 43px;width:43px;height:43px;border-radius:13px;background:var(--yn-blue-soft);color:#1283df;font-size:17px}
html[data-yn-template="clientareahome"] .yn-stat-content{display:flex;flex-direction:column;min-width:0}
html[data-yn-template="clientareahome"] .yn-stat-content strong{color:#111c30;font-size:25px;line-height:1;font-weight:800}
html[data-yn-template="clientareahome"] .yn-stat-content span{margin-top:5px;color:#8491a3;font-size:12px;white-space:nowrap}
html[data-yn-template="clientareahome"] .yn-stat-arrow{margin-left:auto;color:#c4ccd7;font-size:10px}
html[data-yn-template="clientareahome"] .yn-dashboard-panels{margin-top:2px}
html[data-yn-template="clientareahome"] .yn-panel-card{overflow:hidden;margin-bottom:16px;border-radius:18px!important}
html[data-yn-template="clientareahome"] .yn-panel-card .card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px}
html[data-yn-template="clientareahome"] .yn-panel-card .card-title{display:flex;align-items:center;gap:9px;margin:0;font-size:14px;font-weight:800}
html[data-yn-template="clientareahome"] .yn-panel-card .card-title>i{color:#1684df}
html[data-yn-template="clientareahome"] .yn-panel-card .list-group-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-color:#eef2f6}
html[data-yn-template="clientareahome"] .yn-addon-output{overflow:hidden;border-radius:18px}

/* ===== Public homepage ===== */
html[data-yn-template="homepage"] .yn-public-hero{position:relative;overflow:hidden;margin-bottom:34px;padding:48px 42px;border-radius:26px;background:linear-gradient(135deg,#0f172a 0%,#12345d 62%,#177fc8 100%);color:#fff;box-shadow:0 20px 50px rgba(15,23,42,.13)}
html[data-yn-template="homepage"] .yn-public-hero:after{content:"";position:absolute;right:-120px;top:-180px;width:450px;height:450px;border-radius:50%;background:radial-gradient(circle,rgba(91,188,255,.48),rgba(91,188,255,0) 68%)}
html[data-yn-template="homepage"] .yn-public-hero>*{position:relative;z-index:1}
html[data-yn-template="homepage"] .yn-public-hero h1{max-width:760px;margin:0;color:#fff;font-size:40px;font-weight:800;line-height:1.12;letter-spacing:-.045em}
html[data-yn-template="homepage"] .yn-public-hero p{max-width:650px;margin:15px 0 0;color:#c8daeb;font-size:15px}
html[data-yn-template="homepage"] .yn-public-actions{display:flex;gap:10px;margin-top:24px}
html[data-yn-template="homepage"] .yn-public-actions .btn{min-width:124px}
html[data-yn-template="homepage"] .yn-public-actions .btn-primary{background:#fff;border-color:#fff;color:#122037}
html[data-yn-template="homepage"] .yn-public-actions .btn-default{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.09);color:#fff}
html[data-yn-template="homepage"] .yn-home-section{margin-bottom:32px}
html[data-yn-template="homepage"] .yn-home-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px}
html[data-yn-template="homepage"] .yn-home-title h2{margin:0;font-size:23px;font-weight:800;letter-spacing:-.03em}
html[data-yn-template="homepage"] .yn-home-title p{margin:5px 0 0;color:var(--yn-muted);font-size:12px}
html[data-yn-template="homepage"] .yn-product-card{overflow:hidden;height:100%;border-radius:18px!important}
html[data-yn-template="homepage"] .yn-product-card:hover{border-color:#cce1f5;box-shadow:0 14px 35px rgba(15,23,42,.07);transform:translateY(-2px)}
html[data-yn-template="homepage"] .yn-product-card .card-body{display:flex;flex-direction:column;min-height:230px;padding:22px}
html[data-yn-template="homepage"] .yn-card-icon{display:inline-flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:13px;background:var(--yn-blue-soft);color:#1281dd}
html[data-yn-template="homepage"] .yn-card-copy{flex:1 1 auto;color:#718096}
html[data-yn-template="homepage"] .yn-action-grid{margin-right:-7px;margin-left:-7px}
html[data-yn-template="homepage"] .yn-action-grid>[class*="col-"]{padding-right:7px;padding-left:7px}
html[data-yn-template="homepage"] .yn-action-card{display:flex;align-items:center;gap:11px;min-height:78px;height:100%;padding:14px 15px;border:1px solid var(--yn-line);border-radius:16px;background:#fff;color:#334155;font-weight:700;box-shadow:0 4px 16px rgba(15,23,42,.025)}
html[data-yn-template="homepage"] .yn-action-card:hover{border-color:#cfe1f2;background:#fbfdff;color:#087bd7;transform:translateY(-1px)}
html[data-yn-template="homepage"] .yn-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 39px;width:39px;height:39px;border-radius:12px;background:#f0f5fa;color:#147fcf}

/* ===== Services list only ===== */
html[data-yn-template="clientareaproducts"] .yn-service-main strong,html[data-yn-template="clientareaproducts"] .yn-service-main small,html[data-yn-template="clientareaproducts"] .yn-service-main code{display:block}
html[data-yn-template="clientareaproducts"] .yn-service-main strong{color:#152036;font-weight:800}
html[data-yn-template="clientareaproducts"] .yn-service-main small{margin-top:3px;color:#8190a3}
html[data-yn-template="clientareaproducts"] .yn-ip-address{width:max-content;margin-top:5px;padding:3px 7px;border-radius:7px;background:#f0f4f8;color:#536277;font-size:11px}
html[data-yn-template="clientareaproducts"] .yn-service-row{cursor:pointer}
html[data-yn-template="clientareaproducts"] .yn-remark-display{display:inline-flex;align-items:center;gap:6px;max-width:190px;padding:5px 8px;border:0;border-radius:8px;background:transparent;color:#66758a;font-size:12px}
html[data-yn-template="clientareaproducts"] .yn-remark-display:hover{background:#f3f7fb;color:#0c7ed8}
html[data-yn-template="clientareaproducts"] .yn-remark-display.is-empty{color:#98a3b2}
html[data-yn-template="clientareaproducts"] .yn-remark-input{display:none;min-width:150px;min-height:34px!important;height:34px;font-size:12px}
html[data-yn-template="clientareaproducts"] .yn-remark-input:not([hidden]){display:inline-block}
html[data-yn-template="clientareaproducts"] .yn-remark-cell.is-saving{opacity:.62}
html[data-yn-template="clientareaproducts"] .yn-remark-cell.save-error .yn-remark-display{background:var(--yn-red-bg);color:var(--yn-red)}

/* ===== Invoice list ===== */
html[data-yn-template="clientareainvoices"] .yn-invoice-no{display:flex;align-items:center;gap:10px}
html[data-yn-template="clientareainvoices"] .yn-invoice-no-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f0f5fa;color:#658099}
html[data-yn-template="clientareainvoices"] .yn-invoice-row{cursor:pointer}
html[data-yn-template="clientareainvoices"] .yn-invoice-row:focus{outline:0;background:#f8fbff;box-shadow:inset 3px 0 0 var(--yn-blue)}

/* ===== Ticket list ===== */
html[data-yn-template="supportticketslist"] .yn-ticket-list{overflow:hidden}
html[data-yn-template="supportticketslist"] .yn-ticket-link{display:flex;align-items:center;gap:12px;color:inherit}
html[data-yn-template="supportticketslist"] .yn-ticket-dot{flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#8aa0b5;box-shadow:0 0 0 5px #f0f4f8}
html[data-yn-template="supportticketslist"] .yn-ticket-subject{display:block;color:#172033;font-weight:700}
html[data-yn-template="supportticketslist"] .yn-ticket-subject.is-unread{font-weight:800}
html[data-yn-template="supportticketslist"] .yn-ticket-number{display:block;margin-top:2px;color:#8b97a8;font-size:11px}
html[data-yn-template="supportticketslist"] .yn-ticket-dept{display:inline-flex;padding:4px 8px;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:700}
html[data-yn-template="supportticketslist"] .yn-ticket-date{color:#748197;font-size:12px;white-space:nowrap}

/* ===== Submit ticket ===== */
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-intro{margin-bottom:18px}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--yn-line);border-radius:16px;background:#fff;color:#29374a;box-shadow:0 4px 18px rgba(15,23,42,.025)}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-card:hover{border-color:#c8def2;box-shadow:0 10px 28px rgba(15,23,42,.06);transform:translateY(-1px)}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:13px;background:var(--yn-blue-soft);color:#1283df;font-size:16px}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-copy{min-width:0}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-copy strong{display:block;color:#162033;font-size:14px}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-copy span{display:block;margin-top:4px;color:#8290a3;font-size:12px}
html[data-yn-template="supportticketsubmit-stepone"] .yn-department-arrow{margin-left:auto;color:#a9b4c1}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-ticket-form-shell{overflow:hidden}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-section{padding:21px 22px;border-bottom:1px solid #edf1f6}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-section:last-child{border-bottom:0}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-section-head{margin-bottom:16px}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-section-head h3{margin:0;font-size:15px;font-weight:800}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-section-head p{margin:4px 0 0;color:#8a97a8;font-size:12px}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-submit{display:flex;justify-content:flex-end;gap:9px;padding:17px 22px;background:#f8fafc}

/* ===== View ticket conversation ===== */
html[data-yn-template="viewticket"] .yn-ticket-view{max-width:1040px;margin:0 auto}
html[data-yn-template="viewticket"] .yn-ticket-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px;padding:22px 24px;border:1px solid var(--yn-line);border-radius:20px;background:#fff;box-shadow:var(--yn-shadow-sm)}
html[data-yn-template="viewticket"] .yn-ticket-eyebrow{display:block;margin-bottom:6px;color:#1282dc;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
html[data-yn-template="viewticket"] .yn-ticket-hero h1{margin:0;font-size:24px;font-weight:800;letter-spacing:-.03em}
html[data-yn-template="viewticket"] .yn-ticket-hero-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
html[data-yn-template="viewticket"] .yn-ticket-meta-chip{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:600}
html[data-yn-template="viewticket"] .yn-ticket-actions{display:flex;gap:8px;flex:0 0 auto}
html[data-yn-template="viewticket"] .yn-ticket-thread{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
html[data-yn-template="viewticket"] .yn-ticket-message{overflow:hidden;border:1px solid var(--yn-line);border-radius:18px;background:#fff;box-shadow:0 5px 20px rgba(15,23,42,.028)}
html[data-yn-template="viewticket"] .yn-ticket-message.is-staff{border-color:#d5e9fb;background:#fbfdff}
html[data-yn-template="viewticket"] .yn-ticket-message-head{display:flex;align-items:center;gap:11px;padding:14px 17px;border-bottom:1px solid #eef2f6}
html[data-yn-template="viewticket"] .yn-ticket-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#f0f4f8;color:#66778c}
html[data-yn-template="viewticket"] .is-staff .yn-ticket-avatar{background:var(--yn-blue-soft);color:#0d82df}
html[data-yn-template="viewticket"] .yn-ticket-author{display:flex;flex-direction:column;min-width:0}
html[data-yn-template="viewticket"] .yn-ticket-author strong{color:#172033;font-size:13px}
html[data-yn-template="viewticket"] .yn-ticket-author span{margin-top:1px;color:#8995a7;font-size:11px}
html[data-yn-template="viewticket"] .yn-ticket-requestor{margin-left:auto}
html[data-yn-template="viewticket"] .yn-ticket-message-body{padding:19px 18px;color:#354458;line-height:1.72}
html[data-yn-template="viewticket"] .yn-ticket-message-body img{max-width:100%;height:auto;border-radius:10px}
html[data-yn-template="viewticket"] .yn-ticket-meta{padding:0 18px 14px;color:#9aa5b4;font-size:11px}
html[data-yn-template="viewticket"] .yn-ticket-attachments{padding:14px 18px;border-top:1px solid #eef2f6;background:#fafcfe}
html[data-yn-template="viewticket"] .yn-ticket-attachments-title{margin-bottom:9px;color:#657489;font-size:11px;font-weight:700}
html[data-yn-template="viewticket"] .yn-attachment-grid{display:flex;flex-wrap:wrap;gap:8px}
html[data-yn-template="viewticket"] .yn-attachment-item{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:7px 10px;border:1px solid var(--yn-line);border-radius:9px;background:#fff;color:#536276;font-size:11px}
html[data-yn-template="viewticket"] .yn-attachment-item:hover{border-color:#c9dff2;color:#0c7bd4}
html[data-yn-template="viewticket"] .yn-attachment-item.is-disabled{opacity:.6}
html[data-yn-template="viewticket"] .yn-ticket-reply-card{overflow:hidden;border-radius:19px!important}
html[data-yn-template="viewticket"] .yn-ticket-reply-card .card-header{padding:17px 20px}
html[data-yn-template="viewticket"] .yn-ticket-reply-card .card-header h3{margin:0;font-size:16px;font-weight:800}
html[data-yn-template="viewticket"] .yn-ticket-reply-card .card-header p{margin:4px 0 0;color:#8b97a8;font-size:11px}
html[data-yn-template="viewticket"] .yn-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}

/* ===== Login ===== */
html[data-yn-template="login"] .primary-content{max-width:none!important}
html[data-yn-template="login"] #main-body>.container{max-width:1180px}
html[data-yn-template="login"] .yn-auth-shell{display:grid;grid-template-columns:1.05fr .95fr;min-height:590px;margin:8px auto 20px;overflow:hidden;border:1px solid var(--yn-line);border-radius:26px;background:#fff;box-shadow:0 22px 65px rgba(15,23,42,.10)}
html[data-yn-template="login"] .yn-auth-intro{position:relative;overflow:hidden;align-items:flex-end;padding:46px;background:linear-gradient(145deg,#0f172a 0%,#183a63 64%,#147fc8 100%);color:#fff}
html[data-yn-template="login"] .yn-auth-intro:after{content:"";position:absolute;right:-145px;top:-180px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(101,195,255,.5),rgba(101,195,255,0) 68%)}
html[data-yn-template="login"] .yn-auth-intro-inner{position:relative;z-index:1;max-width:470px}
html[data-yn-template="login"] .yn-auth-mark,html[data-yn-template="login"] .yn-auth-mobile-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.12);color:#fff;font-size:19px}
html[data-yn-template="login"] .yn-auth-intro h1{margin:22px 0 0;color:#fff;font-size:38px;font-weight:800;letter-spacing:-.045em}
html[data-yn-template="login"] .yn-auth-intro p{max-width:430px;margin:13px 0 0;color:#c6d8e8;font-size:14px;line-height:1.7}
html[data-yn-template="login"] .yn-auth-points{display:flex;flex-direction:column;gap:10px;margin-top:28px}
html[data-yn-template="login"] .yn-auth-points span{display:flex;align-items:center;gap:9px;color:#dce9f4;font-size:12px}
html[data-yn-template="login"] .yn-auth-points i{width:19px;color:#8ed0ff}
html[data-yn-template="login"] .yn-login-form{display:flex;align-items:center;padding:38px 48px}
html[data-yn-template="login"] .yn-auth-card{width:100%;margin:0;border:0!important;box-shadow:none!important}
html[data-yn-template="login"] .yn-auth-card .card-body{padding:0}
html[data-yn-template="login"] .yn-auth-heading{margin-bottom:25px}
html[data-yn-template="login"] .yn-auth-heading h2{margin:0;font-size:27px;font-weight:800;letter-spacing:-.035em}
html[data-yn-template="login"] .yn-auth-heading p{margin:6px 0 0;color:#8a96a8;font-size:12px}
html[data-yn-template="login"] .yn-auth-link{font-size:11px;font-weight:700}
html[data-yn-template="login"] .yn-auth-options{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
html[data-yn-template="login"] .yn-checkbox{display:flex;align-items:center;gap:8px;margin:0!important;color:#67758a!important;font-size:12px!important;font-weight:600!important}
html[data-yn-template="login"] .yn-checkbox input{margin:0}
html[data-yn-template="login"] .yn-auth-submit{height:46px}
html[data-yn-template="login"] .yn-auth-card .card-footer{display:flex;justify-content:center;gap:5px;margin-top:18px;padding:14px;border:0;background:#f8fafc;border-radius:12px;color:#8995a6;font-size:12px}
html[data-yn-template="login"] .yn-auth-card .card-footer a{font-weight:700}
html[data-yn-template="login"] .yn-auth-alert{max-width:1180px;margin:10px auto 0}
html[data-yn-template="login"] .linked-accounts{max-width:510px;margin:0 auto}

/* ===== Registration / account / security / billing generic ===== */
html[data-yn-template="clientregister"] #registration,html[data-yn-template="clientareadetails"] .primary-content>form,html[data-yn-template="clientareacontacts"] .primary-content>form,html[data-yn-template="account-contacts-new"] .primary-content>form,html[data-yn-template="account-contacts-manage"] .primary-content>form{max-width:1040px;margin:0 auto}
html[data-yn-template="clientregister"] #registration .card,html[data-yn-template="clientareadetails"] .card,html[data-yn-template="clientareacontacts"] .card,html[data-yn-template="user-profile"] .card,html[data-yn-template="user-security"] .card,html[data-yn-template="account-paymentmethods"] .card,html[data-yn-template="account-paymentmethods-manage"] .card,html[data-yn-template="account-user-management"] .card,html[data-yn-template="account-user-permissions"] .card,html[data-yn-template="account-contacts-new"] .card,html[data-yn-template="account-contacts-manage"] .card,html[data-yn-template="clientareaaddfunds"] .card{border-radius:18px!important}
html[data-yn-template="clientregister"] #registration .card-title,html[data-yn-template="clientareadetails"] .card-title,html[data-yn-template="user-profile"] .card-title,html[data-yn-template="user-security"] .card-title,html[data-yn-template="account-paymentmethods"] .card-title,html[data-yn-template="account-user-management"] .card-title{font-size:17px;font-weight:800}
html[data-yn-template="clientregister"] .prepend-icon .field-icon{border-color:var(--yn-line-2);background:#f8fafc;color:#8794a6}
html[data-yn-template="clientregister"] .prepend-icon .field{border-color:var(--yn-line-2)}
html[data-yn-template="account-paymentmethods"] .paymethod-info,html[data-yn-template="account-paymentmethods-manage"] .paymethod-info{border-radius:14px}

/* knowledgebase / announcements / downloads */
html[data-yn-template="announcements"] .announcement-single,html[data-yn-template="viewannouncement"] .announcement-single,html[data-yn-template="knowledgebase"] .kb-article-item,html[data-yn-template="knowledgebasecat"] .kb-article-item,html[data-yn-template="downloads"] .download-item,html[data-yn-template="downloadscat"] .download-item{border-color:var(--yn-line)!important;border-radius:14px!important;background:#fff}

/* ===== Responsive ===== */
@media(max-width:991.98px){
  html.yn-theme #main-body{padding-bottom:44px}
  html[data-yn-template="clientareahome"] .yn-dashboard-hero{padding:24px 22px}
  html[data-yn-template="clientareahome"] .yn-dashboard-hero-actions{display:none}
  html[data-yn-template="login"] .yn-auth-shell{grid-template-columns:1fr;min-height:auto;max-width:620px}
  html[data-yn-template="login"] .yn-login-form{padding:34px 36px}
  html[data-yn-template="supportticketsubmit-stepone"] .yn-department-grid{grid-template-columns:1fr}
}
@media(max-width:767.98px){
  html.yn-theme .header .navbar-light{min-height:62px}
  html.yn-theme #main-body{padding-top:7px}
  html.yn-core-page .card-body{padding:17px}
  html.yn-core-page .yn-page-head{align-items:flex-start;flex-direction:column;margin-bottom:14px}
  html.yn-core-page .yn-page-head h1{font-size:24px}
  html.yn-core-page .yn-page-actions{width:100%}
  html.yn-core-page .yn-page-actions .btn{flex:1}
  html[data-yn-template="clientareahome"] .yn-dashboard-hero{border-radius:19px;padding:22px 19px}
  html[data-yn-template="clientareahome"] .yn-dashboard-hero h1{font-size:24px}
  html[data-yn-template="clientareahome"] .yn-stat-card{min-height:86px;padding:14px}
  html[data-yn-template="clientareahome"] .yn-stat-icon{flex-basis:38px;width:38px;height:38px}
  html[data-yn-template="clientareahome"] .yn-stat-content strong{font-size:22px}
  html[data-yn-template="homepage"] .yn-public-hero{padding:35px 24px;border-radius:20px}
  html[data-yn-template="homepage"] .yn-public-hero h1{font-size:31px}
  html[data-yn-template="login"] .yn-login-form{padding:27px 22px}
  html[data-yn-template="login"] .yn-auth-shell{border-radius:20px}
  html[data-yn-template="viewticket"] .yn-ticket-hero{flex-direction:column;padding:18px}
  html[data-yn-template="viewticket"] .yn-ticket-actions{width:100%}
  html[data-yn-template="viewticket"] .yn-ticket-actions .btn{flex:1}
  html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-section{padding:18px}
}
@media(max-width:575.98px){
  html.yn-theme #main-body>.container{padding-right:13px;padding-left:13px}
  html[data-yn-template="clientareahome"] .yn-dashboard-stats .col-6{flex:0 0 50%;max-width:50%}
  html[data-yn-template="clientareahome"] .yn-stat-card{gap:9px}
  html[data-yn-template="clientareahome"] .yn-stat-arrow{display:none}
  html[data-yn-template="clientareahome"] .yn-stat-content span{font-size:11px}
  html[data-yn-template="supportticketslist"] .yn-ticket-dept{display:none}
}
@media(prefers-reduced-motion:reduce){html.yn-theme *,html.yn-theme *:before,html.yn-theme *:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
/* compatibility finishing rules for ticket conversation */
html[data-yn-template="viewticket"] .yn-ticket-hero-main{min-width:0;flex:1}
html[data-yn-template="viewticket"] .yn-ticket-rating{margin-top:14px}
html[data-yn-template="viewticket"] .yn-ticket-requestor{margin-left:auto}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-ticket-form-shell>.card-body>.alert{margin:18px 22px 0}
html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-actions{display:flex;justify-content:flex-end;gap:9px;padding:17px 22px;background:#f8fafc;border-top:1px solid #edf1f6}
/* Homepage domain search is rendered by the parent header; integrate it into v3 instead of leaving the stock block. */
html[data-yn-template="homepage"] .home-domain-search{padding:15px 0 0!important;background:transparent!important}
html[data-yn-template="homepage"] .home-domain-search>.container{max-width:1440px}
html[data-yn-template="homepage"] .home-domain-search .p-5{padding:18px!important;border:1px solid var(--yn-line);border-radius:17px;background:#fff;box-shadow:var(--yn-shadow-sm)}
html[data-yn-template="homepage"] .home-domain-search h2{margin:0 0 13px;color:#172033;font-size:17px;font-weight:800}
html[data-yn-template="homepage"] .home-domain-search .form-control,html[data-yn-template="homepage"] .home-domain-search textarea{border-color:var(--yn-line-2);border-radius:11px}
html[data-yn-template="homepage"] .home-domain-search .input-group-append .btn{border-radius:0 11px 11px 0}
html[data-yn-template="homepage"] .home-domain-search .tld-logos{margin-top:12px}
html[data-yn-template="homepage"] .home-domain-search .tld-logos li{border-color:#edf1f5}

/* ===== V3.2.0 responsive/detail QA ===== */
html.yn-core-page .dataTables_wrapper{max-width:100%;min-width:0}
html.yn-core-page .dataTables_wrapper>.row{margin-right:0;margin-left:0;align-items:center}
html.yn-core-page .dataTables_wrapper>.row>[class*="col-"]{min-width:0;padding-right:7px;padding-left:7px}
html.yn-core-page .dataTables_wrapper .dataTables_length,html.yn-core-page .dataTables_wrapper .dataTables_filter{min-width:0}
html.yn-core-page .dataTables_wrapper .dataTables_filter{text-align:right}
html.yn-core-page .dataTables_wrapper .dataTables_filter label{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;max-width:100%;margin:0}
html.yn-core-page .dataTables_wrapper .dataTables_filter input{width:220px;max-width:min(100%,220px);margin-left:0!important}
html.yn-core-page .dataTables_wrapper .dataTables_length label{display:inline-flex;align-items:center;gap:6px;margin:0;white-space:nowrap}
html.yn-core-page .dataTables_wrapper .dataTables_length select{width:auto;min-width:66px;margin:0 3px}
html.yn-core-page .table-container,html.yn-core-page .table-responsive{max-width:100%}
html.yn-core-page .yn-table th,html.yn-core-page .yn-table td{overflow-wrap:anywhere}
html.yn-core-page code,html.yn-core-page pre{max-width:100%;overflow-wrap:anywhere}
html.yn-core-page pre{overflow:auto}

/* Forms: prevent the stock prepend-icon implementation from clipping Traditional Chinese placeholders. */
html[data-yn-template="clientregister"] .prepend-icon,
html[data-yn-template="clientareadetails"] .prepend-icon,
html[data-yn-template="clientareacontacts"] .prepend-icon,
html[data-yn-template="account-contacts-new"] .prepend-icon,
html[data-yn-template="account-contacts-manage"] .prepend-icon{display:block;position:relative;width:100%;min-width:0}
html[data-yn-template="clientregister"] .prepend-icon .field-icon,
html[data-yn-template="clientareadetails"] .prepend-icon .field-icon,
html[data-yn-template="clientareacontacts"] .prepend-icon .field-icon,
html[data-yn-template="account-contacts-new"] .prepend-icon .field-icon,
html[data-yn-template="account-contacts-manage"] .prepend-icon .field-icon{position:absolute;z-index:3;top:1px;left:1px;display:flex;align-items:center;justify-content:center;width:46px;height:41px;margin:0!important;border:0!important;border-right:1px solid #edf1f5!important;border-radius:10px 0 0 10px!important;background:#f8fafc!important;color:#9aa6b5!important;pointer-events:none}
html[data-yn-template="clientregister"] .prepend-icon .field,
html[data-yn-template="clientareadetails"] .prepend-icon .field,
html[data-yn-template="clientareacontacts"] .prepend-icon .field,
html[data-yn-template="account-contacts-new"] .prepend-icon .field,
html[data-yn-template="account-contacts-manage"] .prepend-icon .field{display:block;width:100%!important;min-width:0;height:43px;padding:8px 12px 8px 56px!important;border:1px solid var(--yn-line-2)!important;border-radius:11px!important;background:#fff!important;color:#172033!important;box-shadow:none!important}
html[data-yn-template="clientregister"] .prepend-icon .field:focus,
html[data-yn-template="clientareadetails"] .prepend-icon .field:focus,
html[data-yn-template="clientareacontacts"] .prepend-icon .field:focus,
html[data-yn-template="account-contacts-new"] .prepend-icon .field:focus,
html[data-yn-template="account-contacts-manage"] .prepend-icon .field:focus{border-color:#76bdf8!important;box-shadow:var(--yn-focus)!important}
html[data-yn-template="clientregister"] .iti,html[data-yn-template="clientareadetails"] .iti,html[data-yn-template="account-contacts-new"] .iti,html[data-yn-template="account-contacts-manage"] .iti{width:100%;min-width:0}
html[data-yn-template="clientregister"] .iti input,html[data-yn-template="clientareadetails"] .iti input,html[data-yn-template="account-contacts-new"] .iti input,html[data-yn-template="account-contacts-manage"] .iti input{width:100%;min-width:0}
html[data-yn-template="clientregister"] #registration>.card,html[data-yn-template="clientregister"] #registration .card{overflow:visible}
html[data-yn-template="clientregister"] #registration .card-body{padding:26px 28px}
html[data-yn-template="clientregister"] #registration .row{margin-right:-8px;margin-left:-8px}
html[data-yn-template="clientregister"] #registration [class*="col-"]{padding-right:8px;padding-left:8px}
html[data-yn-template="clientregister"] #registration .form-group{margin-bottom:16px}
html[data-yn-template="clientregister"] #registration .card-title{margin-bottom:20px;color:#132035;font-size:18px}

/* Long service names / hostnames / IPs must never force horizontal page overflow. */
html[data-yn-template="clientareaproducts"] .yn-service-main{min-width:0}
html[data-yn-template="clientareaproducts"] .yn-service-main strong,html[data-yn-template="clientareaproducts"] .yn-service-main small{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
html[data-yn-template="clientareaproducts"] .yn-ip-address{display:inline-block!important;width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-all}
html[data-yn-template="clientareaproducts"] .yn-remark-display{max-width:100%;min-width:0}
html[data-yn-template="clientareaproducts"] .yn-remark-display [data-role="remark-text"]{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-yn-template="clientareaproducts"] .yn-remark-input{max-width:100%}

/* Ticket message content is user-generated: contain wide tables/code/images/links. */
html[data-yn-template="viewticket"] .yn-ticket-message-body{min-width:0;overflow-wrap:anywhere;word-break:break-word}
html[data-yn-template="viewticket"] .yn-ticket-message-body a{overflow-wrap:anywhere;word-break:break-word}
html[data-yn-template="viewticket"] .yn-ticket-message-body pre{max-width:100%;overflow:auto;padding:12px;border-radius:10px;background:#f6f8fb}
html[data-yn-template="viewticket"] .yn-ticket-message-body code{white-space:pre-wrap;word-break:break-word}
html[data-yn-template="viewticket"] .yn-ticket-message-body table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
html[data-yn-template="viewticket"] .yn-attachment-item span,html[data-yn-template="viewticket"] .yn-attachment-item{min-width:0;overflow-wrap:anywhere;word-break:break-word}
html[data-yn-template="viewticket"] .custom-file,html[data-yn-template="supportticketsubmit-steptwo"] .custom-file{min-width:0}
html[data-yn-template="viewticket"] .custom-file-label,html[data-yn-template="supportticketsubmit-steptwo"] .custom-file-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Generic account/security/payment cards: calmer density and consistent readable text. */
html[data-yn-template="clientareadetails"] .card-body,
html[data-yn-template="clientareacontacts"] .card-body,
html[data-yn-template="user-profile"] .card-body,
html[data-yn-template="user-security"] .card-body,
html[data-yn-template="account-paymentmethods"] .card-body,
html[data-yn-template="account-paymentmethods-manage"] .card-body,
html[data-yn-template="account-user-management"] .card-body,
html[data-yn-template="account-user-permissions"] .card-body,
html[data-yn-template="account-contacts-new"] .card-body,
html[data-yn-template="account-contacts-manage"] .card-body{padding:24px 28px}
html[data-yn-template="clientareadetails"] .form-group,
html[data-yn-template="user-profile"] .form-group,
html[data-yn-template="user-security"] .form-group,
html[data-yn-template="account-contacts-new"] .form-group,
html[data-yn-template="account-contacts-manage"] .form-group{margin-bottom:16px}

/* Search boxes inside KB/download pages. */
html[data-yn-template="knowledgebase"] .input-group,html[data-yn-template="knowledgebasecat"] .input-group,html[data-yn-template="downloads"] .input-group,html[data-yn-template="downloadscat"] .input-group{max-width:100%}
html[data-yn-template="knowledgebase"] .input-group>.form-control,html[data-yn-template="knowledgebasecat"] .input-group>.form-control,html[data-yn-template="downloads"] .input-group>.form-control,html[data-yn-template="downloadscat"] .input-group>.form-control{min-width:0}

@media(max-width:767.98px){
  html.yn-core-page .yn-surface .dataTables_wrapper>.row:first-child{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px 12px 9px}
  html.yn-core-page .yn-surface .dataTables_wrapper>.row:first-child>[class*="col-"]{width:100%;max-width:100%;flex:0 0 100%;padding:0}
  html.yn-core-page .dataTables_wrapper .dataTables_length,html.yn-core-page .dataTables_wrapper .dataTables_filter{text-align:left;width:100%}
  html.yn-core-page .dataTables_wrapper .dataTables_filter label{display:flex;width:100%;justify-content:flex-start}
  html.yn-core-page .dataTables_wrapper .dataTables_filter input{flex:1 1 auto;width:auto!important;max-width:none;min-width:0}
  html.yn-core-page .yn-surface .dataTables_wrapper>.row:last-child{padding:10px 12px 13px}
  html.yn-core-page .dataTables_wrapper .dataTables_info{padding-top:0!important;margin-bottom:8px;font-size:11px;white-space:normal}
  html.yn-core-page .dataTables_wrapper .dataTables_paginate{white-space:normal!important;text-align:left!important}

  /* Mobile card tables: services */
  html[data-yn-template="clientareaproducts"] .yn-surface{overflow:visible;border:0;background:transparent;box-shadow:none}
  html[data-yn-template="clientareaproducts"] .yn-surface .dataTables_wrapper>.row:first-child{margin-bottom:8px;border:1px solid var(--yn-line);border-radius:14px;background:#fff;box-shadow:var(--yn-shadow-sm)}
  html[data-yn-template="clientareaproducts"] #tableServicesList{display:block!important;width:100%!important;background:transparent}
  html[data-yn-template="clientareaproducts"] #tableServicesList thead{display:none}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody{display:block;width:100%}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody tr{position:relative;display:block;width:100%;margin:0 0 10px;padding:15px 16px;border:1px solid var(--yn-line);border-radius:16px;background:#fff;box-shadow:var(--yn-shadow-sm)}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%!important;padding:6px 0!important;border:0!important;text-align:right!important;white-space:normal}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td:before{content:attr(data-label);flex:0 0 auto;color:#8b97a8;font-size:11px;font-weight:700;text-align:left}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td.yn-ssl-col{display:none}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td.yn-service-main{display:block;padding:0 0 12px!important;margin-bottom:5px;border-bottom:1px solid #eef2f6!important;text-align:left!important}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td.yn-service-main:before{display:none}
  html[data-yn-template="clientareaproducts"] .yn-service-main strong{font-size:15px}
  html[data-yn-template="clientareaproducts"] .yn-remark-cell{align-items:flex-start!important}
  html[data-yn-template="clientareaproducts"] .yn-remark-display{justify-content:flex-end;padding-right:0;text-align:right}
  html[data-yn-template="clientareaproducts"] .yn-remark-display [data-role="remark-text"]{max-width:180px}
  html[data-yn-template="clientareaproducts"] .yn-remark-input{width:min(210px,62vw)!important;min-width:0!important}

  /* Mobile card tables: invoices */
  html[data-yn-template="clientareainvoices"] .yn-surface{overflow:visible;border:0;background:transparent;box-shadow:none}
  html[data-yn-template="clientareainvoices"] .yn-surface .dataTables_wrapper>.row:first-child{margin-bottom:8px;border:1px solid var(--yn-line);border-radius:14px;background:#fff;box-shadow:var(--yn-shadow-sm)}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList{display:block!important;width:100%!important;background:transparent}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList thead{display:none}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList tbody{display:block}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList tbody tr{display:block;margin:0 0 10px;padding:15px 16px;border:1px solid var(--yn-line);border-radius:16px;background:#fff;box-shadow:var(--yn-shadow-sm)}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList tbody td{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 0!important;border:0!important;text-align:right!important}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList tbody td:before{content:attr(data-label);color:#8b97a8;font-size:11px;font-weight:700;text-align:left}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList tbody td:first-child{display:block;padding:0 0 11px!important;margin-bottom:4px;border-bottom:1px solid #eef2f6!important;text-align:left!important}
  html[data-yn-template="clientareainvoices"] #tableInvoicesList tbody td:first-child:before{display:none}

  /* Mobile card tables: tickets */
  html[data-yn-template="supportticketslist"] .yn-ticket-list{overflow:visible;border:0;background:transparent;box-shadow:none}
  html[data-yn-template="supportticketslist"] .yn-ticket-list .dataTables_wrapper>.row:first-child{margin-bottom:8px;border:1px solid var(--yn-line);border-radius:14px;background:#fff;box-shadow:var(--yn-shadow-sm)}
  html[data-yn-template="supportticketslist"] #tableTicketsList{display:block!important;width:100%!important;background:transparent}
  html[data-yn-template="supportticketslist"] #tableTicketsList thead{display:none}
  html[data-yn-template="supportticketslist"] #tableTicketsList tbody{display:block}
  html[data-yn-template="supportticketslist"] #tableTicketsList tbody tr{display:block;margin:0 0 10px;padding:15px 16px;border:1px solid var(--yn-line);border-radius:16px;background:#fff;box-shadow:var(--yn-shadow-sm)}
  html[data-yn-template="supportticketslist"] #tableTicketsList tbody td{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:6px 0!important;border:0!important;text-align:right!important}
  html[data-yn-template="supportticketslist"] #tableTicketsList tbody td:before{content:attr(data-label);color:#8b97a8;font-size:11px;font-weight:700;text-align:left}
  html[data-yn-template="supportticketslist"] #tableTicketsList tbody td:first-child{display:block;padding:0 0 11px!important;margin-bottom:4px;border-bottom:1px solid #eef2f6!important;text-align:left!important}
  html[data-yn-template="supportticketslist"] #tableTicketsList tbody td:first-child:before{display:none}
  html[data-yn-template="supportticketslist"] .yn-ticket-dept{display:inline-flex!important}

  html[data-yn-template="clientregister"] #registration .card-body,
  html[data-yn-template="clientareadetails"] .card-body,
  html[data-yn-template="clientareacontacts"] .card-body,
  html[data-yn-template="user-profile"] .card-body,
  html[data-yn-template="user-security"] .card-body,
  html[data-yn-template="account-paymentmethods"] .card-body,
  html[data-yn-template="account-paymentmethods-manage"] .card-body,
  html[data-yn-template="account-user-management"] .card-body,
  html[data-yn-template="account-user-permissions"] .card-body,
  html[data-yn-template="account-contacts-new"] .card-body,
  html[data-yn-template="account-contacts-manage"] .card-body{padding:20px 18px}
}

@media(max-width:430px){
  html.yn-core-page .yn-page-head h1{font-size:22px}
  html[data-yn-template="clientareahome"] .yn-dashboard-hero h1{font-size:22px}
  html[data-yn-template="clientareahome"] .yn-dashboard-hero p{font-size:12px}
  html[data-yn-template="clientareahome"] .yn-stat-card{min-height:80px;padding:12px}
  html[data-yn-template="clientareahome"] .yn-stat-icon{flex-basis:34px;width:34px;height:34px;border-radius:10px;font-size:14px}
  html[data-yn-template="clientareahome"] .yn-stat-content strong{font-size:20px}
  html[data-yn-template="viewticket"] .yn-ticket-message-head{align-items:flex-start;padding:13px 14px}
  html[data-yn-template="viewticket"] .yn-ticket-requestor{max-width:40%;text-align:right;white-space:normal}
  html[data-yn-template="viewticket"] .yn-ticket-message-body{padding:16px 14px}
  html[data-yn-template="viewticket"] .yn-ticket-attachments{padding:12px 14px}
  html[data-yn-template="viewticket"] .yn-attachment-grid{display:grid;grid-template-columns:1fr}
  html[data-yn-template="viewticket"] .yn-attachment-item{width:100%}
  html[data-yn-template="viewticket"] .yn-form-actions,html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-actions{flex-direction:column-reverse}
  html[data-yn-template="viewticket"] .yn-form-actions .btn,html[data-yn-template="supportticketsubmit-steptwo"] .yn-form-actions .btn{width:100%}
  html[data-yn-template="login"] .yn-login-form{padding:22px 16px}
  html[data-yn-template="login"] .yn-auth-card .card-footer{flex-wrap:wrap;text-align:center}
}

/* ========================================================================== */
/* YINNET Modern 3.2.0 refinement layer                                      */
/* ========================================================================== */

/* ===== Homepage: real cloud-provider landing page ===== */
html[data-yn-template="homepage"] #main-body{padding-top:32px}
html[data-yn-template="homepage"] .primary-content{width:100%}
html[data-yn-template="homepage"] .yn-cloud-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:48px;align-items:center;overflow:hidden;margin-bottom:22px;padding:58px 58px;border-radius:28px;background:linear-gradient(125deg,#0b1628 0%,#12345b 58%,#168fe4 100%);box-shadow:0 24px 70px rgba(18,52,91,.16)}
html[data-yn-template="homepage"] .yn-cloud-hero:before{content:"";position:absolute;right:-10%;top:-55%;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(74,185,255,.42),rgba(74,185,255,0) 68%)}
html[data-yn-template="homepage"] .yn-cloud-hero:after{content:"";position:absolute;left:42%;bottom:-180px;width:420px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(18,112,213,.22),rgba(18,112,213,0) 70%)}
html[data-yn-template="homepage"] .yn-cloud-hero-copy,html[data-yn-template="homepage"] .yn-cloud-hero-panel{position:relative;z-index:2;min-width:0}
html[data-yn-template="homepage"] .yn-cloud-kicker{display:inline-flex;align-items:center;margin-bottom:18px;color:#6ac0ff;font-size:10px;font-weight:900;letter-spacing:.16em}
html[data-yn-template="homepage"] .yn-cloud-hero h1{max-width:760px;margin:0;color:#fff;font-size:46px;font-weight:850;line-height:1.08;letter-spacing:-.045em}
html[data-yn-template="homepage"] .yn-cloud-hero-copy>p{max-width:690px;margin:18px 0 0;color:#c8d8ea;font-size:15px;line-height:1.8}
html[data-yn-template="homepage"] .yn-cloud-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
html[data-yn-template="homepage"] .yn-cloud-hero-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:12px;font-size:13px;font-weight:800}
html[data-yn-template="homepage"] .yn-cloud-hero-actions .btn-primary{border-color:#1992fd;background:#1992fd;box-shadow:0 10px 24px rgba(25,146,253,.26)}
html[data-yn-template="homepage"] .yn-btn-ghost{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#e9f4ff!important;backdrop-filter:blur(8px)}
html[data-yn-template="homepage"] .yn-btn-ghost:hover{border-color:rgba(255,255,255,.36);background:rgba(255,255,255,.13);color:#fff!important}
html[data-yn-template="homepage"] .yn-cloud-trust-row{display:flex;flex-wrap:wrap;gap:17px 22px;margin-top:28px;color:#aebfd1;font-size:11px}
html[data-yn-template="homepage"] .yn-cloud-trust-row span{display:inline-flex;align-items:center;gap:7px}
html[data-yn-template="homepage"] .yn-cloud-trust-row i{color:#54b8ff}
html[data-yn-template="homepage"] .yn-cloud-hero-panel{padding:17px;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:rgba(8,22,42,.42);box-shadow:0 24px 60px rgba(6,18,34,.26);backdrop-filter:blur(14px)}
html[data-yn-template="homepage"] .yn-cloud-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 4px 14px;color:#9fb2c8;font-size:10px}
html[data-yn-template="homepage"] .yn-cloud-panel-head>div{display:flex;align-items:center;gap:7px;color:#ecf5ff;font-size:11px}
html[data-yn-template="homepage"] .yn-cloud-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#43d2a0;box-shadow:0 0 0 4px rgba(67,210,160,.12)}
html[data-yn-template="homepage"] .yn-cloud-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html[data-yn-template="homepage"] .yn-cloud-mini-card{display:flex;align-items:center;gap:11px;min-height:78px;padding:13px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.07)}
html[data-yn-template="homepage"] .yn-cloud-mini-card>span{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:rgba(67,165,245,.15);color:#66bdfd}
html[data-yn-template="homepage"] .yn-cloud-mini-card div{display:flex;min-width:0;flex-direction:column}
html[data-yn-template="homepage"] .yn-cloud-mini-card small{color:#87a0b8;font-size:9px}
html[data-yn-template="homepage"] .yn-cloud-mini-card strong{margin-top:2px;color:#f4f8fd;font-size:11px;font-weight:800}
html[data-yn-template="homepage"] .yn-cloud-panel-footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:11px 13px;border-radius:11px;background:rgba(255,255,255,.055);color:#91a8be;font-size:9px}
html[data-yn-template="homepage"] .yn-cloud-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 38px}
html[data-yn-template="homepage"] .yn-capability{display:flex;align-items:flex-start;gap:12px;padding:18px 17px;border:1px solid var(--yn-line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.035)}
html[data-yn-template="homepage"] .yn-capability-icon{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#edf7ff;color:#0d82df}
html[data-yn-template="homepage"] .yn-capability strong{display:block;color:#1c2c43;font-size:12px;font-weight:850}
html[data-yn-template="homepage"] .yn-capability p{margin:4px 0 0;color:#8492a5;font-size:10px;line-height:1.6}
html[data-yn-template="homepage"] .yn-home-section{margin-bottom:42px}
html[data-yn-template="homepage"] .yn-home-title-modern{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}
html[data-yn-template="homepage"] .yn-section-kicker{display:block;margin-bottom:6px;color:#1992fd;font-size:9px;font-weight:900;letter-spacing:.14em}
html[data-yn-template="homepage"] .yn-home-title-modern h2,html[data-yn-template="homepage"] .yn-console-entry h2{margin:0;color:#142239;font-size:25px;font-weight:850;letter-spacing:-.03em}
html[data-yn-template="homepage"] .yn-home-title-modern p,html[data-yn-template="homepage"] .yn-console-entry p{margin:6px 0 0;color:#8290a3;font-size:11px}
html[data-yn-template="homepage"] .yn-inline-link{align-items:center;gap:8px;color:#0c7fdc;font-size:11px;font-weight:800}
html[data-yn-template="homepage"] .yn-cloud-product-card{display:flex;flex-direction:column;padding:22px;border:1px solid var(--yn-line);border-radius:18px;background:#fff;box-shadow:0 9px 28px rgba(15,23,42,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
html[data-yn-template="homepage"] .yn-cloud-product-card:hover{transform:translateY(-2px);border-color:#cbddec;box-shadow:0 16px 36px rgba(15,23,42,.065)}
html[data-yn-template="homepage"] .yn-cloud-product-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#edf7ff;color:#0d82df;font-size:16px}
html[data-yn-template="homepage"] .yn-cloud-product-body{flex:1;margin-top:17px}
html[data-yn-template="homepage"] .yn-cloud-product-body h3{margin:0;color:#1c2d45;font-size:16px;font-weight:850}
html[data-yn-template="homepage"] .yn-cloud-product-body p{margin:7px 0 0;color:#7d8b9e;font-size:11px;line-height:1.65}
html[data-yn-template="homepage"] .yn-cloud-product-link{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:14px;border-top:1px solid #edf1f5;color:#0b7fdb;font-size:11px;font-weight:850}
html[data-yn-template="homepage"] .yn-console-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:42px;align-items:center;padding:28px 30px;border:1px solid var(--yn-line);border-radius:20px;background:#fff;box-shadow:0 10px 34px rgba(15,23,42,.04)}
html[data-yn-template="homepage"] .yn-console-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
html[data-yn-template="homepage"] .yn-console-actions a{display:grid;grid-template-columns:30px minmax(0,1fr) 14px;align-items:center;gap:8px;min-height:52px;padding:9px 12px;border:1px solid #e7edf4;border-radius:12px;background:#f9fbfd;color:#4d5f75;font-size:11px;font-weight:750}
html[data-yn-template="homepage"] .yn-console-actions a:hover{border-color:#c9def0;background:#f2f8ff;color:#087bd5}
html[data-yn-template="homepage"] .yn-console-actions a>i:first-child{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#fff;color:#1992fd;box-shadow:0 3px 10px rgba(15,23,42,.04)}
html[data-yn-template="homepage"] .yn-console-actions a>i:last-child{font-size:8px;color:#a6b0bc}

/* ===== Registration/account forms: remove the fragile legacy floating icons ===== */
html[data-yn-template="clientregister"] .prepend-icon,
html[data-yn-template="clientareadetails"] .prepend-icon,
html[data-yn-template="clientareacontacts"] .prepend-icon,
html[data-yn-template="account-contacts-new"] .prepend-icon,
html[data-yn-template="account-contacts-manage"] .prepend-icon{position:relative!important;display:block!important;width:100%;min-width:0}
html[data-yn-template="clientregister"] .prepend-icon>.field-icon,
html[data-yn-template="clientareadetails"] .prepend-icon>.field-icon,
html[data-yn-template="clientareacontacts"] .prepend-icon>.field-icon,
html[data-yn-template="account-contacts-new"] .prepend-icon>.field-icon,
html[data-yn-template="account-contacts-manage"] .prepend-icon>.field-icon{display:none!important;position:static!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important}
html[data-yn-template="clientregister"] .prepend-icon>.field:not([type="tel"]),
html[data-yn-template="clientareadetails"] .prepend-icon>.field:not([type="tel"]),
html[data-yn-template="clientareacontacts"] .prepend-icon>.field:not([type="tel"]),
html[data-yn-template="account-contacts-new"] .prepend-icon>.field:not([type="tel"]),
html[data-yn-template="account-contacts-manage"] .prepend-icon>.field:not([type="tel"]){width:100%!important;min-width:0!important;height:46px!important;padding:0 14px!important;border:1px solid var(--yn-line-2)!important;border-radius:11px!important;background:#fff!important;color:#1f3047!important;box-shadow:none!important}
html[data-yn-template="clientregister"] .prepend-icon>select.field,
html[data-yn-template="clientareadetails"] .prepend-icon>select.field,
html[data-yn-template="clientareacontacts"] .prepend-icon>select.field,
html[data-yn-template="account-contacts-new"] .prepend-icon>select.field,
html[data-yn-template="account-contacts-manage"] .prepend-icon>select.field{padding-right:34px!important}
html[data-yn-template="clientregister"] .prepend-icon>.field:focus,
html[data-yn-template="clientareadetails"] .prepend-icon>.field:focus,
html[data-yn-template="clientareacontacts"] .prepend-icon>.field:focus,
html[data-yn-template="account-contacts-new"] .prepend-icon>.field:focus,
html[data-yn-template="account-contacts-manage"] .prepend-icon>.field:focus{border-color:#77bdf6!important;box-shadow:var(--yn-focus)!important;outline:0}
html[data-yn-template="clientregister"] #registration .card{border:1px solid var(--yn-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 9px 30px rgba(15,23,42,.035)!important}
html[data-yn-template="clientregister"] #registration .card-body{padding:26px 28px!important}
html[data-yn-template="clientregister"] #registration .card-title{margin:0 0 20px!important;color:#17253b!important;font-size:17px!important;font-weight:850!important}
html[data-yn-template="clientregister"] #registration .form-group{margin-bottom:15px!important}
html[data-yn-template="clientregister"] #registration input::placeholder,html[data-yn-template="clientregister"] #registration select{color:#8b98aa}
html[data-yn-template="clientregister"] #registration .iti{width:100%;min-width:0}
html[data-yn-template="clientregister"] #registration .iti input[type="tel"]{width:100%!important;min-width:0!important;height:46px!important;border:1px solid var(--yn-line-2)!important;border-radius:11px!important;background:#fff!important;color:#1f3047!important;box-shadow:none!important}

/* ===== DataTables and native tables: compact, consistent cloud-console controls ===== */
html.yn-core-page .dataTables_wrapper>.row:first-child{align-items:center;margin:0;padding:13px 15px 10px;border-bottom:1px solid #edf1f6}
html.yn-core-page .dataTables_wrapper>.row:last-child{align-items:center;margin:0;padding:12px 15px;border-top:1px solid #edf1f6;background:#fbfcfe}
html.yn-core-page .dataTables_wrapper .dataTables_info{padding-top:0!important;color:#7f8da1;font-size:10px}
html.yn-core-page .dataTables_wrapper .dataTables_filter label,html.yn-core-page .dataTables_wrapper .dataTables_length label{margin:0;color:#8492a5;font-size:10px;font-weight:650}
html.yn-core-page .dataTables_wrapper .dataTables_filter input{height:36px;width:220px;max-width:100%;margin-left:8px!important;padding:0 11px;border:1px solid var(--yn-line-2);border-radius:10px;background:#fff;color:#2b3d55;box-shadow:none}
html.yn-core-page .dataTables_wrapper .dataTables_length select{height:34px;min-width:62px;margin:0 5px;padding:0 25px 0 9px;border:1px solid var(--yn-line-2);border-radius:9px;background-color:#fff;color:#34475f;font-size:11px}
html.yn-core-page .dataTables_wrapper .pagination{margin:0}
html.yn-core-page .dataTables_wrapper .page-link{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-color:var(--yn-line-2);color:#526277;font-size:10px}
html.yn-core-page .dataTables_wrapper .page-item.active .page-link{border-color:#1992fd;background:#1992fd;color:#fff}
html.yn-core-page .table{color:#35465e}
html.yn-core-page .table thead th{border-bottom:1px solid #dfe7f0;background:#f8fafc;color:#728198;font-size:10px;font-weight:800}
html.yn-core-page .table tbody td{border-color:#edf1f5}
html.yn-core-page .table-striped tbody tr:nth-of-type(odd){background:#fbfcfe}

/* Add funds and other financial utility tables should not look like legacy grey stripes. */
html[data-yn-template="clientareaaddfunds"] .table,html[data-yn-template="masspay"] .table{overflow:hidden;border:1px solid var(--yn-line);border-radius:15px;background:#fff}
html[data-yn-template="clientareaaddfunds"] .table td,html[data-yn-template="clientareaaddfunds"] .table th{padding:13px 15px;background:#fff!important;border-color:#edf1f5;color:#34465e}
html[data-yn-template="clientareaaddfunds"] .table tr:nth-child(odd) td,html[data-yn-template="clientareaaddfunds"] .table tr:nth-child(odd) th{background:#f9fbfd!important}

/* ===== Services list refinement ===== */
html[data-yn-template="clientareaproducts"] .yn-surface{border-radius:16px}
html[data-yn-template="clientareaproducts"] .yn-service-main strong{color:#1d2d44;font-weight:850}
html[data-yn-template="clientareaproducts"] .yn-service-main small{margin-top:3px;color:#8a98aa}
html[data-yn-template="clientareaproducts"] .yn-ip-address{margin-top:5px;padding:3px 7px;border-radius:7px;background:#f2f6fa;color:#54667d;font-size:10px}
html[data-yn-template="clientareaproducts"] .yn-remark-display{min-height:32px}

@media(max-width:1199.98px){
  html[data-yn-template="homepage"] .yn-cloud-hero{grid-template-columns:minmax(0,1fr) 390px;gap:30px;padding:48px 40px}
  html[data-yn-template="homepage"] .yn-cloud-hero h1{font-size:39px}
  html[data-yn-template="homepage"] .yn-cloud-capabilities{grid-template-columns:1fr 1fr}
}

@media(max-width:991.98px){
  html[data-yn-template="homepage"] #main-body{padding-top:20px}
  html[data-yn-template="homepage"] .yn-cloud-hero{grid-template-columns:1fr;padding:42px 34px}
  html[data-yn-template="homepage"] .yn-cloud-hero-panel{display:none}
  html[data-yn-template="homepage"] .yn-cloud-hero h1{max-width:700px;font-size:38px}
  html[data-yn-template="homepage"] .yn-console-entry{grid-template-columns:1fr;gap:22px}
}

@media(max-width:767.98px){
  html[data-yn-template="homepage"] #main-body{padding-top:12px}
  html[data-yn-template="homepage"] .yn-cloud-hero{margin-bottom:12px;padding:34px 24px;border-radius:20px}
  html[data-yn-template="homepage"] .yn-cloud-kicker{margin-bottom:12px;font-size:9px}
  html[data-yn-template="homepage"] .yn-cloud-hero h1{font-size:30px;line-height:1.12}
  html[data-yn-template="homepage"] .yn-cloud-hero-copy>p{margin-top:13px;font-size:12px;line-height:1.75}
  html[data-yn-template="homepage"] .yn-cloud-hero-actions{margin-top:22px}
  html[data-yn-template="homepage"] .yn-cloud-hero-actions .btn{min-height:44px;padding:0 16px;font-size:11px}
  html[data-yn-template="homepage"] .yn-cloud-trust-row{gap:10px 14px;margin-top:22px;font-size:9px}
  html[data-yn-template="homepage"] .yn-cloud-capabilities{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:30px}
  html[data-yn-template="homepage"] .yn-capability{padding:14px 12px}
  html[data-yn-template="homepage"] .yn-capability p{display:none}
  html[data-yn-template="homepage"] .yn-home-title-modern{align-items:flex-start}
  html[data-yn-template="homepage"] .yn-home-title-modern h2,html[data-yn-template="homepage"] .yn-console-entry h2{font-size:21px}
  html[data-yn-template="homepage"] .yn-cloud-product-card{padding:18px}
  html[data-yn-template="homepage"] .yn-console-entry{padding:22px 18px}
  html[data-yn-template="homepage"] .yn-console-actions{grid-template-columns:1fr}

  html[data-yn-template="clientregister"] #registration .card-body{padding:20px 16px!important}
  html[data-yn-template="clientregister"] #registration .row{margin-right:-5px!important;margin-left:-5px!important}
  html[data-yn-template="clientregister"] #registration [class*="col-"]{padding-right:5px!important;padding-left:5px!important}

  html.yn-core-page .dataTables_wrapper>.row:first-child{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:11px 12px}
  html.yn-core-page .dataTables_wrapper>.row:first-child>[class*="col-"]{width:100%;max-width:100%;flex:0 0 100%;padding:0}
  html.yn-core-page .dataTables_wrapper .dataTables_length,html.yn-core-page .dataTables_wrapper .dataTables_filter{width:100%;text-align:left}
  html.yn-core-page .dataTables_wrapper .dataTables_filter label{display:flex;align-items:center;width:100%}
  html.yn-core-page .dataTables_wrapper .dataTables_filter input{flex:1 1 auto;width:auto!important;min-width:0;margin-left:8px!important}
  html.yn-core-page .dataTables_wrapper>.row:last-child{padding:10px 12px}

  html[data-yn-template="clientareaproducts"] #tableServicesList tbody tr{margin-bottom:9px;padding:13px 14px;border-radius:14px}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td{gap:10px;padding:5px 0!important}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td.yn-service-main{padding-bottom:10px!important;margin-bottom:3px}
  html[data-yn-template="clientareaproducts"] .yn-remark-cell{position:relative;min-height:36px}
  html[data-yn-template="clientareaproducts"] .yn-remark-display{max-width:62%;min-height:30px;padding:4px 0}
  html[data-yn-template="clientareaproducts"] .yn-remark-display [data-role="remark-text"]{max-width:150px}
  html[data-yn-template="clientareaproducts"] .yn-remark-input:not([hidden]){width:min(190px,62vw)!important;max-width:62%;height:34px!important;margin-left:auto}
}

@media(max-width:430px){
  html[data-yn-template="homepage"] .yn-cloud-hero{padding:30px 20px}
  html[data-yn-template="homepage"] .yn-cloud-hero h1{font-size:27px}
  html[data-yn-template="homepage"] .yn-cloud-hero-actions{display:grid;grid-template-columns:1fr}
  html[data-yn-template="homepage"] .yn-cloud-hero-actions .btn{width:100%}
  html[data-yn-template="homepage"] .yn-cloud-trust-row{display:grid;grid-template-columns:1fr}
  html[data-yn-template="homepage"] .yn-cloud-capabilities{grid-template-columns:1fr}
  html[data-yn-template="homepage"] .yn-capability p{display:block}
}

/* V3.2.0 final polish: base-page actions use the brand action color; status semantics stay in badges/alerts. */
html.yn-core-page .btn-success:not(.dropdown-toggle){border-color:#1992fd!important;background:#1992fd!important;color:#fff!important}
html.yn-core-page .btn-success:not(.dropdown-toggle):hover{border-color:#0c82e8!important;background:#0c82e8!important;color:#fff!important}

@media(max-width:767.98px){
  html.yn-theme .yn-sidebar-col{margin-bottom:10px}
  html.yn-theme .sidebar .card,html.yn-theme .sidebar .panel{margin-bottom:9px;border-radius:13px}
  html.yn-theme .sidebar .card-header,html.yn-theme .sidebar .panel-heading{padding:11px 13px}
  html.yn-theme .sidebar .list-group-item{padding:8px 12px;font-size:11px}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody tr{padding:12px 13px}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td{padding:4px 0!important}
  html[data-yn-template="clientareaproducts"] #tableServicesList tbody td:before{font-size:10px}
}
