
*{box-sizing:border-box}
body{margin:0;background:#f2f8fa;color:#153c49;font:16px system-ui,sans-serif}
header{background:#103e50;color:white;padding:24px 5%;display:flex;justify-content:space-between;align-items:center}
.brand{font-size:25px;letter-spacing:3px;font-weight:800}
.brand b{color:#8ce1a4}
.brand small{display:block;font-size:10px;letter-spacing:2px;color:#b8e8fa}
main{max-width:1250px;margin:30px auto;padding:0 20px}
.panel,.metric{background:white;border:1px solid #dce9ed;border-radius:18px;padding:24px;box-shadow:0 8px 28px #123e5010;margin-bottom:18px}
#login{max-width:420px;margin:60px auto}
h1,h2{font-weight:650;letter-spacing:-.8px}
button{border:0;border-radius:9px;padding:11px 16px;background:#167d9e;color:white;font-weight:650;cursor:pointer}
button.secondary{background:#e6f4f8;color:#17556a}
button.danger{background:#a73b46}
nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}
nav button{background:white;color:#23556a;border:1px solid #dce9ed}
nav button.active{background:#167d9e;color:white}
label{display:block;font-size:13px;font-weight:600;margin-bottom:12px}
input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #bed3dc;border-radius:8px;margin-top:6px;font:inherit;color:inherit;background:white}
textarea{min-height:75px}
.fields,.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}
.metric strong{display:block;font-size:29px;color:#21834d;margin-top:10px}
.scroll{overflow:auto}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{text-align:left;padding:12px;border-bottom:1px solid #e0ebef;vertical-align:top}
th{background:#eaf5f8}
td button{margin:3px;white-space:nowrap}
#message{color:#a33;white-space:pre-wrap;margin:12px 0}
.check{display:flex;gap:10px;align-items:center}
.check input{width:auto;margin:0}
[hidden]{display:none!important}
@media(max-width:600px){
header{padding:18px}
.brand{font-size:19px}
main{padding:0 12px}
.panel{padding:16px}
nav button{font-size:12px;padding:9px}
.fields{grid-template-columns:1fr}
}
@media print{
header,nav,button,#message,form{display:none!important}
body{background:white}
.panel{box-shadow:none}
}

/* CLEAN WORLD V3.1 - PROFESSIONAL DESIGN */

:root {
  --cw-blue: #167d9e;
  --cw-green: #21834d;
  --cw-navy: #103e50;
  --cw-muted: #647e8b;
  --cw-border: #dce9ed;
}

body {
  background: #f4f8fb;
  color: #173c4d;
  line-height: 1.5;
}

header {
  background: linear-gradient(
    115deg, #103e50, #167d9e
  );
  border-bottom: 4px solid #65c78b;
  padding: 18px 4%;
}

main {
  max-width: 1500px;
  margin: 24px auto;
}

nav {
  background: white;
  padding: 14px;
  border: 1px solid var(--cw-border);
  border-radius: 16px;
  gap: 8px;
}

nav button {
  border-radius: 8px;
  font-size: 13px;
  padding: 11px 15px;
}

nav button.active {
  background: var(--cw-blue);
  color: white;
}

.panel {
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 18px #103e5008;
}

.panel h2 {
  margin-top: 0;
  font-size: 22px;
}

.metric {
  border-radius: 14px;
  border-top: 3px solid #53b6d5;
  padding: 20px;
  margin-bottom: 0;
}

.metric strong {
  font-size: 30px;
  color: var(--cw-navy);
}

button {
  transition: background .15s,
    box-shadow .15s;
}

button:not(:disabled):hover {
  box-shadow: 0 3px 10px #103e5020;
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #8ed3e8;
  outline-offset: 1px;
}

.cw-hero {
  background: linear-gradient(
    120deg, #103e50, #167d9e
  );
  color: white;
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 22px;
  border-bottom: 4px solid #65c78b;
}

.cw-hero h1 {
  margin: 8px 0;
  font-size: 30px;
}

.cw-hero p {
  color: #d5f0fa;
  margin: 6px 0;
}

.cw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.cw-calendar {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 5px;
}

.cw-day {
  min-height: 90px;
  background: white;
  color: var(--cw-navy);
  border: 1px solid var(--cw-border);
  border-radius: 8px;
  text-align: left;
  padding: 9px;
  overflow-wrap: anywhere;
}

.cw-day.selected {
  background: #e5f4fa;
  border: 2px solid var(--cw-blue);
}

.cw-day.current {
  border-bottom: 3px solid var(--cw-green);
}

.cw-day small {
  display: block;
  color: var(--cw-green);
  margin-top: 8px;
}

.cw-muted {
  color: var(--cw-muted);
  font-size: 13px;
}

@media(max-width:600px) {
  .cw-hero {
    padding: 20px;
  }

  .cw-hero h1 {
    font-size: 24px;
  }

  .panel {
    padding: 16px;
  }

  .cw-day {
    min-height: 65px;
    padding: 5px;
    font-size: 12px;
  }

  .metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .metric {
    padding: 14px;
    overflow-wrap: anywhere;
  }

  .metric strong {
    font-size: 22px;
  }
}

/* CLEAN WORLD V3.1 - LUXURY BACKGROUND */

body {
  background-color: #071e30;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.panel {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

nav {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
}

.cw-hero {
  background: linear-gradient(
    120deg,
    rgba(7,30,48,0.90),
    rgba(22,125,158,0.80)
  );
  border-bottom: 3px solid #c8a75b;
}

@media print {
  body {
    background: white !important;
  }

  .panel {
    background: white !important;
    box-shadow: none !important;
  }
}

/* CLEAN WORLD - LUXURY LOGIN SCREEN */

#login {
  max-width: 420px;
  margin: 8vh auto;
  padding: 35px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  border: 1px solid #c8a75b;
  box-shadow: 0 20px 65px rgba(0,0,0,0.40);
}

#login img {
  display: block;
  margin: 0 auto 24px;
  max-width: 100%;
}

#login h1,
#login h2 {
  text-align: center;
  color: #103e50;
}

#login input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #cbdde5;
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
}

#login button {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(
    120deg, #103e50, #167d9e, #21834d
  );
  color: white;
  font-weight: 600;
  border: 1px solid #c8a75b;
}

@media(max-width:600px) {
  #login {
    margin: 5vh 15px;
    padding: 24px;
  }
}

/* LUXURY TRANSPARENT LOGIN */

#login {
  background: rgba(5, 25, 42, 0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.75);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.35);
  color: white;
}

#login h1,
#login h2,
#login p,
#login label {
  color: white;
}

#login img {
  background: transparent !important;
}

#login input {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.45);
  color: white;
}

