:root{
  --bg:#050505;
  --panel:#080808;
  --panel-2:#0d0d0d;
  --line:#202020;
  --line-strong:#353535;
  --text:#f5f4ef;
  --muted:#888780;
  --soft:#55544f;
  --white:#fff;
  --warm:#b6a58b;
  --radius:0px;
}
*{box-sizing:border-box}
html{background:#050505}
html,body{
  margin:0;min-height:100%;
  font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);color:var(--text);
  -webkit-font-smoothing:antialiased;text-rendering:geometricPrecision
}
body{overflow-x:hidden}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
::selection{background:#e6e2da;color:#111}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#292929}
::-webkit-scrollbar-track{background:#090909}

.app{min-height:100vh}

/* LOGIN */
.login{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(420px,.78fr);
  background:#050505
}
.login-visual{
  position:relative;overflow:hidden;
  padding:58px 64px;
  border-right:1px solid #1b1b1b;
  display:flex;flex-direction:column;justify-content:space-between;
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),rgba(255,255,255,0) 35%),
    radial-gradient(circle at 77% 24%,rgba(255,255,255,.065),transparent 23%),
    #050505
}
.login-visual:before,.login-visual:after{
  content:"";position:absolute;pointer-events:none
}
.login-visual:before{
  width:1px;height:46%;right:16%;bottom:0;background:linear-gradient(180deg,transparent,#333)
}
.login-visual:after{
  width:46%;height:1px;right:0;bottom:17%;background:linear-gradient(90deg,transparent,#252525)
}
.login-logo{position:relative;z-index:1;width:164px;filter:brightness(0) invert(1)}
.login-copy{position:relative;z-index:1;max-width:780px}
.eyebrow{
  margin:0;color:#686760;
  font-size:9px;font-weight:700;letter-spacing:.19em;text-transform:uppercase
}
.login-copy .eyebrow{margin-bottom:18px}
.login-copy h1{
  margin:0;
  font-size:clamp(64px,8.2vw,116px);
  line-height:.88;
  letter-spacing:-.075em;
  font-weight:500
}
.login-copy p{
  max-width:580px;margin:28px 0 0;
  color:#85847d;font-size:14px;line-height:1.85;font-weight:400
}
.login-form-wrap{
  display:flex;align-items:center;justify-content:center;
  padding:48px;background:#070707
}
.login-card{width:min(430px,100%);padding:0}
.login-card h2{margin:11px 0 10px;font-size:34px;font-weight:500;letter-spacing:-.045em}
.login-card>p{margin:0 0 35px;color:#77766f;font-size:12px;line-height:1.75}
.field{display:grid;gap:9px;margin-bottom:18px}
.field>span{
  color:#77766f;font-size:9px;font-weight:700;letter-spacing:.06em;text-transform:uppercase
}
.field input,.field textarea,.field select{
  width:100%;
  border:0;border-bottom:1px solid #333;border-radius:0;
  background:transparent;color:var(--text);
  padding:13px 0 12px;outline:none;
  font-size:12px
}
.field textarea{resize:vertical;line-height:1.7}
.field input:focus,.field textarea:focus,.field select:focus{border-color:#f4f1e9}
.btn{
  position:relative;
  min-height:40px;padding:0 14px;
  border:1px solid #343434;border-radius:0;
  background:transparent;color:#e8e7e2;
  font-size:9px;font-weight:700;letter-spacing:.04em;
  transition:background .35s ease,color .35s ease,border-color .35s ease,transform .35s ease
}
.btn:hover{background:#f3f1ea;color:#111;border-color:#f3f1ea}
.btn.primary{background:#f4f2eb;border-color:#f4f2eb;color:#090909}
.btn.primary:hover{background:#fff;border-color:#fff;transform:translateY(-1px)}
.btn.danger{color:#d5a49f}
.btn.full{width:100%;margin-top:12px;min-height:48px}
.login-msg{min-height:18px;margin:13px 0 0;color:#77766f;font-size:10px}

/* LAYOUT */
.workspace{
  display:grid;
  grid-template-columns:252px minmax(0,1fr);
  min-height:100vh
}
.sidebar{
  position:sticky;top:0;height:100vh;
  border-right:1px solid #1e1e1e;
  background:#060606;
  padding:31px 20px 24px;
  display:flex;flex-direction:column
}
.brand{padding:3px 4px 8px}
.brand img{display:block;width:138px;filter:brightness(0) invert(1)}
.side-label{
  margin:48px 4px 13px;
  color:#4e4d48;font-size:8px;font-weight:700;letter-spacing:.18em
}
.client-search{margin:0 4px 16px}
.client-search input{
  width:100%;height:38px;
  border:0;border-bottom:1px solid #262626;border-radius:0;
  background:transparent;color:#ddd;padding:0;outline:none;
  font-size:10px
}
.client-search input::placeholder{color:#4c4b47}
.client-search input:focus{border-color:#aaa79e}
.client-list{
  display:grid;gap:0;overflow:auto;padding:0 0 20px
}
.client-button{
  position:relative;
  width:100%;
  display:grid;grid-template-columns:34px minmax(0,1fr) auto;
  gap:12px;align-items:center;
  padding:12px 4px;
  border:0;border-bottom:1px solid #151515;border-radius:0;
  background:transparent;color:#85847e;text-align:left;
  transition:color .3s ease,background .3s ease,padding .3s ease
}
.client-button:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:1px;
  background:transparent;transition:background .3s ease
}
.client-button:hover{color:#d8d6cf;padding-left:9px}
.client-button.active{
  background:transparent;color:#f4f2eb;padding-left:12px
}
.client-button.active:before{background:#f2eee5}
.client-avatar{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:#0b0b0b;border:1px solid #242424;
  color:#8b8a84;font-size:9px;font-weight:700;letter-spacing:.04em
}
.client-button.active .client-avatar{
  background:#ece9e1;color:#0a0a0a;border-color:#ece9e1
}
.client-button strong{
  display:block;font-size:10px;font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.client-button small{
  display:block;margin-top:4px;
  font-size:8px;color:#53524e;letter-spacing:.03em
}
.client-button.active small{color:#696862}
.client-count{font-size:8px;color:#4e4d48}
.side-actions{
  margin-top:auto;display:grid;gap:8px;
  padding:17px 4px 0;border-top:1px solid #1e1e1e
}
.user-mini{padding:5px 0 13px}
.user-mini strong{display:block;font-size:10px;font-weight:600}
.user-mini span{display:block;margin-top:4px;color:#54534f;font-size:8px;letter-spacing:.08em}

.main{min-width:0;background:#050505}
.topbar{
  position:sticky;top:0;z-index:20;
  height:74px;border-bottom:1px solid #1d1d1d;
  background:rgba(5,5,5,.88);
  backdrop-filter:blur(20px);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 38px
}
.topbar-title{display:flex;align-items:center;gap:16px}
.topbar-title h1{
  margin:0;font-size:10px;font-weight:700;letter-spacing:.12em
}
.topbar-title span{
  color:#494844;font-size:8px;letter-spacing:.1em
}
.topbar-actions{display:flex;gap:8px}
.content{
  max-width:1600px;margin:0 auto;
  padding:48px 48px 80px
}
.empty-page{
  min-height:calc(100vh - 170px);
  display:grid;place-items:center;text-align:center
}
.empty-page h2{
  margin:7px 0 10px;
  font-size:clamp(40px,6vw,72px);
  font-weight:500;letter-spacing:-.055em
}
.empty-page p{
  max-width:470px;margin:0 auto;
  color:#77766f;font-size:11px;line-height:1.8
}

/* CLIENT HERO */
.client-head{
  position:relative;
  min-height:330px;
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:30px;margin:0 0 26px;
  padding:0 0 38px;
  border-bottom:1px solid #292929
}
.client-head:before{
  content:"";
  position:absolute;left:0;top:4px;
  width:62px;height:1px;background:#b1a48f
}
.client-head:after{
  content:"CLIENT";
  position:absolute;right:0;top:0;
  color:#1d1d1d;font-size:clamp(80px,12vw,190px);
  font-weight:700;letter-spacing:-.07em;line-height:.8;
  pointer-events:none;user-select:none
}
.client-head>div:first-child{position:relative;z-index:1;max-width:980px}
.client-head .eyebrow{padding-top:25px;color:#77746c}
.client-head h2{
  margin:18px 0 18px;
  max-width:1100px;
  font-size:clamp(54px,7vw,104px);
  line-height:.91;letter-spacing:-.072em;
  font-weight:500
}
.client-head p:last-child{
  max-width:680px;margin:0;
  color:#85847d;font-size:12px;line-height:1.75
}
.client-head-actions{
  position:relative;z-index:1;
  display:flex;gap:8px;flex-wrap:wrap;
  justify-content:flex-end;padding-bottom:3px
}

/* METRICS */
.metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid #282828;
  border-bottom:1px solid #282828;
  margin-bottom:34px
}
.metric{
  position:relative;
  min-height:140px;
  padding:22px 22px 20px;
  border:0;border-right:1px solid #282828;
  border-radius:0;background:transparent
}
.metric:last-child{border-right:0}
.metric span{
  display:block;color:#65645e;
  font-size:8px;font-weight:700;letter-spacing:.11em;text-transform:uppercase
}
.metric strong{
  display:block;margin-top:24px;
  font-size:34px;font-weight:500;letter-spacing:-.045em
}
.metric small{
  display:block;margin-top:6px;color:#4f4e49;
  font-size:8px;letter-spacing:.03em
}

/* CONTENT */
.main-grid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(330px,.58fr);
  gap:42px;align-items:start
}
.panel{
  border:0;border-top:1px solid #2a2a2a;border-radius:0;
  background:transparent;overflow:visible
}
.panel+.panel{margin-top:52px}
.panel-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:18px;padding:21px 0 20px;border-bottom:1px solid #202020
}
.panel-head h3{
  margin:0;font-size:21px;font-weight:500;letter-spacing:-.035em
}
.panel-head p{
  margin:7px 0 0;color:#5f5e58;font-size:9px;line-height:1.5
}
.panel-body{padding:0}

/* TASKS */
.task-list,.timeline,.meeting-list{display:grid}
.task{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  gap:16px;align-items:start;
  padding:19px 0;
  border-bottom:1px solid #1d1d1d;
  transition:padding .3s ease,background .3s ease
}
.task:hover{padding-left:10px;padding-right:10px;background:#080808}
.check{
  width:22px;height:22px;
  border:1px solid #3a3a3a;border-radius:50%;
  background:transparent;color:transparent;
  font-size:9px;display:grid;place-items:center;
  transition:.25s ease
}
.check:hover{background:#f1eee7;color:#111;border-color:#f1eee7}
.task strong{
  display:block;font-size:11px;font-weight:600;line-height:1.55
}
.task small{
  display:block;margin-top:5px;color:#66655f;font-size:9px;line-height:1.5
}
.task-project{
  display:inline-flex;align-items:center;min-height:21px;
  padding:0 8px;border:1px solid #282828;border-radius:999px;
  color:#77766f;font-size:8px
}
.task-due{color:#64635d;font-size:8px;white-space:nowrap;padding-top:4px}

/* LOG */
.log-item{
  position:relative;
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  column-gap:22px;
  padding:22px 0;
  border-bottom:1px solid #1d1d1d
}
.log-item:before{
  content:"";position:absolute;
  left:69px;top:28px;width:4px;height:4px;border-radius:50%;background:#c9c3b7
}
.log-item time{
  grid-row:1 / span 4;
  color:#575650;font-size:8px;letter-spacing:.05em
}
.log-item strong{display:block;font-size:11px;font-weight:600}
.log-item p{
  margin:7px 0 0;color:#7d7c75;font-size:9px;line-height:1.65;white-space:pre-line
}
.log-meta{
  display:flex;gap:6px;flex-wrap:wrap;margin-top:10px
}
.tag{
  display:inline-flex;min-height:21px;align-items:center;
  padding:0 8px;border:1px solid #252525;border-radius:999px;
  color:#67665f;font-size:8px
}

/* MEETING */
.meeting{
  padding:24px 0;border-bottom:1px solid #1d1d1d
}
.meeting-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px
}
.meeting strong{font-size:12px;font-weight:600}
.meeting time{color:#55544f;font-size:8px;letter-spacing:.05em}
.meeting .attendees{margin-top:5px;color:#5d5c56;font-size:8px}
.meeting>p{
  max-width:800px;margin:15px 0 0;
  color:#85847d;font-size:10px;line-height:1.75;white-space:pre-line
}
.meeting-section{
  margin-top:17px;padding:14px 0 0;border-top:1px solid #1b1b1b
}
.meeting-section span{
  display:block;margin-bottom:7px;color:#55544f;
  font-size:8px;font-weight:700;letter-spacing:.1em
}
.meeting-section p{
  margin:0;color:#9a9992;font-size:10px;line-height:1.65;white-space:pre-line
}

/* SIDE INFO */
aside .panel{border-top-color:#323232}
.contract-card{
  padding:18px 0;border-bottom:1px solid #1d1d1d
}
.contract-card:last-child{border-bottom:0}
.contract-card strong{display:block;font-size:10px;font-weight:600}
.contract-card p{margin:6px 0 0;color:#66655f;font-size:8px;line-height:1.55}
.contract-money{
  display:grid;grid-template-columns:1fr 1fr;gap:1px;
  margin-top:13px;background:#222
}
.contract-money div{padding:13px;background:#090909}
.contract-money span{
  display:block;color:#50504b;font-size:8px;letter-spacing:.04em
}
.contract-money b{display:block;margin-top:7px;font-size:11px;font-weight:600}
.client-info{display:grid;padding:2px 0}
.info-row{
  display:grid;grid-template-columns:86px 1fr;gap:12px;
  padding:12px 0;border-bottom:1px solid #1b1b1b
}
.info-row:last-child{border-bottom:0}
.info-row span{color:#50504b;font-size:8px;letter-spacing:.04em}
.info-row strong{
  font-size:9px;font-weight:500;word-break:break-all;color:#a5a49d
}
.empty{
  padding:40px 10px;text-align:left;
  color:#54534e;font-size:9px;line-height:1.7
}

/* MODAL */
.modal-backdrop{
  position:fixed;inset:0;z-index:60;
  background:rgba(0,0,0,.78);backdrop-filter:blur(8px)
}
.modal{
  position:fixed;left:50%;top:50%;
  transform:translate(-50%,-50%);
  z-index:61;
  width:min(680px,calc(100vw - 30px));
  max-height:90vh;overflow:auto;
  border:1px solid #292929;border-radius:0;
  background:#080808;
  box-shadow:0 40px 120px rgba(0,0,0,.65)
}
.modal-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:16px;padding:24px 26px;border-bottom:1px solid #242424
}
.modal-head h3{margin:8px 0 0;font-size:23px;font-weight:500;letter-spacing:-.04em}
.x{
  width:34px;height:34px;border:1px solid #303030;border-radius:50%;
  background:transparent;color:#999;font-size:16px
}
.x:hover{background:#eeeae1;color:#111}
.modal-body{padding:24px 26px 28px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:26px}
.toast{
  position:fixed;right:28px;bottom:28px;z-index:100;
  padding:12px 16px;border:1px solid #d8d4ca;border-radius:0;
  background:#f2efe8;color:#111;
  font-size:9px;font-weight:700;letter-spacing:.03em
}
.mobile-client-toggle{display:none}

/* MOTION */
.client-head,.metrics,.panel{
  animation:fadeUp .7s cubic-bezier(.22,.61,.36,1) both
}
.metrics{animation-delay:.06s}
.main-grid{animation:fadeUp .75s .12s cubic-bezier(.22,.61,.36,1) both}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:1180px){
  .workspace{grid-template-columns:230px minmax(0,1fr)}
  .content{padding:40px 34px 70px}
  .main-grid{grid-template-columns:1fr;gap:50px}
  .metrics{grid-template-columns:repeat(2,1fr)}
  .metric:nth-child(2){border-right:0}
  .metric:nth-child(-n+2){border-bottom:1px solid #282828}
}
@media(max-width:760px){
  .login{grid-template-columns:1fr}
  .login-visual{min-height:42vh;padding:32px;border-right:0;border-bottom:1px solid #1b1b1b}
  .login-copy h1{font-size:56px}
  .login-form-wrap{padding:36px 24px}
  .workspace{grid-template-columns:1fr}
  .sidebar{
    position:fixed;left:0;top:0;bottom:0;z-index:40;
    width:278px;transform:translateX(-100%);transition:.32s cubic-bezier(.22,.61,.36,1)
  }
  .sidebar.open{transform:translateX(0)}
  .mobile-client-toggle{display:inline-flex}
  .topbar{padding:0 16px;height:66px}
  .topbar-title span{display:none}
  .content{padding:28px 20px 60px}
  .client-head{min-height:285px;align-items:flex-start;flex-direction:column;justify-content:flex-end;padding-bottom:28px}
  .client-head:after{font-size:82px;top:15px}
  .client-head h2{font-size:54px}
  .client-head-actions{justify-content:flex-start}
  .metrics{grid-template-columns:1fr 1fr}
  .metric{min-height:118px;padding:18px 16px}
  .metric strong{font-size:28px}
  .form-grid{grid-template-columns:1fr;gap:0}
  .log-item{grid-template-columns:67px minmax(0,1fr);column-gap:16px}
  .log-item:before{left:54px}
}

/* NINEWORKS WEBSITE HIERARCHY */
.site-shell{min-height:100vh;background:#050505}
.site-header{
  position:sticky;top:0;z-index:50;height:76px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 34px;border-bottom:1px solid #1c1c1c;
  background:rgba(5,5,5,.92);backdrop-filter:blur(18px)
}
.site-header-left,.site-header-right{display:flex;align-items:center}
.site-header-left{gap:22px}
.site-logo{width:142px;filter:brightness(0) invert(1)}
.site-kicker,.site-meta{
  font-size:8px;letter-spacing:.14em;color:#55544f;font-weight:700
}
.site-header-right{gap:18px}
.header-action,.header-menu{
  border:0;background:transparent;color:#b9b7b0;
  font-size:8px;letter-spacing:.09em;font-weight:700;padding:8px 0
}
.header-action:hover,.header-menu:hover{color:#fff}
.header-action.solid{
  border:1px solid #333;padding:10px 13px
}
.header-action.solid:hover{border-color:#eee;color:#111;background:#eee}
.header-menu{display:none}

.workspace{grid-template-columns:268px minmax(0,1fr)}
.sidebar{
  top:76px;height:calc(100vh - 76px);
  padding:36px 20px 24px
}
.side-intro{padding:0 4px 20px}
.side-intro h2{
  margin:7px 0 8px;font-size:26px;font-weight:500;letter-spacing:-.045em
}
.side-intro p:last-child{
  margin:0;color:#67665f;font-size:9px;line-height:1.6
}
.side-label,.brand{display:none}

.content{
  max-width:none;
  padding:0 48px 100px
}

.client-page{max-width:1500px;margin:0 auto}
.client-hero{
  position:relative;
  min-height:560px;
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:40px;padding:96px 0 54px;border-bottom:1px solid #242424
}
.client-hero:before{
  content:"";position:absolute;left:0;top:108px;width:56px;height:1px;background:#b7a98f
}
.client-hero-copy{max-width:1050px}
.client-hero-copy .eyebrow{padding-left:76px}
.client-hero h1{
  margin:34px 0 26px;
  font-size:clamp(64px,8.4vw,132px);
  line-height:.88;letter-spacing:-.075em;font-weight:500
}
.client-lead{
  max-width:720px;margin:0;
  color:#84837c;font-size:13px;line-height:1.8
}
.client-hero-actions{
  display:flex;flex-direction:column;align-items:flex-start;
  gap:14px;padding-bottom:4px;min-width:190px
}
.hero-link,.section-link{
  border:0;background:transparent;color:#aaa79f;padding:0;
  font-size:8px;font-weight:700;letter-spacing:.1em;text-align:left
}
.hero-link:hover,.section-link:hover{color:#fff}

.client-facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border-bottom:1px solid #262626
}
.client-facts>div{
  min-height:150px;padding:24px 22px 22px;
  border-right:1px solid #262626
}
.client-facts>div:last-child{border-right:0}
.client-facts span{
  display:block;color:#5a5954;font-size:8px;font-weight:700;letter-spacing:.12em
}
.client-facts strong{
  display:block;margin-top:28px;font-size:34px;font-weight:500;letter-spacing:-.045em
}
.client-facts small{
  display:block;margin-top:7px;color:#494844;font-size:8px
}

.nw-section{
  padding:92px 0 0;
  border-bottom:1px solid #202020
}
.nw-section-head{
  display:grid;grid-template-columns:minmax(0,1fr) 180px;
  gap:40px;align-items:end;padding-bottom:38px
}
.nw-section-head h2{
  margin:10px 0 0;
  font-size:clamp(34px,4vw,58px);
  line-height:1.02;letter-spacing:-.06em;font-weight:500
}
.nw-section-body{border-top:1px solid #282828}
.nw-section .task{padding:24px 0}
.nw-section .task:hover{padding-left:12px;padding-right:12px}
.nw-section .log-item{padding:26px 0}
.nw-section .meeting{padding:28px 0}
.empty.large{padding:48px 0;color:#55544f}

.split-section{padding-bottom:92px}
.split-info{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:60px;border-top:1px solid #282828
}
.client-profile-block{padding-top:8px}
.contract-list{padding-top:8px}
.split-info .info-row{
  grid-template-columns:100px 1fr;padding:16px 0
}
.split-info .contract-card{padding:20px 0}

@media(max-width:1100px){
  .site-meta{display:none}
  .client-hero{min-height:480px}
  .client-facts{grid-template-columns:1fr 1fr}
  .client-facts>div:nth-child(2){border-right:0}
  .client-facts>div:nth-child(-n+2){border-bottom:1px solid #262626}
  .split-info{grid-template-columns:1fr;gap:22px}
}
@media(max-width:760px){
  .site-header{height:66px;padding:0 16px}
  .site-kicker,.header-action,.site-meta{display:none}
  .site-logo{width:126px}
  .header-menu{display:block}
  .sidebar{top:66px;height:calc(100vh - 66px)}
  .content{padding:0 20px 70px}
  .client-hero{min-height:430px;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:72px 0 34px}
  .client-hero:before{top:74px}
  .client-hero-copy .eyebrow{padding-left:72px}
  .client-hero h1{font-size:56px;margin-top:28px}
  .client-hero-actions{min-width:0}
  .client-facts>div{min-height:118px;padding:18px 14px}
  .client-facts strong{font-size:28px;margin-top:22px}
  .nw-section{padding-top:66px}
  .nw-section-head{grid-template-columns:1fr;gap:18px;padding-bottom:28px}
  .nw-section-head h2{font-size:36px}
}


/* WORK DESK DASHBOARD */
.desk-nav{display:grid;gap:1px;margin:0 0 34px;border-top:1px solid #1c1c1c;border-bottom:1px solid #1c1c1c}
.desk-nav-item{
  display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:center;
  width:100%;padding:14px 4px;border:0;border-bottom:1px solid #151515;background:transparent;color:#67665f;text-align:left
}
.desk-nav-item:last-child{border-bottom:0}
.desk-nav-item span{grid-row:1 / span 2;color:#45443f;font-size:8px}
.desk-nav-item strong{font-size:9px;font-weight:700;letter-spacing:.08em}
.desk-nav-item small{font-size:7px;letter-spacing:.08em;color:#44433f}
.desk-nav-item.active{color:#f3f0e8}
.desk-nav-item.active span{color:#b3a78f}
.desk-nav-item.active small{color:#67665f}

.desk-page{max-width:1500px;margin:0 auto}
.desk-hero{
  min-height:420px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:60px;align-items:end;
  padding:92px 0 46px;border-bottom:1px solid #272727
}
.desk-hero h1{
  margin:18px 0 22px;font-size:clamp(58px,7.2vw,108px);line-height:.91;letter-spacing:-.07em;font-weight:500
}
.desk-hero p:last-child{max-width:760px;margin:0;color:#85847d;font-size:12px;line-height:1.8}
.desk-hero-side{padding:0 0 4px;border-left:1px solid #2b2b2b;padding-left:28px}
.desk-hero-side span{display:block;color:#5a5954;font-size:8px;font-weight:700;letter-spacing:.13em}
.desk-hero-side strong{display:block;margin-top:14px;font-size:72px;line-height:.9;font-weight:500;letter-spacing:-.06em}
.desk-hero-side small{display:block;margin-top:10px;color:#55544f;font-size:8px;letter-spacing:.04em}

.desk-metrics{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #262626
}
.desk-metrics>div{min-height:128px;padding:22px 18px;border-right:1px solid #262626}
.desk-metrics>div:last-child{border-right:0}
.desk-metrics span{display:block;color:#55544f;font-size:8px;font-weight:700;letter-spacing:.1em}
.desk-metrics strong{display:block;margin-top:20px;font-size:32px;font-weight:500;letter-spacing:-.04em}
.desk-metrics small{display:block;margin-top:5px;color:#4c4b47;font-size:8px}

.desk-grid{display:grid;gap:38px}
.desk-grid.primary{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);padding-top:70px}
.desk-grid.secondary{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);padding-top:70px}
.desk-block{border-top:1px solid #2a2a2a}
.desk-block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:20px 0 20px;border-bottom:1px solid #202020}
.desk-block-head h2{margin:8px 0 0;font-size:28px;font-weight:500;letter-spacing:-.045em}
.desk-block-head p{margin:6px 0 0;color:#565550;font-size:8px}
.desk-block-head>span{color:#4f4e49;font-size:8px;letter-spacing:.1em}

.desk-task-list{display:grid}
.desk-task{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:14px;align-items:start;padding:18px 0;border-bottom:1px solid #1c1c1c}
.desk-check{
  width:20px;height:20px;border:1px solid #3a3a3a;border-radius:50%;background:transparent;color:transparent;font-size:8px
}
.desk-check:hover{background:#eeeae1;border-color:#eeeae1;color:#111}
.desk-task-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.desk-task-meta span{color:#5c5b55;font-size:7px;letter-spacing:.08em;text-transform:uppercase}
.desk-task-main strong{display:block;font-size:11px;font-weight:600}
.desk-task-main p{margin:5px 0 0;color:#6f6e68;font-size:9px;line-height:1.5}
.desk-task time{color:#66655f;font-size:8px;padding-top:3px}
.desk-task time.overdue{color:#c78e87}

.attention-list{display:grid}
.attention-item{
  width:100%;display:grid;grid-template-columns:92px minmax(0,1fr);column-gap:14px;row-gap:4px;
  padding:16px 0;border:0;border-bottom:1px solid #1c1c1c;background:transparent;color:inherit;text-align:left
}
.attention-item span{grid-row:1 / span 2;color:#8d776a;font-size:7px;font-weight:700;letter-spacing:.1em}
.attention-item strong{font-size:10px;font-weight:600}
.attention-item small{color:#5d5c56;font-size:8px}
.attention-item:hover strong{color:#fff}

.workload-chart{
  height:270px;display:grid;grid-template-columns:repeat(7,1fr);gap:10px;align-items:end;padding:28px 0 4px
}
.workload-day{height:100%;display:grid;grid-template-rows:18px 1fr 16px 14px;gap:6px;text-align:center}
.workload-value{color:#77766f;font-size:8px}
.workload-track{position:relative;height:100%;background:#0b0b0b;border-bottom:1px solid #2a2a2a;display:flex;align-items:flex-end}
.workload-track i{display:block;width:100%;background:#e9e6dd;min-height:4px;transition:height .4s ease}
.workload-day span{font-size:7px;color:#6a6963;letter-spacing:.08em}
.workload-day small{font-size:7px;color:#44433f}

.client-load-list{display:grid}
.client-load-row{
  display:grid;grid-template-columns:120px minmax(80px,1fr) 28px;gap:12px;align-items:center;width:100%;
  padding:14px 0;border:0;border-bottom:1px solid #1d1d1d;background:transparent;color:inherit;text-align:left
}
.client-load-row>span{font-size:9px;color:#a19f97}
.client-load-row>div{height:2px;background:#1d1d1d;overflow:hidden}
.client-load-row i{display:block;height:100%;background:#d9d5ca}
.client-load-row strong{font-size:10px;font-weight:600;text-align:right}
.client-load-row small{grid-column:2 / 4;color:#4f4e49;font-size:7px}
.client-load-row:hover>span{color:#fff}

.recent-block{margin-top:70px;padding-bottom:90px}
.recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #1f1f1f}
.recent-item{min-height:150px;padding:18px;border-right:1px solid #1f1f1f;border-bottom:1px solid #1f1f1f}
.recent-item:nth-child(4n){border-right:0}
.recent-item time{display:block;color:#55544f;font-size:8px}
.recent-item span{display:block;margin-top:20px;color:#77766f;font-size:8px;letter-spacing:.06em}
.recent-item strong{display:block;margin-top:7px;font-size:10px;font-weight:600;line-height:1.45}
.recent-item small{display:block;margin-top:14px;color:#44433f;font-size:7px;letter-spacing:.08em}

@media(max-width:1180px){
  .desk-metrics{grid-template-columns:repeat(3,1fr)}
  .desk-metrics>div:nth-child(3){border-right:0}
  .desk-metrics>div:nth-child(-n+3){border-bottom:1px solid #262626}
  .desk-grid.primary,.desk-grid.secondary{grid-template-columns:1fr}
  .recent-grid{grid-template-columns:repeat(2,1fr)}
  .recent-item:nth-child(2n){border-right:0}
}
@media(max-width:760px){
  .desk-hero{min-height:360px;grid-template-columns:1fr;padding:70px 0 34px;gap:28px}
  .desk-hero h1{font-size:52px}
  .desk-hero-side{border-left:0;border-top:1px solid #242424;padding:18px 0 0}
  .desk-hero-side strong{font-size:52px}
  .desk-metrics{grid-template-columns:1fr 1fr}
  .desk-metrics>div{min-height:105px;padding:16px 12px}
  .desk-metrics>div:nth-child(odd){border-right:1px solid #262626}
  .desk-metrics>div:nth-child(even){border-right:0}
  .desk-metrics>div{border-bottom:1px solid #262626}
  .desk-grid.primary,.desk-grid.secondary{padding-top:50px;gap:50px}
  .desk-block-head h2{font-size:24px}
  .workload-chart{height:220px;gap:6px}
  .client-load-row{grid-template-columns:95px minmax(60px,1fr) 24px}
  .recent-grid{grid-template-columns:1fr}
  .recent-item{border-right:0}
}


/* NINEWORKS TONE REFINEMENT · 2026-11-12 */
.opening-intro{
  position:fixed;inset:0;z-index:9999;
  display:grid;place-items:center;
  background:#050505;
  opacity:1;visibility:visible;
  transition:opacity .55s ease,visibility .55s ease;
}
.opening-intro-inner{
  display:flex;flex-direction:column;align-items:center;gap:18px;
  opacity:0;transform:translateY(8px);
  transition:opacity .55s ease,transform .55s cubic-bezier(.22,.61,.36,1);
}
.opening-intro.show .opening-intro-inner{opacity:1;transform:translateY(0)}
.opening-intro.hide{opacity:0;visibility:hidden}
.opening-intro img{width:168px;filter:brightness(0) invert(1)}
.opening-intro span{
  color:#4e4d48;font-size:8px;font-weight:700;letter-spacing:.16em
}

/* Header proportions aligned to nineworks.kr */
.site-header{height:72px;padding:0 32px}
.site-logo{width:132px}
.site-kicker{font-size:7px;letter-spacing:.13em}
.site-meta{font-size:7px}
.header-action,.header-menu{font-size:7px}
.workspace{grid-template-columns:258px minmax(0,1fr)}
.sidebar{top:72px;height:calc(100vh - 72px);padding-top:28px}
.side-intro{padding-top:0}
.side-intro h2{font-size:22px;margin-top:6px}
.side-intro p:last-child{font-size:8px;line-height:1.6}
.content{padding:0 42px 88px}

/* Dashboard hierarchy: editorial, not oversized */
.desk-hero.compact{
  min-height:0;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:56px;
  align-items:end;
  padding:72px 0 38px;
}
.desk-hero.compact h1{
  margin:13px 0 15px;
  font-size:clamp(38px,4.4vw,62px);
  line-height:1;
  letter-spacing:-.055em;
  font-weight:500;
}
.desk-hero.compact .desk-hero-copy>p:last-child{
  max-width:720px;
  font-size:10px;
  line-height:1.75;
  color:#75746e;
}
.desk-hero-side.compact{
  padding:0 0 2px 24px;
  border-left:1px solid #272727;
}
.desk-hero-side.compact>span{
  color:#625f58;
  font-size:8px;
  letter-spacing:.11em;
  font-weight:700;
}
.desk-hero-side.compact strong{
  margin-top:10px;
  font-size:48px;
  line-height:1;
  letter-spacing:-.04em;
}
.desk-hero-side.compact small{
  margin-top:9px;
  font-size:7px;
  letter-spacing:.06em;
}

/* Metrics are supporting information, not hero cards */
.desk-metrics>div{min-height:104px;padding:18px 16px}
.desk-metrics span{font-size:7px}
.desk-metrics strong{margin-top:15px;font-size:24px}
.desk-metrics small{font-size:7px}

/* Section title hierarchy follows 9works site */
.desk-grid.primary,.desk-grid.secondary{padding-top:58px}
.desk-block-head{padding:17px 0 17px}
.desk-block-head .eyebrow{font-size:7px}
.desk-block-head h2{
  margin-top:7px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.04em;
}
.desk-block-head p,.desk-block-head>span{font-size:7px}
.desk-task{padding:15px 0}
.desk-task-main strong{font-size:10px}
.desk-task-main p{font-size:8px}
.attention-item{padding:14px 0}
.attention-item strong{font-size:9px}
.attention-item small,.attention-item span{font-size:7px}
.workload-chart{height:220px;padding-top:24px}
.recent-block{margin-top:58px;padding-bottom:76px}
.recent-item{min-height:130px;padding:16px}
.recent-item strong{font-size:9px}

/* Client detail hierarchy should use same scale */
.client-hero{
  min-height:0;
  padding:72px 0 36px;
}
.client-hero:before{top:80px;width:46px}
.client-hero-copy .eyebrow{padding-left:62px}
.client-hero h1{
  margin:24px 0 18px;
  font-size:clamp(42px,5.4vw,76px);
  line-height:.98;
  letter-spacing:-.06em;
}
.client-lead{font-size:10px;line-height:1.75;max-width:660px}
.client-facts>div{min-height:112px;padding:18px 16px}
.client-facts span{font-size:7px}
.client-facts strong{margin-top:18px;font-size:26px}
.client-facts small{font-size:7px}
.nw-section{padding-top:64px}
.nw-section-head{padding-bottom:28px}
.nw-section-head .eyebrow{font-size:7px}
.nw-section-head h2{
  margin-top:8px;
  font-size:clamp(26px,3vw,40px);
  line-height:1.08;
  letter-spacing:-.05em;
}
.hero-link,.section-link{font-size:7px}

/* Sidebar closer to main website editorial density */
.desk-nav{margin-bottom:28px}
.desk-nav-item{padding:12px 4px}
.desk-nav-item strong{font-size:8px}
.desk-nav-item small,.desk-nav-item span{font-size:7px}
.client-search{margin-bottom:12px}
.client-button{padding:10px 4px}
.client-avatar{width:30px;height:30px;font-size:8px}
.client-button strong{font-size:9px}
.client-button small,.client-count{font-size:7px}

@media(max-width:1100px){
  .content{padding-left:30px;padding-right:30px}
  .desk-hero.compact{grid-template-columns:1fr 210px;gap:36px;padding-top:58px}
}
@media(max-width:760px){
  .opening-intro img{width:145px}
  .site-header{height:64px;padding:0 16px}
  .site-logo{width:120px}
  .sidebar{top:64px;height:calc(100vh - 64px)}
  .content{padding:0 18px 60px}
  .desk-hero.compact{
    grid-template-columns:1fr;
    gap:22px;
    padding:48px 0 28px;
  }
  .desk-hero.compact h1{font-size:38px}
  .desk-hero-side.compact{
    border-left:0;border-top:1px solid #242424;
    padding:16px 0 0;
  }
  .desk-hero-side.compact strong{font-size:38px}
  .desk-metrics>div{min-height:92px;padding:14px 11px}
  .desk-metrics strong{font-size:22px}
  .desk-block-head h2{font-size:20px}
  .client-hero{padding:50px 0 28px}
  .client-hero h1{font-size:42px}
  .nw-section{padding-top:50px}
  .nw-section-head h2{font-size:28px}
}

/* NINEWORKS WORK JOURNAL: compact editorial record */
.journal-page{max-width:1450px;margin:0 auto;padding-bottom:96px}
.journal-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:72px 0 32px;border-bottom:1px solid #292929}
.journal-hero h1{margin:12px 0 14px;font-size:clamp(34px,4vw,54px);font-weight:500;letter-spacing:-.05em}
.journal-hero>div>p:last-child{margin:0;color:#76756e;font-size:10px;line-height:1.7}
.journal-controls{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.journal-controls label{display:flex;flex-direction:column;gap:8px;color:#77766e;font-size:8px;font-weight:700;letter-spacing:.12em}
.journal-controls input[type="date"]{padding:11px 12px;background:#080808;border:1px solid #343434;color:#e4e1d9;font:inherit;color-scheme:dark}
.journal-import{cursor:pointer;padding:12px 15px;border:1px solid #55544f;color:#eceae4!important;white-space:nowrap}
.journal-import input{display:none}
.journal-import:hover{background:#eae7df;color:#080808!important}
.journal-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:42px;padding-top:42px}
.journal-group-header{border-top:1px solid #2d2d2d;padding-top:16px;padding-bottom:14px}
.journal-group-header strong{font-size:10px;font-weight:500}
.journal-date-row{display:flex;flex-direction:column;gap:6px;width:100%;padding:15px 8px;border:0;border-bottom:1px solid #242424;background:transparent;color:#8d8b84;text-align:left;cursor:pointer}
.journal-date-row.active{color:#fff;background:#111}
.journal-date-row span{font-size:11px;font-weight:600}
.journal-date-row strong,.journal-date-row small{font-size:8px;font-weight:400;color:#66645f}
.journal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-top:1px solid #2d2d2d;padding:17px 0 24px}
.journal-head h2,.journal-blank h2{margin:12px 0;font-size:28px;font-weight:500;letter-spacing:-.04em}
.journal-head p,.journal-blank p:last-child{margin:0;color:#8a8880;font-size:10px;line-height:1.8;max-width:740px}
.journal-export{padding:10px 13px;border:1px solid #343434;background:transparent;color:#dad8d2;font-size:8px;letter-spacing:.06em;cursor:pointer}
.journal-export:hover{border-color:#bdbab2}
.journal-status{display:flex;flex-wrap:wrap;gap:18px;padding:12px 0 26px;border-bottom:1px solid #292929}
.journal-status span{font-size:8px;color:#77766e}
.journal-section{padding:34px 0;border-bottom:1px solid #222}
.journal-section h3{margin:9px 0 21px;font-size:20px;font-weight:500;letter-spacing:-.035em}
.journal-work{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:17px 0;border-top:1px solid #232323}
.journal-work span{display:block;margin-bottom:8px;color:#76746c;font-size:8px;letter-spacing:.03em}
.journal-work strong{display:block;font-size:11px;font-weight:600;line-height:1.5}
.journal-work p{margin:8px 0;color:#77766e;font-size:10px;line-height:1.65;white-space:pre-wrap}
.journal-work small{display:block;color:#8f8d86;font-size:9px;line-height:1.6}
.journal-work em{align-self:start;color:#bbb7ab;font-size:8px;font-style:normal;white-space:nowrap}
.journal-bullets{list-style:none;padding:0;margin:0}
.journal-bullets li{position:relative;padding:10px 0 10px 16px;border-top:1px solid #1b1b1b;color:#a3a198;font-size:10px;line-height:1.75}
.journal-bullets li::before{position:absolute;left:0;top:17px;width:4px;height:4px;background:#88867e;content:""}
.journal-empty,.journal-prose{font-size:10px;color:#98968e;line-height:1.8}
.journal-blank{padding:23px 0;border-top:1px solid #2d2d2d}
.journal-error{color:#d1a59d;font-size:10px;padding:12px;border:1px solid #44302b}
@media(max-width:960px){.journal-layout{grid-template-columns:1fr;gap:26px}.journal-list{display:flex;flex-direction:row;gap:10px;overflow-x:auto}.journal-group-header{min-width:125px}.journal-date-row{min-width:155px}}
@media(max-width:760px){.journal-hero{padding:46px 0 28px;display:block}.journal-hero h1{font-size:38px}.journal-controls{margin-top:24px}.journal-layout{padding-top:28px}.journal-head h2{font-size:24px}.journal-section{padding:25px 0}.journal-section h3{font-size:18px}.journal-work{grid-template-columns:1fr;gap:8px}}


/* TRADE PARTNER / CLIENT MASTER */
.partner-dashboard,.partner-detail{max-width:1500px;margin:0 auto}
.partner-hero{
  min-height:250px;display:flex;align-items:flex-end;justify-content:space-between;gap:36px;
  padding:58px 0 34px;border-bottom:1px solid #262626
}
.partner-hero h1,.partner-detail-head h1{
  margin:10px 0 12px;font-size:clamp(38px,4.5vw,64px);font-weight:500;letter-spacing:-.055em
}
.partner-hero p:last-child,.partner-detail-head p:last-child{
  max-width:700px;margin:0;color:#77766f;font-size:10px;line-height:1.75
}
.partner-hero-actions,.partner-detail-actions{display:flex;gap:8px;flex-wrap:wrap}

.partner-metrics,.partner-detail-metrics{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #262626
}
.partner-metrics>div,.partner-detail-metrics>div{
  min-height:110px;padding:18px 16px;border-right:1px solid #262626
}
.partner-metrics>div:last-child,.partner-detail-metrics>div:last-child{border-right:0}
.partner-metrics span,.partner-detail-metrics span{
  display:block;color:#575650;font-size:7px;font-weight:700;letter-spacing:.1em
}
.partner-metrics strong,.partner-detail-metrics strong{
  display:block;margin-top:16px;font-size:23px;font-weight:500;letter-spacing:-.04em
}
.partner-metrics small,.partner-detail-metrics small{display:block;margin-top:5px;color:#484743;font-size:7px}

.partner-list-section{padding:58px 0 80px}
.partner-list-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid #272727
}
.partner-list-head h2,.partner-section-head h2{
  margin:7px 0 0;font-size:25px;font-weight:500;letter-spacing:-.04em
}
.partner-search{width:min(390px,100%)}
.partner-search input{
  width:100%;height:38px;border:0;border-bottom:1px solid #2d2d2d;border-radius:0;
  background:transparent;color:#ddd;outline:none;font-size:9px
}
.partner-table-wrap{overflow:auto}
.partner-table{width:100%;border-collapse:collapse;min-width:1040px}
.partner-table th{
  padding:13px 10px;border-bottom:1px solid #282828;color:#565550;text-align:left;
  font-size:7px;font-weight:700;letter-spacing:.09em;white-space:nowrap
}
.partner-table td{
  padding:16px 10px;border-bottom:1px solid #1d1d1d;color:#9a9992;font-size:9px;vertical-align:top
}
.partner-table tbody tr{cursor:pointer;transition:background .25s ease}
.partner-table tbody tr:hover{background:#090909}
.partner-table td strong{display:block;color:#e8e6df;font-size:9px;font-weight:600}
.partner-table td small{display:block;margin-top:5px;color:#4f4e49;font-size:7px;line-height:1.45;max-width:340px}
.partner-table td span{display:block;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.partner-import-empty{
  padding:62px 0;max-width:600px
}
.partner-import-empty h3{margin:8px 0 12px;font-size:25px;font-weight:500;letter-spacing:-.04em}
.partner-import-empty p{margin:0 0 22px;color:#716f69;font-size:9px;line-height:1.75}

.partner-detail-head{
  min-height:260px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;
  padding:58px 0 34px;border-bottom:1px solid #272727
}
.back-link{
  display:block;margin-bottom:18px;border:0;background:transparent;color:#5f5e58;padding:0;
  font-size:7px;font-weight:700;letter-spacing:.1em
}
.back-link:hover{color:#fff}
.partner-detail-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:58px}
.partner-detail-grid{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:40px
}
.partner-info-panel{border-top:1px solid #2a2a2a}
.partner-section-head{
  position:relative;padding:20px 0 20px;border-bottom:1px solid #202020
}
.partner-section-head>span{position:absolute;right:0;bottom:21px;color:#4f4e49;font-size:7px;letter-spacing:.08em}
.partner-info-grid{
  display:grid;grid-template-columns:1fr 1fr
}
.partner-info-grid>div,.partner-sales-notes>div{
  min-height:78px;padding:15px 0;border-bottom:1px solid #1d1d1d
}
.partner-info-grid>div:nth-child(odd):not(.wide){padding-right:18px;border-right:1px solid #1d1d1d}
.partner-info-grid>div:nth-child(even){padding-left:18px}
.partner-info-grid .wide{grid-column:1 / -1}
.partner-info-grid span,.partner-sales-notes span{
  display:block;color:#50504b;font-size:7px;font-weight:700;letter-spacing:.08em
}
.partner-info-grid strong,.partner-sales-notes strong{
  display:block;margin-top:8px;color:#aaa8a0;font-size:9px;font-weight:500;line-height:1.6;word-break:break-word
}
.partner-sales-notes{display:grid}
.partner-invoices{margin-top:58px;padding-bottom:90px;border-top:1px solid #2a2a2a}
.invoice-table{min-width:850px}
.invoice-status{
  display:inline-flex!important;width:auto!important;min-height:20px;align-items:center;padding:0 7px;border:1px solid #2d2d2d;
  color:#77766f!important;font-size:7px!important
}
.invoice-status.correction{border-color:#634a47;color:#b88a83!important}

@media(max-width:1180px){
  .partner-metrics{grid-template-columns:repeat(3,1fr)}
  .partner-metrics>div:nth-child(3){border-right:0}
  .partner-metrics>div:nth-child(-n+3){border-bottom:1px solid #262626}
  .partner-detail-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .partner-hero,.partner-detail-head{min-height:0;flex-direction:column;align-items:flex-start;padding:44px 0 28px}
  .partner-hero h1,.partner-detail-head h1{font-size:38px}
  .partner-metrics,.partner-detail-metrics{grid-template-columns:1fr 1fr}
  .partner-metrics>div,.partner-detail-metrics>div{min-height:94px;padding:14px 11px;border-bottom:1px solid #262626}
  .partner-metrics strong,.partner-detail-metrics strong{font-size:19px}
  .partner-list-head{align-items:flex-start;flex-direction:column}
  .partner-search{width:100%}
  .partner-info-grid{grid-template-columns:1fr}
  .partner-info-grid>div:nth-child(odd):not(.wide){padding-right:0;border-right:0}
  .partner-info-grid>div:nth-child(even){padding-left:0}
}

/* Journal meeting records: keep feedback distinct from completed meetings */
.journal-meeting-card{padding:18px 0 22px;border-bottom:1px solid #242424}
.journal-meeting-head{display:flex;gap:14px;align-items:center;justify-content:space-between}
.journal-meeting-head strong{color:#c7c7c3;font-size:12px;font-weight:600}
.journal-meeting-head span{color:#8d8981;font-size:9px;text-align:right;max-width:220px}
.journal-meeting-client{font-size:10px;color:#77746f;margin:8px 0 14px}
.journal-followups{margin-top:14px;padding:13px 16px;border:1px solid #2c2b2a;border-radius:4px}
.journal-followups>span{font-size:9px;color:#85817a;letter-spacing:.03em}
.journal-followups ul{margin:8px 0 0;padding-left:18px}
.journal-followups li{font-size:11px;color:#aaa6a0;line-height:1.65;padding:3px 0}


/* WORK DESK OVERVIEW REORGANIZATION */
.overview-dashboard{max-width:1500px;margin:0 auto;padding-bottom:88px}
.overview-head{
  min-height:220px;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:40px;align-items:end;
  padding:54px 0 30px;border-bottom:1px solid #262626
}
.overview-head h1{
  margin:10px 0 11px;font-size:clamp(34px,4vw,52px);font-weight:500;letter-spacing:-.055em
}
.overview-head p:last-child{max-width:760px;margin:0;color:#77766f;font-size:10px;line-height:1.7}
.overview-status{padding:0 0 3px 22px;border-left:1px solid #2b2b2b}
.overview-status span{display:block;color:#5d5b55;font-size:7px;font-weight:700;letter-spacing:.12em}
.overview-status strong{display:block;margin-top:10px;font-size:42px;font-weight:500;letter-spacing:-.05em}
.overview-status small{display:block;margin-top:6px;color:#4d4c47;font-size:7px;letter-spacing:.08em}

.overview-kpis{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  border-bottom:1px solid #262626
}
.overview-kpis>div{
  min-height:96px;padding:16px 14px;border-right:1px solid #262626
}
.overview-kpis>div:last-child{border-right:0}
.overview-kpis span{display:block;color:#55544f;font-size:7px;font-weight:700;letter-spacing:.08em}
.overview-kpis strong{display:block;margin-top:13px;font-size:22px;font-weight:500;letter-spacing:-.04em}
.overview-kpis small{display:block;margin-top:4px;color:#474641;font-size:7px}

.overview-grid{display:grid;gap:34px;margin-top:54px}
.overview-grid.top{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)}
.overview-grid.middle{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)}
.overview-grid.bottom{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.overview-panel{border-top:1px solid #292929}
.overview-panel-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  padding:17px 0;border-bottom:1px solid #202020
}
.overview-panel-head h2{margin:7px 0 0;font-size:21px;font-weight:500;letter-spacing:-.04em}
.overview-panel-head p{margin:5px 0 0;color:#565550;font-size:7px}
.overview-panel-head>span{color:#4f4e49;font-size:7px;letter-spacing:.09em}

.compact-chart{height:210px;padding-top:22px}

.finance-snapshot{
  display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #202020
}
.finance-snapshot>div{
  min-height:92px;padding:17px 14px;border-right:1px solid #202020;border-bottom:1px solid #202020
}
.finance-snapshot>div:nth-child(2n){border-right:0}
.finance-snapshot span{display:block;color:#55544f;font-size:7px;font-weight:700;letter-spacing:.08em}
.finance-snapshot strong{display:block;margin-top:12px;font-size:18px;font-weight:500;letter-spacing:-.035em}
.finance-snapshot small{display:block;margin-top:4px;color:#494844;font-size:7px}

.journal-status{
  display:grid;grid-template-columns:100px 1fr auto;gap:16px;align-items:center;
  padding:16px 0;border-bottom:1px solid #202020
}
.journal-status>span{color:#55544f;font-size:7px;font-weight:700;letter-spacing:.08em}
.journal-status>strong{font-size:9px;font-weight:500;color:#9f9d96}

.overview-recent-list{display:grid}
.overview-recent-item{
  display:grid;grid-template-columns:62px minmax(0,1fr);gap:14px;
  padding:14px 0;border-bottom:1px solid #1d1d1d
}
.overview-recent-item time{color:#55544f;font-size:7px;padding-top:2px}
.overview-recent-item span{display:block;color:#6e6d66;font-size:7px;letter-spacing:.06em}
.overview-recent-item strong{display:block;margin-top:4px;font-size:9px;font-weight:600}
.overview-recent-item small{display:block;margin-top:5px;color:#464540;font-size:7px}

.sidebar[data-view="desk"] .side-intro{opacity:.55}
.sidebar[data-view="desk"] .client-list{max-height:34vh}

@media(max-width:1250px){
  .overview-kpis{grid-template-columns:repeat(3,1fr)}
  .overview-kpis>div:nth-child(3n){border-right:0}
  .overview-kpis>div:nth-child(-n+3){border-bottom:1px solid #262626}
}
@media(max-width:1050px){
  .overview-grid.top,.overview-grid.middle,.overview-grid.bottom{grid-template-columns:1fr}
}
@media(max-width:760px){
  .overview-head{min-height:0;grid-template-columns:1fr;gap:22px;padding:42px 0 26px}
  .overview-head h1{font-size:36px}
  .overview-status{border-left:0;border-top:1px solid #242424;padding:15px 0 0}
  .overview-status strong{font-size:34px}
  .overview-kpis{grid-template-columns:1fr 1fr}
  .overview-kpis>div{min-height:86px;padding:14px 11px;border-bottom:1px solid #262626}
  .overview-kpis>div:nth-child(odd){border-right:1px solid #262626}
  .overview-kpis>div:nth-child(even){border-right:0}
  .overview-grid{margin-top:42px;gap:42px}
  .overview-panel-head h2{font-size:19px}
  .finance-snapshot{grid-template-columns:1fr}
  .finance-snapshot>div,.finance-snapshot>div:nth-child(2n){border-right:0}
  .journal-status{grid-template-columns:1fr;gap:6px}
}


/* IA CLEANUP — WORK vs BUSINESS */
.nav-group-label{
  margin:0 4px 8px;
  color:#4b4a45;
  font-size:7px;
  font-weight:700;
  letter-spacing:.16em;
}
.nav-group-label.business{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #1a1a1a;
}
.business-nav{margin-bottom:0}
.client-side-area{display:none;margin-top:30px}
.sidebar[data-view="clients"] .client-side-area,
.sidebar[data-view="client"] .client-side-area{display:block}
.side-user-area{
  margin-top:auto;
  padding:16px 4px 0;
  border-top:1px solid #1c1c1c
}
.side-user-area .btn{width:100%}
.side-user-area .user-mini{padding-bottom:12px}

/* CLIENT INDEX — work only */
.client-index-page{
  max-width:1380px;
  margin:0 auto;
  padding:52px 0 80px
}
.client-index-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  padding-bottom:28px;
  border-bottom:1px solid #262626
}
.client-index-head h1{
  margin:8px 0 10px;
  font-size:clamp(34px,4vw,50px);
  line-height:1;
  letter-spacing:-.055em;
  font-weight:500
}
.client-index-head p:last-child{
  max-width:700px;
  margin:0;
  color:#74736d;
  font-size:9px;
  line-height:1.7
}
.client-index-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid #262626
}
.client-index-summary>div{
  min-height:100px;
  padding:18px 16px;
  border-right:1px solid #262626
}
.client-index-summary>div:last-child{border-right:0}
.client-index-summary span{
  display:block;
  color:#53524d;
  font-size:7px;
  font-weight:700;
  letter-spacing:.1em
}
.client-index-summary strong{
  display:block;
  margin-top:15px;
  font-size:24px;
  font-weight:500
}
.client-work-table{margin-top:48px;border-top:1px solid #292929}
.client-work-head,
.client-work-row{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) 110px 120px 100px 90px;
  gap:18px;
  align-items:center
}
.client-work-head{
  padding:12px 8px;
  border-bottom:1px solid #252525;
  color:#4f4e49;
  font-size:7px;
  font-weight:700;
  letter-spacing:.09em
}
.client-work-row{
  width:100%;
  padding:16px 8px;
  border:0;
  border-bottom:1px solid #1d1d1d;
  background:transparent;
  color:#8f8e87;
  text-align:left;
  transition:background .25s ease
}
.client-work-row:hover{background:#090909}
.client-work-row strong{display:block;color:#e7e5df;font-size:10px;font-weight:600}
.client-work-row small{display:block;margin-top:4px;color:#53524d;font-size:7px}
.client-work-row b{font-size:11px;font-weight:600}
.client-work-row span{font-size:8px}
.client-work-row em{
  font-style:normal;
  font-size:7px;
  letter-spacing:.08em;
  color:#8c877c
}

/* CLIENT DETAIL — restrained typography */
.client-page.work-only{
  max-width:1380px;
  margin:0 auto
}
.client-hero.compact-client{
  min-height:0;
  padding:56px 0 30px
}
.client-hero.compact-client:before{
  top:63px;
  width:40px
}
.client-hero.compact-client .client-hero-copy .eyebrow{padding-left:56px}
.client-hero.compact-client h1{
  margin:20px 0 13px;
  font-size:clamp(34px,4vw,52px);
  line-height:1;
  letter-spacing:-.055em;
  font-weight:500
}
.client-hero.compact-client .client-lead{
  max-width:640px;
  font-size:9px;
  line-height:1.7
}
.client-hero.compact-client .hero-link{font-size:7px}
.client-facts.work-facts{
  grid-template-columns:repeat(4,minmax(0,1fr))
}
.client-facts.work-facts>div{
  min-height:94px;
  padding:16px 14px
}
.client-facts.work-facts span{font-size:7px}
.client-facts.work-facts strong{
  margin-top:14px;
  font-size:22px
}
.client-facts.work-facts .date-value{font-size:18px}
.nw-section.compact-section{
  padding-top:48px
}
.nw-section.compact-section .nw-section-head{
  padding-bottom:20px
}
.nw-section.compact-section .nw-section-head h2{
  margin-top:6px;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.04em
}
.nw-section.compact-section .nw-section-head p:last-child{
  margin:5px 0 0;
  color:#55544f;
  font-size:8px
}
.nw-section.compact-section .task{padding:14px 0}
.nw-section.compact-section .log-item{padding:18px 0}
.nw-section.compact-section .meeting{padding:20px 0}

.client-profile-only{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #272727
}
.client-profile-only .info-row{
  min-height:58px;
  padding:12px 0;
  margin-right:24px
}
.finance-jump{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0 52px;
  border-top:1px solid #202020
}
.finance-jump span{
  color:#595852;
  font-size:8px
}

/* FINANCE & TAX — clear business area */
.partner-dashboard .partner-hero{
  min-height:0;
  padding:54px 0 30px
}
.partner-dashboard .partner-hero h1{
  font-size:clamp(34px,4vw,50px)
}
.partner-dashboard .partner-hero p:last-child{font-size:9px}
.partner-dashboard .partner-metrics>div{min-height:96px;padding:16px 14px}
.partner-dashboard .partner-metrics strong{font-size:20px;margin-top:14px}
.partner-dashboard .partner-list-section{padding-top:48px}
.partner-dashboard .partner-list-head h2{font-size:22px}

/* sidebar spacing */
.desk-nav{margin-bottom:0}
.desk-nav-item{padding:11px 4px}
.desk-nav-item strong{font-size:8px}
.desk-nav-item small{font-size:6px}
.side-intro h2{font-size:20px}
.client-button{padding:9px 4px}

/* RESPONSIVE */
@media(max-width:980px){
  .client-work-head{display:none}
  .client-work-row{
    grid-template-columns:1fr auto auto;
  }
  .client-work-row>span:nth-of-type(2){display:none}
  .client-work-row em{grid-column:3}
  .client-profile-only{grid-template-columns:1fr}
}
@media(max-width:760px){
  .client-index-page{padding-top:38px}
  .client-index-head{align-items:flex-start;flex-direction:column}
  .client-index-head h1{font-size:34px}
  .client-index-summary{grid-template-columns:1fr 1fr}
  .client-index-summary>div{min-height:84px;padding:13px 11px}
  .client-work-row{
    grid-template-columns:1fr 44px 60px;
    gap:10px;
    padding:14px 4px
  }
  .client-hero.compact-client{padding:42px 0 24px}
  .client-hero.compact-client h1{font-size:34px}
  .client-facts.work-facts{grid-template-columns:1fr 1fr}
  .client-facts.work-facts>div{border-bottom:1px solid #262626}
  .nw-section.compact-section{padding-top:40px}
  .nw-section.compact-section .nw-section-head h2{font-size:21px}
  .finance-jump{align-items:flex-start;flex-direction:column}
}


/* WORK JOURNAL SNAPSHOT */
.work-journal-snapshot{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:1px solid #202020
}
.work-journal-snapshot>div{
  min-height:86px;
  padding:15px 13px;
  border-right:1px solid #202020;
  border-bottom:1px solid #202020
}
.work-journal-snapshot>div:nth-child(2n){border-right:0}
.work-journal-snapshot span{
  display:block;
  color:#53524d;
  font-size:7px;
  font-weight:700;
  letter-spacing:.08em
}
.work-journal-snapshot strong{
  display:block;
  margin-top:12px;
  color:#dedbd3;
  font-size:16px;
  font-weight:500
}

/* Work Desk should not visually carry finance cues */
.overview-dashboard .finance-panel,
.overview-dashboard .finance-snapshot{display:none!important}

@media(max-width:760px){
  .work-journal-snapshot{grid-template-columns:1fr}
  .work-journal-snapshot>div,
  .work-journal-snapshot>div:nth-child(2n){border-right:0}
}


/* WEEKLY REPORT — workspace, not public weekly data */
.weekly-page{max-width:1380px;margin:0 auto;padding:48px 0 88px;color:#e7e5df}
.weekly-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:1px solid #30302e}
.weekly-hero h1{font-size:clamp(30px,3.2vw,44px);font-weight:500;line-height:1.17;letter-spacing:-.045em;margin:9px 0 12px}
.weekly-hero p:last-child{font-size:13px;line-height:1.7;color:#919089;margin:0}
.weekly-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:48px;margin-top:34px}
.weekly-archive{border-right:1px solid #282824;padding-right:22px}
.weekly-archive .eyebrow{font-size:10px;letter-spacing:.12em;color:#9c9a94;margin:0 0 18px}
.weekly-archive-item{display:block;text-align:left;border:0;border-bottom:1px solid #242420;background:transparent;color:#d8d6d0;width:100%;padding:14px 7px;cursor:pointer}
.weekly-archive-item:hover,.weekly-archive-item.active{background:#151512}
.weekly-archive-item strong{font-size:12px;font-weight:600;display:block}
.weekly-archive-item small{font-size:11px;color:#77766e;display:block;margin-top:4px}
.weekly-main{min-width:0}
.weekly-title{display:flex;align-items:start;justify-content:space-between;gap:24px;border-bottom:1px solid #242420;padding-bottom:26px}
.weekly-title h2{font-size:28px;line-height:1.25;font-weight:500;letter-spacing:-.035em;margin:10px 0}
.weekly-title p:last-child{font-size:13px;color:#b0aea8;line-height:1.75;max-width:820px}
.weekly-title .eyebrow{font-size:10px;letter-spacing:.1em;color:#98968d}
.weekly-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #30302e}
.weekly-metrics>div{padding:20px 14px;border-right:1px solid #282824}
.weekly-metrics>div:last-child{border-right:0}
.weekly-metrics span{display:block;color:#8f8d85;font-size:12px}
.weekly-metrics strong{display:block;font-size:22px;margin-top:9px;font-weight:500}
.weekly-section{padding:30px 0 34px;border-bottom:1px solid #2a2a26}
.weekly-section .eyebrow{font-size:10px;letter-spacing:.14em;color:#8b897f;margin:0 0 8px}
.weekly-section h3{font-size:20px;font-weight:500;letter-spacing:-.025em;margin:4px 0 17px}
.weekly-section>p:not(.eyebrow){font-size:13px;line-height:1.8;color:#b2afa8}
.weekly-section .journal-bullets{margin:0;padding-left:21px}
.weekly-section .journal-bullets li{font-size:13px;line-height:1.8;padding:4px 0;color:#b9b6af}
.weekly-projects{border-top:1px solid #242420}
.weekly-projects article{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:24px;padding:15px 0;border-bottom:1px solid #242420}
.weekly-projects strong{font-size:14px;font-weight:600;color:#e8e5df}
.weekly-projects p{margin:7px 0 0;color:#a7a49c;font-size:12px;line-height:1.7}
.weekly-projects span{font-size:11px;color:#aaa79d;text-align:right}
.weekly-daily{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border:1px solid #242420}
.weekly-daily>div{padding:14px;border-right:1px solid #242420}
.weekly-daily>div:last-child{border-right:0}
.weekly-daily span{display:block;font-size:11px;color:#8c8a82}
.weekly-daily strong{font-size:22px;font-weight:500;display:block;margin-top:8px}
.weekly-footnote{font-size:12px;line-height:1.7;color:#858379;margin-top:18px}
.weekly-empty{padding:54px 14px}
.weekly-empty h2{font-size:24px;font-weight:500}
.weekly-empty p{font-size:13px;line-height:1.7;color:#99978d;max-width:680px}
@media(max-width:980px){
 .weekly-layout{grid-template-columns:1fr;gap:24px}
 .weekly-archive{border-right:0;border-bottom:1px solid #282824;padding-right:0;padding-bottom:18px}
 .weekly-archive-item{max-width:100%}
}
@media(max-width:700px){
 .weekly-page{padding-top:28px}
 .weekly-hero{flex-direction:column;align-items:stretch}
 .weekly-hero h1{font-size:30px}
 .weekly-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .weekly-metrics>div:nth-child(2n){border-right:0}
 .weekly-metrics>div:nth-child(-n+2){border-bottom:1px solid #282824}
 .weekly-daily{grid-template-columns:repeat(3,minmax(0,1fr))}
 .weekly-daily>div{border-bottom:1px solid #242420}
 .weekly-daily>div:nth-child(3n){border-right:0}
 .weekly-title{flex-direction:column}
}

.weekly-load-subtitle{font-size:14px;font-weight:500;letter-spacing:-.02em;margin:24px 0 12px;color:#e5e2dc}
.weekly-client-load{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.weekly-client-load>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;border-bottom:1px solid #252521}
.weekly-client-load span{color:#b3b0aa;font-size:12px}
.weekly-client-load strong{font-size:13px;font-weight:600}
@media(max-width:700px){.weekly-client-load{grid-template-columns:1fr}}


/* PROJECTS & REPORTS — 2026-11-15 */
.projects-page,.reports-page{max-width:1380px;margin:0 auto;padding:52px 0 84px}
.projects-head,.reports-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:28px;
  padding-bottom:28px;border-bottom:1px solid #262626
}
.projects-head h1,.reports-head h1{
  margin:8px 0 10px;font-size:clamp(34px,4vw,50px);line-height:1;letter-spacing:-.055em;font-weight:500
}
.projects-head p:last-child,.reports-head p:last-child{
  max-width:700px;margin:0;color:#74736d;font-size:9px;line-height:1.7
}
.projects-summary,.reports-summary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #262626
}
.projects-summary>div,.reports-summary>div{
  min-height:96px;padding:16px 14px;border-right:1px solid #262626
}
.projects-summary>div:last-child,.reports-summary>div:last-child{border-right:0}
.projects-summary span,.reports-summary span{
  display:block;color:#55544f;font-size:7px;font-weight:700;letter-spacing:.09em
}
.projects-summary strong,.reports-summary strong{
  display:block;margin-top:14px;font-size:23px;font-weight:500;letter-spacing:-.04em
}
.projects-section{margin-top:48px;border-top:1px solid #292929}
.projects-section-head{padding:17px 0;border-bottom:1px solid #202020}
.projects-section-head h2{margin:7px 0 0;font-size:22px;font-weight:500;letter-spacing:-.04em}

.project-overview-panel{margin-top:54px}
.project-status-table{width:100%}
.project-status-head,.project-status-row{
  display:grid;
  grid-template-columns:minmax(130px,.9fr) minmax(150px,1.1fr) 74px minmax(180px,1.4fr) 62px;
  gap:14px;align-items:center
}
.project-status-head{
  padding:12px 0;border-bottom:1px solid #252525;color:#4f4e49;font-size:7px;font-weight:700;letter-spacing:.08em
}
.project-status-row{
  width:100%;padding:15px 0;border:0;border-bottom:1px solid #1d1d1d;background:transparent;color:#8e8d86;text-align:left
}
.project-status-row:hover{background:#080808}
.project-status-row>span{font-size:8px;color:#77766f}
.project-status-row strong{font-size:9px;color:#e6e3dc;font-weight:600}
.project-status-row b{font-size:9px;font-weight:500;color:#a09e97;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-status-row time{font-size:8px;color:#5e5d57}
.project-status-row em{
  display:inline-flex;width:max-content;min-height:20px;align-items:center;padding:0 7px;
  border:1px solid #2d2d2d;font-style:normal;font-size:7px;color:#88867e
}
.project-status-row em[data-status="지연"]{border-color:#654a47;color:#c18d86}
.project-status-row em[data-status="진행"]{border-color:#49483f;color:#bbb6a8}
.project-status-row em[data-status="검수"]{border-color:#424b44;color:#92a494}

.reports-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:38px;margin-top:48px}
.reports-panel{border-top:1px solid #292929}
.reports-panel-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #202020
}
.reports-panel-head h2{margin:7px 0 0;font-size:22px;font-weight:500;letter-spacing:-.04em}
.report-row{
  display:grid;grid-template-columns:92px minmax(0,1fr) 72px;gap:16px;align-items:center;
  width:100%;padding:15px 0;border:0;border-bottom:1px solid #1d1d1d;background:transparent;color:#8e8d86;text-align:left
}
.report-row:hover{background:#080808}
.report-row>span{font-size:8px;color:#62615b}
.report-row strong{font-size:9px;color:#dfddd6;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.report-row small{text-align:right;font-size:7px;color:#4d4c47}
.monthly-snapshot{display:grid;grid-template-columns:1fr 1fr}
.monthly-snapshot>div{min-height:88px;padding:15px 13px;border-right:1px solid #202020;border-bottom:1px solid #202020}
.monthly-snapshot>div:nth-child(2n){border-right:0}
.monthly-snapshot span{display:block;color:#53524d;font-size:7px;font-weight:700;letter-spacing:.08em}
.monthly-snapshot strong{display:block;margin-top:12px;font-size:18px;font-weight:500}
.monthly-note{margin:15px 0 0;color:#55544f;font-size:8px;line-height:1.6}

@media(max-width:1050px){
  .project-status-head{display:none}
  .project-status-row{grid-template-columns:minmax(120px,1fr) minmax(160px,1.2fr) 70px 1fr}
  .project-status-row time{display:none}
  .reports-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .projects-page,.reports-page{padding-top:38px}
  .projects-head h1,.reports-head h1{font-size:34px}
  .projects-summary,.reports-summary{grid-template-columns:1fr 1fr}
  .projects-summary>div,.reports-summary>div{min-height:84px;padding:13px 11px;border-bottom:1px solid #262626}
  .project-status-row{grid-template-columns:1fr 68px;gap:8px;padding:14px 2px}
  .project-status-row>span,.project-status-row b{grid-column:1}
  .project-status-row strong{grid-column:1}
  .project-status-row em{grid-column:2;grid-row:1 / span 3}
  .report-row{grid-template-columns:74px 1fr}
  .report-row small{display:none}
  .monthly-snapshot{grid-template-columns:1fr 1fr}
}


/* 2026-11-15 — MATCH 9WORKS.KR TYPOGRAPHIC SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600&display=swap');

html,body,button,input,textarea,select{
  font-family:'Noto Sans KR',Arial,sans-serif!important;
  word-break:keep-all;
}
body{font-size:14px}

/* HOME SITE SCALE */
.eyebrow,
.nw-login-label,
.site-kicker,
.site-meta,
.nav-group-label,
.desk-nav-item span,
.desk-nav-item small,
.overview-kpis span,
.client-facts span,
.projects-summary span,
.reports-summary span,
.partner-metrics span,
.partner-detail-metrics span,
.partner-info-grid span,
.partner-sales-notes span,
.partner-table th,
.client-work-head,
.project-status-head{
  font-size:10px!important;
  line-height:1.5!important;
  letter-spacing:.03em!important;
  font-weight:500!important;
  color:#858585!important;
}

.btn,
.header-action,
.header-menu,
.hero-link,
.section-link,
.back-link,
.journal-export{
  font-size:12px!important;
  font-weight:500!important;
  letter-spacing:-.025em!important;
}

/* LOGIN — SAME COMPOSITION AS 9WORKS.KR */
.nw-login-page{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;
  background:#080808;
  color:#f5f5f5;
}
.nw-login-ambient{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:radial-gradient(ellipse 62% 55% at 50% 63%,rgba(36,39,45,.35),transparent 78%);
}
.nw-login-ambient:before{
  content:"";
  position:absolute;
  left:50%;
  top:58%;
  width:min(92vw,1160px);
  height:min(85vw,980px);
  border-radius:50%;
  transform:translate(-50%,-50%);
  background:radial-gradient(ellipse at 50% 47%,rgba(171,176,188,.20) 0%,rgba(114,121,135,.14) 17%,rgba(72,79,92,.08) 39%,rgba(32,35,42,.03) 58%,transparent 76%);
  filter:blur(61px);
}
.nw-login-ambient:after{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(to right,rgba(193,197,207,.08) 1px,transparent 1px),linear-gradient(to bottom,rgba(193,197,207,.08) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:radial-gradient(ellipse 380px 330px at 50% 58%,rgba(0,0,0,.58),transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 380px 330px at 50% 58%,rgba(0,0,0,.58),transparent 100%);
}
.nw-login-splash{
  position:fixed;
  inset:0;
  z-index:40;
  display:grid;
  place-items:center;
  background:#080808;
  transition:opacity .6s ease,visibility .6s ease;
}
.nw-login-splash img{
  width:172px;
  filter:brightness(0) invert(1);
  animation:nwAppear 1.1s ease both;
}
.nw-login-splash.done{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
@keyframes nwAppear{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
.nw-login-header{
  position:relative;
  z-index:1;
  width:100%;
  display:flex;
  justify-content:center;
  padding:56px 24px 0;
}
.nw-login-logo{
  display:block;
  width:145px;
  height:auto;
  filter:brightness(0) invert(1);
}
.nw-login-content{
  position:relative;
  z-index:1;
  width:min(calc(100% - 40px),660px);
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:70px 0 100px;
}
.nw-login-intro h1{
  margin:10px 0 24px;
  font-size:clamp(27px,2.65vw,36px)!important;
  line-height:1.45!important;
  letter-spacing:-.055em!important;
  font-weight:500!important;
}
.nw-login-copy{
  max-width:600px;
  color:#b0b0b0;
  font-size:clamp(14px,1.06vw,15px)!important;
  line-height:1.95!important;
  letter-spacing:-.022em;
  font-weight:400;
}
.nw-login-copy p{margin:0 0 12px}
.nw-login-form{
  width:min(100%,430px);
  margin-top:30px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 14px;
  text-align:left;
}
.nw-login-form label{display:grid;gap:7px}
.nw-login-form label span{
  font-size:12px;
  color:#e5e5e5;
  font-weight:400;
}
.nw-login-form input{
  width:100%;
  min-height:43px;
  border:1px solid #444;
  border-radius:0;
  background:#171717;
  color:#f5f5f5;
  padding:11px 12px;
  font-size:13px!important;
  outline:none;
}
.nw-login-form input:focus{border-color:#ddd}
.nw-login-form button{
  grid-column:1 / -1;
  min-height:45px;
  margin-top:3px;
  border:1px solid #f5f5f5;
  border-radius:0;
  background:#f5f5f5;
  color:#111;
  font-size:13px!important;
  font-weight:500!important;
}
.nw-login-form #loginMsg{
  grid-column:1 / -1;
  min-height:18px;
  margin:0;
  text-align:center;
  color:#929292;
  font-size:11px;
}
.nw-login-footer{
  position:relative;
  z-index:1;
  padding:0 20px 34px;
  color:#666;
  font-size:10px;
  letter-spacing:.03em;
  text-align:center;
}

/* APP HEADER */
.site-header{
  height:76px!important;
  padding:0 28px!important;
}
.site-logo{
  width:145px!important;
  filter:brightness(0) invert(1)!important;
}
.site-header-left{gap:18px!important}
.site-kicker,.site-meta{font-size:10px!important}

/* PAGE TITLES — NEVER GIANT */
.overview-head h1,
.projects-head h1,
.reports-head h1,
.client-index-head h1,
.client-hero.compact-client h1,
.partner-dashboard .partner-hero h1,
.partner-detail-head h1,
.journal-hero h1,
.weekly-hero h1{
  font-size:clamp(27px,2.65vw,36px)!important;
  line-height:1.45!important;
  letter-spacing:-.055em!important;
  font-weight:500!important;
  margin-top:8px!important;
  margin-bottom:14px!important;
}
.overview-head p:last-child,
.projects-head p:last-child,
.reports-head p:last-child,
.client-index-head p:last-child,
.client-hero.compact-client .client-lead,
.partner-dashboard .partner-hero p:last-child,
.partner-detail-head p:last-child,
.journal-hero p,
.weekly-hero p{
  font-size:14px!important;
  line-height:1.85!important;
  letter-spacing:-.02em!important;
  color:#a8a8a8!important;
}

/* SECTION TITLES */
.overview-panel-head h2,
.projects-section-head h2,
.reports-panel-head h2,
.nw-section.compact-section .nw-section-head h2,
.partner-dashboard .partner-list-head h2,
.partner-section-head h2,
.journal-section h3,
.journal-head h2,
.weekly-section h2{
  font-size:20px!important;
  line-height:1.5!important;
  letter-spacing:-.04em!important;
  font-weight:500!important;
}
.overview-panel-head p,
.nw-section.compact-section .nw-section-head p:last-child,
.projects-section-head p,
.reports-panel-head p{
  font-size:12px!important;
  line-height:1.7!important;
  color:#8e8e8e!important;
}

/* DATA / BODY READABILITY */
.desk-task-main strong,
.task strong,
.log-item strong,
.meeting strong,
.client-work-row strong,
.project-status-row strong,
.report-row strong,
.overview-recent-item strong,
.partner-table td strong,
.partner-info-grid strong,
.partner-sales-notes strong{
  font-size:13px!important;
  line-height:1.6!important;
  font-weight:500!important;
}
.desk-task-main p,
.task small,
.log-item p,
.meeting>p,
.meeting-section p,
.client-work-row small,
.project-status-row b,
.overview-recent-item small,
.partner-table td,
.partner-table td small,
.partner-info-grid strong,
.partner-sales-notes strong,
.info-row strong{
  font-size:12px!important;
  line-height:1.7!important;
}
.desk-task-meta span,
.task-project,
.log-item time,
.meeting time,
.meeting .attendees,
.tag,
.project-status-row>span,
.project-status-row time,
.project-status-row em,
.report-row>span,
.report-row small,
.overview-recent-item time,
.overview-recent-item span{
  font-size:10px!important;
  line-height:1.5!important;
}

/* KPI VALUES */
.overview-kpis strong,
.client-index-summary strong,
.client-facts.work-facts strong,
.projects-summary strong,
.reports-summary strong,
.partner-dashboard .partner-metrics strong,
.partner-detail-metrics strong{
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:500!important;
}
.overview-kpis small,
.client-index-summary small,
.client-facts.work-facts small,
.projects-summary small,
.reports-summary small,
.partner-metrics small,
.partner-detail-metrics small{
  font-size:11px!important;
  line-height:1.5!important;
}

/* SIDEBAR READABILITY */
.nav-group-label{font-size:10px!important}
.desk-nav-item strong{font-size:12px!important;font-weight:500!important}
.desk-nav-item small{font-size:10px!important}
.desk-nav-item span{font-size:10px!important}
.side-intro h2{font-size:20px!important;font-weight:500!important}
.side-intro p:last-child{font-size:12px!important;line-height:1.7!important}
.client-button strong{font-size:12px!important}
.client-button small,.client-count{font-size:10px!important}
.client-search input{font-size:12px!important}

/* TABLES */
.client-work-head,
.project-status-head,
.partner-table th{font-size:10px!important}
.client-work-row,
.project-status-row,
.partner-table td{font-size:12px!important}

/* MAIN SPACING */
.content{padding-left:40px!important;padding-right:40px!important}
.overview-head,
.projects-head,
.reports-head,
.client-index-head,
.partner-hero,
.partner-detail-head{
  padding-top:48px!important;
  padding-bottom:28px!important;
}
.overview-grid,
.project-overview-panel,
.projects-section,
.reports-grid,
.partner-list-section{
  margin-top:42px!important;
}

/* OPENING INTRO */
.opening-intro{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  background:#080808;
  transition:opacity .6s ease,visibility .6s ease;
}
.opening-intro-inner{
  opacity:0;
  transform:translateY(7px);
  transition:opacity .55s ease,transform .55s ease;
}
.opening-intro.show .opening-intro-inner{opacity:1;transform:translateY(0)}
.opening-intro.hide{opacity:0;visibility:hidden;pointer-events:none}
.opening-intro img{
  width:172px;
  filter:brightness(0) invert(1);
}

@media(max-width:600px){
  .nw-login-header{padding-top:38px}
  .nw-login-logo{width:125px}
  .nw-login-splash img{width:154px}
  .nw-login-content{width:min(calc(100% - 42px),460px);padding:65px 0 90px}
  .nw-login-intro h1{font-size:clamp(25px,6.1vw,30px)!important;margin-bottom:20px!important}
  .nw-login-copy{font-size:13.5px!important;line-height:1.9!important}
  .nw-login-form{grid-template-columns:1fr;width:100%;max-width:360px}
  .nw-login-form button,.nw-login-form #loginMsg{grid-column:1}
  .site-logo{width:125px!important}
  .content{padding-left:18px!important;padding-right:18px!important}
  .overview-head h1,
  .projects-head h1,
  .reports-head h1,
  .client-index-head h1,
  .client-hero.compact-client h1,
  .partner-dashboard .partner-hero h1,
  .partner-detail-head h1,
  .journal-hero h1,
  .weekly-hero h1{font-size:28px!important}
  .overview-panel-head h2,
  .projects-section-head h2,
  .reports-panel-head h2,
  .nw-section.compact-section .nw-section-head h2{font-size:18px!important}
}


/* 2026-11-15 — COMPACT TYPE PASS */
.nw-login-content{
  width:min(calc(100% - 48px),560px)!important;
  padding:54px 0 76px!important;
}
.nw-login-label{
  font-size:9px!important;
  letter-spacing:.08em!important;
}
.nw-login-intro h1{
  font-size:clamp(22px,1.9vw,27px)!important;
  line-height:1.5!important;
  letter-spacing:-.045em!important;
  margin:8px 0 18px!important;
}
.nw-login-copy{
  max-width:520px!important;
  font-size:12.5px!important;
  line-height:1.85!important;
}
.nw-login-copy p{margin-bottom:9px!important}
.nw-login-form{
  width:min(100%,390px)!important;
  margin-top:24px!important;
  gap:8px 12px!important;
}
.nw-login-form label span{
  font-size:10px!important;
}
.nw-login-form input{
  min-height:39px!important;
  padding:9px 10px!important;
  font-size:12px!important;
}
.nw-login-form button{
  min-height:40px!important;
  font-size:11px!important;
}
.nw-login-form #loginMsg{font-size:10px!important}
.nw-login-footer{font-size:9px!important}
.nw-login-logo{width:132px!important}
.nw-login-splash img{width:150px!important}

/* Whole app: smaller, denser hierarchy */
.overview-head h1,
.projects-head h1,
.reports-head h1,
.client-index-head h1,
.client-hero.compact-client h1,
.partner-dashboard .partner-hero h1,
.partner-detail-head h1,
.journal-hero h1,
.weekly-hero h1{
  font-size:clamp(24px,2.2vw,30px)!important;
  line-height:1.4!important;
  margin:6px 0 10px!important;
}
.overview-head p:last-child,
.projects-head p:last-child,
.reports-head p:last-child,
.client-index-head p:last-child,
.client-hero.compact-client .client-lead,
.partner-dashboard .partner-hero p:last-child,
.partner-detail-head p:last-child,
.journal-hero p,
.weekly-hero p{
  font-size:11.5px!important;
  line-height:1.75!important;
}
.overview-panel-head h2,
.projects-section-head h2,
.reports-panel-head h2,
.nw-section.compact-section .nw-section-head h2,
.partner-dashboard .partner-list-head h2,
.partner-section-head h2,
.journal-section h3,
.journal-head h2,
.weekly-section h2{
  font-size:16px!important;
  line-height:1.45!important;
}
.overview-panel-head p,
.nw-section.compact-section .nw-section-head p:last-child,
.projects-section-head p,
.reports-panel-head p{
  font-size:10px!important;
}
.desk-task-main strong,
.task strong,
.log-item strong,
.meeting strong,
.client-work-row strong,
.project-status-row strong,
.report-row strong,
.overview-recent-item strong,
.partner-table td strong{
  font-size:11px!important;
}
.desk-task-main p,
.task small,
.log-item p,
.meeting>p,
.meeting-section p,
.client-work-row small,
.project-status-row b,
.overview-recent-item small,
.partner-table td,
.partner-table td small,
.info-row strong{
  font-size:10px!important;
}
.overview-kpis strong,
.client-index-summary strong,
.client-facts.work-facts strong,
.projects-summary strong,
.reports-summary strong,
.partner-dashboard .partner-metrics strong,
.partner-detail-metrics strong{
  font-size:20px!important;
}
.desk-nav-item strong{font-size:10px!important}
.desk-nav-item small{font-size:8px!important}
.side-intro h2{font-size:17px!important}
.side-intro p:last-child{font-size:10px!important}
.client-button strong{font-size:10px!important}
.client-button small,.client-count{font-size:8px!important}
.client-search input{font-size:10px!important}

@media(max-width:600px){
  .nw-login-content{padding:48px 0 66px!important}
  .nw-login-intro h1{font-size:23px!important}
  .nw-login-copy{font-size:12px!important}
  .overview-head h1,
  .projects-head h1,
  .reports-head h1,
  .client-index-head h1,
  .client-hero.compact-client h1,
  .partner-dashboard .partner-hero h1,
  .partner-detail-head h1,
  .journal-hero h1,
  .weekly-hero h1{font-size:24px!important}
}


/* 2026-11-15 — SIMPLE CRM PASSCODE GATE */
.crm-gate{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#080808;
  color:#f5f5f5;
  overflow:hidden;
}
.crm-gate:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse 42% 34% at 50% 48%,rgba(52,56,64,.16),transparent 72%);
}
.crm-gate-splash{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  background:#080808;
  transition:opacity .5s ease,visibility .5s ease;
}
.crm-gate-splash:after{
  content:"NINEWORKS CRM";
  color:#777;
  font-size:10px;
  font-weight:500;
  letter-spacing:.14em;
}
.crm-gate-splash img{
  width:158px;
  filter:brightness(0) invert(1);
  animation:nwCrmIntro .85s ease both;
}
.crm-gate-splash.done{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
@keyframes nwCrmIntro{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
.crm-gate-center{
  position:relative;
  z-index:1;
  width:min(calc(100% - 40px),340px);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.crm-gate-logo{
  width:126px;
  height:auto;
  filter:brightness(0) invert(1);
  margin-bottom:28px;
}
.crm-gate-label{display:none}
.crm-gate-center h1{
  margin:0 0 24px!important;
  font-size:20px!important;
  line-height:1.4!important;
  letter-spacing:-.035em!important;
  font-weight:500!important;
}
.crm-gate-form{
  width:100%;
  display:grid;
  gap:9px;
}
.crm-gate-form input{
  width:100%;
  height:42px;
  border:1px solid #3c3c3c;
  border-radius:0;
  background:#111;
  color:#f5f5f5;
  text-align:center;
  font-size:13px!important;
  letter-spacing:.18em;
  outline:none;
}
.crm-gate-form input::placeholder{
  color:#555;
  font-size:10px;
  letter-spacing:.12em;
}
.crm-gate-form input:focus{border-color:#aaa}
.crm-gate-form button{
  height:42px;
  border:1px solid #f1f1f1;
  border-radius:0;
  background:#f1f1f1;
  color:#111;
  font-size:11px!important;
  font-weight:500!important;
  cursor:pointer;
}
.crm-gate-form button:hover{background:#d8d8d8;border-color:#d8d8d8}
.crm-gate-form #loginMsg{
  min-height:16px;
  margin:2px 0 0;
  color:#8d8d8d;
  font-size:10px;
  line-height:1.6;
}
.firebase-recovery{
  width:100%;
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid #292929;
}
.firebase-recovery>p{
  margin:0 0 14px;
  color:#777;
  font-size:10px;
  line-height:1.7;
}
.firebase-recovery form{
  display:grid;
  gap:8px;
}
.firebase-recovery input{
  width:100%;
  height:40px;
  border:1px solid #383838;
  border-radius:0;
  background:#111;
  color:#eee;
  padding:0 11px;
  font-size:11px!important;
  outline:none;
}
.firebase-recovery button{
  height:40px;
  border:1px solid #444;
  background:transparent;
  color:#ddd;
  font-size:10px!important;
}
.firebase-recovery small{
  color:#777;
  font-size:9px;
}
.crm-gate-footer{
  position:absolute;
  left:0;
  right:0;
  bottom:26px;
  z-index:1;
  text-align:center;
  color:#505050;
  font-size:9px;
  letter-spacing:.03em;
}

@media(max-width:600px){
  .crm-gate-center{width:min(calc(100% - 44px),320px)}
  .crm-gate-logo{width:116px;margin-bottom:24px}
  .crm-gate-center h1{font-size:18px!important;margin-bottom:20px!important}
  .crm-gate-splash img{width:145px}
}


/* 2026-11-15 — FINAL +1~2PX TYPOGRAPHY SCALE */
.crm-gate-center h1{
  font-size:22px!important;
  line-height:1.42!important;
}
.crm-gate-form input{
  font-size:14px!important;
}
.crm-gate-form input::placeholder{
  font-size:11px!important;
}
.crm-gate-form button{
  font-size:12px!important;
}
.crm-gate-form #loginMsg{
  font-size:11px!important;
}
.crm-gate-footer{
  font-size:10px!important;
}

/* Main navigation */
.nav-group-label{
  font-size:11px!important;
}
.desk-nav-item strong{
  font-size:11px!important;
}
.desk-nav-item small,
.desk-nav-item span{
  font-size:9px!important;
}
.site-kicker,
.site-meta{
  font-size:11px!important;
}
.header-action,
.header-menu{
  font-size:11px!important;
}
.side-intro h2{
  font-size:18px!important;
}
.side-intro p:last-child,
.client-search input{
  font-size:11px!important;
}
.client-button strong{
  font-size:11px!important;
}
.client-button small,
.client-count{
  font-size:9px!important;
}

/* Page hierarchy */
.overview-head h1,
.projects-head h1,
.reports-head h1,
.client-index-head h1,
.client-hero.compact-client h1,
.partner-dashboard .partner-hero h1,
.partner-detail-head h1,
.journal-hero h1,
.weekly-hero h1{
  font-size:clamp(26px,2.35vw,32px)!important;
}
.overview-head p:last-child,
.projects-head p:last-child,
.reports-head p:last-child,
.client-index-head p:last-child,
.client-hero.compact-client .client-lead,
.partner-dashboard .partner-hero p:last-child,
.partner-detail-head p:last-child,
.journal-hero p,
.weekly-hero p{
  font-size:12.5px!important;
  line-height:1.78!important;
}

/* Section titles */
.overview-panel-head h2,
.projects-section-head h2,
.reports-panel-head h2,
.nw-section.compact-section .nw-section-head h2,
.partner-dashboard .partner-list-head h2,
.partner-section-head h2,
.journal-section h3,
.journal-head h2,
.weekly-section h2{
  font-size:18px!important;
}
.overview-panel-head p,
.nw-section.compact-section .nw-section-head p:last-child,
.projects-section-head p,
.reports-panel-head p{
  font-size:11px!important;
}

/* Labels */
.eyebrow,
.nw-login-label,
.overview-kpis span,
.client-facts span,
.projects-summary span,
.reports-summary span,
.partner-metrics span,
.partner-detail-metrics span,
.partner-info-grid span,
.partner-sales-notes span,
.partner-table th,
.client-work-head,
.project-status-head{
  font-size:10px!important;
}

/* Primary work rows */
.desk-task-main strong,
.task strong,
.log-item strong,
.meeting strong,
.client-work-row strong,
.project-status-row strong,
.report-row strong,
.overview-recent-item strong,
.partner-table td strong{
  font-size:12px!important;
}
.desk-task-main p,
.task small,
.log-item p,
.meeting>p,
.meeting-section p,
.client-work-row small,
.project-status-row b,
.overview-recent-item small,
.partner-table td,
.partner-table td small,
.info-row strong{
  font-size:11px!important;
  line-height:1.72!important;
}
.desk-task-meta span,
.task-project,
.log-item time,
.meeting time,
.meeting .attendees,
.tag,
.project-status-row>span,
.project-status-row time,
.project-status-row em,
.report-row>span,
.report-row small,
.overview-recent-item time,
.overview-recent-item span{
  font-size:10px!important;
}

/* KPI values */
.overview-kpis strong,
.client-index-summary strong,
.client-facts.work-facts strong,
.projects-summary strong,
.reports-summary strong,
.partner-dashboard .partner-metrics strong,
.partner-detail-metrics strong{
  font-size:22px!important;
}

/* Tables */
.client-work-head,
.project-status-head,
.partner-table th{
  font-size:10px!important;
}
.client-work-row,
.project-status-row,
.partner-table td{
  font-size:11px!important;
}

/* Buttons */
.btn,
.hero-link,
.section-link,
.back-link,
.journal-export{
  font-size:11px!important;
}

/* Slightly more breathing room for the raised scale */
.desk-task,
.task{
  padding-top:16px!important;
  padding-bottom:16px!important;
}
.overview-panel-head,
.projects-section-head,
.reports-panel-head,
.nw-section.compact-section .nw-section-head{
  padding-top:18px!important;
  padding-bottom:18px!important;
}

@media(max-width:600px){
  .crm-gate-center h1{font-size:20px!important}
  .overview-head h1,
  .projects-head h1,
  .reports-head h1,
  .client-index-head h1,
  .client-hero.compact-client h1,
  .partner-dashboard .partner-hero h1,
  .partner-detail-head h1,
  .journal-hero h1,
  .weekly-hero h1{
    font-size:26px!important;
  }
  .overview-panel-head h2,
  .projects-section-head h2,
  .reports-panel-head h2,
  .nw-section.compact-section .nw-section-head h2{
    font-size:17px!important;
  }
}


/* 2026-11-15 — FOUR AREA CRM IA */
.compact-main-nav .nav-group-label{
  margin-bottom:10px!important;
}
.primary-four-nav{
  margin-bottom:0!important;
  border-top:1px solid #222;
}
.primary-four-nav .desk-nav-item{
  min-height:58px;
  padding:12px 4px!important;
  border-bottom:1px solid #1f1f1f;
}
.primary-four-nav .desk-nav-item strong{
  font-size:12px!important;
  color:#d9d9d5;
}
.primary-four-nav .desk-nav-item small{
  margin-top:2px;
  font-size:9px!important;
}
.primary-four-nav .desk-nav-item.active strong{color:#fff}
.primary-four-nav .desk-nav-item.active:before{background:#f3f1ea}

.sidebar[data-view="clients"] .client-side-area,
.sidebar[data-view="client"] .client-side-area,
.sidebar[data-view="partner"] .client-side-area{
  display:block;
}

/* shared page heads */
.tax-page,
.client-management-page,
.meeting-management-page{
  max-width:1380px;
  margin:0 auto;
  padding:48px 0 84px;
}
.tax-head,
.client-management-head,
.meeting-management-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  padding-bottom:28px;
  border-bottom:1px solid #262626;
}
.tax-head h1,
.client-management-head h1,
.meeting-management-head h1{
  margin:6px 0 10px;
  font-size:30px!important;
  line-height:1.4!important;
  letter-spacing:-.05em!important;
  font-weight:500!important;
}
.tax-head p:last-child,
.client-management-head p:last-child,
.meeting-management-head p:last-child{
  max-width:700px;
  margin:0;
  color:#8d8d88;
  font-size:12px;
  line-height:1.75;
}
.client-management-head>div:last-child{
  display:flex;
  gap:8px;
}

/* TAX */
.tax-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border-bottom:1px solid #262626;
}
.tax-summary>div{
  min-height:96px;
  padding:16px 14px;
  border-right:1px solid #262626;
}
.tax-summary>div:last-child{border-right:0}
.tax-summary span,
.meeting-management-summary span{
  display:block;
  color:#66655f;
  font-size:10px;
  font-weight:500;
}
.tax-summary strong,
.meeting-management-summary strong{
  display:block;
  margin-top:12px;
  font-size:20px;
  font-weight:500;
  letter-spacing:-.035em;
}
.tax-summary small{
  display:block;
  margin-top:4px;
  color:#52514c;
  font-size:9px;
}
.tax-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:38px;
  margin-top:48px;
}
.tax-panel{
  border-top:1px solid #292929;
}
.tax-panel-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:17px 0;
  border-bottom:1px solid #202020;
}
.tax-panel-head h2{
  margin:6px 0 0;
  font-size:18px;
  font-weight:500;
}
.tax-panel-head>span{
  color:#55544f;
  font-size:9px;
}
.tax-contract-list article,
.tax-invoice-list button{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:14px;
  align-items:center;
  width:100%;
  padding:14px 0;
  border:0;
  border-bottom:1px solid #1d1d1d;
  background:transparent;
  color:#999891;
  text-align:left;
}
.tax-contract-list strong,
.tax-invoice-list strong{
  display:block;
  color:#e5e3dc;
  font-size:11px;
  font-weight:500;
}
.tax-contract-list small,
.tax-invoice-list small{
  display:block;
  margin-top:3px;
  color:#55544f;
  font-size:9px;
}
.tax-contract-list span,
.tax-invoice-list span,
.tax-contract-list em,
.tax-invoice-list em,
.tax-invoice-list time{
  font-size:10px;
  font-style:normal;
  white-space:nowrap;
}
.tax-contract-list em{color:#b18a84}
.tax-invoice-list em{color:#77766f}

/* CLIENT MANAGEMENT */
.management-search{
  display:block;
  margin:28px 0 0;
}
.management-search input{
  width:100%;
  height:42px;
  border:0;
  border-bottom:1px solid #303030;
  background:transparent;
  color:#e5e5e2;
  font-size:11px;
  outline:none;
}
.management-section{
  margin-top:46px;
  border-top:1px solid #292929;
}
.management-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:17px 0;
  border-bottom:1px solid #202020;
}
.management-section-head h2{
  margin:6px 0 0;
  font-size:18px;
  font-weight:500;
}
.management-section-head>span,
.management-section-head>div:last-child>span{
  color:#5a5954;
  font-size:10px;
}
.management-section-head>div:last-child{
  display:flex;
  align-items:center;
  gap:14px;
}
.management-client-list>button{
  display:grid;
  grid-template-columns:minmax(220px,1.3fr) 90px 90px 90px;
  gap:18px;
  align-items:center;
  width:100%;
  padding:15px 0;
  border:0;
  border-bottom:1px solid #1d1d1d;
  background:transparent;
  color:#8f8e87;
  text-align:left;
}
.management-client-list strong,
.management-partner-table strong{
  display:block;
  color:#e4e2db;
  font-size:11px;
  font-weight:500;
}
.management-client-list small,
.management-partner-table small{
  display:block;
  margin-top:3px;
  color:#55544f;
  font-size:9px;
}
.management-client-list span,
.management-client-list em{
  font-size:10px;
  font-style:normal;
}
.management-partner-head,
.management-partner-table>button{
  display:grid;
  grid-template-columns:minmax(180px,1fr) 90px 150px minmax(220px,1.35fr) 90px;
  gap:16px;
  align-items:center;
}
.management-partner-head{
  padding:11px 0;
  border-bottom:1px solid #252525;
  color:#55544f;
  font-size:9px;
}
.management-partner-table>button{
  width:100%;
  padding:14px 0;
  border:0;
  border-bottom:1px solid #1d1d1d;
  background:transparent;
  color:#909089;
  text-align:left;
}
.management-partner-table>button span,
.management-partner-table>button em{
  font-size:10px;
  font-style:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* MEETINGS */
.meeting-management-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-bottom:1px solid #262626;
}
.meeting-management-summary>div{
  min-height:92px;
  padding:16px 14px;
  border-right:1px solid #262626;
}
.meeting-management-summary>div:last-child{border-right:0}
.meeting-management-list{
  margin-top:48px;
  border-top:1px solid #292929;
}
.meeting-management-list-head,
.meeting-management-list article{
  display:grid;
  grid-template-columns:88px minmax(160px,.8fr) minmax(220px,1.2fr) minmax(180px,1fr);
  gap:18px;
  align-items:start;
}
.meeting-management-list-head{
  padding:12px 0;
  border-bottom:1px solid #252525;
  color:#55544f;
  font-size:9px;
}
.meeting-management-list article{
  padding:17px 0;
  border-bottom:1px solid #1d1d1d;
}
.meeting-management-list time{
  color:#696862;
  font-size:10px;
}
.meeting-management-list strong{
  display:block;
  color:#e1dfd8;
  font-size:11px;
  font-weight:500;
}
.meeting-management-list small{
  display:block;
  margin-top:4px;
  color:#5f5e58;
  font-size:9px;
  line-height:1.55;
}
.meeting-management-list article>div:last-child{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.meeting-management-list article>div:last-child>span{
  color:#aaa8a0;
  font-size:10px;
  line-height:1.6;
}

@media(max-width:1050px){
  .tax-grid{grid-template-columns:1fr}
  .tax-summary{grid-template-columns:repeat(3,1fr)}
  .management-partner-head{display:none}
  .management-partner-table>button{grid-template-columns:1fr 90px 1fr}
  .management-partner-table>button span:nth-of-type(3),
  .management-partner-table>button em{display:none}
  .meeting-management-list-head{display:none}
  .meeting-management-list article{grid-template-columns:74px 1fr 1fr}
  .meeting-management-list article>div:last-child{grid-column:2 / -1}
}
@media(max-width:760px){
  .tax-page,.client-management-page,.meeting-management-page{padding-top:36px}
  .tax-head,.client-management-head,.meeting-management-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .tax-head h1,.client-management-head h1,.meeting-management-head h1{font-size:26px!important}
  .tax-summary,.meeting-management-summary{grid-template-columns:1fr 1fr}
  .tax-summary>div,.meeting-management-summary>div{border-bottom:1px solid #262626}
  .management-client-list>button{grid-template-columns:1fr 56px 56px}
  .management-client-list>button em{display:none}
  .management-partner-table>button{grid-template-columns:1fr 72px}
  .management-partner-table>button span:nth-of-type(2){display:none}
  .meeting-management-list article{grid-template-columns:62px 1fr}
  .meeting-management-list article>div:nth-of-type(2),
  .meeting-management-list article>div:last-child{grid-column:2}
}


/* 2026-11-15 — AUTOMATED REPORT PERSISTENCE STATUS */
.auto-report-panel{
  margin-top:38px!important;
}
.auto-report-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid #202020;
}
.auto-report-grid>div{
  min-height:86px;
  padding:16px 14px;
  border-right:1px solid #202020;
}
.auto-report-grid>div:last-child{border-right:0}
.auto-report-grid span{
  display:block;
  color:#62615c;
  font-size:9px;
  font-weight:500;
  letter-spacing:.03em;
}
.auto-report-grid strong{
  display:block;
  margin-top:11px;
  color:#e7e5de;
  font-size:14px;
  font-weight:500;
  letter-spacing:-.025em;
}
.auto-report-grid small{
  display:block;
  margin-top:4px;
  color:#565550;
  font-size:9px;
}
.weekly-auto-status{
  display:flex;
  gap:8px;
  margin-top:10px;
}
.weekly-auto-status span{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border:1px solid #343434;
  color:#8d8c86;
  font-size:9px;
  font-weight:500;
  letter-spacing:.04em;
}
@media(max-width:760px){
  .auto-report-grid{grid-template-columns:1fr}
  .auto-report-grid>div{
    min-height:auto;
    border-right:0;
    border-bottom:1px solid #202020;
  }
  .auto-report-grid>div:last-child{border-bottom:0}
}


/* 2026-11-15 — READABILITY PASS / DESKTOP USAGE */
body{
  font-size:13px!important;
}

/* Header */
.site-kicker,
.site-meta{
  font-size:12px!important;
  color:#8b8a84!important;
}
.header-action,
.header-menu{
  font-size:12px!important;
}

/* Main navigation */
.nav-group-label{
  font-size:11px!important;
  color:#77766f!important;
}
.primary-four-nav .desk-nav-item{
  min-height:64px!important;
}
.primary-four-nav .desk-nav-item span{
  font-size:10px!important;
  color:#66655f!important;
}
.primary-four-nav .desk-nav-item strong{
  font-size:13px!important;
  line-height:1.45!important;
}
.primary-four-nav .desk-nav-item small{
  font-size:10px!important;
  line-height:1.45!important;
  color:#70706a!important;
}

/* Client sidebar */
.side-intro h2{
  font-size:20px!important;
}
.side-intro p:last-child{
  font-size:12px!important;
  color:#8a8983!important;
}
.client-search input{
  font-size:12px!important;
}
.client-button{
  min-height:48px!important;
}
.client-button strong{
  font-size:12.5px!important;
  line-height:1.45!important;
}
.client-button small{
  font-size:10px!important;
  color:#74736d!important;
}
.client-count{
  font-size:10px!important;
  color:#77766f!important;
}
.user-mini strong{
  font-size:11px!important;
}
.user-mini span{
  font-size:9.5px!important;
}

/* Main page heads */
.tax-head h1,
.client-management-head h1,
.meeting-management-head h1,
.overview-head h1,
.projects-head h1,
.reports-head h1,
.client-index-head h1,
.client-hero.compact-client h1,
.partner-dashboard .partner-hero h1,
.partner-detail-head h1,
.journal-hero h1,
.weekly-hero h1{
  font-size:clamp(30px,2.4vw,34px)!important;
  line-height:1.35!important;
}
.tax-head p:last-child,
.client-management-head p:last-child,
.meeting-management-head p:last-child,
.overview-head p:last-child,
.projects-head p:last-child,
.reports-head p:last-child,
.client-index-head p:last-child,
.client-hero.compact-client .client-lead,
.partner-dashboard .partner-hero p:last-child,
.partner-detail-head p:last-child,
.journal-hero p,
.weekly-hero p{
  font-size:13px!important;
  line-height:1.78!important;
  color:#989791!important;
}

/* Section titles */
.management-section-head h2,
.tax-panel-head h2,
.overview-panel-head h2,
.projects-section-head h2,
.reports-panel-head h2,
.nw-section.compact-section .nw-section-head h2,
.partner-dashboard .partner-list-head h2,
.partner-section-head h2,
.journal-section h3,
.journal-head h2,
.weekly-section h2{
  font-size:19px!important;
  line-height:1.45!important;
}
.management-section-head .eyebrow,
.tax-panel-head .eyebrow,
.overview-panel-head .eyebrow{
  font-size:10.5px!important;
  color:#74736d!important;
}

/* Active clients */
.management-client-list>button{
  min-height:54px!important;
  padding:16px 0!important;
}
.management-client-list strong{
  font-size:13px!important;
  line-height:1.45!important;
}
.management-client-list small{
  font-size:10.5px!important;
  color:#74736d!important;
}
.management-client-list span,
.management-client-list em{
  font-size:11.5px!important;
  color:#8f8e88!important;
}

/* Partner master */
.management-partner-head{
  font-size:10.5px!important;
  color:#706f69!important;
}
.management-partner-table>button{
  min-height:56px!important;
  padding:16px 0!important;
}
.management-partner-table strong{
  font-size:13px!important;
  line-height:1.45!important;
}
.management-partner-table small{
  font-size:10.5px!important;
  color:#74736d!important;
}
.management-partner-table>button span,
.management-partner-table>button em{
  font-size:11.5px!important;
  color:#94938d!important;
}

/* Work dashboard rows */
.desk-task-main strong,
.task strong,
.log-item strong,
.meeting strong,
.client-work-row strong,
.project-status-row strong,
.report-row strong,
.overview-recent-item strong,
.partner-table td strong{
  font-size:13px!important;
}
.desk-task-main p,
.task small,
.log-item p,
.meeting>p,
.meeting-section p,
.client-work-row small,
.project-status-row b,
.overview-recent-item small,
.partner-table td,
.partner-table td small,
.info-row strong{
  font-size:11.5px!important;
  line-height:1.7!important;
}
.desk-task-meta span,
.task-project,
.log-item time,
.meeting time,
.meeting .attendees,
.tag,
.project-status-row>span,
.project-status-row time,
.project-status-row em,
.report-row>span,
.report-row small,
.overview-recent-item time,
.overview-recent-item span{
  font-size:10.5px!important;
}

/* KPIs and tax */
.tax-summary span,
.meeting-management-summary span,
.overview-kpis span,
.client-facts span,
.projects-summary span,
.reports-summary span,
.partner-metrics span,
.partner-detail-metrics span{
  font-size:10.5px!important;
  color:#77766f!important;
}
.tax-summary strong,
.meeting-management-summary strong,
.overview-kpis strong,
.client-index-summary strong,
.client-facts.work-facts strong,
.projects-summary strong,
.reports-summary strong,
.partner-dashboard .partner-metrics strong,
.partner-detail-metrics strong{
  font-size:23px!important;
}
.tax-summary small,
.overview-kpis small,
.client-index-summary small,
.projects-summary small,
.reports-summary small{
  font-size:10px!important;
  color:#66655f!important;
}

/* Meetings / tax lists */
.tax-contract-list strong,
.tax-invoice-list strong,
.meeting-management-list strong{
  font-size:12.5px!important;
}
.tax-contract-list small,
.tax-invoice-list small,
.meeting-management-list small{
  font-size:10.5px!important;
}
.tax-contract-list span,
.tax-invoice-list span,
.tax-contract-list em,
.tax-invoice-list em,
.tax-invoice-list time,
.meeting-management-list time,
.meeting-management-list article>div:last-child>span{
  font-size:11px!important;
}

/* Buttons */
.btn,
.section-link,
.back-link,
.journal-export{
  font-size:11.5px!important;
}

/* Improve contrast across secondary copy */
.empty,
.empty.large,
.partner-import-empty p,
.journal-empty,
.weekly-footnote{
  color:#84837d!important;
  font-size:11.5px!important;
}

@media(max-width:760px){
  .primary-four-nav .desk-nav-item strong{font-size:12.5px!important}
  .client-button strong{font-size:12px!important}
  .tax-head h1,
  .client-management-head h1,
  .meeting-management-head h1,
  .overview-head h1,
  .projects-head h1,
  .reports-head h1{font-size:28px!important}
  .management-client-list strong,
  .management-partner-table strong{font-size:12.5px!important}
}


/* 2026-11-15 — USABILITY PASS / WORK + REPORTS FIRST */
.content{
  padding-left:52px!important;
  padding-right:52px!important;
}
.overview-dashboard,
.reports-page,
.projects-page,
.journal-page,
.tax-page,
.client-management-page,
.meeting-management-page{
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Larger top-level type */
.overview-head h1,
.reports-head h1,
.projects-head h1,
.journal-hero h1,
.tax-head h1,
.client-management-head h1,
.meeting-management-head h1,
.client-hero.compact-client h1,
.partner-detail-head h1{
  font-size:36px!important;
  line-height:1.28!important;
}
.overview-head p:last-child,
.reports-head p:last-child,
.projects-head p:last-child,
.journal-hero p,
.tax-head p:last-child,
.client-management-head p:last-child,
.meeting-management-head p:last-child{
  font-size:14px!important;
  line-height:1.75!important;
}

/* Sidebar should read like navigation, not metadata */
.sidebar{
  width:250px!important;
}
.workspace{
  grid-template-columns:250px minmax(0,1fr)!important;
}
.primary-four-nav .desk-nav-item{
  min-height:70px!important;
  padding:14px 5px!important;
}
.primary-four-nav .desk-nav-item span{
  font-size:11px!important;
}
.primary-four-nav .desk-nav-item strong{
  font-size:15px!important;
  font-weight:500!important;
}
.primary-four-nav .desk-nav-item small{
  font-size:11px!important;
  margin-top:4px!important;
}
.side-intro h2{
  font-size:22px!important;
}
.side-intro p:last-child{
  font-size:13px!important;
}
.client-search input{
  font-size:13px!important;
}
.client-button{
  min-height:54px!important;
}
.client-button strong{
  font-size:14px!important;
}
.client-button small,
.client-count{
  font-size:11px!important;
}

/* Header */
.site-header{
  height:82px!important;
  padding-left:30px!important;
  padding-right:30px!important;
}
.site-kicker,
.site-meta{
  font-size:12px!important;
}
.header-action,
.header-menu{
  font-size:12px!important;
  min-height:38px!important;
}

/* Work quick nav */
.work-quick-nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:30px;
  border-top:1px solid #2a2a2a;
  border-bottom:1px solid #2a2a2a;
}
.work-quick-nav button{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  min-height:74px;
  padding:16px 18px;
  border:0;
  border-right:1px solid #242424;
  background:transparent;
  color:#aaa9a3;
  text-align:left;
  cursor:pointer;
}
.work-quick-nav button:last-child{border-right:0}
.work-quick-nav button:hover,
.work-quick-nav button.active{
  background:#111;
  color:#fff;
}
.work-quick-nav strong{
  font-size:15px!important;
  font-weight:500;
}
.work-quick-nav small{
  font-size:11px!important;
  color:#6f6e68;
  white-space:nowrap;
}

/* KPI readability */
.overview-kpis{
  margin-top:0!important;
}
.overview-kpis>div{
  min-height:104px!important;
  padding:18px 16px!important;
}
.overview-kpis span{
  font-size:11.5px!important;
}
.overview-kpis strong{
  font-size:28px!important;
}
.overview-kpis small{
  font-size:11px!important;
}

/* Panels */
.overview-panel-head,
.reports-panel-head{
  padding:20px 0!important;
}
.overview-panel-head h2,
.reports-panel-head h2,
.management-section-head h2,
.tax-panel-head h2,
.nw-section.compact-section .nw-section-head h2{
  font-size:21px!important;
}
.overview-panel-head p,
.reports-panel-head p,
.nw-section.compact-section .nw-section-head p:last-child{
  font-size:12.5px!important;
}
.overview-panel-head>span,
.reports-panel-head>span{
  font-size:11px!important;
}

/* Today's work */
.desk-task{
  min-height:68px!important;
  padding:18px 0!important;
}
.desk-task-main strong{
  font-size:15px!important;
}
.desk-task-main p{
  font-size:12.5px!important;
}
.desk-task-meta span,
.desk-task time{
  font-size:11px!important;
}

/* Need attention */
.attention-item{
  min-height:70px!important;
  padding:16px 0!important;
}
.attention-item strong{
  font-size:14px!important;
}
.attention-item small,
.attention-item>span{
  font-size:11px!important;
}

/* Work report archive on work home */
.work-report-archive{
  margin-top:44px!important;
}
.work-report-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  border-top:1px solid #252525;
}
.work-report-column{
  min-width:0;
}
.work-report-column-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  min-height:52px;
  border-bottom:1px solid #222;
}
.work-report-column-head strong{
  font-size:12px!important;
  font-weight:500;
  color:#ddd;
}
.work-report-column-head span{
  font-size:11px!important;
  color:#74736d;
}
.work-report-row{
  display:grid;
  grid-template-columns:104px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  width:100%;
  min-height:70px;
  padding:14px 0;
  border:0;
  border-bottom:1px solid #1e1e1e;
  background:transparent;
  color:#999;
  text-align:left;
  cursor:pointer;
}
.work-report-row:hover{
  background:#0d0d0d;
}
.work-report-row time{
  font-size:12px!important;
  color:#888;
}
.work-report-row strong{
  display:block;
  font-size:14px!important;
  line-height:1.5;
  color:#e3e1da;
  font-weight:500;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.work-report-row small{
  display:block;
  margin-top:4px;
  font-size:11px!important;
  color:#6f6e68;
}
.work-report-row>span{
  font-size:11px!important;
  color:#8e8d87;
}

/* Full reports page */
.reports-stack{
  display:grid;
  gap:46px;
  margin-top:44px;
}
.reports-summary>div{
  min-height:108px!important;
  padding:18px 16px!important;
}
.reports-summary span{
  font-size:11.5px!important;
}
.reports-summary strong{
  font-size:27px!important;
}
.reports-summary small{
  font-size:11px!important;
}
.daily-report-list{
  border-top:1px solid #252525;
}
.daily-report-row{
  display:grid;
  grid-template-columns:120px minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  width:100%;
  min-height:82px;
  padding:16px 0;
  border:0;
  border-bottom:1px solid #202020;
  background:transparent;
  color:#999;
  text-align:left;
  cursor:pointer;
}
.daily-report-row:hover{background:#0e0e0e}
.daily-report-row time{
  font-size:13px!important;
  color:#8c8b85;
}
.daily-report-row strong{
  display:block;
  color:#e7e5df;
  font-size:15px!important;
  font-weight:500;
  line-height:1.5;
}
.daily-report-row small{
  display:block;
  margin-top:5px;
  font-size:11.5px!important;
  color:#74736d;
}
.daily-report-row>span{
  font-size:11.5px!important;
  color:#aaa9a3;
}
.report-row{
  min-height:72px!important;
  padding:16px 0!important;
}
.report-row strong{
  font-size:14px!important;
}
.report-row span,
.report-row small{
  font-size:11.5px!important;
}

/* Project and client tables */
.project-status-head,
.management-partner-head,
.client-work-head{
  font-size:11.5px!important;
}
.project-status-row{
  min-height:64px!important;
}
.project-status-row strong,
.management-client-list strong,
.management-partner-table strong,
.client-work-row strong{
  font-size:14px!important;
}
.project-status-row span,
.project-status-row b,
.project-status-row em,
.project-status-row time,
.management-client-list span,
.management-client-list em,
.management-partner-table>button span,
.management-partner-table>button em{
  font-size:12px!important;
}
.management-client-list>button,
.management-partner-table>button{
  min-height:62px!important;
}
.management-client-list small,
.management-partner-table small{
  font-size:11px!important;
}

/* Journal */
.journal-head h2{
  font-size:22px!important;
}
.journal-head p,
.journal-prose,
.journal-work p{
  font-size:13px!important;
}
.journal-work strong{
  font-size:14px!important;
}
.journal-work span,
.journal-work small,
.journal-work em,
.journal-status span{
  font-size:11.5px!important;
}
.journal-date-row{
  min-height:62px!important;
}
.journal-date-row span,
.journal-date-row strong{
  font-size:12.5px!important;
}
.journal-date-row small{
  font-size:11px!important;
}

/* General */
.btn,
.section-link,
.back-link,
.journal-export{
  font-size:12px!important;
}
.empty,
.empty.large,
.partner-import-empty p,
.journal-empty,
.weekly-footnote{
  font-size:12.5px!important;
}

@media(max-width:900px){
  .content{padding-left:24px!important;padding-right:24px!important}
  .work-quick-nav{grid-template-columns:1fr 1fr}
  .work-quick-nav button:nth-child(2){border-right:0}
  .work-quick-nav button:nth-child(-n+2){border-bottom:1px solid #242424}
  .work-report-columns{grid-template-columns:1fr}
}
@media(max-width:600px){
  .overview-head h1,
  .reports-head h1,
  .projects-head h1,
  .journal-hero h1,
  .tax-head h1,
  .client-management-head h1,
  .meeting-management-head h1{font-size:30px!important}
  .work-quick-nav strong{font-size:14px!important}
  .daily-report-row,
  .work-report-row{grid-template-columns:88px minmax(0,1fr)}
  .daily-report-row>span,
  .work-report-row>span{display:none}
}


/* 2026-11-15 — ALWAYS-VISIBLE WORK SUBNAV */
.work-subnav{
  display:grid;
  grid-template-columns:1fr;
  margin:10px 0 22px;
  padding:8px 0;
  border-top:1px solid #202020;
  border-bottom:1px solid #202020;
}
.work-subnav button{
  position:relative;
  width:100%;
  min-height:42px;
  padding:0 12px 0 30px;
  border:0;
  background:transparent;
  color:#77766f;
  text-align:left;
  font-size:12.5px!important;
  font-weight:500;
  cursor:pointer;
}
.work-subnav button:before{
  content:"";
  position:absolute;
  left:13px;
  top:50%;
  width:5px;
  height:1px;
  background:#4d4c47;
}
.work-subnav button:hover{
  color:#d8d6cf;
  background:#0d0d0d;
}
.work-subnav button.active{
  color:#fff;
}
.work-subnav button.active:before{
  width:7px;
  background:#f0eee7;
}
.sidebar[data-view="finance"] .work-subnav,
.sidebar[data-view="clients"] .work-subnav,
.sidebar[data-view="client"] .work-subnav,
.sidebar[data-view="partner"] .work-subnav,
.sidebar[data-view="meetings"] .work-subnav{
  opacity:.52;
}
.sidebar[data-view="finance"] .work-subnav button,
.sidebar[data-view="clients"] .work-subnav button,
.sidebar[data-view="client"] .work-subnav button,
.sidebar[data-view="partner"] .work-subnav button,
.sidebar[data-view="meetings"] .work-subnav button{
  color:#5f5e59;
}

/* Make current report state unmistakable */
.work-report-archive .overview-panel-head h2{
  font-size:23px!important;
}
.work-report-column-head strong{
  font-size:13px!important;
}
.work-report-row strong{
  font-size:15px!important;
}
.work-report-row small{
  font-size:11.5px!important;
}
.auto-report-panel .overview-panel-head h2{
  font-size:21px!important;
}
.auto-report-grid strong{
  font-size:16px!important;
}
.auto-report-grid span,
.auto-report-grid small{
  font-size:10.5px!important;
}

@media(max-width:900px){
  .work-subnav{
    grid-template-columns:1fr 1fr;
    gap:0;
  }
  .work-subnav button{
    padding-left:25px;
    min-height:40px;
    font-size:12px!important;
  }
}


/* 2026-11-15 — FIVE PRIMARY MENUS / KOREAN-ONLY REPORT UI */
.workspace{
  grid-template-columns:270px minmax(0,1fr)!important;
}
.sidebar.simple-main-nav{
  width:270px!important;
  padding:26px 18px 24px!important;
}
.main-five-nav{
  display:grid;
  gap:0;
  border-top:1px solid #2a2a2a;
}
.main-five-nav button{
  min-height:78px;
  padding:0 14px;
  border:0;
  border-bottom:1px solid #262626;
  background:transparent;
  color:#a7a69f;
  text-align:left;
  font-size:18px!important;
  font-weight:500;
  letter-spacing:-.035em;
  cursor:pointer;
}
.main-five-nav button:hover{
  color:#fff;
  background:#0e0e0e;
}
.main-five-nav button.active{
  color:#fff;
  background:#111;
}
.site-title{
  font-size:13px!important;
  font-weight:500;
  color:#8e8d87;
  letter-spacing:-.02em;
}
.site-header-right .header-action{
  min-width:auto!important;
  padding:0 13px!important;
}

/* Simple report pages */
.simple-report-page,
.simple-admin-page{
  max-width:1220px;
  margin:0 auto;
  padding:54px 0 90px;
}
.simple-page-head{
  padding-bottom:30px;
  border-bottom:1px solid #292929;
}
.simple-page-head h1{
  margin:0 0 12px;
  font-size:38px!important;
  line-height:1.3;
  letter-spacing:-.055em;
  font-weight:500;
}
.simple-page-head p{
  margin:0;
  color:#9a9993;
  font-size:15px!important;
  line-height:1.75;
}
.simple-report-layout{
  display:grid;
  grid-template-columns:310px minmax(0,1fr);
  gap:42px;
  margin-top:34px;
}
.simple-report-list{
  border-top:1px solid #2a2a2a;
}
.simple-report-list button{
  width:100%;
  min-height:86px;
  padding:16px 14px;
  border:0;
  border-bottom:1px solid #242424;
  background:transparent;
  color:#97968f;
  text-align:left;
  cursor:pointer;
}
.simple-report-list button:hover,
.simple-report-list button.active{
  background:#111;
}
.simple-report-list button.active{
  color:#fff;
}
.simple-report-list strong{
  display:block;
  margin-bottom:7px;
  color:inherit;
  font-size:15px!important;
  font-weight:500;
}
.simple-report-list span{
  display:-webkit-box;
  overflow:hidden;
  color:#77766f;
  font-size:12.5px!important;
  line-height:1.55;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.simple-report-detail{
  min-width:0;
}
.simple-report-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:0 0 28px;
  border-bottom:1px solid #2a2a2a;
}
.simple-report-title h2{
  margin:0 0 10px;
  font-size:28px!important;
  line-height:1.35;
  font-weight:500;
  letter-spacing:-.045em;
}
.simple-report-title p{
  margin:0;
  max-width:760px;
  color:#a5a49e;
  font-size:14px!important;
  line-height:1.75;
}
.simple-report-title>span{
  flex:none;
  padding:7px 10px;
  border:1px solid #3a3a3a;
  color:#8f8e88;
  font-size:11px!important;
}
.simple-report-detail>section{
  padding:28px 0;
  border-bottom:1px solid #242424;
}
.simple-report-detail>section h3{
  margin:0 0 17px;
  font-size:19px!important;
  font-weight:500;
  letter-spacing:-.035em;
}
.simple-prose,
.simple-report-detail .journal-bullets{
  color:#b0afa8;
  font-size:14px!important;
  line-height:1.8;
}
.simple-report-detail .journal-bullets li{
  margin:7px 0;
}
.simple-work-list article{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid #1f1f1f;
}
.simple-work-list article:last-child{
  border-bottom:0;
}
.simple-work-list strong{
  display:block;
  margin-bottom:5px;
  color:#e7e5df;
  font-size:15px!important;
  font-weight:500;
}
.simple-work-list p{
  margin:0 0 6px;
  color:#8c8b85;
  font-size:12px!important;
}
.simple-work-list small{
  display:block;
  color:#aaa9a2;
  font-size:13px!important;
  line-height:1.7;
}
.simple-work-list article>span{
  align-self:start;
  color:#9a9993;
  font-size:12px!important;
}

/* Monthly */
.monthly-report-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-bottom:1px solid #292929;
}
.monthly-report-summary>div{
  min-height:112px;
  padding:20px 18px;
  border-right:1px solid #292929;
}
.monthly-report-summary>div:last-child{
  border-right:0;
}
.monthly-report-summary span{
  display:block;
  color:#87867f;
  font-size:12px!important;
}
.monthly-report-summary strong{
  display:block;
  margin-top:15px;
  color:#f0eee7;
  font-size:28px!important;
  font-weight:500;
}
.monthly-report-section{
  margin-top:44px;
  border-top:1px solid #292929;
}
.monthly-report-section h2,
.simple-section-head h2{
  margin:0;
  padding:20px 0;
  border-bottom:1px solid #242424;
  font-size:21px!important;
  font-weight:500;
}
.monthly-report-section>button{
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:20px;
  width:100%;
  min-height:70px;
  padding:16px 0;
  border:0;
  border-bottom:1px solid #202020;
  background:transparent;
  color:#999;
  text-align:left;
  cursor:pointer;
}
.monthly-report-section>button:hover{
  background:#0e0e0e;
}
.monthly-report-section>button strong{
  font-size:13px!important;
  font-weight:500;
  color:#ddd;
}
.monthly-report-section>button span{
  font-size:13px!important;
  line-height:1.65;
  color:#9d9c95;
}

/* Tax invoice */
.simple-table-section{
  margin-top:44px;
  border-top:1px solid #292929;
}
.simple-invoice-list article{
  display:grid;
  grid-template-columns:110px minmax(0,1fr) 150px 70px;
  gap:20px;
  align-items:center;
  min-height:68px;
  padding:14px 0;
  border-bottom:1px solid #202020;
}
.simple-invoice-list time,
.simple-invoice-list em{
  color:#86857f;
  font-size:12px!important;
  font-style:normal;
}
.simple-invoice-list strong{
  display:block;
  color:#e3e1db;
  font-size:14px!important;
  font-weight:500;
}
.simple-invoice-list span{
  display:block;
  margin-top:4px;
  color:#888780;
  font-size:12px!important;
}
.simple-invoice-list b{
  color:#dedcd5;
  font-size:13px!important;
  font-weight:500;
}

/* Client management page cleanup */
.client-management-head h1{
  margin-top:0!important;
  font-size:38px!important;
}
.client-management-head p:last-child{
  font-size:15px!important;
}
.management-section-head h2{
  margin-top:0!important;
  font-size:21px!important;
}
.management-section-head>span,
.management-section-head>div:last-child>span{
  font-size:12px!important;
}
.management-client-list strong,
.management-partner-table strong{
  font-size:15px!important;
}
.management-client-list small,
.management-partner-table small{
  font-size:11.5px!important;
}
.management-client-list span,
.management-client-list em,
.management-partner-table>button span,
.management-partner-table>button em{
  font-size:12.5px!important;
}

/* Remove leftover old sidebar hierarchy if present */
.simple-main-nav .nav-group-label,
.simple-main-nav .primary-four-nav,
.simple-main-nav .work-subnav,
.simple-main-nav .client-side-area{
  display:none!important;
}

@media(max-width:900px){
  .workspace{
    grid-template-columns:1fr!important;
  }
  .sidebar.simple-main-nav{
    position:fixed;
    inset:82px auto 0 0;
    z-index:50;
    width:min(86vw,320px)!important;
    transform:translateX(-105%);
    transition:transform .25s ease;
    background:#080808;
  }
  .sidebar.simple-main-nav.open{
    transform:translateX(0);
  }
  .simple-report-layout{
    grid-template-columns:1fr;
  }
  .simple-report-list{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .monthly-report-summary{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:600px){
  .simple-report-page,
  .simple-admin-page{
    padding-top:36px;
  }
  .simple-page-head h1{
    font-size:30px!important;
  }
  .simple-page-head p{
    font-size:13.5px!important;
  }
  .simple-report-list{
    grid-template-columns:1fr;
  }
  .simple-report-title{
    flex-direction:column;
  }
  .simple-report-title h2{
    font-size:24px!important;
  }
  .simple-invoice-list article{
    grid-template-columns:78px minmax(0,1fr);
  }
  .simple-invoice-list b,
  .simple-invoice-list em{
    display:none;
  }
}


/* 2026-11-15 — BUILD PERIOD OPEN ACCESS LOADER */
.crm-build-loader{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  background:#080808;
  color:#777;
}
.crm-build-loader img{
  width:150px;
  height:auto;
  filter:brightness(0) invert(1);
}
.crm-build-loader span{
  font-size:12px;
  font-weight:500;
  letter-spacing:.08em;
}


/* 2026-11-15 — ARTICLE FORMAT FOR WEEKLY / MONTHLY REPORTS */
.article-report-page{
  max-width:1180px;
  margin:0 auto;
  padding:54px 0 100px;
}
.article-report-head{
  padding-bottom:28px;
  border-bottom:1px solid #292929;
}
.article-report-head h1{
  margin:0 0 12px;
  font-size:38px!important;
  line-height:1.3;
  letter-spacing:-.055em;
  font-weight:500;
}
.article-report-head p{
  margin:0;
  color:#989791;
  font-size:15px!important;
  line-height:1.75;
}
.article-report-shell{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:54px;
  margin-top:36px;
}
.article-report-archive{
  border-top:1px solid #292929;
}
.article-report-archive button{
  width:100%;
  padding:18px 0;
  border:0;
  border-bottom:1px solid #222;
  background:transparent;
  color:#86857f;
  text-align:left;
  cursor:pointer;
}
.article-report-archive button.active,
.article-report-archive button:hover{
  color:#fff;
}
.article-report-archive strong{
  display:block;
  margin-bottom:6px;
  font-size:13px!important;
  font-weight:500;
}
.article-report-archive span{
  display:block;
  color:#6f6e68;
  font-size:11.5px!important;
  line-height:1.55;
}
.report-article{
  max-width:760px;
  min-width:0;
}
.monthly-report-article{
  max-width:820px;
  margin:42px auto 0;
}
.report-article-header{
  padding:0 0 34px;
  border-bottom:1px solid #292929;
}
.report-date{
  margin:0 0 14px!important;
  color:#85847e!important;
  font-size:12px!important;
}
.report-article-header h2{
  margin:0 0 18px;
  color:#f0eee7;
  font-size:30px!important;
  line-height:1.35;
  letter-spacing:-.045em;
  font-weight:500;
}
.report-lead{
  margin:0!important;
  color:#b2b1aa!important;
  font-size:16px!important;
  line-height:1.9!important;
}
.report-article>section{
  padding:34px 0;
  border-bottom:1px solid #222;
}
.report-article>section h3{
  margin:0 0 18px;
  color:#e9e7e0;
  font-size:20px!important;
  line-height:1.5;
  letter-spacing:-.035em;
  font-weight:500;
}
.report-article>section p,
.report-article>section li{
  color:#aaa9a2;
  font-size:14px!important;
  line-height:1.9!important;
}
.report-article .journal-bullets{
  margin:0;
  padding-left:20px;
}
.report-article .journal-bullets li{
  margin:7px 0;
}
.report-paragraph{
  padding:18px 0;
  border-top:1px solid #1d1d1d;
}
.report-paragraph:first-of-type{
  border-top:0;
  padding-top:0;
}
.report-paragraph h4{
  margin:0 0 8px;
  color:#dedcd5;
  font-size:15px!important;
  font-weight:500;
}
.report-paragraph p{
  margin:0 0 6px!important;
}
.report-status-text{
  color:#77766f!important;
  font-size:12px!important;
}
.report-article-footer{
  padding:28px 0 0;
}
.report-article-footer p{
  color:#64635e;
  font-size:11.5px!important;
  line-height:1.7;
}
.article-inline-link{
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  gap:20px;
  width:100%;
  padding:16px 0;
  border:0;
  border-top:1px solid #1f1f1f;
  background:transparent;
  color:#999;
  text-align:left;
  cursor:pointer;
}
.article-inline-link:hover{
  color:#fff;
}
.article-inline-link strong{
  color:#d8d6cf;
  font-size:12.5px!important;
  font-weight:500;
}
.article-inline-link span{
  color:#888780;
  font-size:13px!important;
  line-height:1.6;
}
.article-report-empty{
  padding:40px 0;
  color:#77766f;
  font-size:14px;
}

@media(max-width:900px){
  .article-report-shell{
    grid-template-columns:1fr;
    gap:30px;
  }
  .article-report-archive{
    display:flex;
    gap:16px;
    overflow-x:auto;
  }
  .article-report-archive button{
    flex:0 0 220px;
  }
  .report-article{
    max-width:none;
  }
}
@media(max-width:600px){
  .article-report-page{
    padding-top:36px;
  }
  .article-report-head h1{
    font-size:30px!important;
  }
  .article-report-head p{
    font-size:13.5px!important;
  }
  .report-article-header h2{
    font-size:26px!important;
  }
  .report-lead{
    font-size:14.5px!important;
  }
  .report-article>section{
    padding:27px 0;
  }
  .report-article>section h3{
    font-size:18px!important;
  }
  .report-article>section p,
  .report-article>section li{
    font-size:13.5px!important;
  }
  .article-inline-link{
    grid-template-columns:1fr;
    gap:7px;
  }
}


/* 2026-11-15 — REPORT WRITING / EDITING */
.report-page-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
.report-actions{
  display:flex;
  gap:8px;
  flex:none;
}
.report-actions button{
  min-height:40px;
  padding:0 15px;
  border:1px solid #3a3a3a;
  background:transparent;
  color:#d5d3cc;
  font:inherit;
  font-size:12px!important;
  cursor:pointer;
}
.report-actions button:hover{
  background:#f0eee7;
  border-color:#f0eee7;
  color:#111;
}
.report-actions button:first-child{
  background:#f0eee7;
  border-color:#f0eee7;
  color:#111;
}
.report-editor-body{
  min-height:420px!important;
  resize:vertical;
  font-size:14px!important;
  line-height:1.8!important;
}
.report-editor-help{
  margin:-3px 0 4px;
  color:#77766f;
  font-size:11px;
  line-height:1.6;
}
.manual-article-body{
  padding:30px 0!important;
  border-bottom:1px solid #222;
}
.manual-article-body h2{
  margin:0 0 20px;
  font-size:25px!important;
  line-height:1.4;
  font-weight:500;
}
.manual-article-body h3{
  margin:30px 0 14px!important;
  font-size:19px!important;
  font-weight:500;
}
.manual-article-body h3:first-child{
  margin-top:0!important;
}
.manual-article-body p,
.manual-article-body li{
  color:#aaa9a2;
  font-size:14px!important;
  line-height:1.9!important;
}
.manual-article-body p{
  margin:0 0 16px;
}
.manual-article-body ul{
  margin:0 0 18px;
  padding-left:20px;
}
.manual-article-body li{
  margin:6px 0;
}

@media(max-width:700px){
  .report-page-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .report-actions{
    width:100%;
  }
  .report-actions button{
    flex:1;
  }
  .report-editor-body{
    min-height:360px!important;
  }
}


/* 2026-11-15 — SIMPLE CLIENT INFO POPUP */
.info-popup{
  display:grid;
  gap:26px;
}
.info-popup-title{
  padding-bottom:22px;
  border-bottom:1px solid #2a2a2a;
}
.info-popup-title h3{
  margin:0 0 7px;
  color:#f1efe8;
  font-size:26px!important;
  line-height:1.35;
  letter-spacing:-.045em;
  font-weight:500;
}
.info-popup-title p{
  margin:0;
  color:#85847e;
  font-size:12.5px!important;
}
.info-popup-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid #292929;
  border-bottom:1px solid #292929;
}
.info-popup-grid>div{
  min-height:86px;
  padding:16px 14px;
  border-right:1px solid #292929;
}
.info-popup-grid>div:last-child{border-right:0}
.info-popup-grid span{
  display:block;
  color:#77766f;
  font-size:11px!important;
}
.info-popup-grid strong{
  display:block;
  margin-top:11px;
  color:#e4e2db;
  font-size:17px!important;
  font-weight:500;
}
.info-popup-list{
  display:grid;
  gap:0;
}
.info-popup-list>div{
  display:grid;
  grid-template-columns:125px minmax(0,1fr);
  gap:20px;
  padding:13px 0;
  border-bottom:1px solid #202020;
}
.info-popup-list span{
  color:#74736d;
  font-size:11.5px!important;
}
.info-popup-list strong{
  color:#d8d6cf;
  font-size:13px!important;
  line-height:1.65;
  font-weight:400;
  word-break:break-word;
}
.info-popup-actions{
  display:flex;
  justify-content:flex-end;
  padding-top:4px;
}
@media(max-width:700px){
  .info-popup-grid{grid-template-columns:1fr 1fr}
  .info-popup-grid>div:nth-child(2){border-right:0}
  .info-popup-grid>div:nth-child(-n+2){border-bottom:1px solid #292929}
  .info-popup-list>div{grid-template-columns:92px minmax(0,1fr)}
}


/* 2026-11-15 — TAX-BASED PARTNER LIST */
.partner-finance-head,
.partner-finance-row{
  display:grid;
  grid-template-columns:minmax(220px,1.35fr) 130px 130px 110px minmax(220px,1.5fr);
  gap:18px;
  align-items:center;
}
.partner-finance-head{
  padding:12px 0;
  border-bottom:1px solid #292929;
  color:#75746e;
  font-size:11px;
}
.partner-finance-row{
  width:100%;
  min-height:66px;
  padding:15px 0;
  border:0;
  border-bottom:1px solid #202020;
  background:transparent;
  color:#9b9a94;
  text-align:left;
  cursor:pointer;
}
.partner-finance-row:hover{
  background:#0e0e0e;
}
.partner-finance-row strong{
  display:block;
  color:#e6e4dd;
  font-size:14px!important;
  font-weight:500;
}
.partner-finance-row small{
  display:block;
  margin-top:4px;
  color:#77766f;
  font-size:10.5px!important;
}
.partner-finance-row span,
.partner-finance-row time,
.partner-finance-row em{
  color:#9b9a94;
  font-size:12px!important;
  font-style:normal;
}
.partner-finance-row span:nth-child(2),
.partner-finance-row span:nth-child(3){
  color:#d2d0c9;
  font-variant-numeric:tabular-nums;
}
.partner-finance-row em{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.past-partners{
  margin-top:58px!important;
}
.past-partners .partner-finance-row strong{
  color:#c2c0ba;
}
.past-partners .partner-finance-row small,
.past-partners .partner-finance-row span,
.past-partners .partner-finance-row time,
.past-partners .partner-finance-row em{
  color:#6f6e68;
}
@media(max-width:1100px){
  .partner-finance-head{
    display:none;
  }
  .partner-finance-row{
    grid-template-columns:minmax(180px,1fr) 120px 110px;
  }
  .partner-finance-row span:nth-child(3),
  .partner-finance-row em{
    display:none;
  }
}
@media(max-width:700px){
  .partner-finance-row{
    grid-template-columns:minmax(0,1fr) 105px;
    gap:12px;
  }
  .partner-finance-row span:nth-child(3),
  .partner-finance-row time,
  .partner-finance-row em{
    display:none;
  }
}


/* 2026-11-15 — SIMPLE PLAIN REPORT EDITOR */
.modal:has(.plain-report-editor){
  width:min(900px,calc(100vw - 36px));
}
.plain-report-editor{
  display:grid;
  gap:20px;
}
.plain-report-editor .field{
  gap:9px;
}
.plain-report-editor .field>span{
  font-size:12px!important;
}
.plain-report-editor input,
.plain-report-editor textarea{
  font-size:14px!important;
  line-height:1.75!important;
}
.plain-report-editor #reportTitle{
  min-height:46px!important;
  font-size:18px!important;
  font-weight:500!important;
}
.plain-report-editor .report-editor-body{
  min-height:520px!important;
  padding:18px 16px!important;
  resize:vertical;
}
@media(max-width:700px){
  .modal:has(.plain-report-editor){
    width:calc(100vw - 20px);
  }
  .plain-report-editor .report-editor-body{
    min-height:430px!important;
  }
}
