:root{
  --bg1:#ffffff;
  --bg2:#fff9fe;
  --accent:#FC98E8;
  --accent-soft:#ffe0f7;
  --text:#1f2430;
  --muted:#7e8799;
  --card:#ffffff;
  --stroke:rgba(20,31,56,0.06);
  --shadow:0 12px 28px rgba(252,152,232,0.16);
  --shadow-soft:0 8px 18px rgba(252,152,232,0.12);
  --radius:20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:radial-gradient(1200px 520px at 50% -10%, rgba(252,152,232,0.18), transparent 46%),
             linear-gradient(180deg, var(--bg1), var(--bg2));
}

button,input,select,textarea{font:inherit}
button{font-family:inherit; background:none}
#app{max-width:460px;margin:0 auto; padding:calc(16px + env(safe-area-inset-top)) 14px calc(28px + env(safe-area-inset-bottom))}
.screen{display:none; min-height:calc(100vh - 46px); align-items:center; justify-content:center;}
.screen.active{display:flex; animation: screenFade .28s ease both}

.header{width:100%; margin:10px 4px 14px}
.title{font-size:26px; font-weight:800; letter-spacing:-0.02em}
.subtitle{margin-top:8px; color:var(--muted); font-size:15px; line-height:1.3}

.card{
  width:100%;
  background:rgba(255,255,255,0.78);
  border:1px solid rgba(255,255,255,0.65);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:16px;
}

.card.big{padding:22px}

.steps{display:flex; gap:8px; justify-content:center; margin:4px 0 12px}
.stepDot{
  width:10px;height:10px;border-radius:999px;
  background:rgba(0,0,0,0.12);
}
.stepDot.active{background:var(--accent)}

.step{display:none}
.step.active{display:block}

.field{display:block; margin:12px 0}
.label{display:block; font-size:13px; color:var(--muted); margin:0 0 6px 2px}
input,select,textarea{
  width:100%;
  border:1px solid rgba(20,31,56,0.10);
  border-radius:16px;
  padding:14px 14px;
  font-size:16px;
  outline:none;
  background:#fff;
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(252,152,232,0.88);
  box-shadow:0 0 0 3px rgba(252,152,232,0.18);
}

.hint{margin-top:6px; font-size:12px; color:var(--muted)}
.row{display:flex; gap:10px; margin-top:10px}
.row .btn{flex:1}