#login input::placeholder {
  color: rgba(255,255,255,0.75);
}

#login button {
  background: linear-gradient(
    120deg,
    rgba(0,110,160,0.85),
    rgba(35,140,70,0.85)
  );
  border: 1px solid #d4af37;
  color: white;
}

/* PREMIUM LOGIN LAYOUT */

#login {
  max-width: 340px;
  margin: 10vh 5% 8vh auto;
  padding: 28px;
  background: rgba(5,25,42,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212,175,55,0.85);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

#login img {
  display: none;
}

#login h1,
#login h2 {
  font-size: 28px;
  letter-spacing: 0.5px;
}

#login input {
  background: rgba(5,25,42,0.35);
  border: 1px solid rgba(255,255,255,0.45);
}

@media(max-width:700px) {
  #login {
    margin: 8vh auto;
    width: 85%;
    box-sizing: border-box;
  }
}


/* CLEAN WORLD - FULL SCREEN LOGIN */

body:has(#login:not([hidden]):not(.hidden):not([style*="display: none"])) header {
  display: none;
}

#login {
  margin: 0;
  position: fixed;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 340px;
  max-width: 85vw;
  box-sizing: border-box;
  background: rgba(5,25,42,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,0.85);
  box-shadow: 0 15px 50px rgba(0,0,0,0.35);
  max-height: 90vh;
  overflow-y: auto;
}

@media(max-width:700px) {
  #login {
    right: 50%;
    transform: translate(50%,-50%);
  }
}

/* CLEAN WORLD V3.1 - LUXURY HEADER */

header {
  background: linear-gradient(
    110deg, #041525, #082d49, #103e50
  );
  border-bottom: 3px solid #c8a75b;
  padding: 12px 3%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.30);
}

header img[src$="logo-000.png"] {
  content: url("header-logo.png");
  width: 420px !important;
  max-width: 65vw !important;
  height: auto !important;
  max-height: 145px;
  object-fit: contain;
  background: transparent !important;
  border: none;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

@media(max-width:700px) {
  header img[src$="logo-000.png"] {
    width: 260px !important;
    max-width: 65vw !important;
    max-height: 100px;
  }
}

/* CLEAN WORLD - LIGHT BLUE LUXURY EDITION */

header {
  background: linear-gradient(
    110deg, #000000, #101010, #29b6ed
  ) !important;
  border-bottom: 2px solid #c8a75b;
}

.cw-hero {
  background: linear-gradient(
    120deg, #080a0c, #167ca5, #29b6ed
  ) !important;
  border: 1px solid #c8a75b;
}

#nav button {
  border-color: rgba(41,182,237,0.35);
}

