/* Workspace density: screen only; report sheets keep their own typography. */
@media screen {
 html{font-size:15px}
 body{font-size:15px;line-height:1.45}
 body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select):not(.report-page *){font-size:15px;line-height:1.3;min-height:34px;height:auto;padding:5px 8px;min-width:0;max-width:100%;box-sizing:border-box}
 body textarea:not(.report-page *){font-size:15px;line-height:1.4;min-height:68px;padding:7px 9px;resize:vertical;box-sizing:border-box}
 body :where(button,.button):not(.report-page *){font-size:14px;line-height:1.3;min-height:34px;padding:6px 10px}
 body :where(input[type=checkbox],input[type=radio]){width:18px;height:18px;min-height:18px;padding:0;flex-shrink:0}
 body :where(h1):not(.report-page *){font-size:25px;line-height:1.25;margin:0 0 8px}
 body :where(h2):not(.report-page *){font-size:19px;line-height:1.3;margin-top:0;margin-bottom:8px}
 body :where(h3):not(.report-page *){font-size:16px;margin-top:0;margin-bottom:6px}
 body :where(.form-grid,.crm-form,.grid,.measurement-fields,.editor-grid){gap:9px 12px}
 body :where(.form-grid label,.crm-form label,.field,label.field){font-size:13px;line-height:1.35;gap:4px}
 body :where(.panel-body,.overview-panel,.panel-head,.card){padding:14px}
 body :where(.toolbar,.actions,.dialog-actions,.modal-actions){gap:7px;margin-top:10px;margin-bottom:10px}
 body :where(.dialog-head,.modal-head){margin-bottom:12px;padding-bottom:8px}
 body :where(.setup-section,.company-new){padding:12px;margin:12px 0}
 body :where(.help,.helptext,.note){font-size:13px;line-height:1.4;margin:5px 0}
 body :where(.table-wrap,.scroll) :where(th,td):not(.report-page *){padding:6px 8px}
 body dialog{max-height:92dvh;overflow:auto}
 body #frames{height:calc(100dvh - 240px);min-height:360px}
 body #form{padding:18px 20px}
 body #project-form{padding:18px}
 body #project-dialog{width:880px;max-width:calc(100vw - 24px)}
 body .top{min-height:62px!important;height:auto!important;padding:9px 18px;gap:12px}
 body .top img{width:112px;height:40px;object-fit:contain}
 body .top .title,body .top b{font-size:17px}
 body .top small{font-size:12px}
 body #mobile-nav,body #studio-logout{min-height:36px}
 body .studio-account #studio-user{font-size:14px}
 body .studio-bar{padding:6px 16px!important;gap:8px!important}
 body .studio-bar select{min-height:34px!important;padding:5px 8px!important;font-size:14px!important}
 body .project-strip{padding:7px 16px;gap:8px;font-size:13px}
 body main{padding:18px 20px}
 body .intro{margin-bottom:16px;padding-top:8px;padding-bottom:8px}
 body .intro p{font-size:15px;line-height:1.45;margin:6px 0}
 body .workbar{padding:9px 14px;gap:10px}
 body .workbar .actions{margin:0}
 body .nav-group summary{font-size:15px;padding:9px 10px}
 body .nav-children button{font-size:14px;min-height:34px;padding:7px 10px}
 body .main-users{font-size:15px;margin-top:8px;padding:9px 10px;width:100%;text-align:left}
 body .category-grid{gap:12px;margin:16px 0}
 body .category-card{min-height:100px;padding:16px;gap:7px}
 body .category-card strong{font-size:18px}
 body .category-card span{font-size:14px}
 body .project-information{margin:16px 0 8px}
 body .metrics{gap:9px;margin:14px 0}
 body .metric{padding:10px 14px}
 body .metric strong{font-size:24px}
 body .tabs{margin-bottom:14px}
 body .tabs button{padding:8px 10px;font-size:14px}
 body .split{gap:12px}
 body .form-end{margin-top:16px}
 body #new-user-form h2{margin-top:18px}
 body .account-nav{gap:7px;margin-bottom:16px;padding-bottom:9px}
 body.gob-embedded>.top{display:none!important}
 body.gob-embedded .layout{min-height:100vh}
 body.gob-embedded main{padding:14px 16px}
 body.gob-embedded aside{padding:14px 12px}
 /* Long geological descriptions remain multiline and readable. */
 body #wide-layer-dialog textarea,body .borehole-layer-description{min-height:100px}
 body #project-dialog input:not([type=checkbox]),body #project-dialog select{min-height:34px;padding:5px 8px;font-size:15px}
 body #project-dialog .form-grid{gap:9px 12px}
 body>header:not(.top){padding-top:10px;padding-bottom:10px}
 :focus-visible{outline-offset:3px}
}
@media screen and (max-width:760px),screen and (pointer:coarse){
 body :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,button,.button):not(.report-page *){min-height:44px;font-size:16px}
 body textarea:not(.report-page *){font-size:16px}
 body #mobile-nav,body #studio-logout,body .nav-children button,body .studio-bar select{min-height:44px!important}
 body .form-grid,body .crm-form{grid-template-columns:minmax(0,1fr)}
 body main{padding:14px 12px}
 body #form,body #project-form{padding:14px}
 body .studio-bar select{font-size:16px!important}
 body #project-dialog input:not([type=checkbox]),body #project-dialog select{min-height:44px;font-size:16px}
}

