.site-access-secret{-webkit-text-security:disc}
@media(max-width:600px){
 #memberRows .table-scroll{overflow:visible}
 #memberRows table,#memberRows tbody{display:block}
 #memberRows thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #memberRows tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0;border-top:1px solid var(--line)}
 #memberRows td{min-width:0;border:0;padding:0;overflow-wrap:anywhere}
 #memberRows td:first-child,#memberRows td:nth-child(2),#memberRows td:last-child{grid-column:1/-1}
 #memberRows td:first-child{font-weight:600}
 #memberRows td:first-child small{font-weight:400}
 #memberRows td:nth-child(2)::before{content:'업체 / 소속 팀 · ';color:var(--muted);font-size:10px}
 #memberRows td:nth-child(3)::before{content:'등급 · ';color:var(--muted);font-size:10px}
 #memberRows td:last-child{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px}
 .member-filter{flex-wrap:wrap}
}
.site-gallery{max-width:650px;margin:0 auto;--gallery-height:280px}
.site-gallery-layout{display:grid;grid-template-columns:minmax(0,1fr) 68px;gap:10px;align-items:start}
.site-gallery-stage{height:var(--gallery-height);min-width:0;display:flex;align-items:center;justify-content:center;background:#f4f6fa;border:1px solid var(--line);border-radius:14px;overflow:hidden;position:relative;touch-action:pan-y pinch-zoom;user-select:none}
.site-gallery-stage .gallery-enlarge{width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in;touch-action:pan-y pinch-zoom;transform:translateX(var(--gallery-drag,0));transition:transform .18s ease}
.site-gallery-stage.is-dragging .gallery-enlarge{cursor:grabbing;transition:none}
.site-gallery-stage img{width:100%;height:100%;object-fit:contain;display:block;user-select:none;-webkit-user-drag:none}
.site-gallery-stage iframe{border:0;width:100%;height:100%;pointer-events:none}
.site-gallery-stage .gallery-document{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.gallery-enlarge-file{background:white;border:1px solid var(--line);border-radius:8px;padding:9px 12px;position:absolute;bottom:12px;color:var(--navy);font-size:11px}
.gallery-file-label{max-width:90%;overflow-wrap:anywhere;font-size:12px;color:var(--navy)}.gallery-file-label svg{display:block;width:34px;height:34px;margin:0 auto 10px}.gallery-file-label small{display:block;margin-top:8px}
.site-gallery-thumbs{height:var(--gallery-height);overflow-y:auto;overscroll-behavior-y:contain;display:flex;flex-direction:column;gap:7px;padding:3px;scrollbar-width:thin}
.gallery-thumb{width:100%;min-height:59px;height:59px;flex:0 0 auto;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#f1f4f8;padding:0;position:relative;color:#61728a}
.gallery-thumb[aria-pressed=true]{border-color:#365ff4;box-shadow:0 0 0 1px #365ff4}
.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.gallery-thumb-placeholder{display:flex;height:100%;align-items:center;justify-content:center;flex-direction:column;gap:2px}.gallery-thumb-placeholder svg{width:21px;height:21px}.gallery-thumb-placeholder small{font-size:9px}
.gallery-thumb-number{position:absolute;right:2px;bottom:2px;font-size:9px;line-height:15px;min-width:15px;border-radius:4px;background:#172b43b3;color:#fff;padding:0 3px}
.gallery-thumb:focus-visible{outline:2px solid #365ff4;outline-offset:1px}
.site-gallery-caption{text-align:center;font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin-top:8px}
.site-gallery-hint{text-align:center;font-size:10px;color:var(--muted);margin:7px 0 0}
.gallery-error{max-width:90%;font-size:12px;overflow-wrap:anywhere;text-align:center}.gallery-error p{margin:0 0 10px}
@media(max-width:600px){.site-gallery{--gallery-height:220px}.site-gallery-layout{grid-template-columns:minmax(0,1fr) 56px;gap:6px}.gallery-thumb{height:49px;min-height:49px}}
@media(prefers-reduced-motion:reduce){.site-gallery-stage .gallery-enlarge{transition:none}}
#payrollPeople.payroll-grid{display:block}.compact-payroll{width:100%;font-size:12px}.compact-payroll td{padding:9px 10px}
.compact-payroll .payroll-actions{display:inline-flex;gap:5px;padding:0;margin:0;flex-wrap:wrap}.compact-payroll .btn.small{padding:6px 8px;font-size:11px;min-height:30px}.compact-payroll td:last-child{max-width:410px}
.billing-totals{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px;background:#f4f7ff;border-radius:12px;margin:12px 0}.billing-totals label{font-size:11px}.billing-totals input{max-width:120px}
.billing-totals output{font-weight:650}.billing-totals #billingSelectedUnits{flex-basis:100%}
[data-billing-price]{min-width:125px}
.record-picker-tools{display:grid;grid-template-columns:minmax(90px,1fr) minmax(110px,.7fr);gap:6px;margin:6px 0}
.record-picker-tools input{font-size:11px;min-width:0;padding:7px}.record-picker-tools>div{display:flex;align-items:center;justify-content:space-between;gap:8px;grid-column:1/-1;font-size:10px}.record-picker-tools button{font-size:10px}
.team-picker-search{padding:6px 9px!important;min-height:30px!important;font-size:11px!important;margin:5px 0}
.settlement-navigation{border-top:1px solid var(--line);margin-top:10px;padding-top:12px}.settlement-navigation>span{display:block;font-size:12px;color:#8b9bb2;padding:0 18px 6px}.settlement-navigation .nav{padding-left:25px;font-size:12px}
.counterparty-picker{padding:12px;background:#f4f7ff;border-radius:12px;margin-bottom:15px}.counterparty-picker .toolbar{margin-bottom:8px}.counterparty-picker label{font-size:12px}
.recommended-price{font-size:10px!important;color:#8a92a0!important;font-weight:400!important;display:block;margin-top:3px}
.message-bubble{padding:12px 15px;border-radius:12px;background:#f2f5fa;margin:10px 0;max-width:85%;overflow-wrap:anywhere}.message-bubble p{white-space:pre-wrap;margin:6px 0}.message-bubble small{font-size:10px;color:var(--muted)}.message-bubble.admin-message{margin-left:auto;background:#edf2ff}
.product-drop-zone{border:1px dashed #b7c5dd;padding:20px;border-radius:12px;background:#f7f9fc}.product-drop-zone img{display:block;max-height:180px;max-width:100%;object-fit:contain;margin-top:10px}
.order-summary-status select{font-size:11px;padding:6px;max-width:120px}.order-summary-status small{display:block}
.calendar-create-types{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;min-height:120px;align-items:center;view-transition-name:schedule-kind-row}
.calendar-create-types .calendar-type-btn{grid-row:2;grid-column:span 2;min-width:0;padding:8px;opacity:.72;transform:scale(.96);transition:transform .3s cubic-bezier(.2,.8,.2,1),background .3s,opacity .3s;min-height:35px}
.calendar-create-types .calendar-type-btn.active{grid-row:1;grid-column:2/6;justify-self:center;min-width:60%;min-height:52px;transform:scale(1);font-size:15px;font-weight:650;opacity:1;border-radius:15px;background:#eef2ff;box-shadow:0 4px 18px #3151bd0d}
.schedule-subtypes{border:0;margin:0 0 8px;padding:0}.schedule-subtypes legend{font-size:11px;color:var(--muted);margin-bottom:8px}.schedule-subtypes>div{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.schedule-subtypes button.active{background:#1c3f78;color:white;border-color:#1c3f78}
::view-transition-group(schedule-kind-row){animation-duration:.32s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}
@media(prefers-reduced-motion:reduce){.calendar-create-types .calendar-type-btn{transition:none}::view-transition-group(schedule-kind-row){animation:none}}
@media(max-width:600px){.compact-payroll .payroll-actions{max-width:180px}.compact-payroll td{padding:8px 6px}.compact-payroll .payroll-actions .btn{font-size:10px}.record-picker-tools{grid-template-columns:1fr 115px}.calendar-create-types .calendar-type-btn{font-size:11px}.calendar-create-types .calendar-type-btn.active{font-size:14px}.schedule-subtypes .btn{font-size:11px;padding:8px}.billing-totals{gap:8px}}
@media print{.record-picker-tools,.team-picker-search{display:none!important}.order-print-document table{table-layout:fixed;width:100%}.order-print-document td,.order-print-document th{overflow-wrap:anywhere;word-break:break-word;white-space:normal!important}.order-print-document .order-quantity{white-space:nowrap!important}.order-print-document tr{break-inside:avoid}}

.schedule-work-body{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px;margin-top:8px}.schedule-work-body textarea{min-height:155px;resize:vertical}.schedule-work-shortcuts{display:flex;flex-direction:column;gap:5px}.schedule-work-shortcuts .btn{font-size:10px;min-height:25px;padding:5px 7px}.schedule-work-label{margin-top:8px}
.team-picker-search{border:1px solid var(--line);border-radius:8px;background:white;color:var(--navy)}
@media(max-width:600px){.schedule-work-body{grid-template-columns:minmax(0,1fr) 68px}.schedule-work-body textarea{min-height:180px}.schedule-work-shortcuts .btn{font-size:9px}}

.payroll-team-totals summary{font-size:12px;cursor:pointer;font-weight:600}.payroll-team-totals .team-total-grid{margin-top:12px}

.billing-rate-control{display:flex;align-items:stretch;gap:4px}.billing-rate-control>span{display:flex;flex-direction:column;gap:2px}.billing-rate-control button{border:1px solid var(--line);border-radius:4px;background:#f2f5fc;color:#34517d;font-size:9px;min-width:27px;cursor:pointer}.billing-rate-control input{appearance:textfield;-moz-appearance:textfield}.billing-rate-control input::-webkit-inner-spin-button{appearance:none}
.bundle-save-bar{position:sticky;bottom:0;background:white;padding:12px 0;border-top:1px solid var(--line)}.bundle-edit-row h3{font-size:13px;margin-bottom:12px}.order-summary-status{display:flex;flex-wrap:wrap;gap:7px;align-items:center;max-width:230px}

.shop-product-cost{display:block;color:#54627b!important;font-size:10px!important;line-height:1.5;margin-top:3px}.shop-card-actions [data-shop-price]{font-size:10px}

/* Organization editing */
/* Construction request entry: the former short form and detailed consultation. */
.request-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 24px}.request-mode-card{display:flex;align-items:flex-start;gap:14px;min-width:0;text-align:left;border:1px solid #dce5ef;background:#fff;border-radius:16px;padding:22px;color:var(--ink);cursor:pointer;transition:border-color .18s,box-shadow .18s}.request-mode-card:hover{border-color:#9db1f0;box-shadow:0 4px 18px #112b4709}.request-mode-card:focus-visible{outline:3px solid #92a9ed;outline-offset:3px}.request-mode-card>svg{width:25px;height:25px;flex-shrink:0;color:#345fe8}.request-mode-card>span{flex:1;min-width:0}.request-mode-card strong,.request-mode-card small,.request-mode-card em{display:block}.request-mode-card strong{font-size:17px;margin-bottom:10px}.request-mode-card small{font-size:12px;line-height:1.7;color:#657a92}.request-mode-card em{font-size:10px;font-style:normal;color:#8293a8;margin-top:12px}.request-mode-card>b{font-weight:400;color:#6681b2}.request-mode-card:disabled{cursor:wait}.request-mode-options+form{margin-top:8px}
@media(max-width:700px){.request-mode-options{grid-template-columns:1fr;gap:12px}.request-mode-card{padding:18px}.request-mode-card strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.request-mode-card{transition:none}}
.organization-search input,#organizationNameForm input{display:block;width:100%;min-width:0;padding:11px 12px;border:1px solid #dfe5ee;border-radius:9px;background:#fff;color:var(--ink);font-size:12px}#organizationNameForm>label{display:block;font-size:12px}#organizationNameForm input{margin-top:8px}
.organization-panel .panel-title h3{margin:0}.organization-search{display:block;margin:16px 0 8px;font-size:12px}.organization-search input{margin-top:5px}.organization-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.organization-row:last-child{border-bottom:0}.organization-row>strong{min-width:0;overflow-wrap:anywhere;font-size:13px}.organization-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.organization-actions .organization-delete{color:#be3446}.organization-panel>p.subtext{font-size:11px;line-height:1.6}.organization-actions .btn{white-space:nowrap}
@media(max-width:600px){.organization-panel{padding:16px}.organization-row{gap:8px}.organization-row>strong{font-size:12px}.organization-actions{gap:8px}.organization-actions .btn{padding:7px 8px;font-size:11px}.organization-panel #newTeamForm input{width:100%;min-width:0}}

/* Private inquiry board and its persistent topbar entry. */
.inquiry-top{white-space:nowrap;min-height:34px!important;font-size:11px!important;padding:8px 11px!important}.inquiry-top[aria-current=page]{background:#edf2ff;border-color:#b9c9ff;color:#315bea}
.inquiry-board .toolbar{flex-wrap:wrap}.inquiry-board .toolbar input{flex:1;min-width:160px}.inquiry-row{border-top:1px solid var(--line)}.inquiry-row:first-child{border-top:0}.inquiry-row>button{display:block;width:100%;text-align:left;border:0;background:white;padding:18px 2px;color:var(--ink);border-radius:8px}.inquiry-row>button:hover{background:#f7f9fd}.inquiry-row-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inquiry-row-title strong{flex:1 1 180px;min-width:0;overflow-wrap:anywhere;font-size:14px}.inquiry-row>button>p{font-size:12px;color:var(--muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.inquiry-row-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.inquiry-unread{font-size:10px;color:#315bea;background:#eef3ff;border-radius:4px;padding:3px 6px}
.inquiry-detail-head{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:10px}.inquiry-detail-head>div{display:flex;gap:10px;align-items:center}.inquiry-detail-head h3{font-size:20px;line-height:1.5;overflow-wrap:anywhere;margin:12px 0 6px}.inquiry-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px}.inquiry-replies{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.inquiry-replies>h3{font-size:14px}.inquiry-replies>h3 small{font-weight:400;color:var(--muted)}.inquiry-reply{border:1px solid var(--line);border-radius:12px;padding:15px;margin:12px 0;background:#fafbfd}.inquiry-reply.operator-reply{background:#f3f6ff;border-color:#dce5ff}.inquiry-reply header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px;font-size:12px}.inquiry-reply header span{font-size:10px;color:var(--muted)}#inquiryReplyForm{margin-top:22px}#inquiryForm textarea{min-height:200px}#inquiryReplyForm textarea{min-height:120px}
@media(max-width:1100px){.topbar{gap:8px}.topbar .top-actions{flex-shrink:0;gap:5px}.topbar .breadcrumb{min-width:0}.topbar .brand-crumb span{display:none}.topbar .global-search{min-width:0;width:34px;padding:7px}.topbar .global-search span,.topbar .global-search kbd{display:none}.topbar #crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}}
@media(max-width:900px){.topbar #crumb{max-width:75px}}
@media(max-width:720px){.topbar{padding:0 10px;gap:6px}.topbar .install-top{display:inline-flex;padding:7px!important;min-height:32px!important}.topbar .inquiry-top{font-size:10px!important;min-height:32px!important;padding:7px 8px!important}.topbar .top-actions{gap:3px}.topbar .global-search,.topbar .icon-btn{width:29px;height:32px;flex-shrink:0}.topbar .breadcrumb b,.topbar .breadcrumb>.divider{display:none}.topbar .brand-crumb{padding:0}.inquiry-row-title strong{font-size:13px}.inquiry-row-meta{font-size:10px}.inquiry-detail-head h3{font-size:17px}.inquiry-reply{padding:13px}.inquiry-body{font-size:13px}}
@media(max-width:360px){.topbar{padding:0 8px}.topbar .top-actions{gap:2px}.topbar .breadcrumb{gap:0}.topbar .global-search,.topbar .icon-btn{width:27px}.topbar .inquiry-top{padding:7px!important}.inquiry-board .toolbar input{min-width:0;flex-basis:100%}}
.document-site-picker { min-width: 0; }
.document-site-current {
  padding: 10px 30px 10px 10px;
  position: relative;
  min-height: 43px;
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 9px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid #d8e2ee;
  border-radius: 9px;
  background: #fff;
  color: #17283e;
}
.document-site-current::-webkit-details-marker { display: none; }
.document-site-current::after { content: ''; position: absolute; right: 13px; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.document-site-picker [open] .document-site-current::after { transform: rotate(225deg); }
.document-site-current > span:only-child { grid-column: 1 / -1; }
.document-site-options { max-height: 245px; overflow: auto; padding: 4px; border: 1px solid #d8e2ee; border-radius: 9px; margin-top: 4px; background: white; }
.document-site-options ul { list-style: none; margin: 0; padding: 0; }
.document-site-options button {
  width: 100%; display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 9px; align-items: center;
  min-height: 36px; padding: 5px 7px; border: 0; border-radius: 6px; background: white;
  cursor: pointer; text-align: left; color: #17283e;
}
.document-site-options button:hover, .document-site-options button[aria-pressed="true"] { background: #f0f4fa; }
.document-site-date { font-size: 11px; color: #536581; font-variant-numeric: tabular-nums; white-space: nowrap; }
.document-site-date small { margin-left: 3px; font-size: 9px; }
.document-site-name { overflow-wrap:anywhere; }
.document-site-options .document-site-preferred, .document-site-current.document-site-preferred { background: #eaf2ff; color: #1f4da4; }
.document-site-options .document-site-preferred:hover, .document-site-options .document-site-preferred[aria-pressed="true"] { background: #dceaff; }
.document-site-preferred .document-site-date { color: #24529d; }
.document-site-options .document-site-empty { display: block; color: #50647b; }
.document-site-group { margin: 4px 0; padding: 5px 7px; font-size: 11px; font-weight: 700; color: #4a607d; }

@media (max-width:740px) { .topbar #brandCrumb { min-width:44px; min-height:44px; justify-content:center; } .topbar #brandCrumb img { display:block; width:38px; height:38px; } }

.site-file-groups{max-width:none}.site-file-groups .site-gallery-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}.site-file-groups .gallery-rails,.site-file-groups .gallery-group{min-width:0}.site-file-groups .gallery-rails{display:grid;gap:12px}.gallery-group header{display:flex;justify-content:space-between;align-items:center;gap:6px}.gallery-group h3{margin:0;font-size:13px}.gallery-group .text-link{padding:6px}.site-file-groups .site-gallery-thumbs{flex-direction:row;overflow-x:auto;overflow-y:hidden;height:auto;min-height:45px;align-items:center;overscroll-behavior-x:contain}.site-file-groups .gallery-thumb{width:56px;height:52px;min-height:52px}.site-file-groups .site-gallery-thumbs>small{font-size:12px;color:var(--muted)}.gallery-file-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0}.site-file-groups .site-gallery-stage[hidden]{display:none}.site-file-groups .site-gallery-layout:has(.site-gallery-stage[hidden]){grid-template-columns:1fr}
@media(max-width:600px){.site-file-groups .site-gallery-layout{grid-template-columns:minmax(0,1fr)}.site-file-groups .gallery-rails{gap:6px}.site-file-groups .gallery-thumb{width:51px;height:46px;min-height:46px}}