#nav button:hover {
  background: #163b4b !important;
  border-color: #29b6ed;
  color: #8cddff !important;
}

#nav button.active {
  background: linear-gradient(
    135deg, #087ba8, #29b6ed
  ) !important;
  color: #ffffff !important;
  border-color: #8cddff;
  box-shadow: 0 0 14px rgba(41,182,237,0.30);
}

/* FINAL BLACK AND LIGHT BLUE THEME */

/* Force black background when signed in */

body:has(#nav button) {
  background: #080a0c !important;
  background-image: none !important;
}

/* Black luxury header */

header {
  background: #050505 !important;
  border-bottom: 2px solid #29b6ed !important;
}

/* Black navigation menu */

nav,
#nav,
header + nav {
  background: #101010 !important;
  border: 1px solid #29b6ed !important;
  border-radius: 12px;
}

nav button,
#nav button {
  background: #151515 !important;
  color: #ffffff !important;
  border: 1px solid #29b6ed !important;
  border-radius: 8px;
}

nav button:hover,
#nav button:hover {
  background: #29b6ed !important;
  color: #07151c !important;
}

nav button.active,
#nav button.active {
  background: linear-gradient(
    135deg, #29b6ed, #75d8ff
  ) !important;
  color: #07151c !important;
  box-shadow: 0 0 12px rgba(41,182,237,0.4);
}

/* Black command center with blue accents */

.cw-hero {
  background: linear-gradient(
    135deg, #050505, #151515
  ) !important;
  border: 2px solid #29b6ed !important;
  color: white !important;
}

.cw-hero h1,
.cw-hero h2 {
  color: #29b6ed !important;
}

.cw-hero p {
  color: #ffffff !important;
}

/* Gold accents on business panels */

.panel {
  border: 1px solid #c8a75b !important;
}