.btn{
  border:none;
  border-radius:999px;
  padding:14px 16px;
  font-weight:800;
  font-size:16px;
  cursor:pointer;
  transition: transform .05s ease, box-shadow .2s ease;
}
.btn:active{transform:scale(0.99)}
.btn.primary{
  background: linear-gradient(180deg, #ffd5f8, var(--accent));
  color:#fff;
  box-shadow:0 8px 18px rgba(252,152,232,0.30);
}
.btn.ghost{
  background: rgba(255,255,255,0.9);
  border:1px solid rgba(20,31,56,0.10);
  color:var(--text);
}

.consentBox{
  border:1px solid rgba(255,255,255,0.7);
  border-radius:18px;
  padding:14px;
  background: rgba(255,255,255,0.76);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.consentTitle{font-weight:900; margin-bottom:10px}
.consentRow{display:flex; gap:12px; flex-wrap:wrap}
.radio{display:flex; gap:8px; align-items:center; padding:10px 12px; border-radius:999px;
  border:1px solid rgba(20,31,56,0.08); background:#fff}
.radio input{width:auto}

.policy{margin-top:12px; font-size:12px; color:var(--muted); line-height:1.35}

.title2{font-size:22px; font-weight:900}
.subtitle2{margin-top:10px; color:var(--muted); line-height:1.35}
.tiny{margin-top:12px; font-size:12px; color:var(--muted); line-height:1.35}

#loading{flex-direction:column; gap:14px}
.loader{
  width:120px; height:120px; border-radius:999px;
  border:18px solid rgba(0,0,0,0.08);
  border-top-color: rgba(252,152,232,0.98);
  border-right-color: rgba(252,152,232,0.58);
  animation: spin 1.0s linear infinite;
  background:transparent;
}
.loadingText{font-weight:800; color:var(--muted)}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes screenFade{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:translateY(0)}}

.regScreen{align-items:stretch; justify-content:flex-start;}
.regLayout{
  width:100%;
  min-height:calc(100vh - 46px);
  display:flex;
  flex-direction:column;
}
.headerTop{margin:6px 4px 8px}
.cardWrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

input.invalid{
  border-color: rgba(255, 77, 109, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14);
}
.errorText{
  margin-top:6px;
  font-size:13px;
  color: rgba(180, 35, 70, 0.95);
  min-height: 16px;
}

.menuScreen{
  align-items:stretch;
  justify-content:flex-start;
}
.menuLayout{
  width:100%;
  min-height:calc(100vh - 46px);
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-bottom:6px;
}
.mobileTopbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  padding-top:4px;
}
.userInfoWrap{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.greetingBlock{min-width:0; padding-top:2px}
.greetingTitle{
  font-size:24px;
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1.15;
}
.greetingSubtitle{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
  line-height:1.35;
}
.iconShell{
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(255,255,255,0.72);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.avatarShell,
.notifyButton{
  width:60px;
  height:60px;
  min-width:60px;
  border-radius:50%;
}
.notifyButton{
  position:relative;
  padding:0;
  cursor:pointer;
}
.avatarShell .menuIcon,
.notifyButton .menuIcon{
  width:92%;
  height:92%;
}
.badge{
  position:absolute;
  top:2px;
  right:0px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f06dd2;
  color:#fff;
  font-size:11px;
  font-weight:700;
  border:2px solid #fff;
}
.menuIcon{
  width:88%;
  height:88%;
  object-fit:contain;
  display:block;
}
.searchCard{
  height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border-radius:18px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(255,255,255,0.72);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.searchCard input{
  border:none;
  background:transparent;
  padding:0;
  box-shadow:none;
}
.searchCard input::placeholder{color:#a1a8b5}
.searchIcon{width:30px; height:30px; object-fit:contain; opacity:0.7}
.featureCard{
  width:100%;
  border:none;
  background:rgba(255,255,255,0.78);
  border-radius:20px;
  border:1px solid rgba(255,255,255,0.78);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  text-align:left;
  padding:18px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .22s ease, background .22s ease;
}
.featureCard:hover{transform:translateY(-2px); box-shadow:0 16px 30px rgba(252,152,232,0.22)}
.featureCard:active,
.curatorButton:active,
.navItem:active,
.notifyButton:active{transform:scale(0.985)}
.primaryFeature{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:208px;
  gap:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,231,250,0.86) 100%);
}
.featureText{max-width:44%}
.featureTitle{
  font-size:20px;
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.08;
}
.featureSubtitle{
  margin-top:10px;
  font-size:14px;
  color:var(--muted);
  line-height:1.35;
}
.heroMegaphone{
  width:168px;
  height:168px;
  flex:0 0 auto;
  object-fit:contain;
  display:block;
  margin-right:-8px;
  filter:drop-shadow(0 14px 22px rgba(252,152,232,0.20));
}
.cardMenuIcon{
  width:64px;
  height:64px;
  object-fit:contain;
  display:block;
  margin:2px 0 20px;
  filter:drop-shadow(0 10px 16px rgba(252,152,232,0.16));
}
.docsMenuIcon,
.supportMenuIcon{transform:scale(1.5);}
.menuGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.gridCard{
  min-height:166px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
.smallTitle{font-size:18px}
.smallSubtitle{margin-top:8px}
.curatorButton{
  width:100%;
  min-height:58px;
  border:none;
  border-radius:18px;
  background:linear-gradient(180deg, #ffdff9 0%, var(--accent) 100%);
  color:#fff;
  font-size:16px;
  font-weight:800;
  letter-spacing:0.02em;
  box-shadow:0 12px 24px rgba(252,152,232,0.28);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .22s ease, filter .22s ease;
}
.bottomNav{
  margin-top:auto;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:4px;
  padding:12px 10px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(255,255,255,0.78);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:24px;
}
.navItem{
  border:none;
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:var(--muted);
  font-size:12px;
  padding:8px 4px;
  cursor:pointer;
  transition:transform .18s ease, color .2s ease;
}
.navItem.active{color:#f06dd2}
.navIconShell{
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:14px;
  box-shadow:none;
  background:transparent;
  border:none;
}
.navItem.active .navIconShell{background:rgba(252,152,232,0.18)}


.readonlyField{
  opacity:.82;
  filter:grayscale(.12);
}
.readonlyField,
.readonlyField *{
  user-select:none;
}
.readonlyField .label,
.readonlyField .consentTitle,
.readonlyField .hint,
.readonlyField span{
  color:#98a0b3 !important;
}
.readonlyField select:disabled,
.readonlyField input:disabled,
.readonlyField textarea[readonly]{
  opacity:1;
  color:#8f97aa;
  cursor:not-allowed;
  background:#f1f3f8;
  border-color:#dfe4ef;
  box-shadow:none;
}
.readonlyField select:disabled{
  -webkit-text-fill-color:#8f97aa;
}
.readonlyField .radio{
  background:#f1f3f8;
  border-color:#dfe4ef;
  box-shadow:none;
}
.disabledRadio{
  opacity:1;
}
.disabledRadio span{
  color:#8f97aa;
}
.consentRowLocked{
  pointer-events:none;
}

@media (max-width:380px){
  #app{padding:calc(14px + env(safe-area-inset-top)) 12px calc(24px + env(safe-area-inset-bottom))}
  .greetingTitle{font-size:21px}
  .featureText{max-width:42%}
  .featureTitle{font-size:18px}
  .heroMegaphone{width:142px; height:142px}
  .cardMenuIcon{width:58px; height:58px}
  .smallTitle{font-size:17px}
}


.profileScreen{
  align-items:stretch;
  justify-content:flex-start;
}
.profileLayout{
  width:100%;
  min-height:calc(100vh - 46px);
  display:flex;
  flex-direction:column;
  gap:16px;
}
.profileHeader{
  display:flex;
  align-items:center;
  gap:14px;
  padding-top:4px;
}
.backButton{
  width:60px;
  height:60px;
  min-width:60px;
  border:none;
  cursor:pointer;
}
.profileBackIcon{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  max-width:100%;
  max-height:100%;
}

.profileHeaderText{min-width:0}
.profileTitle{
  font-size:28px;
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1.05;
}
.profileSubtitle{
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}
.profileCard{
  background:rgba(255,255,255,0.78);
  border:1px solid rgba(255,255,255,0.78);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:24px;
  padding:18px;
}
.profileHero{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:8px;
}
.profileHeroIcon{
  width:72px;
  height:72px;
  min-width:72px;
  border-radius:22px;
}
.profileHeroMainIcon{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  max-width:100%;
  max-height:100%;
}

.profileConsentBox{margin-top:4px}
.profileActions{
  display:flex;
  gap:12px;
  margin-top:16px;
}
.profileActions .btn{flex:1}

.readonlyField{
  opacity:.82;
  filter:grayscale(.12);
}
.readonlyField,
.readonlyField *{
  user-select:none;
}
.readonlyField .label,
.readonlyField .consentTitle,
.readonlyField .hint,
.readonlyField span{
  color:#98a0b3 !important;
}
.readonlyField select:disabled,
.readonlyField input:disabled,
.readonlyField textarea[readonly]{
  opacity:1;
  color:#8f97aa;
  cursor:not-allowed;
  background:#f1f3f8;
  border-color:#dfe4ef;
  box-shadow:none;
}
.readonlyField select:disabled{
  -webkit-text-fill-color:#8f97aa;
}
.readonlyField .radio{
  background:#f1f3f8;
  border-color:#dfe4ef;
  box-shadow:none;
}
.disabledRadio{
  opacity:1;
}
.disabledRadio span{
  color:#8f97aa;
}
.consentRowLocked{
  pointer-events:none;
}

@media (max-width:380px){
  .profileTitle{font-size:24px}
  .profileCard{padding:16px}
}

.importantScreen{
  align-items:stretch;
  justify-content:flex-start;
}
.importantCardWrap{
  padding:18px;
}
.importantIntro{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.importantHeroIcon{
  width:76px;
  height:76px;
  min-width:76px;
}
.importantGrid{
  align-items:stretch;
}
.importantMenuCard{
  min-height:172px;
}
.importantMenuIcon{
  width:72px;
  height:72px;
  margin:0 0 18px;
}
.importantMenuTitle{
  font-size:16px;
  line-height:1.15;
}
.detailOverlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:flex-end;
  justify-content:center;
  padding:20px 14px calc(20px + env(safe-area-inset-bottom));
  background:rgba(20,31,56,0.18);
  z-index:50;
}
.detailOverlay.open{
  display:flex;
}
.detailSheet{
  width:100%;
  max-width:460px;
  background:rgba(255,255,255,0.94);
  border:1px solid rgba(255,255,255,0.78);
  box-shadow:0 20px 38px rgba(20,31,56,0.18);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:24px;
  padding:18px;
}
.detailHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.detailTitle{
  font-size:20px;
  font-weight:800;
  letter-spacing:-0.02em;
}
.detailSubtitle{
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}
.detailClose{
  border:none;
  background:rgba(252,152,232,0.12);
  color:#c55aaa;
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:12px;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.detailBody{
  max-height:50vh;
  overflow:auto;
  padding-right:4px;
}
.detailList{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:10px;
  color:var(--text);
  line-height:1.4;
}
.detailNote{
  border-radius:16px;
  padding:14px;
  background:rgba(252,152,232,0.10);
  color:var(--text);
  line-height:1.4;
}


.curatorHint{
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(252,152,232,0.12);
  color: #8f3c7c;
  font-size: 13px;
  font-weight: 600;
}
.detailFilesWrap{margin-top:18px; padding-top:14px; border-top:1px solid rgba(20,31,56,0.08)}
.detailFilesTitle{font-size:14px; font-weight:800; margin-bottom:10px}
.fileRow{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid rgba(20,31,56,0.06)}
.fileLink{color:#d54fc1; text-decoration:none; font-weight:700; word-break:break-word}
.fileDeleteBtn{border:none; background:rgba(20,31,56,0.06); border-radius:999px; padding:8px 12px; font-weight:700; cursor:pointer}
.detailCuratorActions{margin-top:18px}
.importantEditor{margin-top:16px; padding-top:16px; border-top:1px solid rgba(20,31,56,0.08)}
.emptyHint{color:var(--muted); font-size:14px; line-height:1.4}
.detailLine{padding:10px 0; border-bottom:1px solid rgba(20,31,56,0.06); line-height:1.45}

.backButton img{width:100%;height:100%;object-fit:contain;}

.importantHeroIcon .profileHeroMainIcon{
  width:100%;
  height:100%;
  object-fit:contain;
}


.menuSearchResults{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.searchResultsTitle{
  font-size:16px;
  font-weight:800;
  padding:0 2px;
}
.searchEmpty{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(255,255,255,0.72);
  color:var(--muted);
  text-align:center;
  box-shadow:var(--shadow-soft);
}
.bottomNavInner{
  margin-top:16px;
}

.profileBackIcon{width:100% !important;height:100% !important;object-fit:contain;display:block}
.flexCard{display:flex;flex-direction:column;gap:14px;min-height:420px}
.softCard{margin:10px 0 16px;background:rgba(255,255,255,0.72)}
.chatList{display:flex;flex-direction:column;gap:10px;min-height:180px;max-height:340px;overflow:auto;padding:4px 2px}
.compactChat{max-height:260px}
.chatBubble{max-width:85%;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid rgba(20,31,56,0.08);box-shadow:var(--shadow-soft)}
.chatBubble.mine{align-self:flex-end;background:rgba(252,152,232,0.16)}
.chatBubble.other{align-self:flex-start}
.chatMeta{margin-top:6px;font-size:11px;color:var(--muted)}
.chatComposer{display:flex;flex-direction:column;gap:10px}
.statsRow{display:flex;gap:12px;margin-bottom:10px}.statBox{flex:1;padding:14px;border-radius:18px;background:rgba(255,255,255,0.72);border:1px solid rgba(255,255,255,0.72)}
.statLabel{font-size:13px;color:var(--muted)}.statValue{font-size:28px;font-weight:800;margin-top:6px}
.curatorUsersList{display:flex;flex-direction:column;gap:12px}
.curatorUserCard{width:100%;border:none;text-align:left;padding:16px;border-radius:20px;background:rgba(255,255,255,0.86);box-shadow:var(--shadow-soft);cursor:pointer;position:relative}
.curatorUserHead{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.curatorMetaRow{margin-top:10px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.statusPill{padding:6px 10px;border-radius:999px;background:rgba(252,152,232,0.16);font-size:12px;font-weight:700}
.importantItemCard{padding:20px;min-height:166px;display:flex;align-items:stretch}.importantItemBody{display:flex;gap:16px;align-items:flex-start}.importantItemIcon{width:72px;height:72px;min-width:72px;border-radius:20px}.importantGrid{gap:20px}.importantItemBody .featureTitle.smallTitle{font-size:18px;line-height:1.08}.importantItemBody .featureSubtitle.smallSubtitle{margin-top:10px;font-size:14px;line-height:1.35}
.menuSearchResults{display:flex;flex-direction:column;gap:12px}.searchResultsTitle{font-weight:800}.searchEmpty,.emptyHint{color:var(--muted);font-size:14px;padding:8px 0}
.fileRow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(20,31,56,0.06)}
.fileLink{color:var(--text);text-decoration:none;font-weight:600;word-break:break-word}.fileDeleteBtn{border:none;background:rgba(255,77,109,0.1);border-radius:999px;padding:8px 12px;color:#b42346;cursor:pointer}
.detailLine{padding:10px 0;border-bottom:1px solid rgba(20,31,56,0.06)}
.detailOverlay{position:fixed;inset:0;background:rgba(31,36,48,0.32);display:none;padding:18px;z-index:30}.detailOverlay.open{display:flex;align-items:flex-end}
.detailSheet{width:min(460px,100%);margin:0 auto;background:#fff;border-radius:24px 24px 0 0;padding:20px;max-height:88vh;overflow:auto}.detailHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.detailClose{border:none;font-size:28px;line-height:1;cursor:pointer}.detailTitle{font-size:22px;font-weight:800}.detailSubtitle,.detailFilesTitle{color:var(--muted);font-size:14px}.detailCuratorActions{margin-top:14px}
@media (max-width:420px){.curatorMetaRow{flex-direction:column}.chatBubble{max-width:92%}}

.curatorSideMeta{display:flex;align-items:center;gap:10px}
.messageBadge{min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#ff3b30;color:#fff;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 8px 16px rgba(255,59,48,.24)}
.documentsSectionsHint{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.docSectionChip{padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.72);box-shadow:var(--shadow-soft);font-size:13px;line-height:1.25;color:var(--muted)}
.fileMetaWrap{display:flex;flex-direction:column;gap:6px}
.fileTag{display:inline-flex;align-self:flex-start;padding:6px 10px;border-radius:999px;background:rgba(252,152,232,.16);color:#d45ab4;font-size:12px;font-weight:700}

/* Fix Important Information card layout after curator update */
.importantGrid{
  gap:18px;
  align-items:stretch;
}
.importantItemCard{
  padding:22px;
  min-height:220px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}
.importantItemBody{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:18px;
}
.importantItemIcon{
  width:96px;
  height:96px;
  min-width:96px;
  border-radius:24px;
}
.importantItemBody .featureTitle.smallTitle{
  font-size:20px;
  line-height:1.08;
  word-break:break-word;
}
.importantItemBody .featureSubtitle.smallSubtitle{
  margin-top:10px;
  font-size:15px;
  line-height:1.35;
}

@media (max-width:420px){
  .importantItemCard{
    min-height:198px;
    padding:20px;
  }
  .importantItemIcon{
    width:88px;
    height:88px;
    min-width:88px;
  }
  .importantItemBody .featureTitle.smallTitle{
    font-size:18px;
  }
  .importantItemBody .featureSubtitle.smallSubtitle{
    font-size:14px;
  }
}

.importantPathBar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 6px;flex-wrap:wrap}
.importantPathLabel{font-size:13px;color:#6b7280}
.sectionChildBadge{margin-top:8px;font-size:12px;color:#6b7280}
.importantSubtle{font-size:13px;color:#6b7280;line-height:1.5;white-space:pre-wrap}
.iconPreviewOption{display:flex;align-items:center;gap:8px}
.iconPickerHint{font-size:12px;color:#6b7280}

/* Important sections editor, custom icons, and curator inline actions */
.detailOverlay.open,
.detailOverlay.active{
  display:flex;
  align-items:flex-end;
}

.importantPathBar{
  align-items:flex-start;
}

#importantOpenCurrentSectionBtn,
#importantLevelBack{
  white-space:nowrap;
}

.importantPlusCard{
  align-items:center;
  justify-content:center;
  min-height:166px;
  text-align:center;
}

.importantPlusCard .plusSymbol{
  font-size:56px;
  font-weight:800;
  line-height:1;
  color:#d45ab4;
}

.cardMenuIcon.customSectionIcon{
  object-fit:contain;
  border-radius:22px;
  background:rgba(252,152,232,0.10);
  padding:10px;
  box-sizing:border-box;
}

.importantIconUploadCard{
  margin-top:10px;
}

.importantIconActions{
  flex-wrap:wrap;
}

.importantIconPreviewWrap{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:6px;
  flex-wrap:wrap;
}

.importantIconPreviewBox{
  width:128px;
  min-width:128px;
  height:128px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(20,31,56,0.08);
  box-shadow:var(--shadow-soft);
}

.importantIconPreviewBox img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

.importantIconSizeWrap{
  flex:1;
  min-width:180px;
}

.importantIconSizeValue{
  margin-top:8px;
  font-size:13px;
  color:#6b7280;
  font-weight:700;
}

#detailFilesWrap[style*="display: none"]{
  display:none !important;
}

@media (max-width:420px){
  .importantIconPreviewBox{
    width:112px;
    min-width:112px;
    height:112px;
  }
  .importantPathBar{
    gap:10px;
  }
}
.detailCuratorActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


.compactTitle{margin-top:14px;font-size:14px}
.deadlineSettingsList{display:grid;gap:12px;margin-top:12px}
.deadlineSettingsList .field{margin-bottom:0}
.docSectionChip{display:flex;flex-direction:column;gap:6px}
.docSectionChipTitle{font-weight:600;color:#141f38}
.docSectionChipMeta{font-size:12px;color:#6b7280;line-height:1.4}
.docSectionChip.overdue{border-color:rgba(255,77,109,0.38);box-shadow:0 0 0 1px rgba(255,77,109,0.08) inset}
#documentsDeadlineSummary{line-height:1.55}
.importantNotifyCard{margin-top:16px}
.importantNotifyModes{display:grid;gap:8px;margin-top:12px}
.importantNotifyUsersWrap{margin-top:14px}
.importantNotifyUsers{display:grid;gap:10px;max-height:240px;overflow:auto;padding-right:4px}
.notifyUserOption{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:18px;border:1px solid rgba(20,31,56,0.08);background:#f9fafb}
.notifyUserOption input{margin-top:4px}
.notifyUserOption .featureTitle.smallTitle{font-size:15px}
.notifyUserOption .featureSubtitle.smallSubtitle{margin-top:4px}
#importantNotifySelectedCount{margin-bottom:10px}
@media (max-width: 560px){
  .notifyUserOption{padding:11px 12px}
}
