/* NobatYou visual UI v4 — presentation only. No JS or business-side logic.
   Scoped button styling with focus visibility and mobile-friendly targets. */
:root{--ny-ui-ink:#172d4c;--ny-ui-blue:#315eea;--ny-ui-blue-dark:#2547b9;--ny-ui-muted:#71839e;--ny-ui-border:#dae5f4;--ny-ui-shadow:0 8px 25px rgba(25,55,104,.12)}
body :is(button:not([type="reset"]),input[type="submit"],input[type="button"],a.btn,.btn, a.button){
 border-radius:12px; font-weight:700; letter-spacing:-.08px; cursor:pointer;
 transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,background-color .16s ease;
 -webkit-tap-highlight-color:transparent;
}
body :is(button:not([type="reset"]),input[type="submit"],input[type="button"]):not(:disabled){box-shadow:0 4px 13px rgba(38,82,165,.15)}
body :is(button:not([type="reset"]),input[type="submit"],input[type="button"],a.btn,.btn,a.button):not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.045);box-shadow:0 8px 20px rgba(31,67,130,.18)}
body :is(button:not([type="reset"]),input[type="submit"],input[type="button"],a.btn,.btn,a.button):not(:disabled):active{transform:translateY(0);box-shadow:0 2px 7px rgba(31,67,130,.12)}
body :is(button,input,select,textarea,a):focus-visible{outline:3px solid #39bce0;outline-offset:3px}
body :is(button,input[type="submit"],input[type="button"]):disabled{cursor:not-allowed;opacity:.55;filter:grayscale(.35)}
body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),body select,body textarea{max-width:100%;box-sizing:border-box;border-radius:11px}
/* prominent unified links above dashboards */
.ny-feature-strip{position:relative;z-index:20;padding:12px 16px;background:linear-gradient(115deg,#eef5ff,#eefcff);border-bottom:1px solid #cfe3fa;direction:rtl}
.ny-feature-link{max-width:1140px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 19px;border:1px solid #aac8ff;border-radius:18px;background:linear-gradient(110deg,#244bbb,#3769ec 65%,#1d9bb1);box-shadow:0 8px 24px rgba(45,94,190,.19);text-decoration:none!important;color:#fff!important;font-weight:800;font-size:15px;line-height:1.7;transition:transform .17s,box-shadow .17s}
.ny-feature-link:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(45,94,190,.27)}
.ny-feature-link .ny-link-arrow{background:#ffffff2c;border:1px solid #ffffff55;padding:4px 10px;border-radius:99px;white-space:nowrap}
/* standalone smart queue */
body.ny-queue-view{font-family:Tahoma,Arial,sans-serif;color:var(--ny-ui-ink);background:radial-gradient(circle at 93% 0%,#dfeaff,transparent 32%),linear-gradient(150deg,#f4f8ff,#eef7fb)!important;line-height:1.95}
.ny-queue-view .wrap{max-width:1110px;margin:24px auto;padding:0 15px}
.ny-queue-view .nyq-back{display:inline-flex;align-items:center;padding:7px 13px;border-radius:10px;background:#fff;border:1px solid #d8e4f5;text-decoration:none;font-weight:700}
.ny-queue-view .nyq-hero{background:linear-gradient(118deg,#1c3e99,#2f6cdb 61%,#16a6a6);color:#fff;border-radius:23px;padding:25px 27px;margin:15px 0 19px;box-shadow:0 14px 36px #1d4d9933}
.ny-queue-view .nyq-hero h1{font-size:clamp(21px,3vw,31px);line-height:1.5;margin:0 0 7px;color:#fff}
.ny-queue-view .nyq-hero .sub,.ny-queue-view .nyq-hero .muted{color:#ecf5ff;opacity:.96;font-size:13px;margin:0}
.ny-queue-view .card{background:#fff;border:1px solid #d8e5f4;border-radius:20px;padding:21px;margin:16px 0;box-shadow:0 5px 20px #31538e0c}
.ny-queue-view h2{margin:0 0 15px;font-size:19px}
.ny-queue-view label{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 7px 7px 0;font-weight:600}
.ny-queue-view input{background:#fafcff!important;border:1px solid #ccdcf0!important;color:#1e3a60;padding:10px 12px!important;border-radius:11px!important}
.ny-queue-view button{background:linear-gradient(120deg,#2f5ed9,#257ad5);color:#fff;border:0;padding:10px 15px;min-height:42px;border-radius:12px;box-shadow:0 5px 15px #2c5cbd22}
.ny-queue-view .nyq-btn--arrived{background:linear-gradient(120deg,#0c9874,#10b99c)}
.ny-queue-view .nyq-btn--in_visit{background:linear-gradient(120deg,#3155d6,#5486ff)}
.ny-queue-view .nyq-btn--finished{background:linear-gradient(120deg,#465a76,#7889a0)}
.ny-queue-view .nyq-btn--skipped{background:linear-gradient(120deg,#c65a32,#eb8248)}
.ny-queue-view .nyq-btn--waiting{background:#edf2f9;color:#335078;border:1px solid #ccdaeb}
.ny-queue-view .nyq-status{display:inline-flex;align-items:center;gap:7px;border-radius:100px;font-size:12px;font-weight:800;padding:5px 12px;border:1px solid #cde0f4;background:#edf4ff;color:#365783;white-space:nowrap}
.ny-queue-view .nyq-status--waiting{background:#fff7df;border-color:#f3e0a4;color:#926a12}
.ny-queue-view .nyq-status--arrived{background:#e0fcf0;border-color:#a9ecd4;color:#0c7855}
.ny-queue-view .nyq-status--in_visit{background:#e4eeff;border-color:#bad1ff;color:#2752aa}
.ny-queue-view .nyq-status--finished{background:#e9eef4;border-color:#d0d9e5;color:#465970}
.ny-queue-view .nyq-status--skipped{background:#fff0e8;border-color:#ffcaa8;color:#9d481d}
.ny-queue-view .nyq-status::before{content:'';width:7px;height:7px;border-radius:100px;background:currentColor}
.ny-queue-view .nyq-actions{display:flex;flex-wrap:wrap;gap:6px}
.ny-queue-view .nyq-actions form{display:inline-flex;margin:0}
.ny-queue-view .nyq-actions button{padding:8px 11px;min-height:37px;font-size:12px}
.ny-queue-view .sc{overflow:auto;border:1px solid #e5edf7;border-radius:13px}
.ny-queue-view table{width:100%;border-collapse:separate;border-spacing:0;min-width:705px;background:#fff}
.ny-queue-view th{background:#f0f6ff;color:#476087;font-size:12px;border-bottom:1px solid #dce8f6}
.ny-queue-view th,.ny-queue-view td{padding:13px 12px;text-align:right;vertical-align:middle}
.ny-queue-view tbody tr:not(:last-child) td{border-bottom:1px solid #eaf0f8}
.ny-queue-view tbody tr:hover{background:#fafdff}
.ny-queue-view .nyq-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}
.ny-queue-view .nyq-stat{background:#f3f8ff;border:1px solid #e1ebf8;padding:11px 14px;border-radius:13px}
.ny-queue-view .nyq-stat small{display:block;font-size:12px;color:#687f9e}
.ny-queue-view .nyq-stat strong{font-size:16px;color:#1e447d}
.ny-queue-view .nyq-notice{border:1px solid #9bdcc5;border-radius:12px;padding:13px;background:#eafff5;color:#125d42}
.ny-queue-view .nyq-alert{border:1px solid #f6c0bf;border-radius:12px;padding:13px;background:#fff1f0;color:#9e3638}
@media(max-width:640px){.ny-feature-link{font-size:13px;padding:12px 14px}.ny-queue-view .wrap{margin:12px auto}.ny-queue-view .card{padding:15px;border-radius:16px}.ny-queue-view .nyq-hero{padding:20px;border-radius:17px}.ny-queue-view .nyq-stats{grid-template-columns:1fr 1fr}.ny-queue-view label{display:flex;margin:5px 0}.ny-queue-view .nyq-stats .nyq-stat strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){body :is(button,a.btn,.btn,a.button),.ny-feature-link{transition:none!important}body :is(button,a.btn,.btn,a.button):hover,.ny-feature-link:hover{transform:none!important}}