@media screen{
 .workspace-ui{--workspace-header-height:52px}.workspace-ui .topbar{height:auto;min-height:52px;padding:5px 12px;gap:10px}.workspace-ui .brand{min-height:34px}.workspace-ui .brand-logo{width:90px;height:34px;object-fit:contain}.workspace-ui .brand-caption,.workspace-ui .workspace-org{display:none}.workspace-ui .topnav{margin-left:auto}.workspace-ui .workspace-location{display:none}.workspace-ui.has-workspace .workspace-layout{grid-template-columns:minmax(0,1fr)}.workspace-ui .workspace-sidebar{position:fixed;z-index:1000;top:52px;bottom:0;left:0;width:270px;max-width:90vw;overflow:auto;box-shadow:5px 0 25px #193b4630}.workspace-ui .workspace-navigation{position:static;max-height:none}.workspace-ui .workspace-navigation>summary{display:none}.workspace-ui #workspace-content{padding-top:12px}.workspace-ui .page-heading,.workspace-ui .team-heading{margin-bottom:8px}.workspace-ui #workspace-menu{white-space:nowrap}.workspace-ui .workspace-logout{margin:0}.workspace-ui .workspace-logout button{border:1px solid #b7c9c7;background:white;color:#164d44}.workspace-ui .footer{padding:8px 12px;font-size:12px}.workspace-ui .team-metrics{margin:8px 0}.workspace-ui .company-field-button{margin-top:5px}.workspace-ui [hidden]{display:none!important}
 .guided-form>input[type=hidden]{display:none}.guided-form fieldset{border:0;padding:0;margin:0}.guided-form fieldset legend{font-size:17px;margin-bottom:8px}.guided-form .register-form-actions{margin-top:10px}.guided-form #entry-fields:empty{display:none}
}
@media screen and (min-width:850px){
 .guided-form{display:grid;grid-template-columns:145px minmax(0,1fr);gap:0 16px}.guided-form>*{grid-column:2;min-width:0}.guided-form>.step-progress{grid-column:1;grid-row:2/span 12;display:grid;align-self:start;position:sticky;top:0}.guided-form>.step-progress button{min-height:44px;text-align:left}.guided-form>.team-heading,.guided-form>.dialog-head{grid-column:1/-1}.guided-form fieldset legend{display:none}
}
@media screen and (max-width:760px),screen and (pointer:coarse){
 .workspace-ui .topbar{min-height:52px;gap:5px}.workspace-ui .workspace-logout button,.workspace-ui #workspace-menu{min-height:44px}.workspace-ui .brand-logo{width:66px}.workspace-ui .text-size-label{display:none}.workspace-ui .text-size-button{padding:8px}.workspace-ui .account-menu summary{font-size:13px;max-width:110px}.workspace-ui .workspace-sidebar{top:56px}.workspace-ui .form-grid,.workspace-ui .register-fieldset{grid-template-columns:minmax(0,1fr)}.form-checkpoint button{min-height:44px}
}

@media screen{
 .compact-native-register .team-shell{max-width:none;padding:0}.compact-native-register #register-app>.team-heading,.compact-native-register #register-app>.team-filters,.compact-native-register #register-app>.register-view-switch{display:none}.native-register-toolbar{display:flex;align-items:center;gap:6px;padding:4px 0;margin:0}.native-register-toolbar>#search{flex:1;max-width:550px;min-width:100px}.native-register-toolbar>#column-view{max-width:240px}.native-register-options,.native-register-filter{position:relative;font-size:13px;flex:none}.native-register-options>summary,.native-register-filter>summary{padding:7px;border:1px solid #b8cbcf;border-radius:5px;cursor:pointer;list-style-position:inside}.native-register-options[open]>div{position:absolute;right:0;top:100%;z-index:1000;display:grid;gap:4px;padding:8px;background:white;border:1px solid #b8cbcf;box-shadow:0 6px 25px #193b4630;min-width:220px}.native-register-options a,.native-register-options button{width:100%;text-align:left;justify-content:flex-start}.native-register-filter[open]{position:absolute;right:16px;top:115px;z-index:1000;background:white;padding:10px;width:min(430px,calc(100vw - 24px));border:1px solid #b8cbcf;box-shadow:0 6px 25px #193b4630}.native-register-filter .team-metrics{display:grid;grid-template-columns:1fr 1fr}.native-register-filter .team-metrics article{padding:8px}.native-register-filter .team-metrics b{font-size:17px}.native-register-help{font-size:12px;margin:5px 0}.native-register-help>summary{cursor:pointer}.compact-native-register #register-message:empty{display:none}.compact-native-register #register-message{font-size:13px;margin:4px 0}.compact-native-register .register-scroll{max-height:none;height:calc(100dvh - 150px);overflow:auto}.compact-native-register .team-pager{margin:5px 0;font-size:12px}.compact-native-register .register-table td{padding:5px 7px;font-size:14px}.compact-native-register .register-table button{font-size:12px;min-height:30px;padding:4px 6px}
}
@media screen and (max-width:760px),screen and (pointer:coarse){
 .native-register-toolbar{flex-wrap:wrap;gap:4px}.native-register-toolbar>#search{flex-basis:100%;max-width:none;order:6}.native-register-toolbar>#column-view{flex:1;max-width:190px}.native-register-options>summary,.native-register-filter>summary{min-height:44px;padding:11px 7px}.native-register-options a,.native-register-options button{min-height:44px;font-size:16px}.native-register-options[open]>div{position:fixed;top:106px;right:8px;max-height:calc(100dvh - 120px);overflow:auto}.compact-native-register .register-scroll{height:calc(100dvh - 200px)}.compact-native-register .register-table td{min-height:44px;font-size:16px;padding:8px}.compact-native-register .register-table button{min-height:44px}
}
