body.duck-client .home-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:26px}
body.duck-client .home-service-column{min-width:0}body.duck-client .home-service-column .section-head{margin:0 0 16px!important;display:flex;align-items:center;justify-content:space-between;gap:12px}body.duck-client .home-service-column .section-head h3{font-size:15px;margin:0}
body.duck-client #homeConnectionList,body.duck-client #homeSitesList{display:grid;grid-template-columns:1fr!important;gap:14px}
body.duck-client .home-site-card{background:#fff;border:1px solid #e0e9f4;border-radius:18px;padding:20px;min-width:0}
.home-site-card .site-status{display:inline-flex;align-items:center;border-radius:7px;background:#f1f5fa;color:#637990;padding:6px 9px;font-size:11px;white-space:nowrap}.home-site-card .site-status.ready{background:#e8f7f0;color:#087762}.home-site-card .site-status.error{background:#fff0f2;color:#ba3c51}
.home-site-card-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.home-site-card-head>div{min-width:0;flex:1}.home-site-card h3{font-size:14px;margin:0 0 4px;overflow-wrap:anywhere}.home-site-card small{color:#60778f;font-size:11px}.home-site-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;background:#edf6ff;border-radius:11px;color:#0674c9}.home-site-icon svg{width:22px;height:22px}.home-site-body{display:flex;gap:18px;align-items:center;padding:16px 0}.home-site-body>div{min-width:0;flex:1}.home-site-body p{color:#60778f;line-height:1.65;font-size:12px;margin:0 0 12px}.home-site-features{display:flex;gap:8px;flex-wrap:wrap}.home-site-features a{color:#086cba;text-decoration:none;background:#f1f6fc;border-radius:7px;padding:6px 10px;font-size:11px}.home-site-bottom{border-top:1px solid #e8eef6;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.home-site-bottom a{font-size:12px;color:#0872c6;text-decoration:none;white-space:nowrap}
body.duck-app .overview-duck{width:88px!important;height:88px!important;object-fit:contain;flex:none}.home-services-empty{display:flex;align-items:center;gap:20px;min-height:200px;padding:24px;background:#fff;border:1px dashed #cddfec;border-radius:18px}.home-services-empty>div{min-width:0}.home-services-empty h3{font-size:15px;margin:0 0 8px}.home-services-empty p{font-size:12px;line-height:1.7;color:#637990;margin:0 0 14px}.home-services-empty .link-btn{font-size:12px}.home-site-count{color:#758ba1;font-size:12px;margin-left:8px}.site-empty-mascot{float:right;width:130px;height:130px;object-fit:contain;margin:0 0 12px 24px}.site-help-link{display:flex;align-items:center;gap:12px;margin-top:20px;border-top:1px solid #e4edf6;padding-top:18px}.site-help-link img{width:48px;height:48px;object-fit:contain}.site-help-link button{color:#0674c9;border:0;background:none;padding:8px 0;text-align:left;font-size:12px;cursor:pointer}.admin-ticket-site-card{padding:18px;margin-bottom:16px;border:1px solid #e0e9f4;border-radius:14px;background:#f5f9ff}.admin-ticket-site-card h3{margin:0 0 10px;font-size:14px}.admin-ticket-site-card p{font-size:12px;margin:6px 0;overflow-wrap:anywhere}
@media(max-width:900px){body.duck-client .home-services-grid{grid-template-columns:1fr;gap:24px}.home-site-body .overview-duck{width:72px!important;height:72px!important}.site-empty-mascot{width:90px;height:90px;margin-left:12px}.home-service-column .section-head .link-btn{font-size:12px}.home-services-empty{padding:20px;min-height:180px}.home-site-card-head .site-status{font-size:10px}.home-site-card-head>div{flex-basis:calc(100% - 50px)}}
/* Cabinet release polish: stable amounts and readable mobile history cards. */
body.duck-app.duck-client #clientNotificationsPanel{margin-top:24px}
body.duck-app.duck-client #clientNotificationsPanel .settings42-panel-head p{margin-top:7px!important;line-height:1.7!important}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-grid{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr);gap:32px;padding:26px}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-intro{display:flex;align-items:flex-start;flex-direction:column;gap:14px;min-width:0}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#0872c6;background:#edf6ff;flex:none}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-icon svg{width:24px;height:24px}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-intro>strong{font-size:15px;line-height:1.6;color:#25415e}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-intro>p{font-size:12px;line-height:1.8;margin:0!important;color:#6c8197;overflow-wrap:anywhere}
body.duck-app.duck-client #clientNotificationsPanel :is(form,fieldset){min-width:0;margin:0;padding:0;border:0}
body.duck-app.duck-client #clientNotificationsPanel .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0);white-space:nowrap!important;border:0!important}
body.duck-app.duck-client #clientNotificationsPanel fieldset:disabled{opacity:.55}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-option{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:20px;margin:0;padding:18px 0;border-bottom:1px solid #e6edf5;cursor:pointer}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-option:first-of-type{padding-top:0}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-option strong{display:block;font-size:13px;line-height:1.6;font-weight:600;color:#25415e}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-option small{display:block;font-size:12px;line-height:1.75;color:#71869b;margin-top:6px}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-option input{position:absolute;width:1px;height:1px;opacity:0}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-switch{position:relative;width:42px;height:24px;border-radius:24px;background:#c2d1e2;transition:background .15s}
body.duck-app.duck-client #clientNotificationsPanel .client-notification-switch:after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #25415e15;transition:transform .15s}
body.duck-app.duck-client #clientNotificationsPanel input:checked+.client-notification-switch{background:#0872c6}
body.duck-app.duck-client #clientNotificationsPanel input:checked+.client-notification-switch:after{transform:translateX(18px)}
body.duck-app.duck-client #clientNotificationsPanel input:focus-visible+.client-notification-switch{outline:3px solid #8fcaff;outline-offset:3px}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;flex-wrap:wrap}
body.duck-app.duck-client #clientNotificationsPanel .client-notifications-message{font-size:12px;line-height:1.8;margin:16px 0 0!important;color:#24745e}
body.duck-app.duck-client #clientNotificationsPanel .is-error{color:#ac3c4b!important}
@media(max-width:900px){body.duck-app.duck-client #clientNotificationsPanel .client-notifications-grid{grid-template-columns:minmax(0,1fr);gap:26px}}
@media(max-width:600px){body.duck-app.duck-client #clientNotificationsPanel .client-notifications-grid{padding:20px;gap:22px}body.duck-app.duck-client #clientNotificationsPanel .client-notifications-actions{align-items:stretch;flex-direction:column}body.duck-app.duck-client #clientNotificationsPanel .client-notifications-actions>.btn{width:100%}}
/* Desktop workspace rhythm. Keep these scoped: legacy page resets use !important. */
body.duck-app.duck-client #view-support>.grid-wide{display:block!important}
body.duck-app.duck-client #view-support #supportTabTickets{padding:0!important;overflow:hidden;border-radius:18px!important}
body.duck-app.duck-client #view-support .support-tickets-layout{grid-template-columns:minmax(270px,30%) minmax(0,1fr)!important;min-height:440px!important;align-items:stretch!important}
body.duck-app.duck-client #view-support .support-tickets-sidebar{padding:24px!important;background:#fbfdff}
body.duck-app.duck-client #view-support .support-tickets-sidebar-head{gap:12px!important;margin-bottom:20px!important;padding-bottom:20px!important;border-bottom:1px solid #e3ecf5}
body.duck-app.duck-client #view-support .support-tickets-sidebar-head strong{font-size:15px;line-height:1.5}
body.duck-app.duck-client #view-support #supportNewTicketBtn{display:none!important}
body.duck-app.duck-client #view-support .support-ticket-row{padding:16px!important;margin-bottom:12px!important;background:#fff!important}
body.duck-app.duck-client #view-support .support-ticket-row.active{background:#edf6ff!important}
body.duck-app.duck-client #view-support .support-ticket-row-title{margin:10px 0!important;line-height:1.65!important}
body.duck-app.duck-client #view-support .approved-ticket-detail{padding:28px!important}
body.duck-app.duck-client #view-support #supportTicketDetailPanel{padding:0!important;border:0!important;background:transparent!important}
body.duck-app.duck-client #view-support .support-choose-ticket{min-height:380px!important}
body.duck-app.duck-client #view-support .support-thread-head{gap:20px!important;padding-bottom:20px;border-bottom:1px solid #e3ecf5;flex-wrap:wrap;flex-direction:row!important}
body.duck-app.duck-client #view-support .support-thread-title-wrap{flex:1 1 280px;min-width:0}
body.duck-app.duck-client #view-support #detailTicketSubject{font-size:18px!important;line-height:1.5!important;margin:10px 0 0!important;overflow-wrap:anywhere}
body.duck-app.duck-client #view-support .support-thread-actions{flex:none}
body.duck-app.duck-client #view-support .support-thread-actions button{white-space:nowrap!important}
body.duck-app.duck-client #view-support .support-thread-messages{max-height:440px!important;padding:24px 0!important;scrollbar-gutter:stable}
body.duck-app.duck-client #view-support .support-msg-bubble{max-width:92%!important;overflow-wrap:anywhere}
body.duck-app.duck-client #view-support .support-thread-reply{display:grid!important;gap:16px!important;margin:0!important;padding-top:20px!important;border-top:1px solid #e3ecf5}
body.duck-app.duck-client #view-support .support-reply-label{font-size:13px;font-weight:600;margin:0 0 -8px;color:#314a65}
body.duck-app.duck-client #view-support #ticketReplyInput{margin:0!important;min-height:110px;line-height:1.7!important}
body.duck-app.duck-client #view-support .support-thread-reply-bar{gap:16px!important;margin:0!important;padding:0!important;align-items:center!important}
body.duck-app.duck-client #view-support .support-tickets-layout:has(.support-tickets-empty){min-height:0!important}
body.duck-app.duck-client #view-billing .balance-card>p{margin:16px 0 0!important;font-size:12px!important;line-height:1.75!important;max-width:65ch}
body.duck-app.duck-client #view-billing .balance-card>.btn{margin-top:20px!important}
body.duck-app.duck-client :is(.home-site-card-head,.node-card-head) h3{margin-bottom:6px!important;line-height:1.5!important}
body.duck-app.duck-client .home-site-body p{margin-bottom:14px!important}
body.duck-app.duck-client :is(.payment-panel-heading,#integrationLinksPanel .panel-head) p{margin-top:8px!important;line-height:1.7!important}
body.duck-app.duck-client #view-settings .settings42-panel-head p{margin-top:7px!important;line-height:1.7!important}
body.duck-app.duck-client #view-settings .settings42-person p{margin-top:6px!important;line-height:1.65!important}
body.duck-app.duck-client #view-settings .settings42-session-copy p{margin:6px 0!important}
body.duck-app.duck-client .settings42-dialog>header p{margin-top:8px!important;line-height:1.7!important}
body.duck-app.duck-client .payment-dialog header p{margin-top:8px!important}
body.duck-app.duck-client .payment-dialog .payment-explanation{margin-top:20px!important}
body.duck-app.duck-client #billingHistory td{padding-block:18px!important;line-height:1.75!important;vertical-align:top}
body.duck-app.duck-client #billingHistory td:first-child{min-width:128px;font-size:12px!important;font-weight:400!important}
body.duck-app.duck-client #view-availability .approved-data-state{flex:none;min-width:160px;line-height:1.65!important}
body.duck-app.duck-client #view-availability .approved-data-state>span{display:grid!important;gap:4px!important}
body.duck-app.duck-client #view-availability #availCheckTime{margin:0!important;white-space:nowrap}
body.duck-app.duck-client .metric-value small{display:inline-block;margin-inline-start:6px!important}
body.duck-app.duck-client #drawer.node-page :is(.node-settings-header,.node-connection-header){margin-bottom:22px!important}
body.duck-app.duck-client #drawer.node-page :is(.node-settings-header,.node-connection-header) p{margin-top:8px!important;line-height:1.75!important;max-width:80ch}
body.duck-app.duck-client #drawer.node-page #approvedConfigSetup{margin-top:24px!important}
body.duck-app.duck-client #drawer.node-page .panel-setup-heading{margin-bottom:24px!important}
body.duck-app.duck-client #drawer.node-page #drawerSetupMethod{margin-block:0 24px!important}
body.duck-app.duck-client #drawer.node-page #drawerSetupMethod legend{padding-bottom:12px!important;font-weight:600}
body.duck-app.duck-client #drawer.node-page #drawerPanelSetupForm{gap:22px 18px!important}
body.duck-app.duck-client #drawer.node-page #drawerPanelSetupForm>label:not([hidden]){display:grid!important;gap:10px!important;margin:0!important;align-content:start}
body.duck-app.duck-client #drawer.node-page #drawerAutoSetupPanel>p{margin-top:18px!important;line-height:1.75!important;font-size:12px!important;color:#617790}
@media(min-width:1600px){
 body.duck-app.duck-client #view-support .support-tickets-layout{grid-template-columns:340px minmax(0,1fr)!important}
}
@media(max-width:1000px){
 body.duck-app.duck-client #view-support .support-tickets-layout{grid-template-columns:minmax(220px,34%) minmax(0,1fr)!important}
 body.duck-app.duck-client #view-support :is(.support-tickets-sidebar,.approved-ticket-detail){padding:20px!important}
}
@media(max-width:700px){
 body.duck-app.duck-client #view-support .support-tickets-layout{grid-template-columns:1fr!important;min-height:0!important}
 body.duck-app.duck-client #view-support .support-tickets-sidebar{border-right:0!important;border-bottom:1px solid #e3ecf5!important}
 body.duck-app.duck-client #view-support :is(.support-tickets-sidebar,.approved-ticket-detail){padding:18px!important}
 body.duck-app.duck-client #view-support .support-choose-ticket{min-height:200px!important}
 body.duck-app.duck-client #view-support .support-thread-head{gap:16px!important}
 body.duck-app.duck-client #view-support .support-thread-title-wrap{flex:1 1 100%!important}
 body.duck-app.duck-client #view-support #detailTicketSubject{font-size:16px!important}
 body.duck-app.duck-client #view-support .support-thread-actions{margin-left:auto}
 body.duck-app.duck-client #view-support .support-thread-messages{max-height:360px!important}
 body.duck-app.duck-client #view-support .support-msg-bubble{max-width:100%!important}
 body.duck-app.duck-client #drawer.node-page #drawerPanelSetupForm{gap:18px!important}
}
body.duck-client #billingHistory td:last-child{min-width:116px;white-space:nowrap!important;font-variant-numeric:tabular-nums;text-align:right}
body.duck-client #billingHistory th:last-child{width:124px}
body.duck-client .home-sites-error{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:1px solid #e0e9f3;border-radius:14px;padding:22px;background:#fff;color:#617890}
body.duck-client .home-sites-error h3{font-size:14px;color:#20374f;margin:0}
body.duck-client .home-sites-error p{font-size:12px;line-height:1.7;margin:0}
body.duck-client #view-billing .plan-card{display:flex!important;align-items:stretch;flex-direction:column;gap:18px;padding:24px!important}
body.duck-client .billing-plan-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
body.duck-client .billing-plan-head h3{font-size:19px!important;line-height:1.4;margin:4px 0 0!important}
body.duck-client .billing-plan-head img{display:block;width:52px!important;height:52px!important;flex:none;object-fit:contain}
body.duck-client .billing-plan-kicker{font-size:9px;font-weight:600;letter-spacing:1.2px;color:#6a829b}
body.duck-client .billing-plan-list{font-size:12px;color:#617890}
body.duck-client .billing-plan-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #e8eef5}
body.duck-client .billing-plan-row>div{display:flex;min-width:0;flex-direction:column;gap:5px}
body.duck-client .billing-plan-row b{font-size:13px;overflow-wrap:anywhere;color:#25415c}
body.duck-client .billing-plan-row small{font-size:11px;color:#70849b}
body.duck-client #view-billing .billing-plan-row>strong{display:flex!important;flex-direction:column;align-items:flex-end;flex:none;font-size:19px!important;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
body.duck-client .billing-plan-row del{font-size:11px;font-weight:400;color:#8698aa}
body.duck-client .billing-plan-hint{font-size:11px!important;line-height:1.8!important;margin:0!important;color:#71869c}
body.duck-client #view-billing .plan-card>.btn{align-self:flex-start;white-space:normal}
body.duck-client :is(.workspace,dialog,.approved-dialog) :is(button,a,input,select,textarea){scroll-margin-block:80px 150px}
@media(max-width:700px){
 body.duck-client #billingHistory table,body.duck-client #billingHistory tbody{display:block!important;width:100%!important}
 body.duck-client #billingHistory thead{display:none!important}
 body.duck-client #billingHistory tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px 16px!important;padding:18px!important;border-bottom:1px solid #e6edf5!important}
 body.duck-client #billingHistory tr:last-child{border-bottom:0!important}
 body.duck-client #billingHistory td{display:block!important;min-width:0!important;width:auto!important;padding:0!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere}
 body.duck-client #billingHistory td:before{display:none!important}
 body.duck-client #billingHistory td:nth-child(1){grid-column:1;grid-row:1;color:#71869c;font-size:11px!important;line-height:1.6}
 body.duck-client #billingHistory td:nth-child(2){grid-column:1/-1;grid-row:2;font-size:13px!important;line-height:1.7}
 body.duck-client #billingHistory td:nth-child(3){grid-column:2;grid-row:1;align-self:start;text-align:right;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
 body.duck-client #billingHistory td[colspan]{grid-column:1/-1;grid-row:auto}
 body.duck-client #billingHistory .wallet-history-note{font-size:12px!important;line-height:1.8!important;margin-top:7px!important}
 body.duck-client #websiteRoot .site-detail-header{display:grid!important;grid-template-columns:34px minmax(0,1fr);gap:12px;margin:20px 0}
 body.duck-client #websiteRoot .site-detail-header>.site-domain-icon{width:34px;height:34px;border-radius:9px;align-self:start}
 body.duck-client #websiteRoot .site-detail-header h1{font-size:21px!important;line-height:1.4!important;letter-spacing:-.5px!important;overflow-wrap:anywhere}
 body.duck-client #websiteRoot .site-detail-header>div p{font-size:11px!important;line-height:1.7;margin-top:5px}
 body.duck-client #websiteRoot .site-detail-header>.site-status{grid-column:2;justify-self:start;margin:0}
 body.duck-client #websiteRoot .site-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important;padding:4px!important;border:1px solid #dce7f2;border-radius:11px;background:#edf3f9;height:auto!important;margin-bottom:20px}
 body.duck-client #websiteRoot .site-tabs>button{border:0!important;border-radius:7px!important;min-height:39px;padding:8px 5px!important;font-size:12px!important;line-height:1.5!important;white-space:nowrap!important;box-shadow:none}
 body.duck-client #websiteRoot .site-tabs>button[aria-current=page]{background:#fff!important;color:#0871c4!important;box-shadow:0 2px 5px #2347650a!important}
}

body.duck-app.duck-client .network-check-link{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d4e3f1;border-radius:11px;background:#f5faff;color:#0871c5;font:600 12px/1.4 Manrope,Arial,sans-serif;text-decoration:none;white-space:nowrap}
body.duck-app.duck-client .network-check-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
body.duck-app.duck-client .home-network-select{width:100%;margin:0 0 8px;min-height:36px}
body.duck-app.duck-client .home-network-map .ec-map{max-width:100%;height:160px;overflow:visible}
body.duck-app.duck-client .home-network-map .russia-svg{width:100%;height:160px;object-fit:contain}
body.duck-app.duck-client #homeNetworkMapCaption{font-size:10px;line-height:1.6;color:#6d859c;margin:8px 0 12px}
body.duck-app.duck-client #homeOperatorsList{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:10px}
body.duck-app.duck-client #homeOperatorsList .availability-operator{display:grid!important;grid-template-columns:24px minmax(0,1fr);gap:5px 8px!important;padding:10px!important;border:1px solid #e3ebf5!important;border-radius:10px;min-width:0}
body.duck-app.duck-client #homeOperatorsList .availability-operator .badge{grid-column:2;justify-self:start;font-size:10px!important;white-space:nowrap}
body.duck-app.duck-client #homeOperatorsList .availability-operator small{font-size:9px!important;line-height:1.5!important;overflow-wrap:normal}
body.duck-app.duck-client #homeOperatorsList .availability-operator strong{font-size:11px!important}
body.duck-app.duck-client #homeNetworkMap .russia-svg{display:block!important;width:100%!important;height:160px!important;max-height:160px!important}
@media(max-width:600px){body.duck-app.duck-client .topbar-right{gap:8px!important}body.duck-app.duck-client .network-check-link{font-size:10px;padding:8px;gap:4px}body.duck-app.duck-client .network-check-link svg{width:15px;height:15px}body.duck-app.duck-client .home-network-map .ec-map,body.duck-app.duck-client .home-network-map .russia-svg{height:145px}}