/* Luxury reference layout: signed-in workspace only */
body:has(#workspace:not([hidden])){background:#050505!important;color:#173c49}
body:has(#workspace:not([hidden])) header{background:#000!important;border-bottom:3px solid #d5ac49!important;padding:8px 2%;min-height:100px}
body:has(#workspace:not([hidden])) header img[src$="logo-000.png"]{width: min(560px,70vw)!important;max-height:150px;max-width:75vw!important}
body:has(#workspace:not([hidden])) main{max-width:1800px;margin:8px auto;padding:0 12px}
#nav.lux-nav{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;padding:0;border:0!important;background:#000!important;margin-bottom:12px;backdrop-filter:none}
#nav.lux-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:72px;padding:7px 3px;font-size:clamp(9px,1vw,14px);line-height:1.15;border-radius:11px;background:#050505!important;white-space:normal}
.lux-icon{width:27px;height:27px;flex-shrink:0;color:#39d5f7}
#nav.lux-nav button.active{background:linear-gradient(#08c4f8,#0078c8)!important;color:white!important}
#nav.lux-nav button.active .lux-icon{color:white}
#nav.lux-nav button.lux-secondary{grid-column:span 1;min-height:42px;flex-direction:row;background:#f4faff!important;color:#111!important;border-color:#d4b254!important;font-size:11px}
#nav.lux-nav button.lux-secondary .lux-icon{width:18px;height:18px;color:#174d56}
#nav.lux-nav button.lux-secondary.active{background:#29b6ed!important}
.lux-dashboard{display:grid;grid-template-columns:minmax(190px,1.1fr) minmax(0,1.55fr) minmax(0,1.45fr);gap:10px;align-items:stretch}
.lux-welcome,.lux-schedule,.lux-quick{background:linear-gradient(145deg,#fff,#eaf6ff);border:2px solid #27b9f3;border-radius:18px;padding:14px;min-width:0;color:#111;box-shadow:inset 0 0 0 2px white}
.lux-welcome{grid-row:span 2;text-align:center;border-color:#d6ab43;display:flex;flex-direction:column;justify-content:center;align-items:center}
.lux-welcome img{width:100%!important;max-width:260px!important;background:transparent!important}
.lux-welcome h2{font-size:clamp(14px,1.5vw,22px);background:linear-gradient(#19baf3,#0074bd);color:white;padding:7px;border-radius:9px;width:100%;margin:8px 0}
.lux-welcome h1{font-size:clamp(20px,2vw,30px);color:#248b08;margin:0;overflow-wrap:anywhere}
.lux-welcome p{margin:8px 0;font-size:14px}
.lux-metrics{grid-column:2/4;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.lux-metric{display:flex;align-items:center;gap:8px;padding:12px 9px;min-height:96px;border:2px solid #b4ef7d;border-radius:16px;color:white;background:linear-gradient(#65c90b,#187000);box-shadow:inset 0 0 10px #ffffff55;overflow-wrap:anywhere}
.lux-metric:nth-child(2){background:linear-gradient(#0ac6fa,#0075c4);border-color:#82eaff}.lux-metric:nth-child(3){background:linear-gradient(#efbd32,#aa6900);border-color:#ffe4a0}.lux-metric .lux-icon{color:white;width:30px;height:30px}.lux-metric span{font-size:12px;font-weight:650}.lux-metric strong{display:block;font-size:clamp(18px,2.2vw,34px);line-height:1.2}
.lux-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}.lux-dashboard h2{margin:0 0 10px;font-size:clamp(16px,1.7vw,24px)}.lux-welcome h2{font-size:clamp(14px,1.5vw,22px);margin:8px 0}.lux-heading button{padding:7px 10px;font-size:12px}.lux-job{display:flex;gap:10px;border-top:1px solid #b9cdd9;padding:10px 0;font-size:13px}.lux-job strong{white-space:nowrap}.lux-job span{overflow-wrap:anywhere}.lux-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.lux-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:75px;padding:7px 3px;background:#f5fbff;color:#111;border:1px solid #a5c7dd;font-size:12px}.lux-shortcuts button:nth-child(1){background:#278c00;color:white}.lux-shortcuts button:nth-child(2){background:#008fdc;color:white}.lux-shortcuts button:nth-child(3){background:#bc8000;color:white}.lux-shortcuts .lux-icon{color:currentColor}.lux-note{color:#b8d7e6;font-size:12px;margin:10px 0}
@media(max-width:1050px){#nav.lux-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.lux-dashboard{grid-template-columns:1fr 1fr}.lux-welcome{grid-column:1/3;grid-row:auto}.lux-metrics{grid-column:1/3}.lux-welcome img{max-width:180px!important}}
@media(max-width:650px){#nav.lux-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.lux-dashboard{display:flex;flex-direction:column}.lux-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lux-metric strong{font-size:22px}}
/* ==================================================
   CLEAN WORLD NEVADA LLC
   V4.0 PACKAGE 4B
   MOBILE AND TABLET OPTIMIZATION
   ================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

#workspace,
#content,
.panel {
  min-width: 0;
  max-width: 100%;
}

.scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

button, input, select, textarea {
  max-width: 100%;
}

button {
  touch-action: manipulation;
}

@media screen and (max-width: 1024px) {

  #nav {
    display: grid !important;
    grid-template-columns:
      repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  #nav button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .fields,
  .metrics {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

}

@media screen and (max-width: 600px) {

  body {
    margin: 0 !important;
    font-size: 15px;
  }

  #workspace,
  #content {
    width: 100% !important;
    padding: 8px !important;
  }

  header {
    flex-wrap: wrap;
    padding: 10px !important;
  }

  .brand {
    max-width: 100% !important;
  }

  .brand img {
    max-width: 100% !important;
    height: auto !important;
  }

  #nav {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  #nav button {
    min-height: 60px !important;
    padding: 10px !important;
    font-size: 12px !important;
  }

  .panel {
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
    overflow-wrap: anywhere;
  }

  .panel h1 {
    font-size: 23px !important;
  }

  .panel h2 {
    font-size: 19px !important;
  }

  .panel h3 {
    font-size: 16px !important;
  }

  .fields {
    display: grid !important;
    grid-template-columns:
      minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .metrics {
    display: grid !important;
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .metric {
    min-width: 0 !important;
    padding: 12px !important;
    overflow-wrap: anywhere;
  }

  .metric strong {
    font-size: 21px !important;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 16px !important;
  }

  textarea {
    min-height: 100px !important;
  }

  button {
    min-height: 44px !important;
    white-space: normal !important;
  }

  form button {
    width: 100% !important;
    margin-top: 8px !important;
  }

  table {
    font-size: 13px !important;
  }

  .scroll table {
    min-width: 600px;
  }

  td, th {
    padding: 10px !important;
  }

  pre {
    white-space: pre-wrap !important;
    overflow-wrap: anywhere;
  }

  #login {
    width: calc(100% - 24px) !important;
    max-width: 440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

}

/* END CLEAN WORLD V4.0 PACKAGE 4B */

[hidden]{display:none!important;}
#password-panel,#forgot-panel{max-width:560px;margin:1rem auto;}
