/* Augenzentrum Herzberg: visual language from kasserver/public/assets/css/site.css.
   The palette lives in style.css; app layouts remain independent of the website. */
body{-webkit-font-smoothing:antialiased}
h1,h2,h3{color:var(--navy);font-weight:680;letter-spacing:-.035em}
h1{font-size:clamp(30px,3.2vw,42px)}
:focus-visible{outline:3px solid #f1b24a;outline-offset:4px}
.button{border-radius:999px;font-size:13px;min-height:44px;padding:10px 19px;font-weight:700;white-space:normal}
.button.primary:hover{background:var(--teal-dark);border-color:var(--teal-dark)}
.button.secondary{border-color:var(--border);color:var(--navy)}
.button.light{background:var(--teal);color:#fff;border-color:var(--teal)}
.button.light:hover{background:var(--teal-dark);border-color:var(--teal-dark)}
.button.text{color:var(--teal-dark);font-size:12px}
.button.on-dark{color:var(--navy);border-color:#aec8ce;background:transparent}
.button.on-dark:hover{background:#fff;border-color:var(--teal)}
.card{border-radius:var(--radius);box-shadow:0 7px 24px #0d304704}
.planner-teaser h2{color:#fff}
.badge{border-radius:999px;font-size:11px;padding:4px 10px}
.icon-button{width:40px;height:40px;border-radius:50%}
.eyebrow,.page-heading .eyebrow,.section-heading .eyebrow{color:var(--teal-dark);font-size:11px;font-weight:750}
.page-heading p,.card-title p{font-size:13px;line-height:1.7}
.page-heading h1{font-size:clamp(29px,3vw,40px)}
.page-footer{font-size:11px}

/* The actual practice logo is copied locally so a subdomain stays self-contained. */
.sidebar{width:264px;border-top:6px solid var(--navy);padding:26px 18px 18px;background:#fff}
.main{margin-left:264px}
.brand,.sidebar .brand,.login-story .brand{gap:12px;font-size:16px;letter-spacing:0;line-height:1.2}
.brand-logo{display:block;width:58px;height:46px;flex:0 0 58px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}
.brand-copy{display:flex;min-width:0;flex-direction:column}
.brand-copy strong{color:var(--navy);font-size:16px;font-weight:750;line-height:1.18;letter-spacing:-.025em}
.brand .brand-copy small{font-size:9px;line-height:1.4;font-weight:650;letter-spacing:.075em;margin-top:7px;color:var(--muted)}
.practice-nav{margin-top:34px;gap:24px!important}
.nav-section-label{font-size:10px;letter-spacing:.085em;color:var(--muted);padding-bottom:8px}
.practice-nav .nav-item{font-size:13px;min-height:44px;border-radius:12px;gap:12px;padding:11px 13px;color:var(--muted)}
.practice-nav .nav-item.active{background:var(--sky);color:var(--navy);box-shadow:inset 3px 0 0 var(--teal)}
.nav-item b{background:#fff;border-color:#b9dce0;color:var(--teal-dark)}
.topbar{height:80px;background:#fff;font-size:12px;border-top:6px solid var(--navy)}
.today,.role-label{font-size:12px}
.role-label{border-radius:999px;padding:5px 12px}
.account strong{font-size:12px}
.account>div>button{font-size:11px}
.account .icon-button{width:36px;height:40px;padding:8px}
.demo-note{background:var(--warm);font-size:11px}
.demo-note p{font-size:11px}

/* Soft petrol gradient and circular detail echo the public website's hero. */
.practice-hero{background:radial-gradient(circle at 8% 10%,#167c801f,transparent 40%),linear-gradient(145deg,#f8fbfb,#eef7f6 55%,var(--warm));color:var(--navy);border:1px solid var(--border);border-radius:26px;padding:36px;gap:30px}

.practice-hero .eyebrow{font-size:11px;color:var(--teal-dark);letter-spacing:.12em}
.practice-hero h2{font-size:clamp(28px,2.8vw,38px);font-weight:680;line-height:1.16}
.practice-hero>div>p{font-size:14px;color:var(--muted);line-height:1.75;max-width:420px}
.practice-hero-actions .button{font-size:12px;min-height:44px;padding:10px 17px}
.practice-today{border-left-color:#b9dce0;padding-left:28px}
.practice-today>span{font-size:12px;color:var(--teal-dark)}
.practice-today>strong{font-size:30px;font-weight:650}
.practice-today>p{font-size:14px!important;color:var(--muted)!important}
.practice-today-team small{font-size:11px;color:var(--muted)}
.practice-today-team .avatar-stack .avatar{background:#b9dce0;border-color:#eff7f6;color:var(--navy);width:32px;height:32px;font-size:10px}
.practice-pulse>button{border-radius:16px;min-height:100px}
.practice-pulse>button:hover{background:var(--tint);border-color:#9dc6cd}
.practice-pulse small{font-size:12px}
.practice-pulse strong{font-weight:650;color:var(--navy)}
.practice-pulse>button>.icon:first-child{background:var(--sky);color:var(--teal-dark)}
.section-heading h2{font-size:26px;font-weight:680}
.section-heading>p{font-size:12px}
.practice-module{border-radius:var(--radius);padding:26px;transition:border-color .18s,box-shadow .18s,transform .18s}
.practice-module:hover{border-color:#8ab8bf;box-shadow:0 16px 35px #0d304710;transform:translateY(-2px)}
.practice-module h3{font-size:18px;font-weight:680}
.practice-module>p{font-size:13px;line-height:1.7;color:var(--muted)}
.module-symbol{border-radius:13px;width:46px;height:46px}
.module-action{font-size:12px;color:var(--teal-dark)}
.module-action .icon{color:var(--teal)}
.practice-news-card>p,.practice-empty p,.next-chat p{font-size:13px;color:var(--muted)}
.practice-news-meta time,.practice-news-footer>span:not(.badge),.news-admin-actions>span{font-size:11px}
.practice-news-footer .button,.news-admin-actions>.button,.practice-empty .button,.practice-next>.button{font-size:12px}
.practice-next .upcoming small{font-size:11px}
.upcoming strong{font-size:12px}
.time-label{font-size:11px}
.next-chat>strong{font-size:14px}
.next-chat .button{font-size:12px}

/* Keep data-heavy screens compact while making everyday text easier to read. */
.notice,.notice.amber{font-size:12px;border-radius:14px}
.filter-tabs .button{font-size:12px;min-height:44px}
.toolbar-right select{font-size:12px;min-height:44px}
.week-picker{border-radius:999px;padding:3px 6px}
.week-picker input{font-size:12px!important;width:132px!important}
.week-picker .icon-button{width:36px;height:36px}
.segmented{border-radius:999px}
.segmented .button{border-radius:999px;min-height:36px;font-size:12px}
.employee-top p,.employee-bottom>span,.availability,.report-meta,.plan-legend{font-size:11px}
.employee-bottom .button,.report-description,.chat-message p,.chat-compose textarea{font-size:13px}
.priority-list>div{font-size:12px}
.priority-list small,.priority-list b{font-size:11px}
.chat-header p,.chat-meta,.chat-meta time,.chat-compose small{font-size:11px}
.chat-message p{color:var(--ink)}
.chat-sender{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 7px;padding:0 0 10px;margin:0;color:var(--muted);font-size:13px;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.chat-sender strong{color:var(--navy)}
.chat-sender>span{flex-basis:100%;font-size:12px}
.chat-message.own p{background:var(--sky);color:var(--navy)}
.chat-feed{background:var(--tint)}
.shift small{opacity:1}
.data-table th,.data-table td small,.planning-note p{font-size:11px}
dialog{border-radius:22px;box-shadow:0 24px 65px #0d30471f}
label{font-size:13px}
input,select,textarea{accent-color:var(--teal)}

/* Sign-in shares the public site's light hero, typography and practice identity. */
.login-page{border-top:6px solid var(--navy)}
.login-story{min-height:calc(100vh - 6px);background:radial-gradient(circle at 8% 10%,#167c801f,transparent 40%),linear-gradient(145deg,#f8fbfb,#eef7f6 55%,var(--warm));color:var(--navy);border-right:1px solid var(--border)}

.login-story .brand-copy strong{font-size:20px}
.login-story .brand-logo{width:78px;height:56px;flex-basis:78px}
.login-story .brand small{font-size:10px}
.login-story .eyebrow{color:var(--teal-dark);font-size:11px}
.login-story h1{color:var(--navy);font-weight:680;font-size:clamp(34px,3.8vw,58px)}
.login-story p{font-size:15px;color:var(--muted)}
.login-features span{font-size:14px;color:var(--navy)}
.login-features .icon{color:var(--teal)}
.login-footer{font-size:12px;color:var(--muted)}
.login-panel{background:#fff}
.login-form{max-width:390px}
.login-form h2{font-size:30px;font-weight:680}
.login-form .eyebrow{font-size:11px;color:var(--teal-dark)}
.login-form>p{font-size:14px}
.login-form label{font-size:13px}
.login-form>.hint{font-size:12px!important;max-width:360px}
.login-form input,.login-form .primary{min-height:50px!important}
.demo-login strong,.demo-login p{font-size:12px}
.demo-login .button{font-size:12px;min-height:44px}

@media(max-width:1200px){
  .sidebar{width:244px;padding-inline:16px}.main{margin-left:244px}
  .brand-logo{width:52px;flex-basis:52px}.brand-copy strong{font-size:15px}
  .practice-hero{padding:28px;gap:24px}.practice-today{padding-left:22px}
  .practice-hero-actions{gap:10px}.practice-pulse>button{padding:18px 14px}
}
@media(max-width:1000px){
  .sidebar{width:220px;padding-inline:14px}.main{margin-left:220px}
  .brand-logo{width:44px;flex-basis:44px}.brand-copy strong{font-size:14px}
  .brand .brand-copy small{font-size:8px}.practice-nav .nav-item{font-size:12px;padding-inline:10px}
  .nav-section-label{font-size:9px}.practice-hero{grid-template-columns:1fr}
  .practice-today{padding:22px 0 0;border-left:0;border-top:1px solid #b9dce0}
  .practice-today-team{display:flex}.practice-today-team small{margin:0}
  .practice-hero>div>p{max-width:480px}.practice-pulse{grid-template-columns:1fr}
  .practice-pulse>button{min-height:76px;align-items:center;gap:14px}
  .practice-pulse>button>span{display:flex;align-items:baseline;gap:12px}
  .practice-pulse strong{margin:0}.practice-pulse>button>.icon:last-child{display:block}
}
@media(max-width:760px){
  .sidebar{position:relative;inset:auto;width:100%;padding:18px 20px 10px;gap:20px}
  .main{margin-left:0}.sidebar .brand{max-width:calc(100% - 64px);gap:10px}
  .sidebar .brand-copy strong{font-size:16px}.sidebar .brand .brand-copy small{font-size:9px}
  .sidebar .brand-logo{width:50px;flex-basis:50px}.sidebar-bottom{top:23px;right:16px}
  .account>.avatar{display:none}.account .icon-button{width:44px;height:44px}
  .practice-nav{gap:6px!important}
  .practice-nav .nav-item{font-size:12px;min-height:44px;padding:10px 14px;gap:9px}
  .practice-nav .nav-item .icon{width:18px;height:18px}.nav-item b{font-size:10px}
  .topbar{height:auto;min-height:60px;border-top:0;flex-wrap:wrap;gap:8px;padding:10px 20px;font-size:12px}
  .topbar .role-label{font-size:10px}.topbar>div{gap:5px}.crumb{padding:0 6px}
  .page-heading p{font-size:13px}.heading-actions .button{font-size:13px;min-height:44px}
  .practice-hero{padding:27px;gap:24px}.practice-hero h2{font-size:32px}
  .practice-hero .eyebrow{font-size:10px;max-width:none}.practice-hero>div>p{font-size:14px}
  .practice-hero-actions>.button{font-size:12px;min-height:44px}
  .practice-today>p{font-size:13px!important}.practice-today-team small{font-size:11px}
  .practice-module{padding:22px}.practice-module h3{font-size:17px}.practice-module>p{font-size:13px}
  .practice-news-card>p{font-size:13px}.section-heading.compact .button{font-size:12px}
  .practice-pulse small{font-size:12px;max-width:none}.practice-pulse strong{font-size:24px}
  .practice-pulse>button>.icon:first-child{width:36px;height:36px;padding:9px}
  .section-heading h2{font-size:25px}.module-action{font-size:12px}
  .login-story{min-height:auto;padding:28px;border-right:0;border-bottom:1px solid var(--border)}
  .login-story h1{font-size:38px}.login-story>div:nth-child(2){padding-top:32px}
  .login-story p{font-size:14px}.login-story .brand-copy strong{font-size:18px}
  .login-story .brand-logo{width:68px;flex-basis:68px}
  .login-panel{padding:32px 25px 42px}.login-form h2{font-size:28px}
  input,select,textarea,.chat-compose textarea{font-size:16px}
}
@media(max-width:540px){
  .practice-hero{padding:25px 22px}.practice-hero h2{font-size:30px}
  .practice-today{display:block}.practice-today>span{font-size:12px}
  .practice-today>strong{font-size:26px}.practice-today>p{margin:5px 0 18px!important}
  .practice-today-team{max-width:none;display:flex}.practice-today-team small{text-align:left;font-size:11px}
  .practice-today-team .avatar-stack .avatar{width:30px;height:30px;font-size:10px}
  .practice-module-grid{grid-template-columns:1fr;gap:14px}.practice-module{padding:24px}
  .module-symbol{width:44px;height:44px;margin-bottom:18px}.module-action .icon{width:17px;height:17px}
  .practice-module>p{max-width:none;margin-bottom:20px}.practice-news-footer .button{font-size:12px}
  .practice-pulse>button>span{gap:12px}.practice-pulse small{font-size:12px}
  .section-heading.compact{flex-wrap:wrap}.section-heading.compact h2{font-size:20px}
  .schedule-toolbar .toolbar-right{align-items:stretch}.toolbar-right select{max-width:100%;flex:1}
  .form-grid{grid-template-columns:1fr}.chat-message p{font-size:13px}
  .page-footer{font-size:11px}.login-story h1{font-size:34px}
}
