
:root{
  --hb-navy:#0a3158;
  --hb-navy2:#082846;
  --hb-blue:#1678f6;
  --hb-bg:#f4f7fb;
  --hb-card:#fff;
  --hb-line:#e3eaf2;
  --hb-text:#102742;
  --hb-sub:#71859a;
  --hb-green:#19ad68;
  --hb-orange:#f3a11a;
  --hb-red:#ef4444;
}

#hb-ui-prototype-root{
  position:fixed!important;
  inset:0!important;
  z-index:9000!important;
  width:100vw!important;
  height:100vh!important;
  overflow:auto!important;
  background:var(--hb-bg)!important;
  font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif;
  color:var(--hb-text);
}

#hb-ui-prototype-root *{box-sizing:border-box}

.hb-proto-shell{
  display:grid;
  grid-template-columns:222px minmax(0,1fr);
  min-width:1280px;
  min-height:100vh;
}

.hb-side{
  position:fixed;
  inset:0 auto 0 0;
  width:222px;
  display:flex;
  flex-direction:column;
  padding:20px 12px;
  background:
    radial-gradient(circle at 10% 78%,rgba(24,96,166,.22),transparent 35%),
    linear-gradient(180deg,var(--hb-navy),var(--hb-navy2));
  color:#fff;
  overflow-y:auto;
}

