:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--pink:#ef0a93;--ink:#171217;--muted:#756c74;--paper:#faf9fa;--soft:#f8f2f6;--border:#e7dfe5;--error:#b3261e}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.muted,.hint{color:var(--muted)}.hint{font-size:12px;line-height:1.45}.topbar{height:64px;padding:0 clamp(14px,4vw,54px);display:flex;align-items:center;justify-content:space-between;position:relative;z-index:20;background:#fff;border-bottom:1px solid #eee8ed;min-width:0}.brand-button{border:0;background:transparent;display:flex;align-items:center;gap:9px;padding:0;color:var(--ink);font-weight:850;font-size:20px}.brand-button img{width:34px;height:34px;object-fit:contain}.top-actions{display:flex;align-items:center;gap:10px}.link-button,.text-action,.icon-link{border:0;background:transparent;color:var(--pink);font-weight:750;padding:8px 6px;text-decoration:none}.link-button{font-size:13px}.text-action{display:inline-flex;align-items:center;justify-content:center}.text-action.compact{font-size:13px}.icon-link{font-size:24px;line-height:1;width:42px;height:42px;border-radius:50%}.icon-link:hover{background:#f8eff5}.view{min-height:calc(100dvh - 64px)}.hero{min-height:352px;position:relative;overflow:hidden;display:grid;place-items:center;text-align:center;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.54) 0%,rgba(255,255,255,.18) 28%,rgba(255,255,255,0) 56%),linear-gradient(180deg,#69b9ed 0%,#86cef3 64%,#d4eefb 100%)}.hero:after{content:"";position:absolute;left:-4%;right:-4%;bottom:-21px;height:44px;background:var(--paper);border-radius:50% 50% 0 0/42% 42% 0 0}.hero-glow{position:absolute;top:28px;left:50%;transform:translateX(-50%);width:min(420px,86vw);height:210px;border-radius:50%;background:radial-gradient(ellipse,rgba(255,255,255,.34),rgba(255,255,255,0) 72%);filter:blur(18px)}.hero-content{position:relative;z-index:2;padding:24px 18px 50px}.eyebrow{font-size:11px;letter-spacing:.22em;font-weight:850;color:#ff1f96}.hero-butterfly{display:block;width:min(154px,38vw);height:auto;margin:10px auto 8px}.hero h1{font-size:clamp(34px,4.3vw,47px);line-height:1.04;margin:0;font-weight:900;letter-spacing:-.04em}.hero p{font-size:clamp(15px,1.7vw,18px);line-height:1.42;margin:11px auto 0;max-width:720px}.hero p strong{color:var(--pink)}.live-section{max-width:720px;margin:0 auto;padding:34px 18px 70px}.section-head{margin-bottom:16px;text-align:center}.kicker,.eyebrow-left{font-size:11px;letter-spacing:.14em;font-weight:850;color:var(--pink);text-transform:uppercase}.section-head h2{font-size:clamp(29px,3.5vw,38px);margin:5px 0 0;letter-spacing:-.035em}.section-head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.35}.feed{display:grid;grid-template-columns:1fr;gap:15px}.empty-state{text-align:center;padding:46px 12px;color:var(--muted)}.post-card,.preview-card{position:relative;border:0;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#4d202e,#b94a54,#2a181b);color:#fff;text-align:left}.post-card{aspect-ratio:1.48/1;cursor:pointer;box-shadow:0 10px 30px #26131d12;padding:0;appearance:none;-webkit-appearance:none}.preview-card{aspect-ratio:16/9}.post-card.gradient-1{background:linear-gradient(135deg,#25313a,#69747a,#151a1d)}.post-card.gradient-2{background:linear-gradient(135deg,#7b3924,#d57b42,#392018)}.post-card img,.preview-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.post-card:after,.preview-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.02) 16%,rgba(0,0,0,.05) 43%,rgba(0,0,0,.72) 100%)}.post-card-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.16);font-size:70px;line-height:1}.feed-card-meta{position:absolute;z-index:2;left:18px;right:18px;top:18px;display:grid;justify-items:start;gap:0;max-width:90%}.time-chip{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:5px;color:#fff;font-size:10px;line-height:1.45;font-weight:850;letter-spacing:.01em;text-transform:uppercase}.time-chip.running{background:#2e7d32}.time-chip.soon{background:#f9a825}.time-chip.later{background:var(--pink)}.feed-card-time{margin-top:8px;color:#fff;font-size:18px;line-height:1.25;font-weight:650}.feed-card-location{margin-top:3px;display:flex;align-items:center;gap:4px;max-width:100%;color:#fff;font-size:16px;line-height:1.25;font-weight:550}.feed-card-location svg{width:18px;height:18px;flex:none;fill:currentColor}.feed-card-location span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-place,.card-copy{position:absolute;z-index:2;left:18px;right:18px}.card-place{top:18px;font-size:16px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-copy{bottom:22px;max-width:90%}.card-title{font-size:23px;line-height:1.13;font-weight:850;display:block;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-company{font-size:16px;line-height:1.2;font-weight:550;margin-top:7px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-shell{max-width:760px;margin:0 auto;padding:26px 20px 70px}.page-shell.narrow{max-width:620px}.page-shell h1{font-size:29px;letter-spacing:-.025em;margin:7px 0 18px}.back-link{border:0;background:transparent;color:var(--ink);padding:8px 0 18px;font-weight:700}.stack{display:grid;gap:10px}.stack label,.manual-fields label{display:grid;gap:6px;font-weight:650}.stack input,.stack textarea,.manual-fields input,.manual-fields textarea,#composerText,#followupText{width:100%;border:1px solid #cbc3c9;border-radius:12px;padding:12px 13px;background:#fff;color:var(--ink);outline:none;font-size:16px;font-weight:400}.stack input:focus,.stack textarea:focus,.manual-fields input:focus,.manual-fields textarea:focus,#composerText:focus,#followupText:focus{border-color:var(--pink);box-shadow:0 0 0 3px #ef0a9314}.stack input:disabled,.manual-fields input:disabled{background:#f1eef0;color:#8a858a;border-color:#ddd7db;cursor:not-allowed;-webkit-text-fill-color:#8a858a;opacity:1}.stack label small,.switch-row small{font-size:12px;color:var(--muted);font-weight:450;line-height:1.4}.primary-button,.secondary-button,.danger-button,.voice-button,.file-button{min-height:48px;border-radius:13px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-button{border:1px solid var(--pink);background:var(--pink);color:#fff;padding:11px 16px}.primary-button.tall{width:100%;min-height:60px;border-radius:18px}.primary-button.small,.secondary-button.small{min-height:42px}.primary-button:disabled{opacity:.45;cursor:default}.secondary-button{border:1px solid #d9d0d6;background:#fff;color:var(--ink);padding:11px 16px}.danger-button{border:1px solid #ead0ce;background:#fff;color:var(--error);padding:11px 16px}.form-section{border-top:1px solid var(--border);padding-top:17px;margin-top:9px}.form-section h3{font-size:16px;margin:0 0 3px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}.address-row{grid-template-columns:1fr 110px}.address-row .zip{max-width:120px}.switch-row{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:10px 0}.switch-row>div{display:grid;gap:3px}.switch{position:relative;flex:none;width:48px;height:28px}.switch input{opacity:0;width:0;height:0;position:absolute}.switch span{position:absolute;inset:0;border-radius:99px;background:#c9c2c7;transition:.18s}.switch span:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 5px #0003;transition:.18s}.switch input:checked+span{background:var(--pink)}.switch input:checked+span:after{transform:translateX(20px)}.switch input:disabled+span{opacity:.45}.file-button{border:1px solid #d9d0d6;background:#fff;color:var(--ink);padding:10px 14px;cursor:pointer}.file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.wide-image{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;margin:8px 0}.message{min-height:1.2em;color:var(--muted);font-size:13px;line-height:1.4}.message.error{color:var(--error)}.message.ok{color:#237a38}.card{border:1px solid var(--border);background:#fff;border-radius:18px;padding:20px;box-shadow:0 10px 30px #26131d0b}.status-icon{font-size:34px}.company-shell{max-width:700px}.company-topline{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}.company-nav-title{text-align:center;font-size:14px;font-weight:750;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-top-actions{display:flex;align-items:center;justify-content:flex-end}.company-shell h1{margin:12px 0 7px}.intro{color:var(--muted);line-height:1.5;margin:0 0 20px}.intro strong{color:var(--ink)}.notice{border-radius:16px;padding:15px 16px;background:var(--soft);margin-bottom:14px;line-height:1.45}.notice strong{display:block;margin-bottom:4px}.center-hint{text-align:center;color:var(--muted);font-size:12px;margin:7px 0 0}.company-section{margin-top:34px}.company-section h2{font-size:20px;margin:0 0 9px}.current-card{background:var(--soft);border-radius:18px;padding:16px}.current-card .preview-card{border-radius:14px}.current-metrics{display:flex;gap:26px;margin-top:18px}.current-metrics strong{font-size:22px;display:block}.current-metrics span{font-size:12px;color:var(--muted)}.current-actions{display:flex;gap:6px;margin-top:7px}.stats-card{background:var(--soft);border-radius:18px;padding:16px 18px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.favorite-star{color:#ffc107}.favorite-metric{grid-column:1/-1;border-top:1px solid #e2dde1;padding-top:10px}.stats-card .favorite-metric strong{font-size:15px;display:flex;align-items:center;gap:5px}.stats-card strong{display:block;font-size:24px}.stats-card span{font-size:12px;color:var(--muted)}.web-note{margin-top:22px;border-radius:14px;background:#fff;border:1px solid var(--border);padding:13px 14px;color:var(--muted);font-size:12px;line-height:1.45}.dialog{border:0;border-radius:22px;padding:0;background:#fff;color:var(--ink);width:min(650px,calc(100vw - 28px));max-height:min(92dvh,900px);box-shadow:0 28px 90px #0007}.dialog::backdrop{background:#09060bbd;backdrop-filter:blur(4px)}.dialog-body{padding:24px 24px 26px;overflow:auto}.dialog-body h2{font-size:25px;margin:0 40px 16px 0}.dialog-close{position:sticky;float:right;top:12px;margin:12px 12px -52px 0;z-index:3;width:38px;height:38px;border:0;border-radius:50%;background:#f2edf0;color:var(--ink);font-size:25px;line-height:1}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;margin-top:16px}.voice-button{width:100%;border:1px solid #eadce5;background:#fbf3f8;color:var(--ink);min-height:58px;padding:12px 16px}.voice-button .mic{color:var(--pink)}.compact-voice{min-height:50px;margin-bottom:10px}.recording-state,.processing-state{text-align:center;padding:26px 8px;display:grid;place-items:center;gap:10px}.recording-mic{font-size:38px;animation:pulse 1.25s ease-in-out infinite}.recording-state strong,.processing-state strong{font-size:18px}.recording-state>span{color:var(--muted)}@keyframes pulse{50%{transform:scale(1.16)}}.level-bars{height:36px;display:flex;gap:4px;align-items:center}.level-bars i{display:block;width:4px;height:8px;border-radius:5px;background:var(--pink);transform-origin:center;transition:height .08s}.spinner{width:24px;height:24px;border-radius:50%;border:3px solid #eddde6;border-top-color:var(--pink);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#followupState h3{font-size:20px;margin:6px 0 14px}.manual-fields{display:grid;gap:8px;margin:10px 0 14px}.draft-rows{margin:12px 0 0}.draft-rows>div{display:grid;grid-template-columns:72px 1fr;gap:9px;padding:7px 0;border-bottom:1px solid #eee7eb}.draft-rows dt{font-size:11px;font-weight:850;color:var(--pink);letter-spacing:.06em}.draft-rows dd{margin:0;font-weight:650}.confirm-dialog{max-width:460px}.danger{border-color:#f0d9d7}.detail-media{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.detail-content-body{padding:24px}.detail-content-body h2{font-size:30px;margin:6px 0 6px}.detail-company{color:var(--pink);font-weight:800}.detail-meta{color:var(--muted);margin-top:12px;line-height:1.5}.detail-actions{display:grid;gap:8px;margin-top:22px}.detail-actions a{min-height:46px;border:1px solid #ddd4da;border-radius:12px;text-decoration:none;display:flex;align-items:center;justify-content:center;font-weight:750}.detail-actions a.primary{background:var(--pink);border-color:var(--pink);color:#fff}
@media(max-width:700px){.topbar{height:60px;padding:0 13px}.brand-button{font-size:18px}.brand-button img{width:32px;height:32px}.link-button{font-size:12px}.view{min-height:calc(100dvh - 60px)}.hero{min-height:274px}.hero-content{padding:18px 16px 36px}.hero-glow{top:14px;height:165px}.hero-butterfly{width:min(116px,32vw);margin:7px auto 5px}.hero h1{font-size:30px;line-height:1.06}.hero p{font-size:14px;line-height:1.38;max-width:355px;margin-top:8px}.live-section{padding:28px 14px 60px}.section-head{margin-bottom:13px}.section-head h2{font-size:30px}.feed{gap:14px}.post-card{border-radius:20px}.feed-card-meta{left:16px;right:16px;top:16px}.feed-card-time{font-size:17px}.feed-card-location{font-size:15px}.card-copy{left:16px;right:16px;bottom:18px}.card-title{font-size:21px;line-height:1.14}.card-company{font-size:15px;margin-top:6px}.page-shell{padding:20px 16px 55px}.stats-card{gap:8px;padding:15px 13px}.stats-card strong{font-size:22px}.dialog.full-mobile,.composer-dialog,.profile-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;border-radius:0;margin:0}.dialog-body{padding:22px 18px 30px}.dialog-close{top:10px;margin:10px 10px -48px 0}.dialog-actions{position:sticky;bottom:-30px;background:#fff;padding:12px 0 2px}.two-col{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.hero{min-height:258px}.hero-butterfly{width:108px}.hero h1{font-size:28px}.hero p{font-size:13.5px;max-width:330px}.live-section{padding-top:25px}.section-head h2{font-size:28px}.feed-card-time{font-size:16px}.feed-card-location{font-size:14px}.card-title{font-size:20px}.stats-card span{font-size:11px}.current-metrics{gap:20px}.address-row{grid-template-columns:1fr 98px}}


/* P06D – final web test polish ------------------------------------------------ */
.topbar{height:72px;padding:0 clamp(16px,4vw,54px);align-items:center}
.top-actions{display:flex;align-items:center;gap:16px;min-width:0}
.legal-nav{display:flex;align-items:center;gap:16px;order:2}
.legal-nav a{color:var(--ink);text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.legal-nav a:hover{opacity:.62}
.company-access{order:1;display:inline-flex;align-items:center;gap:7px;min-height:38px;border:0;background:transparent;color:var(--pink);font-size:12px;font-weight:800;padding:6px 3px;white-space:nowrap}
.company-access-icon{width:27px;height:27px;border-radius:9px;background:#fff0f7;border:1px solid #f3c7df;display:grid;place-items:center;flex:none}
.company-access-icon svg{width:17px;height:17px;fill:var(--pink)}

.hero{min-height:252px}
.hero-glow{top:-12px;height:190px;width:min(520px,88vw)}
.hero-content{padding:28px 18px 48px}
.hero .eyebrow{margin-bottom:10px}
.hero h1{font-size:clamp(34px,4.3vw,47px);line-height:1.04}
.hero p{margin-top:11px}

/* App-like contribution entry: one clear primary action, text as alternative. */
.composer-entry{display:grid;gap:14px}
.composer-lead{padding:2px 2px 4px}
.composer-lead h3{font-size:23px;line-height:1.15;letter-spacing:-.025em;margin:7px 0 7px}
.composer-lead p{color:var(--muted);font-size:14px;line-height:1.5;margin:0;max-width:520px}
.voice-start-card{width:100%;min-height:112px;border:1px solid #efcfe2;border-radius:20px;background:linear-gradient(135deg,#fff7fb 0%,#fbeaf4 100%);color:var(--ink);display:grid;grid-template-columns:58px 1fr 22px;align-items:center;gap:14px;padding:18px;text-align:left;box-shadow:0 10px 28px #4a15300b}
.voice-start-card:hover{border-color:#eaa9cf;background:linear-gradient(135deg,#fff9fc 0%,#f9e3f0 100%)}
.voice-start-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--pink);font-size:28px;box-shadow:0 8px 22px #ef0a9330}
.voice-start-copy{display:grid;gap:4px;min-width:0}
.voice-start-copy strong{font-size:19px;line-height:1.15}
.voice-start-copy small{font-size:12px;line-height:1.4;color:var(--muted);font-weight:500}
.voice-start-arrow{font-size:34px;color:var(--pink);line-height:1}
.entry-divider{display:flex;align-items:center;gap:10px;color:#a0959c;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.entry-divider:before,.entry-divider:after{content:"";height:1px;background:#ebe3e8;flex:1}
.text-input-toggle{width:100%;min-height:62px;border:1px solid #ded5db;border-radius:16px;background:#fff;color:var(--ink);display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:center;text-align:left;padding:12px 14px}
.text-input-toggle:hover{border-color:#cfc0ca;background:#fffafd}
.text-input-icon{width:38px;height:38px;border-radius:11px;background:var(--soft);color:var(--pink);display:grid;place-items:center;font-size:19px;font-weight:850}
.text-input-toggle>span:last-child{display:grid;gap:2px}
.text-input-toggle strong{font-size:15px}
.text-input-toggle small{font-size:12px;color:var(--muted);font-weight:500}
.text-entry-panel{display:grid;gap:9px;border:1px solid #eadfe6;border-radius:16px;background:#fff;padding:14px}
.text-entry-panel label{font-size:13px;font-weight:750}
.text-entry-panel .primary-button{width:100%;margin-top:2px}
.recording-state{margin-top:4px;border:1px solid #efcfe2;border-radius:20px;background:linear-gradient(180deg,#fff8fc,#fff);padding:28px 18px}
.recording-mic-shell{width:76px;height:76px;border-radius:50%;background:#fbe2f0;display:grid;place-items:center;animation:recordHalo 1.4s ease-in-out infinite}
.recording-mic{font-size:34px}
.recording-help{max-width:430px;font-size:12px!important;line-height:1.45;color:var(--muted)!important}
@keyframes recordHalo{50%{box-shadow:0 0 0 10px #ef0a930d}}
.processing-state{margin-top:4px;border:1px solid #eee4ea;border-radius:20px;background:#fff;padding:34px 18px}

/* Ensure the app information hierarchy is unmistakable even over bright photos. */
.post-card:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(0,0,0,.28) 0%,rgba(0,0,0,.08) 38%,rgba(0,0,0,.74) 100%);pointer-events:none}
.post-card:after{display:none}
.feed-card-meta,.card-copy{z-index:2}
.feed-card-time,.feed-card-location,.card-title,.card-company{text-shadow:0 1px 5px rgba(0,0,0,.52)}

@media(max-width:700px){
  .topbar{height:88px;padding:10px 13px 9px;align-items:flex-start}
  .brand-button{margin-top:3px}
  .top-actions{flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:3px}
  .legal-nav{order:1;gap:10px;height:26px}
  .legal-nav a{font-size:10px}
  .company-access{order:2;min-height:32px;font-size:11px;padding:0}
  .company-access-icon{width:24px;height:24px;border-radius:8px}
  .company-access-icon svg{width:15px;height:15px}
  .view{min-height:calc(100dvh - 88px)}
  .hero{min-height:210px}
  .hero-content{padding:21px 16px 34px}
  .hero-glow{top:-25px;height:160px}
  .hero .eyebrow{margin-bottom:8px}
  .hero h1{font-size:30px;line-height:1.05}
  .hero p{font-size:14px;line-height:1.38;max-width:355px;margin-top:8px}
  .live-section{padding-top:26px}
  .composer-lead h3{font-size:21px}
  .voice-start-card{min-height:104px;grid-template-columns:52px 1fr 18px;padding:16px 14px;gap:12px}
  .voice-start-icon{width:52px;height:52px;font-size:25px}
  .voice-start-copy strong{font-size:18px}
}
@media(max-width:430px){
  .topbar{height:90px}
  .legal-nav{gap:8px}
  .legal-nav a{font-size:9.5px}
  .company-access{font-size:10.5px}
  .hero{min-height:200px}
  .hero h1{font-size:28px}
  .hero p{font-size:13.5px;max-width:330px}
  .voice-start-copy small{font-size:11px}
}


/* P06E – Unternehmensbereich klar vom öffentlichen Header trennen ---------------- */
body.company-mode .topbar{display:none}
body.company-mode .view{min-height:100dvh}
body.company-mode .company-shell{padding-top:max(16px,env(safe-area-inset-top))}
body.company-mode .company-topline{min-height:46px;border-bottom:1px solid var(--border);padding-bottom:8px}
.profile-dialog .stack label{font-weight:650}
.profile-dialog .stack input,.profile-dialog .stack textarea{font-weight:400}
@media(max-width:700px){
  body.company-mode .company-shell{padding-top:max(12px,env(safe-area-inset-top));padding-left:14px;padding-right:14px}
  body.company-mode .company-topline{grid-template-columns:40px minmax(0,1fr) auto;gap:5px}
  body.company-mode .company-nav-title{font-size:13px}
  body.company-mode .company-top-actions{gap:0}
  body.company-mode .company-top-actions .icon-link{width:38px;height:38px;font-size:22px}
  body.company-mode .company-top-actions .text-action.compact{font-size:12px;padding-left:4px;padding-right:2px}
}


/* P06F – ruhigeres Profil, neutrale Detail-Links, vollständiges WAS ---------------- */
.profile-dialog .form-section{padding-top:24px;margin-top:16px}
.profile-dialog .form-section h3{margin-bottom:7px}
.profile-dialog .form-section>.hint{margin:0 0 16px}
.profile-dialog .address-row{gap:14px;margin-top:14px}
.profile-dialog .address-row+.address-row{margin-top:16px}
.profile-dialog .address-row+label{margin-top:16px}
.profile-dialog #profileLocationPreview{margin:12px 0 16px}
.profile-dialog .form-section>label:not(.file-button):not(.switch){margin-top:14px}
.profile-dialog .form-section>.switch-row{margin:18px 0 2px}
.profile-dialog .form-section>.file-button{margin-top:4px}
.profile-dialog .form-section>.secondary-button,.profile-dialog .form-section>.danger-button{margin-top:8px}
.detail-actions a{color:var(--ink)}
.detail-actions a.primary{color:#fff}
.card-title{display:block;white-space:normal;overflow-wrap:break-word;word-break:normal;max-width:100%;max-height:2.28em;overflow:hidden}
@media(max-width:700px){
  .profile-dialog .form-section{padding-top:22px;margin-top:14px}
  .profile-dialog .address-row{gap:12px;margin-top:13px}
  .profile-dialog .address-row+.address-row{margin-top:15px}
  .profile-dialog .address-row+label{margin-top:15px}
}

.text-action:disabled{color:var(--muted);opacity:.5;cursor:default}

/* Kategorieauswahl bei der Registrierung; bestehende Formular-Typografie. */
.category-picker{border:1px solid var(--border);border-radius:12px;background:#fff}
.category-picker summary{padding:12px 13px;cursor:pointer;font-weight:650;overflow-wrap:anywhere}
.category-options{display:grid;gap:4px;max-height:360px;overflow-y:auto;padding:8px 13px 12px}
.stack .category-options label{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:400;cursor:pointer}
.stack .category-options input{width:20px;height:20px;flex:none;margin:0;padding:0;accent-color:var(--pink)}
.category-options label:has(input:disabled){color:var(--muted);cursor:default}

.terms-consent{display:flex;align-items:flex-start;gap:10px}.terms-consent input[type="checkbox"]{width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--pink)}
@media(max-width:700px){.top-actions{flex:1;min-width:0;margin-left:12px}.legal-nav{flex-wrap:wrap;justify-content:flex-end;height:auto;max-width:100%;row-gap:3px}}


/* Website-Header: schlankes Burgermenü; Android-App bleibt unverändert. */
.top-actions{position:relative;flex-direction:row;align-items:center;justify-content:flex-end;gap:12px;margin-left:12px}
.company-access{order:1}
.site-menu-wrap{position:relative;display:flex;align-items:center;order:2}
.site-menu-button{width:40px;height:40px;border:0;border-radius:12px;background:transparent;display:grid;align-content:center;justify-items:center;gap:4px;padding:8px;color:var(--ink)}
.site-menu-button:hover,.site-menu-button[aria-expanded="true"]{background:#f8f2f6}
.site-menu-button span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor}
.site-menu{position:absolute;right:0;top:calc(100% + 8px);width:250px;padding:7px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 16px 38px rgba(38,19,29,.16);z-index:60}
.site-menu a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:700;white-space:normal}
.site-menu a:hover,.site-menu a:focus-visible{background:var(--soft);outline:none}
@media(max-width:700px){
  .topbar{height:60px;padding:0 13px;align-items:center}
  .brand-button{margin-top:0;font-size:18px}
  .brand-button img{width:32px;height:32px}
  .top-actions{flex:0 1 auto;flex-direction:row;align-items:center;justify-content:flex-end;gap:7px;margin-left:8px}
  .company-access{order:1;min-height:36px;font-size:11px;padding:0 2px}
  .company-access-icon{width:25px;height:25px;border-radius:8px}
  .company-access-icon svg{width:15px;height:15px}
  .site-menu-wrap{order:2}
  .site-menu-button{width:36px;height:36px;border-radius:10px;padding:7px}
  .site-menu-button span{width:19px}
  .site-menu{width:min(260px,calc(100vw - 26px));top:calc(100% + 7px)}
  .view{min-height:calc(100dvh - 60px)}
}
@media(max-width:390px){
  .company-access{gap:5px;font-size:10.5px}
  .company-access-icon{width:24px;height:24px}
  .top-actions{gap:4px}
}

/* Unternehmensnavigation und Statistiken – konsistent mit der Android-App. */
.business-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0 23px;border-bottom:1px solid #eee7ed;padding-bottom:14px}
.business-tab{appearance:none;border:1px solid #eadfe7;background:#fff;border-radius:11px;color:var(--ink);padding:10px 13px;font:inherit;font-size:13px;font-weight:750;min-height:42px;cursor:pointer}
.business-tab.active{background:#fff0f8;color:var(--pink);border-color:#efc7de}
.business-tab:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
.business-panel.hidden{display:none!important}
.business-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}
.business-stat-tile{min-width:0;min-height:144px;border:1px solid #ede8ed;border-radius:18px;background:#fcfafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:13px 6px;text-align:center}
.business-stat-icon{display:grid;place-items:center;width:41px;height:41px;border-radius:11px;color:var(--pink);background:#f9edf7}
.business-stat-label{display:block;min-height:26px;color:var(--muted);font-size:12px;font-weight:600;line-height:1.25}
.business-stat-tile strong{display:block;max-width:100%;overflow-wrap:anywhere;font-size:clamp(18px,3.5vw,24px);font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums}
.business-last-post{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:14px;padding:12px;border-radius:16px;background:#fbf6fa}
.business-last-post img,.business-last-placeholder{width:78px;height:78px;border-radius:11px;object-fit:cover}
.business-last-placeholder{background:linear-gradient(130deg,#69303e,#cc6b69);display:grid;place-items:center;color:#ffffff80;font-size:29px}
.business-last-post strong{display:block;font-size:16px;line-height:1.3}
.business-last-post small{display:block;color:var(--muted);font-size:12px;margin-top:4px}
#monthlyReportsWebList details{border-bottom:1px solid #eee7ed;padding-bottom:7px}
#monthlyReportsWebList details>div{padding:8px 0 14px}
@media(max-width:430px){.business-tab{font-size:12px;padding:9px 11px}.business-stat-tile strong{font-size:clamp(17px,5.2vw,22px)}}

/* V1.11.17 FIX3: eigener Profilbereich statt zweitem Stift und Logout im Beitragskopf. */
.company-top-spacer{width:42px;height:42px;display:block}
.profile-overview{border:1px solid var(--border);background:#fff;border-radius:18px;padding:18px;margin-top:16px}
.profile-overview h2{font-size:18px;margin:0 0 12px}
.profile-overview>strong{display:block;color:var(--pink);font-weight:750;overflow-wrap:anywhere}
.profile-overview>p{margin:9px 0;font-size:14px;overflow-wrap:anywhere}
.profile-overview>.secondary-button{width:100%;margin-top:12px}
.profile-overview .hint{font-size:12px;color:var(--muted)}
.profile-overview .text-action{display:flex;width:100%;border-top:1px solid var(--border);margin-top:14px;padding:15px 0 4px}

/* FIX4: Monatskontingent bleibt vor Tarifstart ein neutraler Zähler ohne Limit. */
.monthly-post-counter{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbf6fb;border-radius:16px;padding:15px 17px;margin:14px 0 18px}
.monthly-post-counter>div{display:grid;gap:4px;min-width:0}
.monthly-post-counter>div strong{font-size:13px;font-weight:750;color:#D40091}
.monthly-post-counter>div span{font-size:12px;color:var(--muted)}
.monthly-post-counter>strong{font-size:23px;font-variant-numeric:tabular-nums;white-space:nowrap}
.report-best-post{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;align-items:center;margin-top:14px;background:#f9edf7;padding:12px;border-radius:14px}
.report-best-thumb{position:relative;width:80px;height:80px;overflow:hidden;border-radius:10px;background:linear-gradient(135deg,#4d202e,#b94a54,#2a181b)}
.report-best-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.report-best-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:#ffffff88;font-size:32px}
.report-best-post>div:last-child{min-width:0}
.report-best-post strong{font-size:13px;display:block}
.report-best-post p{font-size:14px;line-height:1.35;margin:4px 0;overflow-wrap:anywhere}
.report-best-post small{color:var(--muted);font-size:12px}

/* Rolling seven-day planner: all days inline, only the selected row expands. */
.post-mode-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.post-mode-button{background:#fff;border:1px solid #ded9df;border-radius:14px;padding:13px 9px;font-size:14px;font-weight:600;cursor:pointer;text-align:center;color:#222}
.post-mode-button small{display:block;margin-top:5px;font-size:11px;color:#777;font-weight:400}
.post-mode-button.active{border:2px solid #d40091;padding:12px 8px}
.post-mode-button .mode-on{color:#d40091;font-weight:600}
.weekly-days{display:grid;gap:8px}
.weekly-day{border:1px solid #e6e0e5;border-radius:13px;overflow:hidden;background:white}
.weekly-day[open]{border-color:#d40091}
.weekly-day summary{padding:13px 14px;display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer;list-style:none}
.weekly-day summary::-webkit-details-marker{display:none}
.weekly-day-label{font-weight:600;font-size:14px}
.weekly-day-status{color:#777;font-size:12px;text-align:right}
.weekly-day-body{padding:0 14px 14px;display:grid;gap:10px}
.weekly-day-body label{display:grid;gap:5px;font-size:13px;font-weight:600}
.weekly-day-body input:not([type=checkbox]),.weekly-day-body select{box-sizing:border-box;width:100%;border:1px solid #ddd;border-radius:9px;min-height:42px;padding:9px;font:inherit;background:white}
.weekly-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.weekly-image-picker{display:flex;align-items:center;gap:12px}
.weekly-image-thumb{width:84px;height:64px;object-fit:cover;border-radius:9px;background:linear-gradient(135deg,#4d202e,#b94a54,#2a181b);flex-shrink:0;border:1px solid #eee}
.weekly-image-preview{position:relative;flex:0 0 84px;height:64px;border-radius:9px;overflow:hidden;background:linear-gradient(135deg,#4d202e,#b94a54,#2a181b)}
.weekly-image-preview img{width:100%;height:100%;object-fit:cover}
.weekly-image-options{flex:1;min-width:0;display:grid;gap:5px}
.weekly-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.weekly-actions button{flex:1;min-width:140px}
.weekly-day-locked{opacity:.72}
@media(max-width:390px){.post-mode-button{font-size:12px}.weekly-actions{flex-direction:column}}

.weekly-profile-check{display:flex!important;align-items:center;gap:8px!important;font-weight:500!important}
.weekly-profile-check input{width:17px;height:17px;accent-color:#d40091}

.preview-card.gradient-1{background:linear-gradient(135deg,#25313a,#69747a,#151a1d)}
.preview-card.gradient-2{background:linear-gradient(135deg,#7b3924,#d57b42,#392018)}

/* V1.11.18 FIX2 – company default image belongs to Beiträge, not registration. */
.post-default-settings{border:1px solid #e5bfd6;border-radius:14px;background:#fff;margin:14px 0 16px;overflow:hidden}
.post-default-settings>summary{cursor:pointer;padding:10px 12px;min-height:64px;list-style:none;display:flex;align-items:center;gap:10px}
.post-default-settings>summary::-webkit-details-marker{display:none}
.post-default-settings>summary:after{content:"⌄";color:#756c74;font-size:17px;flex:none;margin-left:auto}
.post-default-settings[open]>summary:after{content:"⌃"}
.post-default-summary-icon,.post-default-summary-thumb{width:44px;height:44px;flex:0 0 44px;border-radius:9px;border:1px solid #f0c9df}
.post-default-summary-icon{display:grid;place-items:center;background:#fff0f8;color:#d40091}
.post-default-summary-thumb{display:block;object-fit:cover;background:#fff0f8}
.post-default-summary-copy{display:grid;gap:3px;min-width:0;flex:1}
.post-default-summary-copy strong{font-size:14px;font-weight:700;line-height:1.25;overflow-wrap:break-word}
.post-default-summary-copy small{font-size:11px;color:#756c74;font-weight:400;line-height:1.25}
@media(max-width:350px){.post-default-settings>summary{padding:9px 10px;gap:8px}.post-default-summary-copy strong{font-size:13px}}
.post-default-body{padding:0 16px 16px}
.post-default-body>.default-image-controls{padding:0;border:0;margin:0;background:transparent}
.post-default-body .wide-image{max-height:220px;object-fit:cover}
#savePostDefaultImage{margin-top:12px}
#saveWeeklyPlan:disabled{background:#eee9ed;color:#776f78;border-color:#eee9ed;opacity:1;cursor:default}
#registerPane .form-section>h3{margin-bottom:8px}