.hb-brand{
  min-height:72px;
  padding:0 12px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.hb-brand strong{
  font-size:19px;
  line-height:1.05;
  letter-spacing:.035em;
}

.hb-brand span{
  padding-top:8px;
  color:#c8d8e8;
  font-size:11px;
}

.hb-side>small{
  padding:11px 13px;
  color:#9db3c9;
  letter-spacing:.1em;
  font-size:10px;
}

.hb-side nav{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.hb-side nav button{
  height:46px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 13px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#eef6ff;
  text-align:left;
  font-size:13px;
  cursor:pointer;
}

.hb-side nav button:hover{background:rgba(255,255,255,.07)}

.hb-side nav button.active{
  background:linear-gradient(135deg,#0e6df0,#2589ff);
  box-shadow:0 5px 15px rgba(0,85,210,.27);
}

.hb-side nav button i{
  width:21px;
  color:#fff;
  font-style:normal;
  font-size:17px;
  text-align:center;
}

.hb-side footer{
  margin-top:auto;
  padding:18px 13px 3px;
  display:grid;
  gap:4px;
  color:#afc1d3;
  font-size:9px;
  letter-spacing:.14em;
}

.hb-side footer strong{color:#dce8f4}

.hb-work{
  grid-column:2;
  width:calc(100vw - 222px);
  min-width:0;
}

.hb-top{
  position:sticky;
  top:0;
  z-index:30;
  height:70px;
  display:grid;
  grid-template-columns:245px minmax(350px,570px) 1fr;
  align-items:center;
  gap:24px;
  padding:0 26px;
  border-bottom:1px solid var(--hb-line);
  background:#fff;
}

button{font-family:inherit}

.hb-company{
  width:190px;
  height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 13px;
  border:1px solid #dce5ee;
  border-radius:9px;
  background:#f9fbfd;
  color:#172c43;
  cursor:pointer;
}

.hb-company b{margin-left:auto}

.hb-global-search{
  height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 15px;
  border-radius:9px;
  background:#f0f4f8;
  color:#758ba1;
}

.hb-global-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#304860;
}

.hb-user{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
}

.hb-user>button{
  position:relative;
  border:0;
  background:transparent;
  color:#15304a;
  cursor:pointer;
  font-size:19px;
}

.hb-user>button em{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:17px;
  height:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#ef4444;
  color:#fff;
  font-size:9px;
  font-style:normal;
}

.hb-user>i{
  width:1px;
  height:27px;
  background:#dce3eb;
}

.avatar{
  width:35px;
  height:35px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#dbe5f0;
  color:#9aabbc;
}

.hb-content{
  min-height:calc(100vh - 70px);
  padding:24px 25px 40px;
  background:var(--hb-bg);
}

.hb-content-head{
  min-height:58px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

.hb-content-head h1{
  margin:0;
  font-size:29px;
  letter-spacing:-.04em;
}

.hb-content-head p{
  margin:8px 0 0;
  color:var(--hb-sub);
  font-size:12px;
}

.hb-head-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.hb-tabs{
  display:flex;
  gap:3px;
  margin:0 0 14px;
  padding:4px;
  width:max-content;
  border:1px solid var(--hb-line);
  border-radius:9px;
  background:#fff;
}

.hb-tabs button{
  height:34px;
  padding:0 15px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#5d7288;
  font-size:11px;
  cursor:pointer;
}

.hb-tabs button.active{
  background:#1678f6;
  color:#fff;
  font-weight:700;
}

.hb-btn{
  min-height:36px;
  padding:0 14px;
  border:1px solid #dbe4ed;
  border-radius:7px;
  background:#fff;
  color:#29445f;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}

.hb-btn:hover{background:#f5f8fc}

.hb-btn.primary{
  border-color:#1678f6;
  background:#1678f6;
  color:#fff;
}

.hb-mini{
  min-height:28px!important;
  padding:0 9px!important;
  font-size:10px!important;
}

.hb-mini.danger{color:#ef4444}

.hb-card{
  overflow:hidden;
  border:1px solid var(--hb-line);
  border-radius:13px;
  background:#fff;
  box-shadow:0 4px 16px rgba(23,60,95,.045);
}

.hb-padded{padding:18px}

.hb-padded h2,.hb-padded h3{margin:0 0 14px}

.hb-card-title{
  min-height:50px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-bottom:1px solid #edf1f5;
}

.hb-card-title h2{
  margin:0;
  font-size:15px;
}

.hb-stat-grid{
  display:grid;
  gap:12px;
  margin-bottom:16px;
}

.hb-stat-grid.five{grid-template-columns:repeat(5,1fr)}
.hb-stat-grid.six{grid-template-columns:repeat(6,1fr)}
.hb-stat-grid.four{grid-template-columns:repeat(4,1fr)}
.hb-stat-grid.three{grid-template-columns:repeat(3,1fr)}

.hb-stat{
  min-height:118px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border:1px solid var(--hb-line);
  border-radius:12px;
  background:#fff;
}

.hb-stat-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#edf5ff;
  color:#1678f6;
}

.hb-stat-icon.green{background:#e9f9f1;color:#19ad68}
.hb-stat-icon.red{background:#fff0f0;color:#ef4444}
.hb-stat-icon.orange{background:#fff6e6;color:#f3a11a}

.hb-stat>div:last-child{
  min-width:0;
  display:grid;
  gap:4px;
}

.hb-stat span{font-size:11px;font-weight:700}
.hb-stat strong{font-size:25px;letter-spacing:-.03em}
.hb-stat small{color:#7a8da1;font-size:10px}

.hb-grid{
  display:grid;
  gap:12px;
  margin-bottom:16px;
}

.hb-grid.two{grid-template-columns:1fr 1fr}
.dashboard-middle{grid-template-columns:1.2fr 1.2fr .84fr .9fr}
.dashboard-bottom{grid-template-columns:1.7fr 1fr .95fr}
.site-detail{grid-template-columns:1.15fr 1fr}
.approval-edit{grid-template-columns:1.45fr .85fr}
.approval-line{grid-template-columns:.75fr 1.25fr}
.approval-detail{grid-template-columns:1.35fr .8fr}
.labor-assign{grid-template-columns:.8fr 1.25fr .85fr}
.settlement{grid-template-columns:.7fr 1.55fr .65fr}
.price-history{grid-template-columns:1.4fr .6fr}
.docs-layout{grid-template-columns:.6fr 1.3fr .7fr}
.photos-layout{grid-template-columns:.55fr 1.35fr .75fr}
.as-top{grid-template-columns:.8fr 1.1fr .65fr}
.contract-layout{grid-template-columns:.6fr 1.4fr}

.hb-filterbar{
  display:flex;
  gap:10px;
  align-items:flex-end;
  margin-bottom:14px;
  padding:14px;
  border:1px solid var(--hb-line);
  border-radius:12px;
  background:#fff;
}

.hb-filterbar label{
  min-width:130px;
  display:grid;
  gap:6px;
}

.hb-filterbar label.grow{flex:1}

.hb-filterbar label>span,
.hb-field>span{
  color:#516981;
  font-size:10px;
  font-weight:700;
}

.hb-select,.hb-search-box,.hb-input,.hb-cell-input{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 11px;
  border:1px solid #dfe7ef;
  border-radius:7px;
  background:#fff;
  color:#8293a4;
  font-size:11px;
}

.hb-table-wrap{
  width:100%;
  overflow:auto;
}

.hb-table{
  width:100%;
  border-collapse:collapse;
  font-size:10px;
}

.hb-table th{
  padding:10px 9px;
  background:#f5f8fb;
  color:#546b82;
  text-align:left;
  white-space:nowrap;
}

.hb-table td{
  padding:10px 9px;
  border-bottom:1px solid #eef2f6;
  color:#314a62;
  white-space:nowrap;
}

.hb-link{
  border:0;
  background:transparent;
  color:#126be4;
  font-weight:700;
  cursor:pointer;
}

.hb-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border-radius:11px;
  background:#eaf3ff;
  color:#1678f6;
  font-size:9px;
  font-weight:800;
}

.hb-badge.green{background:#eaf9f1;color:#19ad68}
.hb-badge.orange{background:#fff4df;color:#e79000}
.hb-badge.red{background:#fff0f0;color:#ef4444}

.hb-donut-layout{
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
}

.hb-donut{
  width:150px;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:conic-gradient(#45bc77 0 70%,#77b7ff 70% 85%,#2b82f6 85% 100%);
}

.hb-donut.large{margin:20px auto}

.hb-donut>div{
  width:82px;
  height:82px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
}

.hb-donut strong{font-size:18px}

.hb-legend{display:grid;gap:12px}
.hb-legend p{margin:0;display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:11px}
.hb-legend i{width:9px;height:9px;border-radius:50%}
.hb-legend i.blue{background:#2b82f6}
.hb-legend i.sky{background:#77b7ff}
.hb-legend i.green{background:#45bc77}

.hb-list{display:grid}

.hb-list button{
  min-height:52px;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto;
  padding:8px 15px;
  border:0;
  border-bottom:1px solid #edf1f5;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.hb-list button strong{font-size:11px}
.hb-list button span{color:#7b8ea2;font-size:10px}
.hb-list button b{grid-column:2;grid-row:1/3;align-self:center}

.hb-weather{
  min-height:145px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin:12px;
  border-radius:9px;
  background:linear-gradient(135deg,#dcf1ff,#f8fbff);
}

.hb-weather .sun{font-size:54px;color:#f6aa00}

.hb-weather>div:last-child{display:grid;gap:4px}
.hb-weather strong{font-size:33px}
.hb-weather span{font-size:11px;font-weight:700}

.hb-weather-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding:0 12px 12px;
}

.hb-weather-row span{
  padding:4px 8px;
  display:grid;
  gap:5px;
  text-align:center;
  color:#71849a;
  font-size:9px;
  border-right:1px solid #e7edf3;
}

.hb-weather-row span:last-child{border:0}
.hb-weather-row b{color:#1a334c}

.hb-quick{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
  padding:12px;
}

.hb-quick button{
  min-height:86px;
  border:0;
  border-radius:9px;
  background:#f4f8fc;
  cursor:pointer;
}

.hb-quick span{display:block;margin-bottom:8px;color:#1678f6;font-size:22px}
.hb-quick strong{font-size:10px}

.hb-progress{
  width:100%;
  height:7px;
  overflow:hidden;
  border-radius:5px;
  background:#e8eef5;
}

.hb-progress i{
  display:block;
  height:100%;
  background:#2b82f6;
  border-radius:5px;
}

.hb-feed{padding:7px 15px}

.hb-feed button{
  width:100%;
  min-height:48px;
  display:grid;
  grid-template-columns:28px 1fr auto;
  gap:8px;
  align-items:center;
  border:0;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.hb-feed i{
  width:27px;
  height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#edf5ff;
  color:#1678f6;
  font-style:normal;
}

.hb-feed span{display:grid}
.hb-feed strong{font-size:10px}
.hb-feed small,.hb-feed time{color:#7a8da0;font-size:9px}

.hb-calendar-mini{padding:10px}
.hb-calendar-mini .week,.hb-calendar-mini .days{display:grid;grid-template-columns:repeat(7,1fr)}
.hb-calendar-mini b{text-align:center;font-size:9px;color:#71849a;padding:5px}
.hb-calendar-mini button{min-height:30px;border:0;background:#fff;font-size:9px;cursor:pointer}

.hb-form-card{padding:18px}
.hb-form-grid{display:grid;gap:24px;margin-bottom:22px}
.hb-form-grid.two{grid-template-columns:1fr 1fr}
.hb-form-grid h3{margin:0 0 13px}

.hb-field{
  display:grid;
  gap:6px;
  margin-bottom:11px;
}

.hb-textarea,.hb-editor,.hb-upload{
  min-height:100px;
  padding:12px;
  border:1px solid #dfe7ef;
  border-radius:7px;
  color:#8293a4;
  font-size:11px;
  background:#fff;
}

.hb-editor{min-height:160px}
.hb-upload{display:flex;align-items:center;justify-content:center;border-style:dashed}

.hb-detail-tabs,.hb-status-tabs,.hb-calendar-tabs{
  display:flex;
  gap:7px;
  margin-bottom:14px;
}

.hb-detail-tabs button,.hb-status-tabs button,.hb-calendar-tabs button{
  min-height:34px;
  padding:0 13px;
  border:1px solid #dfe7ef;
  border-radius:7px;
  background:#fff;
  color:#4d647b;
  font-size:10px;
  cursor:pointer;
}

.hb-summary-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:15px;
}

.hb-map-placeholder,.hb-photo-placeholder,.hb-file-preview,.hb-photo-large,.hb-document-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#e8f0f7,#f7fafc);
  color:#8798a9;
  font-size:11px;
}

.hb-map-placeholder{height:210px;margin:15px;border-radius:9px}
.hb-photo-placeholder{height:120px}
.hb-photo-placeholder.tall{height:180px;border-radius:9px;margin-bottom:14px}

.hb-card-grid,.hb-construction-cards,.hb-glass-types{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:16px;
}

.hb-site-card,.hb-construction-cards>button,.hb-glass-types>button{
  overflow:hidden;
  padding:0 0 15px;
  border:1px solid var(--hb-line);
  border-radius:12px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.hb-site-card h3,.hb-site-card p,.hb-construction-cards h3,.hb-construction-cards p,.hb-glass-types h3,.hb-glass-types p{margin:8px 14px 0}
.hb-site-card>.hb-badge{margin:10px 14px 0}

.hb-step{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  color:#587086;
  font-size:11px;
}

.hb-step b{
  width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#1678f6;color:#fff
}

.hb-step i{width:50px;height:1px;background:#cfd9e4}

.hb-inline-fields{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-bottom:15px;
}

.hb-drop-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.hb-drop-grid button{
  min-height:90px;
  display:grid;
  place-items:center;
  border:1px dashed #8dbcf4;
  border-radius:9px;
  background:#f3f8ff;
  color:#2867ac;
  cursor:pointer;
}

.hb-drop-grid span{font-size:10px}

.hb-glass-types>button{padding:14px;text-align:center}
.hb-glass-types>button.selected{border:2px solid #1678f6}
.hb-glass-img{height:95px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#e5f5ff;color:#4a82ad}

.hb-approver,.hb-check-row,.hb-company-row{
  width:100%;
  min-height:54px;
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px;
  border:1px solid #e1e8ef;
  border-radius:8px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.hb-approver b{
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf5ff;color:#1678f6
}

.hb-approver span,.hb-check-row span+strong,.hb-company-row{font-size:11px}
.hb-approver span{flex:1;display:grid}
.hb-approver small{color:#7b8ea2}
.hb-approver em{font-style:normal;font-size:18px;color:#1678f6}

.hb-org-tree{display:grid}
.hb-org-tree button,.hb-folder-tree button{
  min-height:36px;
  padding:0 8px;
  border:0;
  background:#fff;
  color:#344e67;
  text-align:left;
  cursor:pointer;
}

.hb-line-card{
  min-height:70px;
  display:grid;
  grid-template-columns:32px 1fr auto;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
  padding:10px;
  border:1px solid #e1e8ef;
  border-radius:8px;
}

.hb-line-card>b{
  width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#edf5ff;color:#1678f6
}

.hb-line-card>div{display:grid}
.hb-line-card span{color:#7a8da1;font-size:10px}

.hb-document{min-height:180px;padding:15px;border:1px solid #e1e8ef;border-radius:8px;background:#fbfcfe;color:#647b90;font-size:11px}
.hb-files{display:flex;gap:10px}
.hb-files button{width:95px;height:75px;border:1px solid #e1e8ef;border-radius:8px;background:#fff;cursor:pointer}

.hb-timeline{display:grid}

.hb-timeline button{
  min-height:56px;
  position:relative;
  display:grid;
  grid-template-columns:18px 1fr;
  gap:9px;
  align-items:center;
  border:0;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.hb-timeline i{
  width:10px;height:10px;border-radius:50%;background:#20b16a
}

.hb-timeline span{display:grid}
.hb-timeline small{color:#7a8da1}

.hb-calendar-big{padding-bottom:14px}
.hb-month-grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 14px}
.hb-month-grid>b{text-align:center;padding:9px;background:#f4f8fb;font-size:10px}
.hb-month-grid button{min-height:82px;padding:7px;border:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer}
.hb-month-grid button strong{display:block}
.hb-month-grid button span{display:block;margin-top:13px;color:#1678f6;font-size:9px}

.hb-chart-bars,.hb-chart-combo{
  height:220px;
  display:flex;
  align-items:flex-end;
  gap:13px;
  padding:30px 20px 15px;
  border-bottom:1px solid #dfe7ef;
}

.hb-chart-bars i,.hb-chart-combo i{
  flex:1;
  max-width:34px;
  min-height:20px;
  background:linear-gradient(#4a96ff,#1678f6);
  border-radius:5px 5px 0 0;
}

.hb-chart-bars.wide{height:150px}

.hb-chart-line{
  height:220px;
  background:
    linear-gradient(to bottom,transparent 24%,#edf1f5 25%,transparent 26%,transparent 49%,#edf1f5 50%,transparent 51%,transparent 74%,#edf1f5 75%,transparent 76%),
    linear-gradient(165deg,transparent 43%,#2682f8 44%,#2682f8 45%,transparent 46%);
}

.hb-modal-preview{
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:#eef3f8;
}

.hb-modal-preview.dark{background:rgba(13,28,44,.72)}

.hb-modal{
  width:760px;
  padding-bottom:16px;
  border-radius:12px;
  background:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.14);
}

.hb-modal>h3,.hb-modal>.hb-table-wrap{margin:0 16px 12px}

.hb-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:15px 16px 0}

.hb-process,.hb-stage-row{
  display:flex;
  gap:0;
  align-items:center;
  justify-content:space-between;
}

.hb-process button{
  flex:1;
  position:relative;
  min-height:90px;
  border:0;
  background:#fff;
  cursor:pointer;
}

.hb-process button:after{
  content:"";
  position:absolute;
  top:26px;
  left:50%;
  width:100%;
  height:3px;
  background:#dfe7ef;
}

.hb-process button:last-child:after{display:none}
.hb-process i{position:relative;z-index:2;width:17px;height:17px;display:block;margin:17px auto 7px;border-radius:50%;background:#2b82f6}
.hb-process strong,.hb-process span{display:block;font-size:10px}
.hb-process span{color:#8395a7;margin-top:5px}

.hb-warning-modal{
  width:480px;
  padding:30px;
  border-radius:12px;
  background:#fff;
  text-align:center;
}

.warn-icon{
  width:70px;height:70px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff1df;color:#ef7e00;font-size:36px;font-weight:800
}

.hb-alert{
  display:grid;
  gap:4px;
  margin:18px 0;
  padding:14px;
  border-radius:8px;
  text-align:left;
  font-size:11px;
}

.hb-alert.orange{background:#fff4e6;color:#a95a00}
.hb-alert.danger{background:#fff0f0;color:#c43c3c}

.hb-stage-row{
  gap:8px;
  margin-bottom:16px;
}

.hb-stage-row button{
  flex:1;
  min-height:95px;
  display:grid;
  grid-template-columns:30px 1fr;
  align-items:center;
  padding:12px;
  border:1px solid #e1e8ef;
  border-radius:10px;
  background:#fff;
  text-align:left;
  cursor:pointer;
}

.hb-stage-row b{grid-row:1/3;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#1678f6;color:#fff}
.hb-stage-row span{font-size:18px;font-weight:800}

.hb-folder-tree{display:grid}
.hb-file-preview{height:260px;margin-bottom:14px;border-radius:8px}

.hb-photo-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.hb-photo-grid button{
  border:0;
  background:#fff;
  cursor:pointer;
  text-align:left;
}

.hb-photo-grid button div{
  height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:#e7edf3;
  color:#8999a9;
}

.hb-photo-grid span{display:block;margin-top:5px;font-size:9px}

.hb-photo-large{height:260px;margin-bottom:14px;border-radius:8px}

.hb-company-row{justify-content:space-between}
.hb-company-row span{padding:4px 8px;border-radius:10px;background:#eaf9f1;color:#19ad68;font-size:9px}

.hb-document-preview{height:320px;margin-bottom:15px;border-radius:8px}

.hb-empty{
  padding:36px;
  text-align:center;
  color:#8294a6;
  font-size:11px;
}

.hb-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  width:330px;
  padding:15px 17px;
  display:grid;
  gap:4px;
  border-radius:10px;
  background:#102d4b;
  color:#fff;
  box-shadow:0 15px 40px rgba(0,0,0,.18);
  transform:translateY(30px);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
}

.hb-toast.show{
  transform:translateY(0);
  opacity:1;
}

.hb-toast strong{font-size:12px}
.hb-toast span{color:#72afff;font-size:11px;font-weight:700}
.hb-toast small{color:#bbcad8;font-size:10px}

@media(max-width:1350px){
  .hb-proto-shell{min-width:1180px}
  .dashboard-middle{grid-template-columns:1.1fr 1.1fr .9fr .9fr}
}

/* UI ACTION BOOST */

.hb-action-ribbon{
  margin:0 0 14px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:14px;
  border:1px solid #dfe7ef;
  border-radius:11px;
  background:#fff;
}

.hb-action-ribbon-left{
  min-width:90px;
  padding-right:14px;
  display:grid;
  gap:2px;
  border-right:1px solid #e5ebf1;
}

.hb-action-ribbon-left strong{
  font-size:12px;
}

.hb-action-ribbon-left span{
  color:#8797a8;
  font-size:9px;
}

.hb-action-ribbon-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.hb-action-ribbon-buttons button,
.hb-row-actions button,
.hb-card-more,
.hb-form-bottom-actions button{
  min-height:30px;
  padding:0 10px;
  border:1px solid #dce5ee;
  border-radius:6px;
  background:#fff;
  color:#405a73;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}

.hb-action-ribbon-buttons button:hover,
.hb-row-actions button:hover,
.hb-card-more:hover{
  border-color:#9fc8fb;
  background:#f3f8ff;
  color:#146bdd;
}

.hb-action-ribbon-buttons button.primary,
.hb-form-bottom-actions button.primary{
  border-color:#1678f6;
  background:#1678f6;
  color:#fff;
}

.hb-action-column,
.hb-row-actions{
  min-width:190px;
  text-align:center!important;
}

.hb-row-actions button{
  min-height:25px;
  margin:1px 2px;
  padding:0 7px;
  font-size:9px;
}

.hb-row-actions button.danger{
  color:#df4949;
}

.hb-card-more{
  min-height:27px;
  font-size:9px;
}

.hb-form-bottom-actions{
  margin-top:20px;
  padding-top:14px;
  display:flex;
  justify-content:flex-end;
  gap:8px;
  border-top:1px solid #e8edf3;
}

.hb-form-bottom-actions button{
  min-width:80px;
  height:36px;
  font-size:11px;
}


/* DASHBOARD REFRESH 2026-09-27 */
#hb-ui-prototype-root #hb-my-work{display:none!important;}
#hb-ui-prototype-root .hb-dashboard-approval{margin-bottom:16px;padding:18px;}
#hb-ui-prototype-root .hb-dashboard-section-head{margin-bottom:14px;}
#hb-ui-prototype-root .hb-dashboard-section-head>div{display:flex;align-items:center;gap:10px;}
#hb-ui-prototype-root .hb-dashboard-kicker{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#edf5ff;color:#1678f6;font-size:10px;font-weight:800;}
#hb-ui-prototype-root .hb-stat-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}
#hb-ui-prototype-root .hb-dashboard-approval-stats{margin-bottom:0;}
#hb-ui-prototype-root .dashboard-focus{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);}
#hb-ui-prototype-root .dashboard-tools{grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);}
#hb-ui-prototype-root .hb-card-sub{display:block;margin-top:4px;color:#7a8da1;font-size:10px;font-weight:600;}
#hb-ui-prototype-root .hb-dashboard-issues .hb-list button{min-height:54px;}
#hb-ui-prototype-root .hb-dashboard-quick .hb-quick{grid-template-columns:repeat(3,minmax(0,1fr));}
#hb-ui-prototype-root .hb-dashboard-weather .hb-weather{min-height:96px;}
@media(max-width:1180px){#hb-ui-prototype-root .dashboard-focus,#hb-ui-prototype-root .dashboard-tools{grid-template-columns:1fr;}}
@media(max-width:767px){#hb-ui-prototype-root .hb-stat-grid.three{grid-template-columns:1fr;}#hb-ui-prototype-root .hb-dashboard-approval{padding:14px;}#hb-ui-prototype-root .hb-dashboard-quick .hb-quick{grid-template-columns:repeat(2,minmax(0,1fr));}}
