/* 보건복지위원회 업무지원 포털 공통 스타일 — v273 */
:root{
      --navy:#173a66;
      --navy-2:#102c4d;
      --blue:#2f6fd6;
      --blue-soft:#79a6de;
      --green:#49b597;
      --red:#cf3447;
      --orange:#d99516;
      --purple:#7756d8;
      --bg:#f4f7fb;
      --card:#ffffff;
      --line:#e2e8f0;
      --text:#182233;
      --muted:#6f7d90;
      --shadow:0 4px 18px rgba(16, 44, 77, .07);
      --radius:16px;
    }

    *{box-sizing:border-box}
    body{
      margin:0;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;
      color:var(--text);
      background:var(--bg);
    }

    a{color:inherit;text-decoration:none}
    button{font:inherit}
    .app{display:grid;grid-template-columns:230px 1fr;min-height:100vh}

    .sidebar{
      position:sticky;top:0;height:100vh;
      background:linear-gradient(180deg,var(--navy-2),#173b66 66%,#1b456f);
      color:#fff;padding:22px 16px 18px;
      display:flex;flex-direction:column;
      box-shadow:4px 0 14px rgba(20,45,76,.08);
    }
    .brand{
      display:flex;flex-direction:column;align-items:flex-start;gap:6px;
      padding:6px 8px 20px;border-bottom:1px solid rgba(255,255,255,.14);
      margin-bottom:16px
    }
    .brand-title{font-size:22px;font-weight:900;letter-spacing:-.02em;line-height:1.15;color:#fff}
    .brand-sub{font-size:14px;color:#d7e2ef;font-weight:700;letter-spacing:-.01em}
    .nav{display:flex;flex-direction:column;gap:6px}
    .nav a{
      display:flex;align-items:center;gap:12px;
      padding:12px 14px;border-radius:11px;color:#e9f0f8;font-size:14px
    }
    .nav a:hover{background:rgba(255,255,255,.09)}
    .nav a.active{background:linear-gradient(90deg,#2f6fd6,#3e7fe6);color:#fff}
    .nav .ico{width:22px;text-align:center;opacity:.95}
    .sidebar-note{
      margin-top:auto;padding:18px 10px 8px;
      color:#c6d4e4;font-size:12px;line-height:1.8
    }

    .main{min-width:0}
    .topbar{
      height:82px;background:#fff;border-bottom:1px solid var(--line);
      padding:0 28px;display:flex;align-items:center;justify-content:space-between;
      position:sticky;top:0;z-index:20
    }
    .top-left{display:flex;align-items:center;gap:22px}
    .portal-title{font-size:21px;font-weight:800}
    .top-meta{display:flex;gap:22px;color:#46556a;font-size:14px}
    .top-date{font-weight:700;color:#1d2a3c}
    .session{padding-left:22px;border-left:1px solid var(--line)}
    .headline{font-size:13px;color:#7b8797}

    .content{padding:18px 22px 28px}
    .dashboard{
      display:grid;
      grid-template-columns:minmax(340px,.9fr) minmax(310px,.75fr) minmax(520px,1.55fr);
      gap:16px;
      align-items:start
    }

    .card{
      background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
      box-shadow:var(--shadow);overflow:hidden
    }
    .card-head{
      display:flex;align-items:center;justify-content:space-between;
      padding:15px 18px 12px
    }
    .card-title{font-size:17px;font-weight:800;display:flex;align-items:center;gap:8px}
    .card-title .dot{width:9px;height:9px;border-radius:50%;background:var(--blue)}
    .card-link{font-size:12px;color:#718096}
    .card-body{padding:0 18px 16px}
    .today .card-head,.live .card-head{padding:15px 18px 7px}
    .today .card-body,.live .card-body{padding-top:0}
    .today .card-body::before,
    .live .card-body::before{
      content:"";
      display:block;
      height:1px;
      width:calc(100% - 12px);
      margin:0 auto 14px;
      background:#e6ebf2;
    }
    .today .card-head{justify-content:flex-start}
    .today .card-title{gap:0}
    .live .card-title{gap:10px}
    .live-pill{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:24px;padding:0 10px;border-radius:999px;background:#ff334d;color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em;line-height:1}

    .today{grid-column:1;grid-row:1}
    .live{grid-column:2;grid-row:1}
    .todo-card{grid-column:3;grid-row:1}
    .calendar-card{grid-column:3;grid-row:2}
    .events{grid-column:1 / span 2;grid-row:2}
    .health-news{grid-column:1 / -1}
    .news{grid-column:1 / -1}

    .schedule-list,.live-list,.event-list,.news-list{list-style:none;margin:0;padding:0}
    .schedule-item{
      display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;
      padding:13px 0;border-top:1px solid #eef2f6;align-items:start
    }
    .schedule-item:first-child{border-top:0}
    .time{font-weight:800;color:#173d73;white-space:nowrap}
    .schedule-main{font-size:14px;font-weight:700;line-height:1.4;min-width:0}
    .schedule-source{color:#41546e;font-weight:700;margin-right:5px;white-space:nowrap}
    .schedule-title{color:#1f2c3d}
    .schedule-place{font-size:11.5px;color:#8a98aa;margin-top:4px;line-height:1.35}
    .schedule-title-btn{border:0;background:transparent;padding:0;margin:0;color:#1f2c3d;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;text-decoration:none}
    .schedule-title-btn:hover{text-decoration:underline;text-underline-offset:2px;color:#315f9c}

    .live-item{
      display:flex;align-items:center;gap:9px;
      padding:12px 0;border-top:1px solid #eef2f6;font-size:13px
    }
    .live-item:first-child{border-top:0}
    .live-badge{
      flex:0 0 auto;background:#ff334d;color:#fff;font-weight:800;font-size:10px;
      border-radius:6px;padding:3px 6px
    }
    .live-name{flex:1;min-width:0}
    .live-name-main{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .live-name-sub{font-size:11px;color:#7b899b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .live-status{flex:0 0 auto;color:#7b899b;font-size:11px}
    .live-empty{padding:20px 0;color:#7b899b;font-size:12px;text-align:center}
    .arrow{color:#9aa7b7}

    .event-toolbar{
      display:flex;align-items:center;justify-content:space-between;
      padding:0 18px 8px
    }
    .tabs{display:flex;background:#f0f4f9;border-radius:9px;padding:3px;gap:2px}
    .tab{
      border:0;background:transparent;color:#5f6f84;padding:7px 15px;border-radius:7px;
      cursor:pointer;font-size:12px
    }
    .tab.active{background:var(--blue);color:#fff;font-weight:700}
    .event-row{
      display:grid;
      grid-template-columns:104px 72px 180px minmax(0,1fr);
      column-gap:8px;
      row-gap:4px;
      align-items:start;
      padding:13px 18px;
      border-top:1px solid #eef2f6;
      font-size:13px
    }
    .event-dateblock{display:flex;flex-direction:column;gap:5px;padding-top:1px}
    .event-date{font-weight:800;line-height:1.15}
    .event-time{color:#60758c;font-weight:700;line-height:1.15}
    .event-type{
      display:inline-flex;align-items:center;justify-content:center;
      font-size:11px;text-align:center;padding:4px 8px;border-radius:7px;font-weight:700;
      justify-self:start;min-width:0;white-space:nowrap;margin-top:1px
    }
    .event-type.토론회{background:#ffe5e7;color:#cf4250}
    .event-type.세미나{background:#efe7ff;color:#7453cf}
    .event-type.간담회{background:#e6f3ff;color:#2674c9}
    .event-type.기타{background:#eef2f6;color:#5f6c7c}
    .event-owner{
      color:#52647a;
      white-space:normal;
      overflow:visible;
      text-overflow:clip;
      line-height:1.45;
      word-break:keep-all;
      overflow-wrap:anywhere;
      padding-top:1px
    }
    .event-owner .committee-owner{
      color:#263c58;
      font-weight:800;
    }
    .event-content{display:flex;flex-direction:column;gap:6px;min-width:0}
    .event-title{font-weight:700;line-height:1.35;white-space:normal;word-break:keep-all}
    .event-place{color:#718096;text-align:left;line-height:1.35;white-space:normal;word-break:keep-all;font-size:12px}
    .empty{padding:24px;text-align:center;color:#8693a5;font-size:13px}

    .calendar-top{
      display:flex;align-items:center;justify-content:space-between;}
    .month-nav{display:flex;align-items:center;gap:8px}
    .month-title{font-weight:800;font-size:18px;min-width:110px;text-align:center}
    .cal-btn{
      border:1px solid var(--line);background:#fff;
      cursor:pointer;color:#627186;font-weight:700
    ;}
    
    .legend{
      display:flex;flex-wrap:wrap;gap:10px 14px;
      padding:0 0 12px;font-size:11px;color:#5c6a7c
    }
    .legend span{display:flex;align-items:center;gap:5px}
    .legend i{width:11px;height:11px;border-radius:3px;display:inline-block}
    .lg-plenary{background:var(--green)}
    .lg-plenary-all{background:var(--red)}
    .lg-standing-full{background:#3367c7}
    .lg-standing-sub{background:#80a9dc}
    .lg-special{background:var(--orange)}

    .dow{
      display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:5px
    }
    .dow div{text-align:center;font-size:11px;font-weight:700;color:#68788d;padding:6px 0}
    .dow div:first-child{color:#e12d2d}
    .dow div:last-child{color:#2363d4}
    .cal-grid{
      display:grid;grid-template-columns:repeat(7,1fr);gap:5px
    }
    .day{
      position:relative;min-height:88px;border:1px solid #e5eaf1;border-radius:8px;
      padding:8px 7px;background:#fff;overflow:hidden
    }
    .day.other{background:#fafbfd;color:#a9b2bf}
    .day.today{outline:2px solid #2e76df;outline-offset:-2px}
    .day-head{
      display:grid;
      grid-template-columns:auto minmax(0,1fr);
      align-items:center;
      column-gap:4px;
      min-height:20px;
      margin-bottom:4px;
      width:100%;
      min-width:0;
    }
    .day-num{font-size:12px;font-weight:800}
    .day.sunday .day-num{color:#e12d2d}
    .day.saturday .day-num{color:#2363d4}
    .day.other .day-num{color:#aab3bf}
    .day-plenary{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      min-width:0;
      max-width:100%;
      min-height:18px;
      overflow:hidden;
    }
    .day-plenary .badge{
      width:auto;
      max-width:100%;
      min-width:0;
      box-sizing:border-box;
      padding:4px 5px;
      font-size:9px;
      font-weight:500;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .badges{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      column-gap:5px;
      row-gap:5px
    }
    .badge{
      display:flex;align-items:center;justify-content:center;
      min-width:0;width:100%;
      color:#fff;
      font-size:10px;
      font-weight:500;
      line-height:1.2;
      letter-spacing:-.015em;
      padding:4px 5px;
      border-radius:5px;
      cursor:pointer;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
    }
    .badge.plenary{background:var(--green)}
    .badge.plenary-all{background:var(--red)}
    .badge.standing-full{background:#3367c7}
    .badge.standing-sub{background:#80a9dc}
    .badge.special{background:var(--orange)}
    .badge:hover{filter:brightness(.95)}

    .tooltip{
      position:fixed;z-index:9999;display:none;
      background:#111a29;color:#fff;border-radius:10px;padding:12px 14px;
      min-width:250px;max-width:330px;box-shadow:0 12px 32px rgba(0,0,0,.22);
      pointer-events:none
    }
    .tooltip strong{display:block;font-size:14px;margin-bottom:5px}
    .tooltip .t-time{font-size:13px;color:#cbd5e1;margin-bottom:3px}
    .tooltip .t-title{font-size:13px;line-height:1.45}

    .health-news-grid{
      display:grid;grid-template-columns:repeat(2,1fr);gap:0 26px
    }
    .health-news-item{
      display:grid;grid-template-columns:86px 1fr 82px;gap:12px;
      align-items:center;padding:11px 0;border-top:1px solid #eef2f6;font-size:13px
    }
    .health-news-item:nth-child(-n/**/+2){border-top:0}
    .health-news-source{
      font-size:11px;font-weight:800;color:#345f9a;background:#eef5ff;
      border-radius:7px;padding:4px 7px;text-align:center
    }
    .health-news-title{
      font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
    }
    .health-news-date{text-align:right;color:#8a96a6;font-size:12px}

    .news .card-body{padding-top:2px}
    .agency-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
    .agency{
      border:1px solid #e6ebf2;border-radius:13px;padding:14px;min-width:0;background:#fff
    }
    .agency-head{
      display:flex;align-items:center;justify-content:space-between;
      padding-bottom:10px;border-bottom:1px solid #eef2f6;margin-bottom:2px
    }
    .agency-name{font-size:14px;font-weight:800}
    .agency-more{font-size:11px;color:#7a889a}
    .news-item{
      display:grid;grid-template-columns:1fr 76px;gap:10px;
      padding:9px 0;border-bottom:1px solid #f0f3f7;font-size:12px
    }
    .news-item:last-child{border-bottom:0}
    .news-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .news-date{text-align:right;color:#8a96a6}

    .status-pill{
      display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;
      font-size:11px;background:#eef5ff;color:#2d67bd
    }

    .page-view{display:none}
    .page-view.active{display:block}

    /* 의원정보 페이지 */
    .members-page{padding:18px 22px 34px}
    .members-hero{
      background:#fff;border:1px solid var(--line);border-radius:var(--radius);
      box-shadow:var(--shadow);padding:20px 22px;margin-bottom:16px
    }
    .members-hero-top{
      display:flex;align-items:flex-start;justify-content:space-between;gap:20px
    }
    .members-hero h1{margin:0;font-size:23px;letter-spacing:-.03em}
    .members-hero p{margin:7px 0 0;color:var(--muted);font-size:13px}
    .member-stats{
      display:grid;grid-template-columns:repeat(4,minmax(110px,1fr));gap:10px;margin-top:18px
    }
    .member-stat{
      background:#f7f9fc;border:1px solid #e7ecf3;border-radius:12px;padding:12px 14px
    }
    .member-stat strong{display:block;font-size:20px;margin-top:4px}
    .member-stat span{font-size:11px;color:#78879a}

    .member-toolbar{
      display:flex;align-items:center;justify-content:space-between;gap:12px;
      background:#fff;border:1px solid var(--line);border-radius:14px;
      padding:12px 14px;margin-bottom:14px;box-shadow:var(--shadow)
    }
    .member-search{
      flex:1;max-width:420px;display:flex;align-items:center;gap:8px;
      border:1px solid #dfe6ef;border-radius:10px;padding:9px 11px;background:#fbfcfe
    }
    .member-search input{
      width:100%;border:0;outline:0;background:transparent;font-size:13px;color:var(--text)
    }
    .member-filters,.view-switch{display:flex;gap:6px;flex-wrap:wrap}
    .filter-btn,.view-btn{
      border:1px solid #dfe6ef;background:#fff;color:#5f6f84;
      border-radius:8px;padding:8px 11px;cursor:pointer;font-size:12px
    }
    .filter-btn.active,.view-btn.active{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700}

    .members-grid{
      display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px
    }
    .member-card{
      background:#fff;border:1px solid var(--line);border-radius:15px;
      box-shadow:var(--shadow);padding:14px;display:grid;
      grid-template-columns:78px 1fr;gap:13px;min-width:0;cursor:pointer;
      transition:.15s ease
    }
    .member-card:hover{transform:translateY(-1px);box-shadow:0 7px 22px rgba(16,44,77,.11)}
    .member-photo{
      width:78px;height:98px;border-radius:11px;object-fit:cover;object-position:center top;
      background:#eef2f6;border:1px solid #e2e7ee
    }
    .member-name-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
    .member-name{font-size:16px;font-weight:800}
    .role-chip{
      font-size:10px;
      font-weight:800;
      padding:3px 7px;
      border-radius:6px;
      background:#fff3c4;
      color:#8a5a00;
      border:1px solid #f2d77a;
    }
    .party-chip{
      font-size:10px;padding:3px 6px;border-radius:6px;font-weight:700
    }
    .party-dem{background:#e8efff;color:#275fb8}
    .party-ppp{background:#ffeded;color:#aa3c3c}
    .party-rk{background:#eef0ff;color:#5453b7}
    .party-jp{background:#fff0e4;color:#bd671d}
    .member-district{font-size:12px;color:#64758a;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .member-contact{
      margin-top:10px;padding-top:9px;border-top:1px solid #eef2f6;
      display:grid;grid-template-columns:1fr;gap:5px
    }
    .contact-line{font-size:12px;color:#415269;display:flex;align-items:center;gap:6px}
    .contact-line b{color:#182233}
    .contact-line.room b{font-size:13px;color:#214f8f}
    .member-card .hint{font-size:10px;color:#98a5b5;margin-top:8px}

    .contact-table-wrap{
      display:none;background:#fff;border:1px solid var(--line);border-radius:15px;
      box-shadow:var(--shadow);overflow:auto
    }
    .contact-table{width:100%;border-collapse:collapse;min-width:980px}
    .contact-table th{
      position:sticky;top:0;background:#f5f8fc;text-align:left;font-size:12px;
      color:#596a80;padding:11px 12px;border-bottom:1px solid #e3e9f0
    }
    .contact-table td{padding:10px 12px;border-bottom:1px solid #eef2f6;font-size:12px;vertical-align:middle}
    .contact-table tr:last-child td{border-bottom:0}
    .contact-table tr:hover td{background:#fafcff}
    .table-person{display:flex;align-items:center;gap:9px}
    .table-photo{width:34px;height:42px;border-radius:6px;object-fit:cover;object-position:center top;background:#eef2f6}
    .table-name{font-weight:800}

    .member-modal{
      position:fixed;inset:0;background:rgba(13,24,38,.42);z-index:10000;
      display:none;align-items:center;justify-content:center;padding:24px
    }
    .member-modal.open{display:flex}
    .member-modal-card{
      width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;
      box-shadow:0 24px 70px rgba(0,0,0,.25)
    }
    .modal-head{
      display:flex;justify-content:space-between;align-items:center;padding:15px 18px;
      border-bottom:1px solid #e8edf3
    }
    .modal-close{border:0;background:#f0f3f7;width:34px;height:34px;border-radius:9px;cursor:pointer;font-size:18px}
    .modal-body{padding:18px 20px 20px;display:block}
    .member-modal-top{display:grid;grid-template-columns:128px minmax(0,1fr);gap:18px;align-items:start}
    .modal-photo{width:128px;height:162px;border-radius:13px;object-fit:cover;object-position:center top;background:#eef2f6}
    .member-modal-summary{min-width:0}
    .modal-name{font-size:25px;font-weight:900;letter-spacing:-.03em}
    .modal-sub{margin-top:5px;color:#637489;font-size:13px;line-height:1.45}
    .compact-info{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      column-gap:22px;
      row-gap:0;
      margin-top:14px;
      border-top:1px solid #e8edf3;
      border-bottom:1px solid #e8edf3;
    }
    .compact-info-item{
      display:grid;
      grid-template-columns:78px minmax(0,1fr);
      gap:8px;
      align-items:baseline;
      padding:8px 0;
      min-width:0;
      border-bottom:1px solid #f0f3f7;
    }
    .compact-info-item:nth-last-child(-n/**/+2){border-bottom:0}
    .compact-info-item.full{grid-column:1/-1;border-top:1px solid #f0f3f7;border-bottom:0}
    .compact-info-label{font-size:10.5px;color:#8190a3;font-weight:700;white-space:nowrap}
    .compact-info-value{font-size:12.5px;color:#26374c;font-weight:800;word-break:break-word}
    .modal-info-panels{
      display:grid;
      grid-template-columns:1.15fr .85fr;
      gap:16px;
      margin-top:16px;
    }
    .modal-info-panel{
      min-width:0;
      padding-top:12px;
      border-top:1px solid #e8edf2;
    }
    .modal-info-panel.career-panel{grid-column:1/-1}
    .quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
    .quick-actions a,.quick-actions button{
      border:1px solid #dbe3ed;background:#fff;border-radius:9px;padding:8px 11px;
      color:#345d91;font-size:12px;font-weight:700;cursor:pointer
    }

    @media (max-width:1400px){
      .members-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    }
    @media (max-width:1100px){
      .members-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .member-toolbar{align-items:flex-start;flex-direction:column}
      .member-search{max-width:none;width:100%}
    }
    @media (max-width:720px){
      .members-grid{grid-template-columns:1fr}
      .member-stats{grid-template-columns:repeat(2,1fr)}
      
      .modal-photo{width:110px;height:140px}

      .compact-info-item:nth-last-child(-n/**/+2){border-bottom:1px solid #f0f3f7}
      .compact-info-item:last-child{border-bottom:0}
      .modal-info-panels{grid-template-columns:1fr}
      .modal-info-panel.career-panel{grid-column:auto}
      .career-list{grid-template-columns:1fr}
    }

    @media (max-width:1280px){
      .app{grid-template-columns:190px 1fr}
      .dashboard{grid-template-columns:1fr 1fr}
      .today{grid-column:1;grid-row:auto}
      .live{grid-column:2;grid-row:auto}
      .todo-card{grid-column:1 / -1;grid-row:auto}
      .calendar-card{grid-column:1 / -1;grid-row:auto}
      .events{grid-column:1 / -1;grid-row:auto}
      .health-news{grid-column:1 / -1}
    .news{grid-column:1 / -1}
      .event-row{grid-template-columns:132px 78px 96px minmax(0,1fr)}
    }
    @media (max-width:900px){
      .app{grid-template-columns:1fr}
      .sidebar{position:relative;height:auto}
      .nav{display:grid;grid-template-columns:repeat(2,1fr)}
      .sidebar-note{display:none}
      .topbar{position:relative;height:auto;padding:18px;align-items:flex-start}
      .top-left{display:block}
      .top-meta{margin-top:8px}
      .dashboard{grid-template-columns:1fr}
      .today,.live,.todo-card,.calendar-card,.events,.health-news,.news{grid-column:1;grid-row:auto}
      .health-news-grid{grid-template-columns:1fr}
      .agency-grid{grid-template-columns:1fr}
      .event-row{grid-template-columns:120px 72px minmax(0,1fr)}
      .event-owner{display:none}
      .event-place{font-size:12px}
    }

.members-grid{display:block!important}
.member-chair-row{display:flex;justify-content:center;margin:14px 0 16px}
.member-chair-row .member-card{width:min(390px,100%)}
.member-party-board{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.party-column{border:1px solid #e5eaf0;border-radius:14px;background:#fff;overflow:hidden}
.party-column-head{display:flex;justify-content:flex-start;padding:11px 14px;font-weight:800;border-bottom:1px solid #edf1f5}
.party-column.dem .party-column-head{background:#f4f6ff;color:#202b68}
.party-column.ppp .party-column-head{background:#fff5f5;color:#7a2020}
.party-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.other-party-section{margin-top:18px}
.other-party-head{font-size:13px;font-weight:800;color:#516174;margin-bottom:9px}
.other-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.term-chip{display:inline-flex;padding:2px 7px;border-radius:999px;background:#eef3f8;color:#34465a;font-size:11px;font-weight:800;margin-left:5px}
.photo-placeholder{width:82px;height:100px;border-radius:10px;background:#eef2f6;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:25px;color:#7b8999}
.detail-section-title{font-size:12px;font-weight:900;color:#35485c;margin-bottom:7px}
.staff-row{display:grid;grid-template-columns:72px 1fr;gap:8px;font-size:11.5px;line-height:1.55;margin-bottom:3px}
.staff-label{font-weight:800;color:#5a6b7e}
.api-pending{font-size:11px;color:#8492a3}
.career-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px 18px;
  font-size:11.5px;
  line-height:1.5;
  color:#35485c;
}
.career-list li{position:relative;padding-left:11px}
.career-list li::before{content:"•";position:absolute;left:0;color:#8aa0b7}
.election-history{font-size:11.5px;line-height:1.6;color:#35485c}
@media(max-width:980px){.member-party-board{grid-template-columns:1fr}.party-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.party-member-grid,.other-party-grid{grid-template-columns:1fr}}

.single-party-view{margin-top:14px}
.single-party-view .single-party-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.single-party-view .single-party-secretary{
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}
.single-party-view .single-party-secretary .member-card{
  width:min(390px,100%);
}
@media(max-width:1250px){
  .single-party-view .single-party-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .single-party-view .single-party-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .single-party-view .single-party-grid{grid-template-columns:1fr}
}

.member-basis-switch,.subcommittee-filters{display:flex;gap:6px;flex-wrap:wrap}
.basis-btn,.sub-filter-btn{
  border:1px solid #dbe4ee;background:#fff;color:#53657a;border-radius:10px;
  padding:9px 13px;font-weight:800;cursor:pointer
}
.basis-btn.active,.sub-filter-btn.active{background:#263d64;color:#fff;border-color:#263d64}
.single-party-top-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0 18px}
.single-party-top-row .member-card{width:100%}
.subcommittee-title{
  margin:14px 0 10px;padding:10px 14px;border-radius:12px;background:#f7f9fc;
  border:1px solid #e4eaf1;font-size:14px;font-weight:900;color:#26384d
}
.sub-chair-row{display:flex;justify-content:center;margin:12px 0 16px}
.sub-chair-row .member-card{width:min(390px,100%)}
.sub-party-board{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.sub-party-column{border:1px solid #e5eaf0;border-radius:14px;background:#fff;overflow:hidden}
.sub-party-column.dem .party-column-head{background:#f4f6ff;color:#202b68}
.sub-party-column.ppp .party-column-head{background:#fff5f5;color:#7a2020}
.sub-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.sub-others{margin-top:16px}
.sub-others .other-party-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:980px){.sub-party-board,.single-party-top-row{grid-template-columns:1fr}}
@media(max-width:620px){.sub-party-grid,.sub-others .other-party-grid{grid-template-columns:minmax(0,1fr)}}

.composition-overview{
  display:grid;
  
  gap:12px;
  margin-top:16px;
}
.composition-group{
  border:1px solid #dfe7f0;
  border-radius:14px;
  background:#f8fafc;
  padding:14px 15px;
}
.composition-title{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-size:13px;font-weight:900;color:#27394e;
  padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid #e5ebf2;
}
.composition-title span{font-size:11px;color:#74869a;font-weight:800;white-space:nowrap}
.composition-parties{display:flex;flex-direction:column;gap:7px}
.composition-parties>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#617287}
.composition-parties strong{font-size:13px;color:#17263a;white-space:nowrap}
@media(max-width:1200px){.composition-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.composition-overview{grid-template-columns:1fr}}

.composition-clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.composition-clickable:hover{border-color:#b8c9dd;background:#fff}
.composition-clickable.active{border-color:#8daed4;box-shadow:0 0 0 2px rgba(63,111,168,.08);background:#fff}
.member-subcommittees{
  margin-top:7px;padding-top:6px;border-top:1px solid #eef2f6;
  font-size:10.5px;color:#7b8999;font-weight:600
;}
.selected-composition-heading{
  margin:14px 0 8px;font-size:16px;font-weight:900;color:#1f3147
}
.selected-composition-heading span{font-size:12px;color:#77899c;margin-left:5px}

.composition-overview{grid-template-columns:repeat(5,minmax(0,1fr))}
.member-subcommittees{
  margin-top:5px!important;
  padding-top:0!important;
  border-top:0!important;
  min-height:15px;
  font-size:11px!important;
  line-height:1.25;
  color:#4f78a8!important;
  font-weight:800!important;
}
@media(max-width:1450px){.composition-overview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.composition-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.composition-overview{grid-template-columns:1fr}}

#memberApiStatus.api-ok{background:#edf7f0;color:#287044}
#memberApiStatus.api-fail{background:#fff4e8;color:#9a5b18}

.schedule-api-state{margin-left:8px;font-size:10px;font-weight:700;color:#718096}
.schedule-api-state.api-fail{color:#a15f21}
.schedule-empty{padding:22px 16px;color:#7b8999;font-size:12px;text-align:center;border-top:1px solid #eef2f6}
.schedule-main a{color:inherit;text-decoration:none}
.schedule-main a:hover{text-decoration:underline}

.calendar-card-head{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px 24px 16px;
}
.calendar-card .card-title{font-size:18px;font-weight:900;letter-spacing:-.04em}
.calendar-head-legend{
  padding:0;margin:0;justify-content:flex-end;gap:9px 14px;
  font-size:11px;white-space:nowrap
}
.calendar-wrap{padding:14px 24px 22px}
.calendar-top{padding:0 0 14px}
.month-title{letter-spacing:-.04em;}
.cal-btn{width:36px;height:36px;border-radius:9px;font-size:18px}
.cal-btn.today-btn{font-size:13px;padding:0 12px;width:auto}
.dow{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:6px!important;margin-bottom:6px!important
}
.dow div{font-size:11px!important;padding:5px 0!important}
.cal-grid{
  display:flex!important;flex-direction:column!important;gap:6px!important
}
.cal-week{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important
}
.day{
  min-width:0!important;min-height:112px!important;
  padding:7px!important;border-radius:8px!important;overflow:visible!important
}
.day-num{font-size:14px!important;font-weight:850!important;margin-bottom:5px!important}
.badges{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:3px!important;margin-top:0!important
}
.badge{
  min-width:0!important;width:100%!important;
  font-size:10px!important;font-weight:800!important;line-height:1!important;
  padding:4px 3px!important;border-radius:4px!important
}
@media(max-width:1100px){
  .calendar-card-head{align-items:flex-start;flex-direction:column;gap:9px}
  .calendar-head-legend{justify-content:flex-start}
  .calendar-wrap{padding:12px 18px 20px}
  .day{min-height:96px!important;padding:5px!important}
  .badge{font-size:9px!important;padding:3px 2px!important}
}

    /* 오늘의 할 일 */
    .todo-card{min-width:0}
    .todo-card .card-head{padding:15px 18px 12px;gap:12px;border-bottom:1px solid #edf1f5}
    .todo-title-wrap{display:flex;align-items:baseline;gap:10px;min-width:0}
    .todo-date{font-size:11px;color:#75859a;font-weight:700;}
    .todo-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
    .todo-action-btn{
      height:31px;border:1px solid #d6e0ec;background:#fff;color:#355b8c;
      border-radius:8px;padding:0 10px;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap
    }
    .todo-action-btn:hover{background:#f6f9fd}
    .todo-action-btn.primary{background:#eef5ff;border-color:#c9daf2;color:#245fae}
    .todo-entry{
      display:none;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;
      padding:12px 18px;border-bottom:1px solid #edf1f5;background:#fbfcfe
    }
    .todo-entry.open{display:grid}
    .todo-text-input{
      width:100%;height:36px;border:1px solid #d9e2ed;border-radius:8px;padding:0 10px;
      font-size:12px;color:#203047;background:#fff;outline:none
    }
    .todo-text-input:focus,.todo-time-input:focus{border-color:#8aaddb;box-shadow:0 0 0 2px rgba(47,111,214,.07)}
    .todo-time-row{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    .todo-time-toggle{display:flex;align-items:center;gap:5px;font-size:11px;color:#617287;font-weight:700;cursor:pointer}
    .todo-time-toggle input{width:14px;height:14px;margin:0;accent-color:#356fd6}
    .todo-time-input{height:32px;border:1px solid #d9e2ed;border-radius:8px;padding:0 8px;font-size:11px;color:#2a3c52;background:#fff;outline:none}
    .todo-entry-actions{display:flex;align-items:center;gap:6px}
    .todo-entry-actions button{height:36px;border-radius:8px;padding:0 10px;font-size:11px;font-weight:800;cursor:pointer}
    .todo-add-confirm{border:1px solid #286fd5;background:#286fd5;color:#fff}
    .todo-add-cancel{border:1px solid #dbe3ed;background:#fff;color:#68788c}
    .todo-list{list-style:none;margin:0;padding:0 18px 6px}
    .todo-item{
      display:grid;grid-template-columns:22px minmax(0,1fr) auto 30px;gap:8px;align-items:center;
      min-height:43px;border-bottom:1px solid #eef2f6;font-size:12px
    }
    .todo-item:last-child{border-bottom:0}
    .todo-check{width:17px;height:17px;margin:0;accent-color:#3a73c9;cursor:pointer}
    .todo-label{color:#26374c;font-weight:700;line-height:1.35;overflow-wrap:anywhere;}
    .todo-time{font-size:11px;color:#7a899b;white-space:nowrap}
    .todo-delete{width:28px;height:28px;border:0;background:transparent;color:#9a5e61;border-radius:7px;cursor:pointer;font-size:11px;font-weight:800;padding:0}
    .todo-delete:hover{background:#fff2f2;color:#a73d43}
    .todo-item.done .todo-label{text-decoration:line-through;color:#8b97a7;font-weight:600}
    .todo-item.done .todo-time{color:#a1acb9}
    .todo-empty{padding:24px 10px;text-align:center;color:#8b98a9;font-size:12px}
    @media(max-width:1280px){
      .todo-card .card-head{padding:14px 16px 11px}
      .todo-entry{padding:11px 16px}
      .todo-list{padding-left:16px;padding-right:16px}
    }
    @media(max-width:620px){
      .todo-card .card-head{align-items:flex-start;flex-direction:column}
      .todo-actions{width:100%}
      .todo-action-btn{flex:1}
      .todo-entry{grid-template-columns:1fr}
      .todo-entry-actions{grid-column:1}
      .todo-item{grid-template-columns:22px minmax(0,1fr) 30px}
      .todo-time{grid-column:2}
    }

.topbar{
  min-height:68px;height:auto!important;padding:10px 28px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px
}
.top-meta-primary{display:flex!important;align-items:center!important;gap:20px!important}
.top-session{padding-left:0!important;border-left:0!important;font-weight:800!important;color:#1d2a3c}
.top-date{padding-left:20px;border-left:1px solid var(--line);font-weight:800!important;white-space:nowrap}
.api-key-panel{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.api-key-panel label{font-size:11px;font-weight:800;color:#65758a;white-space:nowrap}
.api-key-panel input{
  width:54px;height:34px;border:1px solid #d8e1ec;border-radius:8px;
  padding:0 10px;font-size:12px;color:#1d2a3c;background:#fff;outline:none
}
.api-key-panel input:focus{border-color:#8caee0;box-shadow:0 0 0 2px rgba(47,111,214,.08)}
.api-key-panel button{
  height:34px;padding:0 12px;border:1px solid #cbd8e8;border-radius:8px;
  background:#f5f8fc;color:#365b8d;font-size:11px;font-weight:800;cursor:pointer
}
#portalApiState{font-size:10px;font-weight:700;color:#8a98aa;white-space:nowrap;margin-left:3px}
#portalApiState:empty{display:none}
#portalApiState.ok{color:#2d7a4d}
#portalApiState.fail{color:#a15f21}
@media(max-width:900px){
  
  .api-key-panel{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .api-key-panel input{flex:1;min-width:180px}
}

.plenary-month-state{
  margin-left:8px;font-size:10px;font-weight:800;color:#7b8ba0;white-space:nowrap
}
.badge.no-link{cursor:default;opacity:.82}

.cal-week{width:100%;min-width:0}
.cal-week .day.today{grid-column:auto!important;grid-row:auto!important}
.cal-week .day{box-sizing:border-box}

.member-photo,.modal-photo{
  object-fit:cover;
  object-position:50% 18%;
  background:#eef3f8;
}

.api-remember{
  display:flex!important;align-items:center!important;gap:5px!important;
  font-size:10.5px!important;font-weight:700!important;color:#66788e!important;
  white-space:nowrap;cursor:pointer
}
.api-remember input{width:14px!important;height:14px!important;margin:0!important;accent-color:#356fd6}

.calendar-card-head .card-title{
  display:block!important;

  white-space:nowrap!important;
  word-break:keep-all!important;
}
.calendar-card-head .calendar-head-legend{

  
  flex-wrap:wrap!important;
  justify-content:flex-start!important;

}

#memberEventApiState{color:#7a8a9f;font-size:11px}
.event-head-links{display:flex;align-items:center;gap:8px;white-space:nowrap}
.event-head-sep{color:#a0adbd}
.seminar-direct-link{color:#4f6f98;text-decoration:none;font-weight:700}
.seminar-direct-link:hover{text-decoration:underline}
.event-title a{color:inherit;text-decoration:none}
.event-title a:hover{text-decoration:underline}

.api-diag-btn{border:1px solid #d9e2ee;background:#fff;color:#50647d;border-radius:8px;padding:7px 10px;cursor:pointer;font-size:12px;font-weight:700}
.api-diag-modal{display:none;position:fixed;inset:0;z-index:10000;background:rgba(15,28,46,.38);padding:32px;align-items:center;justify-content:center}
.api-diag-modal.open{display:flex}.api-diag-card{width:min(980px,96vw);height:min(88vh,860px);background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(17,35,59,.22);overflow:hidden;display:flex;flex-direction:column}
.api-diag-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e7edf4}.api-diag-head strong{font-size:18px}.api-diag-head>div>div{margin-top:4px;font-size:12px;color:#7b8a9d}
#apiDiagClose{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#65758a}.api-diag-actions{display:flex;align-items:center;gap:12px;padding:12px 20px;background:#f7f9fc;border-bottom:1px solid #e7edf4}
#runApiDiagnostics{border:0;background:#286fd5;color:#fff;border-radius:8px;padding:8px 13px;font-weight:800;cursor:pointer}#apiDiagSummary{font-size:12px;color:#687a91}
.api-diag-results{padding:16px 20px 22px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:12px;min-height:0;flex:1}.api-diag-item{border:1px solid #dfe7f0;border-radius:12px;overflow:hidden}
.api-diag-item-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;background:#f8fafc;font-size:13px}.api-diag-head-actions{display:flex;align-items:center;gap:9px}.api-diag-copy{border:1px solid #d7e0eb;background:#fff;color:#42566f;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:800;cursor:pointer}.api-diag-copy.copied{background:#eaf6ef;color:#177148;border-color:#b9dfca}.api-diag-ok{color:#147a4b;font-weight:800}.api-diag-fail{color:#b14831;font-weight:800}
.api-diag-meta{padding:10px 13px;font-size:12px;line-height:1.65;color:#52647a;border-top:1px solid #edf1f5}.api-diag-pre{margin:0;padding:12px 13px;background:#111827;color:#dbe6f5;font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all;max-height:260px;overflow:auto}

.top-meta-primary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.top-session-period{font-size:13px;color:#718198;font-weight:700;}

.event-title .event-image-link{
  border:0;background:transparent;padding:0;margin:0;color:inherit;
  font:inherit;font-weight:inherit;line-height:inherit;text-align:left;
  cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:3px
}
.event-title .event-image-link:hover{color:#245fae}

.event-img-modal{
  display:none;position:fixed;inset:0;z-index:10020;background:rgba(15,28,46,.48);
  padding:28px;align-items:center;justify-content:center
}
.event-img-modal.open{display:flex}
.event-img-card{
  width:min(600px,88vw);max-height:92vh;background:#fff;border-radius:18px;
  box-shadow:0 28px 80px rgba(17,35,59,.28);overflow:hidden;
  display:flex;flex-direction:column
}
.event-img-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:16px 18px;border-bottom:1px solid #e7edf4
}
.event-img-head strong{font-size:17px;line-height:1.35}
.event-img-head>div>div{margin-top:5px;font-size:12px;color:#718096;line-height:1.4}
#eventImageClose{
  border:0;background:#f3f6fa;color:#53657b;border-radius:10px;width:38px;height:38px;
  font-size:26px;line-height:1;cursor:pointer;flex:0 0 auto
}
.event-img-body{
  min-height:180px;max-height:70vh;overflow:auto;background:#f4f6f9;
  display:flex;align-items:center;justify-content:center;padding:18px
}
#eventImageView{
  display:block;max-width:100%;height:auto;max-height:66vh;object-fit:contain;
  border-radius:10px;box-shadow:0 4px 18px rgba(17,35,59,.12);background:#fff;
  cursor:pointer
}
.event-img-empty{display:none;color:#7d8ca0;font-size:14px;padding:44px 20px;text-align:center}

.cal-week.has-schedule .day{
  min-height:112px!important;
  aspect-ratio:auto!important;
}
.cal-week.no-schedule .day{
  min-height:0!important;
  aspect-ratio:1 / 1!important;
}
@media(max-width:1100px){
  .cal-week.has-schedule .day{
    min-height:96px!important;
    aspect-ratio:auto!important;
  }
  .cal-week.no-schedule .day{
    min-height:0!important;
    aspect-ratio:1 / 1!important;
  }
}

.today .schedule-empty{
  border-top:0!important;
}

    /* 독립 업무도구를 포털 안에서 표시 */
    .tool-page{
      padding:0!important;
      height:calc(100vh - 68px);
      min-height:620px;
      overflow:hidden;
      background:#eef1f5;
    }
    .tool-frame{
      display:block;
      width:100%;
      height:100%;
      border:0;
      background:#eef1f5;
    }
    @media(max-width:900px){
      .tool-page{height:calc(100vh - 145px);min-height:640px}
    }

.calendar-card-head{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:14px !important;
  padding:18px 24px 10px !important;
}
.calendar-card-head .card-title{
  width:auto !important;
  flex:0 0 auto !important;

  margin:0 !important;
}
.calendar-card-head .calendar-head-legend{
  width:auto !important;
  flex:0 1 auto !important;
  display:flex !important;
  align-items:center !important;
  gap:6px 14px !important;
  margin:0 !important;
  padding:0 !important;
  font-size:10px !important;
  line-height:1.2 !important;
}
.calendar-head-legend span{display:inline-flex !important;align-items:center !important;gap:5px !important;color:#607086}
.calendar-head-legend i{width:10px !important;height:10px !important;border-radius:3px !important}
.calendar-wrap{padding:12px 24px 22px !important}
.calendar-top{padding:0 0 14px !important}
.month-nav{gap:0 !important}
.month-title{min-width:140px !important}
.badge,
.day-plenary .badge{
  font-weight:400 !important;
}
.badge.welfare-full{background:#d45663 !important}
.badge.welfare-sub{background:#ee9ea7 !important;color:#fff !important}
.badge.special.special-full{background:#de9916 !important}
.badge.special.special-sub{background:#f1c36d !important;color:#fff !important}
.lg-special{background:#de9916 !important}
@media(max-width:1100px){
  .calendar-card-head{
    flex-wrap:wrap !important;
    gap:8px 14px !important;
    padding:16px 18px 8px !important;
  }
  .calendar-card-head .calendar-head-legend{
    width:100% !important;
    justify-content:flex-start !important;
  }
  .calendar-wrap{padding:10px 18px 20px !important}
}

.todo-title-wrap{display:flex!important;align-items:center!important;flex-wrap:wrap!important;}
.todo-date-nav{display:flex;align-items:center;gap:5px;min-width:0}
.todo-date{font-size:11px!important;color:#62748a!important;font-weight:800!important;white-space:nowrap}
.todo-date-arrow,
.todo-today-btn{
  height:27px;border:1px solid #d8e2ee;background:#fff;color:#536a86;border-radius:7px;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:800
}
.todo-date-arrow{width:27px;padding:0;font-size:17px;line-height:1}
.todo-today-btn{padding:0 8px;font-size:10.5px}
.todo-date-arrow:hover,.todo-today-btn:hover{background:#f5f8fc;border-color:#c6d4e5}
.todo-today-btn:disabled,.todo-today-btn.is-today{opacity:.42;cursor:default;background:#f4f6f8}

/* 오른쪽 좁은 복지위원 행사 일정 카드 */
.events{min-width:0}
.events .card-head{padding:15px 16px 10px;align-items:flex-start;gap:8px}
.events .card-title{white-space:nowrap}
.events .event-head-links{font-size:10.5px;gap:5px;min-width:0;flex-wrap:wrap;justify-content:flex-end}
.events .event-toolbar{padding:0 16px 9px;overflow-x:auto}
.events .tabs{flex-wrap:nowrap;white-space:nowrap}
.events .tab{padding:6px 9px;font-size:11px}
.events .event-row{
  display:grid!important;

  row-gap:0!important;
  align-items:start!important;
  
}
.events .event-dateblock{gap:4px;padding-top:2px}
.events .event-date{font-size:11.5px}
.events .event-time{font-size:10.5px;white-space:nowrap}
.events .event-content{gap:6px;min-width:0}
.events .event-title-line{display:flex;align-items:flex-start;gap:6px;min-width:0}
.events .event-type{
  flex:0 0 auto;margin:0!important;padding:3px 6px!important;border-radius:6px!important;
  line-height:1.2!important;}
.events .event-title{min-width:0;}
.events .event-title .event-image-link{
  display:block;width:100%;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  word-break:keep-all!important;overflow-wrap:anywhere!important
}
.events .event-meta-line{display:flex;flex-direction:column;gap:2px;min-width:0}
.events .event-owner{font-size:10.5px!important;line-height:1.35!important;padding:0!important;color:#68798e!important}
.events .event-place{color:#8793a3!important;}

@media(max-width:1280px){

}

.schedule-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:10030;
  background:rgba(15,28,46,.48);
  padding:26px;
  align-items:center;
  justify-content:center;
}
.schedule-modal.open{display:flex}
.schedule-modal-card{
  width:min(1180px,94vw);
  height:min(84vh,900px);
  background:#fff;
  border-radius:18px;
  box-shadow:0 28px 80px rgba(17,35,59,.28);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.schedule-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border-bottom:1px solid #e7edf4;
  background:#fff;
}
.schedule-modal-title-wrap{min-width:0}
.schedule-modal-head strong{
  display:block;
  font-size:16px;
  line-height:1.35;
  color:#21334a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.schedule-modal-meta{
  margin-top:4px;
  font-size:11px;
  color:#718096;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.schedule-modal-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.schedule-modal-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 11px;
  border:1px solid #d7e0eb;
  background:#fff;
  color:#425f82;
  border-radius:8px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.schedule-modal-close{
  width:32px;
  height:32px;
  border:0;
  background:#f3f6fa;
  color:#53657b;
  border-radius:8px;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.schedule-modal-body{background:#f4f6f9;}
.schedule-modal-frame{display:block;width:100%;height:100%;border:0;background:#fff}
.schedule-modal-loading{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f7f9fc;
  color:#718096;
  font-size:12px;
  z-index:1;
  pointer-events:none;
}
.schedule-modal-loading.hidden{display:none}
.schedule-modal-note{
  position:absolute;
  left:12px;
  bottom:10px;
  z-index:2;
  padding:5px 8px;
  border-radius:7px;
  background:rgba(31,41,55,.78);
  color:#fff;
  font-size:10px;
  pointer-events:none;
}
@media(max-width:800px){
  .schedule-modal{padding:10px}
  .schedule-modal-card{width:98vw;height:92vh;border-radius:13px}
  .schedule-modal-head{padding:10px 11px}
  .schedule-modal-head strong{font-size:14px}
  .schedule-modal-open{padding:0 8px}
}

.quick-links{
  margin-top:auto;
  padding:16px 4px 2px;
  border-top:1px solid rgba(255,255,255,.13);
}
.quick-links-title{
  margin:0 7px 9px;
  color:#b9c9dc;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.04em;
}
.quick-links-list{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.quick-link{
  display:grid;
  grid-template-columns:25px minmax(0,1fr) 14px;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  background:rgba(255,255,255,.045);
  color:#eaf1f9;
  font-size:11.5px;
  font-weight:700;
  transition:background .14s ease,border-color .14s ease,transform .14s ease;
}
.quick-link:hover{
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.17);
  transform:translateY(-1px);
}
.quick-link-icon{
  width:25px;
  height:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
}
.quick-link-text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.quick-link-arrow{
  color:#9fb5ce;
  font-size:11px;
  text-align:right;
}
@media(max-width:900px){
  .quick-links{
    margin-top:12px;
    padding-top:12px;
  }
  .quick-links-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.schedule-modal-body{
  position:relative;
  flex:1;
  min-height:220px;
  max-height:calc(82vh - 76px);
  overflow:auto;
  
  padding:16px 18px 20px;
}
.schedule-agenda-summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 10px;padding:0 2px;
  color:#6f7f92;font-size:11px;line-height:1.4;
}
.schedule-agenda-count{font-weight:800;color:#40566f;white-space:nowrap}
.schedule-agenda-list{
  display:flex;flex-direction:column;gap:7px;
}
.schedule-agenda-item{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  align-items:start;
  background:#fff;
  border:1px solid #e1e7ee;
  border-radius:9px;
  overflow:hidden;
}
.schedule-agenda-no{
  min-height:42px;
  display:flex;align-items:center;justify-content:center;
  align-self:stretch;
  background:#f2f5f8;
  border-right:1px solid #e5eaf0;
  color:#53657b;
  font-size:12px;font-weight:800;
  font-variant-numeric:tabular-nums;
}
.schedule-agenda-content{padding:9px 11px;min-width:0}
.schedule-agenda-billno{
  display:inline-block;margin-right:7px;
  color:#55708f;font-size:10.5px;font-weight:700;white-space:nowrap;
}
.schedule-agenda-title{
  color:#26384d;font-size:12.5px;font-weight:600;line-height:1.5;
  word-break:keep-all;overflow-wrap:anywhere;
}
.schedule-agenda-empty{
  display:flex;align-items:center;justify-content:center;
  min-height:190px;
  background:#fff;border:1px solid #e2e8ef;border-radius:10px;
  line-height:1.65;
}
.badge.schedule-clickable{border:0;appearance:none;-webkit-appearance:none;font-family:inherit}
@media(max-width:800px){
  .schedule-modal-body{padding:12px;max-height:calc(92vh - 68px)}
  .schedule-agenda-item{grid-template-columns:34px minmax(0,1fr)}
  .schedule-agenda-content{padding:8px 9px}
  .schedule-agenda-title{font-size:12px}
}

.schedule-modal-body{
  flex:1 !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:auto !important;
  background:#fff !important;
  padding:10px 18px 18px !important;
}
.schedule-agenda-summary{display:none !important}
.schedule-agenda-list{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
}
.schedule-agenda-item,
.schedule-agenda-no,
.schedule-agenda-content,
.schedule-agenda-title,
.schedule-agenda-billno{all:unset}
.schedule-agenda-line{
  display:block;
  padding:4px 2px;
  color:#26384d;
  font-size:13px;
  font-weight:400;
  line-height:1.45;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.schedule-agenda-line + .schedule-agenda-line{
  border-top:1px solid #f1f3f6;
}
.schedule-agenda-empty{
  padding:28px 4px;
  color:#7b8999;
  font-size:13px;
  text-align:left;
}
@media(max-width:760px){

  .schedule-agenda-line{font-size:12.5px;padding:4px 1px}
}

.schedule-agenda-line{
  padding:3px 2px !important;
  border:0 !important;
}
.schedule-agenda-line + .schedule-agenda-line{
  border-top:0 !important;
}
@media(max-width:1100px){
  .schedule-modal{
    justify-content:center !important;
    
  }
  
}
@media(max-width:760px){

}

.dashboard{
  display:grid !important;
  
  gap:16px !important;
  align-items:start !important;
}
.dashboard-left,
.dashboard-right{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
  align-self:start;
}
.dashboard-left-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.dashboard-left > .events,
.dashboard-left > .todo-card,
.dashboard-right > .calendar-card{
  width:100%;
  min-width:0;
}
.dashboard > .health-news,
.dashboard > .news{grid-column:1 / -1 !important}

.todo-item{
  
  border-bottom:0 !important;
  
}
.todo-delete{

  filter:grayscale(1);
}
.todo-delete:hover{filter:none}
@media(max-width:1280px){
  
}
@media(max-width:980px){
  
  .dashboard-left-top{grid-template-columns:1fr 1fr}
  .dashboard-left,.dashboard-right{grid-column:1 !important}
}
@media(max-width:720px){
  .dashboard-left-top{grid-template-columns:1fr}
}

.schedule-modal{
  justify-content:center !important;
  align-items:center !important;
  padding:24px !important;
}
.schedule-modal-card{
  width:40vw !important;
  max-width:40vw !important;
  height:min(74vh,780px) !important;
  max-height:74vh !important;
}
@media(max-width:1280px){
  
}
@media(max-width:1100px){
  .schedule-modal{padding:18px !important}
  .schedule-modal-card{
    width:64vw !important;
    max-width:64vw !important;
    height:min(78vh,780px) !important;
    max-height:78vh !important;
  }
}
@media(max-width:980px){
  
}
@media(max-width:760px){

}

.todo-item{
  
  padding:0 !important;
  
}
.todo-list{
  padding-top:3px !important;
  padding-bottom:5px !important;
}
.todo-delete{

  border-radius:6px !important;

  filter:none !important;
}
.todo-delete:hover{
  background:#fdebec !important;
  border-color:#e5b8bc !important;
  
}
.todo-label{line-height:1.22 !important}
.todo-check{width:16px !important;height:16px !important}

.events .event-row{
  grid-template-columns:72px 125px minmax(0,1fr) !important;
  column-gap:10px !important;
  padding:10px 16px !important;
}
.events .event-date{font-size:12px !important}
.events .event-time{font-size:11px !important}
.events .event-hosts{
  min-width:0;
  font-size:15px !important;
  line-height:1.45 !important;
  font-weight:700;
  color:#455a73;
  word-break:keep-all;
  overflow-wrap:anywhere;
  padding-top:1px;
}
.events .event-title{font-size:13px !important;line-height:1.42 !important}
.events .event-place{font-size:11px !important;line-height:1.4 !important;margin-top:3px}
.events .event-title-line{gap:6px !important}
.events .event-type{font-size:9.5px !important}
@media(max-width:1280px){
  .events .event-row{grid-template-columns:68px 112px minmax(0,1fr)!important;padding:9px 14px!important}
  .events .event-hosts{font-size:11px!important}
  .events .event-title{font-size:12.5px!important}
}
@media(max-width:900px){
  
}

.todo-item{
  display:flex !important;
  align-items:center !important;
  min-height:30px !important;
  
}
.todo-time{
  flex:0 0 auto !important;
  font-size:10.5px !important;

  white-space:nowrap !important;
  min-width:58px;
}
.todo-time[hidden]{display:none !important}
.todo-check{flex:0 0 auto}
.todo-label{flex:1 1 auto;min-width:0}
.todo-edit,
.todo-delete{

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

}
.todo-edit{
  border:1px solid #d3dfec !important;
  background:#f7f9fc !important;

}
.todo-edit:hover{background:#edf3f9 !important;border-color:#bdcddd !important;}
.todo-delete{
  border:1px solid #f0cfd2 !important;
  background:#fff5f5 !important;

}

@media(max-width:620px){
  .todo-item{display:flex !important}
  
}

.todo-time-picker{display:flex;align-items:center;gap:4px}
.todo-time-picker select,
.todo-time-picker input{height:32px;border:1px solid #d9e2ed;border-radius:8px;background:#fff;color:#2a3c52;font-size:11px;font-weight:700;outline:none}
.todo-time-picker select:focus,
.todo-time-picker input:focus{border-color:#8aaddb;box-shadow:0 0 0 2px rgba(47,111,214,.07)}
.todo-time-ampm{width:54px;padding:0 5px}
.todo-time-hour{width:52px;padding:0 6px;text-align:center}
.todo-time-minute{width:56px;padding:0 6px;text-align:center}
.todo-time-colon{font-size:13px;font-weight:800;color:#617287}
.todo-time-picker select:disabled,
.todo-time-picker input:disabled{background:#f5f7fa;color:#a2acb9;cursor:not-allowed}
.todo-item{cursor:grab;user-select:none}
.todo-item:active{cursor:grabbing}
.todo-item.todo-dragging{opacity:.42}
.todo-item.todo-drop-before{box-shadow:inset 0 2px 0 #7f9dc5}
.todo-item.todo-drop-after{box-shadow:inset 0 -2px 0 #7f9dc5}
.todo-item .todo-check,
.todo-item .todo-edit,
.todo-item .todo-delete{cursor:pointer}
.todo-time{margin-left:1px;}
@media(max-width:620px){
  .todo-time-picker{flex-wrap:wrap}
  .todo-time{min-width:auto !important}
}

.dashboard{
  grid-template-columns:minmax(0,55fr) minmax(0,45fr) !important;
}

#todoCard[hidden]{display:none!important}

.portal-lockable-tool{position:relative}
.portal-lockable-tool.portal-locked .tool-frame{
  filter:blur(5px);
  transform:scale(1.006);
  pointer-events:none;
  user-select:none;
}
.portal-tool-lock{
  position:absolute;
  inset:0;
  z-index:8;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(238,241,245,.16);
  backdrop-filter:blur(1px);
  -webkit-backdrop-filter:blur(1px);
}
.portal-lockable-tool.portal-locked .portal-tool-lock{display:flex}
.portal-tool-lock-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  min-width:240px;
  max-width:360px;
  padding:20px 24px;
  border:1px solid rgba(173,188,205,.85);
  border-radius:14px;
  background:rgba(255,255,255,.95);
  box-shadow:0 12px 35px rgba(27,54,86,.14);
  color:#24364e;
  text-align:center;
}
.portal-tool-lock-card strong{font-size:16px}
.portal-tool-lock-card span{font-size:12px;color:#6b7c91;line-height:1.45}
.portal-tool-lock-card button{
  margin-top:3px;
  border:0;
  border-radius:8px;
  padding:9px 14px;
  background:#2f6fd6;
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
@media(max-width:900px){
  .portal-lockable-tool.portal-locked .tool-frame{filter:blur(4px)}
  .portal-tool-lock-card{min-width:0;width:min(88%,320px);padding:18px 20px}
}

#todoSyncBtn[hidden]{display:none!important}
#todoSyncBtn.is-connected{cursor:default}

@media(max-width:1280px){
  .dashboard{grid-template-columns:minmax(0,55fr) minmax(0,45fr) !important;}
}
@media(max-width:980px){
  .dashboard{grid-template-columns:1fr !important;}
}

.todo-edit,
.todo-delete{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  padding:2px 4px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  line-height:1.15 !important;
  cursor:pointer !important;
}
.todo-edit{
  color:#58708d !important;
  font-size:11px !important;
  font-weight:800 !important;
}

.todo-edit:hover,
.todo-delete:hover{
  background:transparent !important;
  border:0 !important;
  text-decoration:underline;
  text-underline-offset:3px;
}
.todo-edit:hover{color:#294f78 !important}

.todo-item{gap:8px !important}

.todo-move-date{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  padding:2px 2px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#71849b !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  cursor:pointer !important;
}
.todo-move-date:hover{
  color:#294f78 !important;
  text-decoration:underline;
  text-underline-offset:3px;
}
.todo-item .todo-move-date{cursor:pointer}

.todo-actions #todoAddOpen{
  min-width:0 !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:2px 4px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#2f63a5 !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  cursor:pointer !important;
}
.todo-actions #todoAddOpen:hover{
  background:transparent !important;
  color:#174b89 !important;
  text-decoration:underline;
  text-underline-offset:3px;
}

.news-item{
  color:inherit;
  text-decoration:none;
}
.news-item:hover .news-title{color:#2f6fd6;text-decoration:underline;text-underline-offset:2px}
.agency-empty{padding:22px 8px;text-align:center;color:#8a98aa;font-size:12px;line-height:1.5}
#agencyNewsState{white-space:nowrap}

.events .event-row{
  font-weight:400 !important;
}
.events .event-date{
  font-weight:600 !important;
}
.events .event-time{
  font-weight:500 !important;
}
.events .event-hosts{
  font-weight:450 !important;
  color:#52647a !important;
}
.events .event-hosts .committee-owner{
  font-weight:750 !important;
  color:#263c58 !important;
}
.events .event-type{
  font-weight:600 !important;
}
.events .event-title{
  font-weight:600 !important;
}
.events .event-title .event-image-link{
  font-weight:inherit !important;
}
.events .event-place{
  font-weight:400 !important;
}

.todo-time{
  color:#435d7b !important;
  font-variant-numeric:tabular-nums !important;
  min-width:66px !important;
  font-weight:750 !important;
}
.todo-item.done .todo-time{color:#98a6b6 !important;}

.dashboard-left-top{
  grid-template-columns:minmax(0,1fr) !important;
}
.today-card-head{
  justify-content:space-between !important;
  align-items:center !important;
  gap:12px !important;
}
.today-live-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
  max-width:62%;
}
.today-live-links:empty{display:none}
.today-live-chip{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  max-width:100%;
  color:#53677f;
  text-decoration:none;
  font-size:10.5px;
  font-weight:650;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.today-live-chip:hover{color:#284e7d;text-decoration:underline}
.today-live-chip .live-mark{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  padding:3px 6px;
  border-radius:999px;
  background:#fff0f2;
  color:#e33b52;
  font-size:9px;
  font-weight:900;
  letter-spacing:.03em;
}
.today-live-chip .live-names{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.today-live-chip:hover{background:#fdecef;border-color:#e8aeb8}
.today .schedule-item{
  grid-template-columns:132px minmax(0,1fr) !important;
  gap:8px !important;
  padding:6px 0 !important;
  border-top:0 !important;
}
.today .schedule-timeblock{min-width:0;padding-top:1px}
.today .time{
  font-size:13.5px !important;
  line-height:1.2 !important;
  font-weight:750 !important;
  color:#173d73 !important;
  font-variant-numeric:tabular-nums;
}
.today .schedule-place{display:none !important;}
.today .schedule-content{min-width:0;padding-top:0}
.today .schedule-main{
  display:block;
  min-width:0;
  font-size:12.5px !important;
  line-height:1.38 !important;
  font-weight:600 !important;
  color:#26374d !important;
}
.today .schedule-source{
  display:inline;
  margin-right:5px !important;
  font-size:15px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
.today .schedule-source.committee{color:#2f7a63 !important;}
.today .schedule-source.speaker{color:#365b8d !important;}
.today .schedule-source.member-event{color:#7357b4 !important;}
.today .schedule-title-btn,
.today .schedule-title{
  display:inline !important;
  font-size:inherit !important;
  line-height:inherit !important;
  font-weight:inherit !important;
}

#homePage .today .schedule-item.is-past,
#homePage .today .schedule-item.is-past .time,
#homePage .today .schedule-item.is-past .schedule-main,
#homePage .today .schedule-item.is-past .schedule-source,
#homePage .today .schedule-item.is-past .schedule-source.committee,
#homePage .today .schedule-item.is-past .schedule-source.speaker,
#homePage .today .schedule-item.is-past .schedule-source.member-event,
#homePage .today .schedule-item.is-past .schedule-title,
#homePage .today .schedule-item.is-past .schedule-title-btn,
#homePage .today .schedule-item.is-past a{
  color:#a7b0bc !important;
}
#homePage .today .schedule-item.is-past .schedule-title-btn:hover,
#homePage .today .schedule-item.is-past a:hover{
  color:#a7b0bc !important;
}
.event-expand-wrap{
  display:flex;
  justify-content:center;
  padding:10px 16px 13px;
  border-top:1px solid #edf1f5;
}
.event-expand-wrap[hidden]{display:none !important}
.event-expand-btn{
  border:0;
  background:transparent;
  color:#526b88;
  padding:3px 8px;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}
.event-expand-btn:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:980px){
  .today .schedule-item{grid-template-columns:108px minmax(0,1fr)!important;gap:6px!important}
}

.today .card-head{
  padding:15px 18px 12px !important;
  border-bottom:1px solid #edf1f5 !important;
}
.today .card-body::before{display:none !important;}
.todo-title-wrap{
  gap:18px !important;
}
.todo-date-nav{
  gap:9px !important;
}
.todo-date-arrow{
  width:23px !important;
  height:23px !important;
  font-size:15px !important;
  border-radius:6px !important;
}

.calendar-card-head .card-title{
  font-size:17px !important;
  font-weight:800 !important;
  letter-spacing:normal !important;
  line-height:1.25 !important;
}
.month-title{
  font-size:17px !important;
  font-weight:800 !important;
  letter-spacing:normal !important;
  line-height:1.25 !important;
}

.server-api-panel{gap:7px!important}
.server-api-label{font-size:11px;font-weight:800;color:#65758a;white-space:nowrap}

@media(max-width:900px){
  html,body{overflow-x:hidden}
  .app{display:block!important;min-height:100vh}
  .sidebar{
    position:relative!important;height:auto!important;
    }
  .brand{
    margin-bottom:8px!important;
    flex-direction:row!important;gap:9px!important;}

  .nav{
    
    scrollbar-width:none;padding-bottom:2px
  ;}
  .nav::-webkit-scrollbar{display:none}
  .nav a{
    flex:0 0 auto!important;border-radius:8px!important;
    gap:6px!important;white-space:nowrap
  ;}
  .nav .ico{width:16px!important}
  
  .topbar{
    position:relative!important;padding:10px 12px!important;min-height:0!important;
    flex-direction:row!important;align-items:center!important;gap:8px!important
  }
  .top-meta-primary{gap:9px!important;min-width:0!important;}
  .top-session{white-space:nowrap;}
  .top-session-period{white-space:nowrap;color:#64758a;}
  .top-date{font-size:11px!important;padding-left:9px!important;white-space:nowrap}
  .server-api-panel{flex:0 0 auto!important;width:auto!important;justify-content:flex-end!important}
  .server-api-label{display:none}
  .api-key-panel button{height:30px!important;padding:0 9px!important;font-size:10px!important}

  .content{padding:10px!important}
  .dashboard{grid-template-columns:1fr!important;gap:10px!important}
  .dashboard-left,.dashboard-right{gap:10px!important}
  .card{border-radius:12px!important;box-shadow:0 2px 10px rgba(16,44,77,.055)!important}

  .today .card-head{padding:12px 13px 10px!important}
  .today .schedule-item{grid-template-columns:56px minmax(0,1fr)!important;gap:7px!important;padding:5px 0!important}

  .today-live-links{max-width:55%!important}
  .today-live-chip{font-size:9.5px!important;max-width:100%!important}

  .todo-card .card-head{padding:11px 13px 9px!important;gap:7px!important;flex-wrap:wrap!important}
  .todo-title-wrap{gap:9px!important;flex:1 1 auto!important}
  .todo-date-nav{gap:5px!important}
  .todo-date-arrow{width:21px!important;height:21px!important;font-size:13px!important}
  .todo-today-btn{height:23px!important;padding:0 6px!important}
  .todo-actions{gap:6px!important;margin-left:auto}
  .todo-actions #todoAddOpen{font-size:16px!important;width:28px!important;min-width:28px!important}
  .todo-list{padding-left:12px!important;padding-right:12px!important}
  .todo-item{gap:4px!important;}
  .todo-check{width:15px!important;height:15px!important}

  .todo-move,.todo-edit,.todo-delete{width:19px!important;min-width:19px!important;height:21px!important;}

  .events .card-head{padding:12px 13px 9px!important;flex-wrap:wrap!important}
  .events .event-head-links{width:100%;justify-content:flex-start!important;font-size:9.5px!important}
  .events .event-row{
    grid-template-columns:62px minmax(0,1fr)!important;
    grid-template-areas:"date hosts" "date content"!important;
    column-gap:8px!important;row-gap:3px!important;padding:8px 13px!important
  }
  .events .event-dateblock{grid-area:date!important}
  .events .event-hosts{grid-area:hosts!important;line-height:1.3!important;}
  .events .event-content{grid-area:content!important}

  .events .event-type{font-size:9px!important;padding:2px 5px!important}

  .calendar-card-head{gap:8px!important;}
  .calendar-head-legend{width:100%!important;}
  .calendar-wrap{-webkit-overflow-scrolling:touch;}

  .agency-grid{grid-template-columns:1fr!important;gap:9px!important}
  .news .card-body{padding:0 12px 12px!important}
  .agency{border-radius:10px!important;padding:10px!important}
  .agency-name{font-size:13px!important}
  .news-item{font-size:11px!important}

  .members-page{padding:10px!important}
  .tool-page{min-height:560px!important;}
}

@media(max-width:560px){
  .brand-sub{display:block!important;font-size:10px!important;line-height:1.05!important;margin-top:0!important;opacity:.95!important}
  .topbar{align-items:flex-start!important}
  .top-meta-primary{gap:6px 8px!important}
  .top-session-period{width:100%!important;order:3}
  .top-date{border-left:0!important;padding-left:0!important}
  .card-head{padding-left:11px!important;padding-right:11px!important}
  .today-live-links{max-width:48%!important}
  .todo-card .card-head{align-items:center!important}
  .todo-title-wrap{width:100%!important;justify-content:space-between!important}
  .todo-actions{width:100%!important;justify-content:flex-end!important}
  .todo-entry{padding:9px 11px!important}
  .todo-list{padding-left:10px!important;padding-right:10px!important}
  .todo-item{gap:3px!important}
  .todo-time{min-width:53px!important}
  .events .event-row{padding-left:11px!important;padding-right:11px!important}
  .event-expand-wrap{padding:7px 10px 10px!important}
}

@media(max-width:900px){
  .calendar-wrap{
    overflow-x:visible!important;
    padding:8px 8px 12px!important;
  }
  .calendar-top,.dow,.cal-grid{
    min-width:0!important;
    width:100%!important;
  }
  .calendar-top{padding-bottom:8px!important}
  .calendar-card-head{padding:10px 10px 7px!important}
  
  .calendar-head-legend{

    line-height:1.2!important;
  }
  .calendar-head-legend i{border-radius:2px!important;}
  .month-title{

    line-height:1.2!important;
  }
  .cal-btn{
    
    border-radius:7px!important;
    padding:0!important;
  }
  .dow{gap:2px!important;margin-bottom:3px!important}

  .day{
    min-width:0!important;

    border-radius:6px!important;
    overflow:hidden!important;
  }
  
  .cal-week.no-schedule .day{min-height:0!important;aspect-ratio:1/1!important}
  .day-head{

    column-gap:2px!important;
  }
  .day-num{margin-bottom:0!important;}
  
  .badges{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    
  }
  .badge{

    border-radius:3px!important;
    
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
  }
}
@media(max-width:430px){

  
  .dow{gap:1px!important}
  .cal-week{gap:1px!important}

  
}

.top-session-group{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.top-session-period{
  white-space:nowrap;
}
.nav .nav-api-diag{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  border:0;
  background:transparent;
  color:#9fb3c9;
  padding:9px 14px;
  border-radius:9px;
  font:inherit;
  font-size:11.5px;
  cursor:pointer;
  text-align:left;
  opacity:.8;
  margin-top:3px;
}
.nav .nav-api-diag:hover{
  background:rgba(255,255,255,.06);
  color:#d1deeb;
  opacity:1;
}
.nav .nav-api-diag .ico{
  width:22px;
  text-align:center;
  opacity:.72;
}

@media(max-width:900px){
  .topbar{justify-content:flex-start!important}
  .top-meta-primary{flex:1 1 100%!important;flex-wrap:nowrap!important}
  .top-session-group{gap:10px!important;flex-wrap:nowrap!important;width:100%!important}
  .top-session{flex:0 0 auto!important;}
  .top-session-period{
    width:auto!important;
    order:initial!important;
    
    color:#64758a!important;
    flex:0 1 auto!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .nav .nav-api-diag{
    flex:0 0 auto!important;
    width:auto!important;

    gap:5px!important;
    
    color:#a8bad0!important;
  }
  .nav .nav-api-diag .ico{width:14px!important}

  /* 달력은 7열 유지, 세로 높이는 허용하고 글씨를 키움 */
  
  .calendar-head-legend{gap:5px 8px!important;}

  
  .cal-grid{gap:4px!important}
  .cal-week{gap:2px!important}

  .badges{gap:2px!important}
  
}
@media(max-width:430px){
  .top-session-group{gap:8px!important}
  .top-session{font-size:12px!important}
  .top-session-period{font-size:10.5px!important}
  .calendar-wrap{padding-left:7px!important;padding-right:7px!important}
  .calendar-head-legend{gap:4px 7px!important;}
  
  .cal-btn{width:27px!important;height:27px!important;font-size:13px!important}
  
  .cal-grid{gap:3px!important}

  
}

/* 데스크톱에서도 API 진단은 사이드 메뉴 맨 끝의 보조 기능으로 약하게 표시 */
.nav .nav-api-diag{
  margin-top:10px !important;
  padding:7px 12px !important;
  font-size:10.5px !important;
  color:#9fb0c3 !important;
  opacity:.58 !important;
}
.nav .nav-api-diag:hover{
  color:#d5e0eb !important;
  opacity:.92 !important;
  background:rgba(255,255,255,.045) !important;
}
.nav .nav-api-diag .ico{opacity:.62 !important;}

@media(max-width:900px){
  /* 모바일 전반: 기존보다 한 단계만 확대 */
  .brand-title{font-size:19px!important}
  .brand-sub{font-size:12px!important}
  .nav a{font-size:13px!important;padding:9px 11px!important}
  .nav .nav-api-diag{
    margin-top:0!important;
    padding:8px 9px!important;
    font-size:10.5px!important;
    opacity:.58!important;
  }
  .top-session{font-size:13px!important}
  .top-session-period{font-size:11.5px!important}
  .card-head{padding:13px 14px 11px!important}

  
  .today .schedule-source{font-weight:800!important}

  .todo-date{font-size:11.5px!important}
  .todo-item{font-size:12px!important;min-height:33px!important}
  .todo-time{min-width:60px!important;}
  
  .todo-move,.todo-edit,.todo-delete{font-size:10.5px!important}

  .events .event-row{font-size:12px!important}
  
  .events .event-owner,.events .event-hosts{font-size:12px!important}
  
  .events .event-place{font-size:11px!important}

  .news .news-item,.health-news .news-item{font-size:12px!important}
  .agency-news-item,.agency-news-title{font-size:12px!important}

  /* 모바일 달력: 7열은 유지하되 위원회명/요일/날짜를 더 읽기 쉽게 */
  .calendar-card-head .card-title{font-size:16px!important}
  .calendar-head-legend{font-size:10.5px!important}
  .calendar-head-legend i{width:8.5px!important;height:8.5px!important}
  .month-title{font-size:15.5px!important;min-width:110px!important;font-weight:800!important}
  .cal-btn{width:29px!important;height:29px!important;font-size:15px!important}
  .dow div{font-size:11.5px!important;font-weight:850!important;padding:5px 0!important}
  .day{min-height:90px!important;padding:4px 2px!important}
  .cal-week.has-schedule .day{min-height:90px!important}
  .day-head{min-height:18px!important;margin-bottom:3px!important}
  .day-num{font-size:12.5px!important;font-weight:850!important}
  .day-plenary{font-size:9px!important;font-weight:850!important}
  .badge{
    font-size:9.5px!important;
    font-weight:900!important;
    line-height:1.12!important;
    padding:3px 1px!important;
    letter-spacing:-.04em!important;
  }
}

@media(max-width:430px){
  
  .nav a{font-size:12.5px!important}
  .card-title{font-size:15.5px!important}

  

}

@media(max-width:900px){
  .card-title{font-size:16px !important;}
  .today .time{font-size:13px !important;}
  .today .schedule-main{font-size:13px !important;line-height:1.42 !important;}
  .todo-label{font-size:12.5px !important;line-height:1.34 !important;}
  .todo-time{font-size:15px !important;}
  .events .event-title{font-size:13px !important;line-height:1.4 !important;}
  .events .event-hosts{font-size:15px !important;}
  .events .event-date{font-size:12.5px !important;}
  .events .event-time{font-size:15px !important;}
}
@media(max-width:430px){
  .calendar-card-head .card-title{font-size:16px !important;}
  .month-title{min-width:108px !important;font-size:15px !important;}
  .calendar-head-legend{font-size:10.5px !important;}
  .dow div{font-size:12px !important;font-weight:850 !important;padding:5px 0 !important;}
  .day{min-height:98px !important;padding:4px 2px !important;}
  .cal-week.has-schedule .day{min-height:98px !important;}
  .day-head{min-height:19px !important;margin-bottom:4px !important;}
  .day-num{font-size:13px !important;font-weight:850 !important;}
  .day-plenary{font-size:9.5px !important;font-weight:850 !important;}
  .badges{gap:2.5px !important;}
  .badge{
    font-size:10.5px !important;
    line-height:1.08 !important;
    padding:3px 1px !important;
    font-weight:900 !important;
    letter-spacing:-.045em !important;
  }
  .today .time{font-size:13px !important;}
  .today .schedule-main{font-size:13px !important;}
  .todo-label{font-size:12.5px !important;}
  .events .event-title{font-size:13px !important;}
}

html,body,button,input,select,textarea{
  font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif !important;
}
body{font-weight:500;letter-spacing:-.012em;font-synthesis:none;}
button,input,select,textarea{letter-spacing:-.01em;}
.brand-title{font-weight:850 !important;}
.brand-sub{font-weight:650 !important;}

@media(min-width:901px){
  /* 왼쪽 메뉴 */
  .nav a{font-size:14.5px !important;font-weight:700 !important;letter-spacing:-.01em !important;}
  .nav .ico{font-weight:800 !important;}

  /* 홈 카드 제목 */
  #homePage .card-title,
  #homePage .calendar-card-head .card-title{
    font-size:18px !important;font-weight:900 !important;line-height:1.25 !important;
    letter-spacing:-.025em !important;-webkit-text-stroke:0 !important;
  }

  /* 국회 의사일정 */
  #homePage .month-title{font-size:18px !important;font-weight:850 !important;letter-spacing:-.025em !important;min-width:125px !important;}
  #homePage .calendar-head-legend{font-size:13px !important;font-weight:800 !important;gap:7px 15px !important;color:#53657b !important;}
  #homePage .calendar-head-legend span{color:#53657b !important;}
  #homePage .calendar-head-legend i{width:10.5px !important;height:10.5px !important;}
  #homePage .dow div{font-size:13px !important;font-weight:800 !important;}
  #homePage .badge,
  #homePage .day-plenary .badge{font-size:12px !important;font-weight:650 !important;}

  /* 오늘의 주요 일정 */
  #homePage .today .schedule-item{grid-template-columns:68px minmax(0,1fr) !important;gap:8px !important;}
  #homePage .today .time{font-size:14.5px !important;font-weight:700 !important;}
  #homePage .today .schedule-main{font-size:14px !important;font-weight:600 !important;line-height:1.42 !important;}
  #homePage .today .schedule-source{font-size:13px !important;font-weight:750 !important;}

  /* 오늘의 할 일 */
  #homePage .todo-label{font-size:13px !important;font-weight:600 !important;line-height:1.34 !important;}
  #homePage .todo-time{font-size:12px !important;}
  #homePage .todo-date{font-size:12px !important;}

  /* 복지위원 행사 일정 */
  #homePage .events .event-row{grid-template-columns:76px 182px minmax(0,1fr) !important;column-gap:12px !important;}
  #homePage .events .event-date{font-size:13px !important;font-weight:700 !important;}
  #homePage .events .event-time{font-size:12px !important;font-weight:700 !important;}
  #homePage .events .event-hosts{font-size:12.8px !important;font-weight:550 !important;line-height:1.48 !important;color:#455a73 !important;}
  #homePage .events .event-hosts .committee-owner{font-weight:800 !important;}
  #homePage .events .event-title{font-size:14px !important;font-weight:600 !important;line-height:1.42 !important;}
  #homePage .events .event-place{font-size:12px !important;font-weight:500 !important;}
  #homePage .events .event-type{font-size:10.5px !important;}

  /* 행사 카드 우측 상단: 건수 · 국회의원 정책세미나 */
  #homePage .events .card-head .event-head-links,
  #homePage .events .card-head .event-head-links > span,
  #homePage .events .card-head .event-head-links > a,
  #homePage #memberEventApiState,
  #homePage .seminar-direct-link{
    font-size:13px !important;font-weight:650 !important;line-height:1.35 !important;
  }

  #homePage .event-expand-btn{font-size:13px !important;font-weight:650 !important;line-height:1.35 !important;}

  #homePage .event-owner,
  #homePage .event-place,
  #homePage .card-link,
  .top-meta{font-weight:500;}
}

@media(min-width:901px) and (max-width:1280px){
  #homePage .events .event-row{grid-template-columns:72px 160px minmax(0,1fr) !important;column-gap:10px !important;}
  #homePage .today .schedule-item{grid-template-columns:64px minmax(0,1fr) !important;}
}

@media(max-width:760px){
  /* 모바일 안건 팝업: 가로형 미리보기 */
  .schedule-modal{padding:10px !important;}
  .schedule-modal-card{
    width:84vw !important;max-width:84vw !important;height:min(62vw,58vh) !important;
    max-height:min(62vw,58vh) !important;min-height:0 !important;border-radius:12px !important;
  }
  .schedule-modal-head{padding:8px 10px !important;gap:8px !important;}
  .schedule-modal-head strong{font-size:13px !important;}
  .schedule-modal-meta{font-size:10px !important;margin-top:2px !important;}
  .schedule-modal-close{width:28px !important;height:28px !important;font-size:20px !important;border-radius:7px !important;}
  .schedule-modal-open{height:28px !important;font-size:10px !important;padding:0 7px !important;}
  .schedule-modal-body{padding:6px 9px 9px !important;min-height:0 !important;overflow:auto !important;}
  .schedule-agenda-line{font-size:15px !important;line-height:1.4 !important;padding:3px 1px !important;}
}

@media(min-width:761px){
  .schedule-agenda-line{
    font-size:15px !important;
    font-weight:500 !important;
    line-height:1.55 !important;
    padding:4px 1px !important;
  }
}

@media(max-width:900px){
  #homePage .day-plenary .badge{font-weight:900 !important;}
}

@media (max-width:900px) and (hover:none), (max-width:900px) and (pointer:coarse){
  #calendarTooltip{display:none !important;}
}

.todo-sync-btn{min-width:38px!important;color:#566b83!important;font-weight:750!important}
.todo-sync-btn.is-connected{color:#176b4d!important;font-weight:800!important}
.todo-sync-btn.is-offline{color:#9a6a2f!important}
.todo-sync-modal{position:fixed;inset:0;z-index:16000;background:rgba(15,28,45,.34);display:none;align-items:center;justify-content:center;padding:18px}
.todo-sync-modal.open{display:flex}
.todo-sync-card{width:min(420px,calc(100vw - 32px));background:#fff;border:1px solid #dce4ee;border-radius:14px;box-shadow:0 22px 60px rgba(20,38,60,.18);overflow:hidden}
.todo-sync-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 17px 13px;border-bottom:1px solid #edf1f5}
.todo-sync-head strong{display:block;font-size:16px;font-weight:850;color:#172a42}
.todo-sync-head div div{margin-top:4px;font-size:11.5px;line-height:1.45;color:#6d7e92}
#todoSyncClose{width:30px;height:30px;border:0;background:transparent;color:#687b91;font-size:22px;line-height:1;cursor:pointer;border-radius:7px}
#todoSyncClose:hover{background:#f2f5f8}
.todo-sync-body{padding:16px 17px 17px}
.todo-sync-status{font-size:12.5px;font-weight:700;color:#334a64;line-height:1.45;margin-bottom:11px}
.todo-sync-login{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:7px}
.todo-sync-login[hidden],.todo-sync-logout[hidden]{display:none!important}
#todoSyncPassword{height:38px;border:1px solid #ced9e6;border-radius:8px;padding:0 11px;font:inherit;font-size:13px;outline:none}
#todoSyncPassword:focus{border-color:#7d9fc8;box-shadow:0 0 0 2px rgba(55,111,180,.08)}
#todoSyncConnect,.todo-sync-logout{height:38px;border-radius:8px;font-size:12px;font-weight:800;cursor:pointer}
#todoSyncConnect{border:1px solid #285f9e;background:#285f9e;color:#fff}
.todo-sync-logout{border:1px solid #d3dce7;background:#fff;color:#607187;padding:0 12px}
.todo-sync-message{min-height:17px;margin-top:8px;font-size:11px;line-height:1.4;color:#7b899a}
.todo-sync-message.error{color:#a0444a}
@media(max-width:560px){
  .todo-sync-card{width:min(360px,calc(100vw - 24px))}
  .todo-sync-head{padding:14px 14px 11px}
  .todo-sync-body{padding:14px}
  .todo-sync-head strong{font-size:15px}
  .todo-sync-login{
    grid-template-columns:minmax(0,200px) 64px;
    justify-content:center;
    width:100%;
    margin:0 auto;
  }
  #todoSyncPassword{
    width:100%;
    min-width:0;
    height:36px;
    padding:0 10px;
    font-size:16px;
  }
  #todoSyncConnect{
    width:64px;
    height:36px;
  }
  .todo-sync-btn{font-size:10.5px!important;min-width:34px!important;padding:2px 4px!important}
}

.mobile-quick-toggle{display:none}
@media(max-width:900px){
  .brand{
    
    display:grid!important;

  }
  .brand-title{grid-area:title!important;min-width:0!important}
  .brand-sub{grid-area:sub!important;min-width:0!important}
  .mobile-quick-toggle{
    
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    
    width:34px!important;
    height:34px!important;
    margin-left:auto!important;
    padding:0!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#fff!important;
    
    line-height:1!important;
    cursor:pointer!important;
    opacity:.92!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .mobile-quick-toggle:active,
  .mobile-quick-toggle[aria-expanded="true"]{
    background:rgba(255,255,255,.10)!important;
  }
  .quick-links{
    display:none!important;
    position:absolute!important;
    z-index:80!important;

    

  }
  .sidebar.quick-open .quick-links{display:block!important}
  .quick-links-title{display:none!important}
  .quick-links-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    
  }
  .quick-link{
    
    grid-template-columns:27px minmax(0,1fr)!important;
    gap:7px!important;

  }
  
  .quick-link-arrow{display:none!important}
}
@media(max-width:430px){
  .mobile-quick-toggle{width:32px!important;height:32px!important;}
  
  .quick-links-list{gap:6px!important}
  .quick-link{padding:6px 7px!important;}
}

@media(max-width:560px){
  #todoCard .card-head{
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr) max-content!important;
    align-items:center!important;
    gap:7px!important;
    flex-direction:initial!important;
    flex-wrap:initial!important;
  }
  #todoCard .todo-title-wrap{
    display:contents!important;
    width:auto!important;
  }
  #todoCard .card-title{
    white-space:nowrap!important;
  }
  #todoCard .todo-date-nav{
    justify-self:center!important;
    min-width:0!important;
    gap:4px!important;
  }
  #todoCard .todo-actions{
    width:auto!important;
    margin-left:0!important;
    justify-self:end!important;
    justify-content:flex-end!important;
    gap:4px!important;
  }
  #todoCard .todo-actions #todoAddOpen{
    width:27px!important;
    min-width:27px!important;
    height:27px!important;
    padding:0!important;
  }
  #todoCard .todo-sync-btn{
    min-width:0!important;
    height:28px!important;
    padding:0 7px!important;
    white-space:nowrap!important;
  }
}
@media(max-width:430px){
  #todoCard .card-head{gap:5px!important;}
  #todoCard .todo-date-nav{gap:3px!important;}
  #todoCard .todo-sync-btn{padding:0 6px!important;}
}

@media(max-width:560px){
  #todoCard .todo-text-input,
  #todoCard .todo-time-picker select,
  #todoCard .todo-time-picker input,
  #todoSyncPassword{
    font-size:16px!important;
  }
  #todoCard button,
  .todo-sync-modal button,
  .todo-date-nav button{
    touch-action:manipulation;
  }
}

.mobile-session-summary{display:none}
@media(max-width:900px){
  
  .mobile-session-summary{
    grid-area:session!important;
    display:flex!important;
    min-width:0!important;
    flex-direction:column!important;
    
    gap:1px!important;
    
    line-height:1.24!important;
  }
  .mobile-session-title{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10.5px!important;
    font-weight:800!important;
  }
  .mobile-session-period{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:9.5px!important;
    font-weight:650!important;
    
  }
  .topbar{display:none!important}
  .tool-page{height:calc(100dvh - 104px)!important}
}
@media(max-width:430px){

  .mobile-session-title{font-size:9.8px!important}
  .mobile-session-period{font-size:8.9px!important}
}

.todo-delete{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:24px !important;
  min-width:24px !important;
  height:24px !important;
  min-height:24px !important;
  
  font-size:18px !important;
  
  font-weight:800 !important;
  color:#b35a60 !important;
}
.todo-delete:hover{
  color:#95343b !important;
  text-decoration:none !important;
}
@media (max-width: 900px){
  .todo-delete{
    width:22px !important;
    min-width:22px !important;
    height:22px !important;
    min-height:22px !important;
    font-size:17px !important;
  }
}
@media (max-width: 640px){
  .todo-delete{
    width:21px !important;
    min-width:21px !important;
    height:21px !important;
    min-height:21px !important;
    font-size:16px !important;
  }
}

.portal-home-link{cursor:pointer;user-select:none}
.portal-home-link:hover{text-decoration:underline;text-underline-offset:3px}
.portal-home-link:focus-visible{outline:2px solid rgba(255,255,255,.75);outline-offset:3px;border-radius:4px}

.brand{cursor:pointer}
.mobile-session-summary,#mobileQuickToggle{cursor:default}

.portal-admin-panel{
  margin:12px 0 0;
  }
.portal-admin-panel-title{font-size:10.5px;font-weight:800;color:#9fb4ca;letter-spacing:.04em;margin:0 4px 7px}
.portal-admin-login-btn,.portal-admin-action-btn{
  width:100%;border:0;background:rgba(255,255,255,.07);color:#dce7f4;
  display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;
  cursor:pointer;font-size:12.5px;font-weight:750;text-align:left
}
.portal-admin-login-btn:hover,.portal-admin-action-btn:hover{background:rgba(255,255,255,.13);color:#fff}
.portal-admin-login-btn .ico,.portal-admin-action-btn .ico{width:20px;text-align:center;flex:none}
.portal-admin-session{flex-direction:column;}
.portal-admin-state{display:flex;align-items:center;gap:7px;padding:2px 4px 5px;color:#dff7ee;font-size:11.5px;font-weight:800}
.portal-admin-state-dot{width:7px;height:7px;border-radius:50%;background:#65d0ad;box-shadow:0 0 0 3px rgba(101,208,173,.12)}
.portal-admin-action-btn.preview-on{background:rgba(121,166,222,.18);color:#eef6ff}
.portal-admin-action-btn.logout{color:#f5d9dd}
.public-preview-banner{
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:34px;padding:6px 18px;background:#fff8df;border-bottom:1px solid #eadca9;
  color:#745e19;font-size:12px;font-weight:800
}
.public-preview-banner[hidden]{display:none!important}
.public-preview-banner button{border:1px solid #d9c779;background:#fffdf5;color:#6e5919;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:800;cursor:pointer}
.contact-admin-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 14px;padding:10px 12px;border:1px solid #d9e5df;border-radius:11px;
  background:#f4faf7;color:#35584b;font-size:12px
}
.contact-admin-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.contact-admin-actions button{
  border:1px solid #c6d8cf;background:#fff;color:#315b4d;border-radius:8px;
  padding:7px 10px;font-size:11.5px;font-weight:800;cursor:pointer
}
.contact-admin-status{color:#667f74}
.member-call-btn{
  border:1px solid #cdd9e7;background:#f7faff;color:#2e5e96;border-radius:7px;
  width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;
  padding:0;font-size:13px;cursor:pointer
}
.member-call-btn:hover{background:#edf4fd;border-color:#9fb9d7}
.member-call-btn .member-call-icon{
  width:14px;
  height:14px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
@media(max-width:720px){
  .member-call-btn .member-call-icon{width:13.5px;height:13.5px}
}
.staff-call-btn{
  border:0;background:transparent;padding:1px 2px;margin:0;color:#263d59;
  font:inherit;font-weight:750;cursor:pointer;border-radius:4px
}
.staff-call-btn:hover{text-decoration:underline;text-underline-offset:2px;color:#255f9c}
.staff-person{display:inline-flex;align-items:center;gap:3px;flex-wrap:nowrap;margin-right:7px}
.staff-duty{font-size:10px;font-weight:850;color:#48647f;white-space:nowrap}
.staff-duty.schedule{color:#315f9c}.staff-duty.accompany{color:#ad5b2a}
.admin-modal,.call-modal{
  position:fixed;inset:0;z-index:12000;background:rgba(13,24,38,.44);
  display:none;align-items:center;justify-content:center;padding:20px
}
.admin-modal.open,.call-modal.open{display:flex}
.admin-modal-card,.call-modal-card{
  width:min(420px,94vw);background:#fff;border-radius:16px;box-shadow:0 22px 60px rgba(0,0,0,.24);overflow:hidden
}
.admin-modal-head,.call-modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid #e8edf3}
.admin-modal-close,.call-modal-close{border:0;background:#f0f3f7;width:32px;height:32px;border-radius:8px;cursor:pointer;font-size:17px}
.admin-modal-body,.call-modal-body{padding:18px}
.admin-modal-body p{margin:0 0 13px;color:#68788c;font-size:12.5px;line-height:1.55}
.admin-login-row{display:flex;gap:8px}
.admin-login-row input{min-width:0;flex:1;height:42px;border:1px solid #cbd5e1;border-radius:9px;padding:0 11px;font-size:16px}
.admin-login-row button,.call-now-btn{
  border:0;background:#2f6fd6;color:#fff;border-radius:9px;padding:0 15px;font-weight:800;cursor:pointer
}
.admin-login-msg{min-height:18px;margin-top:8px;font-size:12px;color:#b54850}
.call-person-name{font-size:20px;font-weight:900;color:#17283d}
.call-person-meta{margin-top:4px;font-size:12px;color:#6d7d90}
.call-phone{margin:17px 0;font-size:22px;font-weight:900;letter-spacing:.01em;color:#173f72}
.call-actions{display:flex;justify-content:flex-end;gap:8px}
.call-cancel-btn{border:1px solid #d5dde7;background:#fff;color:#506176;border-radius:9px;padding:10px 14px;font-weight:750;cursor:pointer}
.call-now-btn{padding:10px 15px}
@media(max-width:900px){
  .portal-admin-panel{margin-top:8px;}
  .portal-admin-panel-title{text-align:center;margin-bottom:5px}
  .portal-admin-login-btn,.portal-admin-action-btn{justify-content:center;padding:9px 8px}
  .portal-admin-state{justify-content:center}
  .contact-admin-bar{align-items:flex-start;flex-direction:column}
  .public-preview-banner{font-size:11px;padding:6px 10px}
}

.portal-admin-panel{
  margin-top:12px;
  padding:10px 0 0;
  border-top:1px solid rgba(255,255,255,.13);
  border-bottom:0;
}
.portal-admin-panel-title,.portal-admin-state{display:none!important}
.portal-admin-login-btn[hidden],
.portal-admin-session[hidden],
.members-csv-btn[hidden]{display:none!important}
.portal-admin-session{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.portal-admin-session .portal-admin-action-btn{
  width:100%;
  min-width:0;
  justify-content:center;
  gap:6px;
  padding:9px 7px;
  font-size:11.5px;
  text-align:center;
}
.portal-admin-session .portal-admin-action-btn .ico{width:auto}
.portal-admin-session .portal-admin-action-btn.logout{grid-column:1 / -1}
.portal-admin-session .portal-admin-action-btn.mobile-preview{color:#dbeaff}
.portal-admin-session .portal-admin-action-btn.mobile-preview:hover{color:#fff}
.members-admin-tools{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  flex-wrap:wrap;
}
.members-csv-btn{
  border:1px solid #d4dde8;
  background:#fff;
  color:#53667c;
  border-radius:7px;
  min-width:0;
  padding:5px 8px;
  font-size:10.5px;
  line-height:1.1;
  font-weight:800;
  cursor:pointer;
}
.members-csv-btn:hover{background:#f6f9fc;border-color:#b9c9db;color:#2f5f95}
.members-csv-btn:disabled{opacity:.6;cursor:wait}
.contact-admin-bar{display:none!important}
@media(max-width:900px){
  .portal-admin-panel{padding:8px 4px 0}
  .portal-admin-session{grid-template-columns:1fr 1fr;gap:6px}
  .portal-admin-session .portal-admin-action-btn{padding:8px 5px;font-size:11px}
  .members-csv-btn{padding:5px 7px;font-size:10px}
}

.composition-tabs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-top:15px;
}
.composition-tab{
  appearance:none;
  border:1px solid #d8e1eb;
  background:#fff;
  color:#53667c;
  border-radius:999px;
  padding:7px 11px;
  font-size:11.5px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  transition:.15s ease;
}
.composition-tab span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  margin-left:4px;
  padding:0 4px;
  border-radius:999px;
  background:#eef3f8;
  color:#718297;
  font-size:9.5px;
  font-weight:900;
}
.composition-tab:hover{
  border-color:#aec2da;
  background:#f9fbfd;
}
.composition-tab.active{
  border-color:#326fc4;
  background:#326fc4;
  color:#fff;
}
.composition-tab.active span{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.composition-selected-summary{
  margin-top:9px;
  padding:10px 12px;
  border:1px solid #e0e7ef;
  border-radius:11px;
  background:#f8fafc;
}
.composition-summary-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.composition-summary-title{
  display:flex;
  align-items:baseline;
  gap:6px;
  min-width:0;
}
.composition-summary-title strong{
  font-size:13px;
  color:#26384e;
  font-weight:900;
}
.composition-summary-title span{
  font-size:10.5px;
  color:#7b8b9e;
  font-weight:800;
  white-space:nowrap;
}
.composition-summary-chair{
  font-size:10.5px;
  color:#66788d;
  white-space:nowrap;
}
.composition-summary-chair b{
  color:#26384e;
  font-weight:900;
}
.composition-summary-parties{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:8px;
}
.composition-party-count{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 7px;
  border-radius:7px;
  font-size:10.5px;
  font-weight:800;
}
.composition-party-count b{font-size:11px}
.composition-party-count.party-dem{background:#e8efff;color:#275fb8}
.composition-party-count.party-ppp{background:#ffeded;color:#aa3c3c}
.composition-party-count.party-rk{background:#eef0ff;color:#5453b7}
.composition-party-count.party-jp{background:#fff0e4;color:#bd671d}

@media(max-width:720px){
  .member-modal{
    padding:8px;
    align-items:center;
  }
  .member-modal-card{
    width:calc(100vw - 16px);
    max-width:430px;
    max-height:94dvh;
    border-radius:15px;
  }
  .modal-head{padding:10px 12px}
  .modal-head strong{font-size:14px}
  .modal-close{width:32px;height:32px}
  .modal-body{padding:13px 13px 16px}

  .member-modal-top{
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    grid-template-rows:auto auto auto;
    column-gap:13px;
    row-gap:3px;
    align-items:start;
  }
  .member-modal-summary{display:contents}
  .modal-photo,
  .member-modal-top > .photo-placeholder{
    grid-column:1;
    grid-row:1 / span 2;
    width:82px!important;
    height:104px!important;
    border-radius:10px!important;
    object-fit:cover;
    object-position:center top;
  }
  .modal-name{
    grid-column:2;
    grid-row:1;
    align-self:end;
    min-width:0;
    font-size:22px;
    line-height:1.12;
    letter-spacing:-.035em;
  }
  .modal-sub{
    grid-column:2;
    grid-row:2;
    align-self:start;
    min-width:0;
    margin-top:2px;
    font-size:11.5px;
    line-height:1.45;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
  .compact-info{
    grid-column:1 / -1;
    grid-row:3;
    width:100%;
    margin-top:9px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:13px;
  }
  .compact-info-item{
    grid-template-columns:58px minmax(0,1fr);
    gap:6px;
    padding:7px 0;
  }
  .compact-info-item.full{grid-column:1 / -1}
  .compact-info-label{font-size:9.8px}
  .compact-info-value{
    font-size:11.5px;
    line-height:1.35;
    overflow-wrap:anywhere;
  }
  .modal-info-panels{margin-top:12px;gap:12px}

  .members-page{padding:12px 10px 24px}
  .members-hero{padding:15px 12px;margin-bottom:12px}
  .members-hero h1{font-size:20px}
  .composition-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:6px;
    margin:13px -2px 0;
    padding:0 2px 3px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .composition-tabs::-webkit-scrollbar{display:none}
  .composition-tab{
    flex:0 0 auto;
    padding:7px 10px;
    font-size:11px;
  }
  .composition-selected-summary{
    margin-top:7px;
    padding:9px 10px;
  }
  .composition-summary-head{
    align-items:flex-start;
  }
  .composition-summary-title strong{font-size:12.5px}
  .composition-summary-chair{font-size:10px}
  .composition-summary-parties{gap:4px;margin-top:7px}
  .composition-party-count{padding:4px 6px;font-size:10px}
}

@media(max-width:340px){
  .member-modal-top{grid-template-columns:74px minmax(0,1fr);column-gap:10px}
  .modal-photo,
  .member-modal-top > .photo-placeholder{
    width:74px!important;
    height:94px!important;
  }
  .modal-name{font-size:20px}
  .compact-info{grid-template-columns:1fr}
  .compact-info-item.full{grid-column:auto}
}

.todo-delete{
  padding:0 0 2px 0 !important;
  font-family:Arial,"Helvetica Neue",sans-serif !important;
  line-height:1 !important;
}
@media(max-width:900px){
  .todo-delete{padding-bottom:2px !important}
}

.today-live-chip{
  font-size:12.5px !important;
  line-height:1.35 !important;
  gap:8px !important;
}
.today-live-chip .live-mark{
  font-size:10.5px !important;
  height:20px !important;
  min-width:36px !important;
  padding:0 7px !important;
  line-height:20px !important;
}
.today-live-chip .live-names{
  font-size:12.5px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
}
@media(max-width:640px){
  .today-live-chip{
    font-size:12px !important;
    gap:5px !important;
  }
  .today-live-chip .live-mark{
    font-size:10px !important;
    height:19px !important;
    min-width:34px !important;
    padding:0 6px !important;
    line-height:19px !important;
  }
  .today-live-chip .live-names{
    font-size:12px !important;
  }
}

.composition-tab{
  font-size:13px !important;
}
.composition-tab span{
  font-size:15px !important;
}
.composition-summary-title strong,
.composition-summary-title span,
.composition-summary-chair,
.composition-party-count,
.composition-party-count b{
  font-size:13px !important;
}

.member-call-btn{
  border:0 !important;
  background:transparent !important;
  width:22px !important;
  height:22px !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.member-call-btn:hover{
  background:transparent !important;
  border-color:transparent !important;
  color:#1f4f86 !important;
}
.member-call-btn .member-call-icon{
  width:15px !important;
  height:15px !important;
}
@media(max-width:720px){
  .composition-tab{
    font-size:13px !important;
  }
  .composition-summary-title strong,
  .composition-summary-title span,
  .composition-summary-chair,
  .composition-party-count,
  .composition-party-count b{
    font-size:13px !important;
  }
  .member-call-btn .member-call-icon{
    width:14px !important;
    height:14px !important;
  }
}

@media (max-width: 720px){
  #portalMobilePreviewBtn{
    display:none !important;
  }
  .portal-admin-session{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    align-items:stretch;
  }
  #portalPublicPreviewBtn,
  #portalAdminLogoutBtn{
    width:100% !important;
  }
  #portalAdminLogoutBtn{
    grid-column:auto !important;
  }
}

@media(max-width:560px){
  .brand{grid-template-areas:
      "title session auth quick"
      "sub session auth quick" !important;
  }
  .brand-title{align-self:end !important; padding-top:0 !important; margin-top:0 !important;}
  .brand-sub{align-self:start !important; color:#d7e2ef !important;}
  .mobile-session-summary{align-self:center !important;}
}

.mobile-admin-toggle{display:none}
@media(max-width:900px){
  .brand{
    grid-template-columns:max-content minmax(0,1fr) auto auto !important;
    grid-template-areas:
      "title session auth quick"
      "sub session auth quick" !important;
    align-items:center !important;
    column-gap:8px !important;
    row-gap:2px !important;
  }
  .brand-title{
    display:flex !important;
    align-items:center !important;
    align-self:center !important;
    min-height:22px !important;
    padding-top:2px !important;
    line-height:1.08 !important;
  }
  .brand-sub{
    align-self:start !important;
    line-height:1.05 !important;
    margin-top:-1px !important;
  }
  .mobile-session-summary{
    align-self:center !important;
    justify-self:start !important;
    justify-content:center !important;
    padding-top:2px !important;
  }
  .mobile-admin-toggle,
  .mobile-quick-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:34px !important;
    height:34px !important;
    padding:0 !important;
    border:0 !important;
    
    background:transparent !important;
    
    cursor:pointer !important;
    
    -webkit-tap-highlight-color:transparent !important;
  }
  .mobile-admin-toggle{grid-area:auth !important; justify-self:end !important; font-size:16px !important;}
  .mobile-admin-toggle .mobile-admin-ico{display:block;line-height:1 !important;}
  .mobile-quick-toggle{grid-area:quick !important; justify-self:end !important; font-size:18px !important;}
  .mobile-admin-toggle:active,.mobile-admin-toggle[aria-pressed="true"],
  .mobile-quick-toggle:active,.mobile-quick-toggle[aria-expanded="true"]{
    background:rgba(255,255,255,.10) !important;
  }
  .portal-admin-panel{display:none !important;}
}
@media(max-width:430px){
  .brand{column-gap:8px !important;}
  .brand-title{font-size:17px !important; min-height:20px !important; padding-top:1px !important;}
  .brand-sub{font-size:10.5px !important;}
  .mobile-session-summary{padding-top:1px !important;}
  .mobile-admin-toggle,.mobile-quick-toggle{width:32px !important;height:32px !important;}
  .mobile-admin-toggle{font-size:15px !important;}
  .mobile-quick-toggle{font-size:17px !important;}
}

.today-live-chip .live-home-link{
  text-decoration:none !important;
}
.today-live-chip .live-names{
  display:inline-flex !important;
  align-items:center !important;
  min-width:0 !important;
  overflow:hidden !important;
  white-space:nowrap !important;
}
.today-live-chip .live-name-link{
  color:inherit !important;
  text-decoration:none !important;
  font:inherit !important;
  font-weight:800 !important;
  flex:0 0 auto !important;
}
.today-live-chip .live-name-link:hover{
  color:#284e7d !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}
.today-live-chip .live-sep{
  flex:0 0 auto !important;
  margin:0 1px !important;
  color:#7b8b9e !important;
}

.todo-target-selectors{display:inline-flex;align-items:center;gap:6px;margin-left:4px;padding-left:9px;border-left:1px solid #dce4ed}
.todo-target-selector-label{font-size:10.5px;color:#708197;font-weight:800;white-space:nowrap}
.todo-target-toggle{display:inline-flex;align-items:center;gap:3px;font-size:10.5px;font-weight:850;cursor:pointer;white-space:nowrap;user-select:none}
.todo-target-toggle input{width:14px;height:14px;margin:0}
.todo-target-toggle.chair input{accent-color:#bd6666}.todo-target-toggle.secretary input{accent-color:#c29a35}.todo-target-toggle.chief input{accent-color:#6d9e71}
.todo-target-toggle span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:21px;border-radius:6px;border:1px solid transparent;padding:0 5px}
.todo-target-toggle.chair span{background:#fbe8e8;border-color:#efcdcd;color:#985050}.todo-target-toggle.secretary span{background:#fff4d9;border-color:#ead8a5;color:#866716}.todo-target-toggle.chief span{background:#eaf6e9;border-color:#cbe4c9;color:#4e7952}
.todo-target-badges{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto}
.todo-target-badges[hidden]{display:none!important}
.todo-target-badge{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;height:20px;padding:0 6px;border:1px solid transparent;border-radius:999px;font:inherit;font-size:9.5px;font-weight:850;line-height:1;white-space:nowrap;cursor:pointer;transition:opacity .12s ease,filter .12s ease,transform .12s ease;touch-action:manipulation}
.todo-target-badge.chair{background:#fbe8e8;border-color:#efcdcd;color:#985050}.todo-target-badge.secretary{background:#fff4d9;border-color:#ead8a5;color:#866716}.todo-target-badge.chief{background:#eaf6e9;border-color:#cbe4c9;color:#4e7952}
.todo-target-badge:not(:disabled):hover{filter:brightness(.97);transform:translateY(-1px)}
.todo-target-badge.is-done{opacity:.5;filter:saturate(.55)}
.todo-target-badge.is-done:not(:disabled):hover{opacity:.72}
.todo-target-badge:disabled{cursor:default}
.todo-item.done .todo-target-badges{opacity:1}
.todo-check:indeterminate{accent-color:#6d86a8}
@media(max-width:620px){.todo-time-row{gap:7px}.todo-target-selectors{margin-left:0;padding-left:0;border-left:0;flex-basis:100%}.todo-target-selector-label{min-width:31px}.todo-target-badge{height:19px;padding:0 5px;font-size:9px}}

.recent-bills-card{width:100%;min-width:0}
.recent-bills-card .card-head{padding:14px 18px 10px}
.recent-bills-card .card-title{font-size:16px}
.recent-bills-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
#homePage .recent-bills-system-link{font-size:13px!important;font-weight:650!important;line-height:1.35!important}
.recent-bills-yesterday-count{font-size:12px;color:#7b8999;white-space:nowrap;font-variant-numeric:tabular-nums}
.recent-bills-yesterday-count strong{color:#c44141;font-weight:800}
.recent-bills-system-link{color:#667a92;white-space:nowrap;text-decoration:none}
.recent-bills-system-link:hover{color:#365f8d;text-decoration:underline;text-underline-offset:2px}
.recent-bills-body{padding:0 18px}
.recent-bills-list{list-style:none;margin:0;padding:0;border-top:1px solid #e8edf3}
.recent-bill-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f6}
.recent-bill-item:last-child{border-bottom:0}
.recent-bill-date{font-size:11px;color:#7d8b9c;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.recent-bill-main{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden}
.recent-bill-new{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:19px;padding:0 6px;border-radius:999px;background:#fbe7e7;border:1px solid #efcaca;color:#a34d4d;font-size:9.5px;font-weight:850;line-height:1}
.recent-bill-title{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:transparent;padding:0;color:#24364e;font-size:13px;font-weight:700;line-height:1.35;text-align:left;cursor:pointer}
.recent-bill-title:hover{color:#315f9c;text-decoration:underline;text-underline-offset:2px}
.recent-bill-proposer{font-size:11.5px;color:#7d8b9c;font-weight:500;white-space:nowrap}
.recent-bills-empty{padding:18px 4px;color:#8a98aa;font-size:12px;text-align:center;border-top:1px solid #e8edf3}
.recent-bills-expand-wrap{display:flex;justify-content:center;padding:9px 16px 11px;border-top:1px solid #edf1f5}
.recent-bills-expand-wrap[hidden]{display:none!important}
.recent-bills-expand-btn{border:0;background:transparent;color:#526b88;padding:3px 8px;font-size:13px;font-weight:650;line-height:1.35;cursor:pointer}
.recent-bills-expand-btn:hover{text-decoration:underline;text-underline-offset:3px}
.bill-summary-modal{position:fixed;inset:0;z-index:12000;background:rgba(18,31,48,.38);display:none;align-items:center;justify-content:center;padding:18px}
.bill-summary-modal.open{display:flex}
.bill-summary-card{width:min(720px,94vw);max-height:82vh;display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:0 22px 70px rgba(16,34,58,.24);overflow:hidden}
.bill-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 20px 13px;border-bottom:1px solid #e8edf3}
.bill-summary-head-text{min-width:0}
.bill-summary-title{display:block;font-size:17px;line-height:1.4;color:#1c2d42;font-weight:850;word-break:keep-all}
.bill-summary-meta{margin-top:6px;font-size:11.5px;line-height:1.5;color:#7b899a}
.bill-summary-close{width:30px;height:30px;flex:0 0 auto;border:0;background:transparent;color:#69798c;font-size:24px;line-height:1;cursor:pointer}
.bill-summary-body{overflow:auto;padding:18px 20px 20px}
.bill-summary-section-label{font-size:12px;font-weight:850;color:#50657e;margin-bottom:8px}
.bill-summary-text{white-space:pre-wrap;word-break:keep-all;font-size:13px;line-height:1.75;color:#2f4054}
.bill-summary-loading,.bill-summary-error{padding:28px 8px;text-align:center;font-size:13px;color:#7e8c9c}
.bill-summary-actions{display:flex;justify-content:flex-end;padding:12px 20px 16px;border-top:1px solid #edf1f5;background:#fbfcfd}
.bill-summary-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border:1px solid #cfd9e5;border-radius:7px;background:#fff;color:#365a84;font-size:12.5px;font-weight:750;text-decoration:none}
.bill-summary-link:hover{background:#f4f7fb;border-color:#b8c7d8}
@media(max-width:760px){
  .recent-bills-card .card-head{padding:13px 15px 9px}
  .recent-bills-head-actions{gap:7px}
  .recent-bills-yesterday-count{font-size:10.5px}
  .recent-bills-body{padding:0 15px}
  .recent-bill-item{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:9px 0}
  .recent-bill-date{font-size:10px}
  .recent-bill-title{display:block;font-size:12.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .recent-bill-proposer{font-size:10.5px}
  .recent-bills-expand-wrap{padding:7px 10px 10px}
  .bill-summary-modal{padding:8px}
  .bill-summary-card{width:96vw;max-height:86vh;border-radius:12px}
  .bill-summary-head{padding:14px 15px 11px}
  .bill-summary-title{font-size:15px}
  .bill-summary-body{padding:15px}
  .bill-summary-text{font-size:12.5px;line-height:1.72}
  .bill-summary-actions{padding:10px 15px 13px}
}

.assembly-press-card{width:100%;min-width:0}
.assembly-press-card .card-head{padding:14px 18px 10px}
.assembly-press-card .card-title{font-size:16px}
.assembly-press-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;white-space:nowrap}
#homePage .assembly-press-state,
#homePage .assembly-press-head-sep,
#homePage .assembly-press-board-link{
  font-size:13px!important;font-weight:650!important;line-height:1.35!important;
}
.assembly-press-state{color:#7a889a;white-space:nowrap}
.assembly-press-head-sep{color:#7a889a;white-space:nowrap}
.assembly-press-board-link{color:#55708f;text-decoration:none;white-space:nowrap}
.assembly-press-board-link:hover{color:#315f9c;text-decoration:underline;text-underline-offset:2px}
.assembly-press-body{padding:0 18px 0}
.assembly-press-list{list-style:none;margin:0;padding:0;border-top:1px solid #e8edf3}
.assembly-press-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f6}
.assembly-press-item:last-child{border-bottom:0}
.assembly-press-main{display:flex;align-items:center;gap:7px;min-width:0}
.assembly-press-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:20px;padding:0 7px;border:1px solid #dbe4ee;border-radius:999px;background:#f3f6fa;color:#536a85;font-size:10px;font-weight:800;line-height:1;white-space:nowrap;letter-spacing:-.01em}
.assembly-press-link{min-width:0;flex:1;color:#24364e;text-decoration:none;font-size:13px;font-weight:650;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.assembly-press-link:hover{color:#315f9c;text-decoration:underline;text-underline-offset:2px}
.assembly-press-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.assembly-press-date{font-size:11px;color:#8a98aa;font-variant-numeric:tabular-nums;white-space:nowrap}
.assembly-press-empty{padding:18px 4px;color:#8a98aa;font-size:12px;text-align:center;border-top:1px solid #e8edf3}
.assembly-press-expand-wrap{display:flex;justify-content:center;padding:9px 16px 11px;border-top:1px solid #edf1f5}
.assembly-press-expand-wrap[hidden]{display:none!important}
.assembly-press-expand-btn{border:0;background:transparent;color:#526b88;padding:3px 8px;font-size:13px;font-weight:650;line-height:1.35;cursor:pointer}
.assembly-press-expand-btn:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){
  .assembly-press-card .card-head{padding:13px 15px 9px;gap:8px;flex-wrap:wrap}
  .assembly-press-head-actions{width:100%;justify-content:flex-start;gap:5px}
  #homePage .assembly-press-state,
  #homePage .assembly-press-head-sep,
  #homePage .assembly-press-board-link{font-size:13px!important}
  .assembly-press-body{padding:0 15px}
  .assembly-press-item{padding:9px 0;gap:9px}
  .assembly-press-main{gap:6px}
  .assembly-press-badge{height:19px;padding:0 6px;font-size:9.5px}
  .assembly-press-link{font-size:12.5px}
  .assembly-press-date{font-size:10.5px}
  .assembly-press-expand-wrap{padding:7px 10px 10px}
  .assembly-press-expand-btn{font-size:11px}
}

@media(min-width:901px){
  /* 기존 상단 회기 전용 바는 사용하지 않음 */
  .topbar{display:none !important;}

  /* 브랜드 영역: 위원회명 → 업무지원 포털 → 회기명 → 회기기간 */
  
  .brand{
    
    margin-bottom:4px !important;
    
    border-bottom:0 !important;
  }

  .mobile-session-summary{

    
    justify-content:flex-start !important;

    min-width:0 !important;
    
    padding:0 !important;
    color:#dbe8f7 !important;
    line-height:1.25 !important;
  }
  .mobile-session-title{
    width:100% !important;
    min-width:0 !important;
    white-space:nowrap !important;
  }
  .mobile-session-period{
    width:100% !important;
    min-width:0 !important;
    white-space:nowrap !important;
  }

  /* 회기정보가 들어온 만큼 메뉴를 조금 더 조밀하게 */
  
  .nav a{
    padding:9px 12px !important;
    gap:10px !important;
    border-radius:10px !important;
  }
  .nav .nav-api-diag{
    margin-top:4px !important;
    padding:6px 12px !important;
  }
}

@media(min-width:901px){
  .app{grid-template-columns:258px minmax(0,1fr) !important;}
  .sidebar{
    padding:0 !important;
    background:#fff !important;
    color:#173a66 !important;
    border-right:1px solid #dfe7f0 !important;
    box-shadow:4px 0 18px rgba(16,44,77,.07) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    scrollbar-width:thin;
    scrollbar-color:#cbd6e3 transparent;
  }
  .sidebar::-webkit-scrollbar{width:5px}
  .sidebar::-webkit-scrollbar-thumb{background:#cbd6e3;border-radius:999px}

  .brand{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:0 !important;
    margin:0 !important;
    padding:24px 22px 20px !important;
    min-height:190px !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
    background:
      radial-gradient(circle at 112% 39%,rgba(126,166,216,.16) 0 62px,transparent 63px),
      radial-gradient(circle at 105% 48%,transparent 0 79px,rgba(126,166,216,.10) 80px 82px,transparent 83px),
      linear-gradient(145deg,#102f54 0%,#143b67 58%,#173f6d 100%) !important;
    color:#fff !important;
  }
  .brand::after{
    content:"";
    position:absolute;
    right:-22px;
    bottom:14px;
    width:112px;
    height:64px;
    opacity:.12;
    border-top:2px solid #a9c1dd;
    border-bottom:2px solid #a9c1dd;
    background:repeating-linear-gradient(90deg,transparent 0 13px,#a9c1dd 13px 16px,transparent 16px 29px);
    pointer-events:none;
  }
  .brand-title{
    order:1 !important;
    position:relative !important;
    z-index:1 !important;
    font-size:24px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:-.035em !important;
    color:#fff !important;
  }
  .brand-sub{
    order:2 !important;
    position:relative !important;
    z-index:1 !important;
    display:block !important;
    margin-top:7px !important;
    font-size:15px !important;
    line-height:1.2 !important;
    font-weight:750 !important;
    letter-spacing:-.02em !important;
    color:#cfdeee !important;
  }
  .mobile-session-summary{
    order:3 !important;
    position:relative !important;
    z-index:1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    width:100% !important;
    margin-top:18px !important;
    padding-top:13px !important;
    border-top:1px solid rgba(255,255,255,.15) !important;
    gap:5px !important;
  }
  .mobile-session-title{
    font-size:13.5px !important;
    line-height:1.2 !important;
    font-weight:820 !important;
    color:#f4f8fc !important;
  }
  .mobile-session-period{
    font-size:11.5px !important;
    line-height:1.25 !important;
    font-weight:650 !important;
    color:#bfd0e2 !important;
    letter-spacing:-.01em !important;
  }

  /* 주 메뉴: 흰 바탕 + 한 개의 연한 활성행 */
  .nav{
    flex:0 0 auto !important;
    gap:0 !important;
    padding:11px 12px 0 !important;
    background:#fff !important;
  }
  .nav a,
  .nav .nav-api-diag{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 31px 0 11px !important;
    gap:9px !important;
    border:0 !important;
    border-radius:11px !important;
    background:transparent !important;
    color:#193b63 !important;
    opacity:1 !important;
    font-size:13.5px !important;
    line-height:1 !important;
    font-weight:780 !important;
    text-align:left !important;
    cursor:pointer !important;
    transition:background .14s ease,color .14s ease !important;
  }
  .nav a::after,
  .nav .nav-api-diag::after{
    content:"›";
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-52%);
    color:#6f8196;
    font-size:25px;
    font-weight:350;
    line-height:1;
  }
  .nav a:hover,
  .nav .nav-api-diag:hover{
    background:#f3f7fc !important;
    color:#123963 !important;
  }
  .nav a.active{
    background:linear-gradient(90deg,#edf5ff,#e9f3ff) !important;
    color:#0e55b7 !important;
    box-shadow:inset 0 0 0 1px rgba(47,111,214,.03) !important;
  }
  .nav a.active::after{color:#0e55b7 !important;}
  .nav .ico,
  .nav .nav-api-diag .ico{
    width:22px !important;
    min-width:22px !important;
    margin:0 !important;
    text-align:center !important;
    color:currentColor !important;
    opacity:1 !important;
    font-size:18px !important;
    line-height:1 !important;
    filter:saturate(.15) brightness(.78) !important;
  }

  /* 관리자 영역: 기능은 유지하되 메뉴와 분리된 조용한 보조 컨트롤 */
  .portal-admin-panel{
    flex:0 0 auto !important;
    margin:14px 16px 0 !important;
    padding:14px 0 0 !important;
    border-top:1px solid #e3e9f0 !important;
    border-bottom:0 !important;
  }
  .portal-admin-login-btn,
  .portal-admin-action-btn{
    min-height:40px !important;
    border:1px solid #e5eaf0 !important;
    border-radius:10px !important;
    background:#f5f7fa !important;
    color:#334d6b !important;
    box-shadow:none !important;
    font-size:15px !important;
    font-weight:780 !important;
  }
  .portal-admin-login-btn:hover,
  .portal-admin-action-btn:hover{background:#edf2f7 !important;color:#173e6d !important;}
  .portal-admin-session{gap:7px !important;}
  .portal-admin-session .portal-admin-action-btn{padding:9px 6px !important;}
  .portal-admin-session .portal-admin-action-btn.logout{
    min-height:42px !important;
    margin-top:1px !important;
    border-color:#f3d8dc !important;
    background:#fff3f4 !important;
    color:#c53d4c !important;
  }
  .portal-admin-session .portal-admin-action-btn.logout:hover{background:#fde9eb !important;}
  .portal-admin-session .portal-admin-action-btn.preview-on{
    border-color:#cfe0f6 !important;
    background:#edf5ff !important;
    color:#245d9b !important;
  }

  /* 자주 가는 사이트: 카드 테두리를 없애고 얇은 리스트형으로 */
  .quick-links{
    flex:0 0 auto !important;
    margin:10px 14px 14px !important;
    padding:11px 0 0 !important;
    border-top:1px solid #e3e9f0 !important;
  }
  .quick-links-title{
    margin:0 2px 6px !important;
    color:#72839a !important;
    font-size:12.5px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
    letter-spacing:-.01em !important;
  }
  .quick-links-list{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
  }
  .quick-link{
    display:grid !important;
    grid-template-columns:24px minmax(0,1fr) 16px !important;
    align-items:center !important;
    gap:7px !important;
    min-height:34px !important;
    padding:0 4px !important;
    border:0 !important;
    border-bottom:1px solid #edf1f5 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#294664 !important;
    box-shadow:none !important;
    font-size:12.5px !important;
    font-weight:650 !important;
    transform:none !important;
  }
  .quick-link:last-child{border-bottom:0 !important;}
  .quick-link:hover{
    background:#f7f9fc !important;
    color:#173d6a !important;
    transform:none !important;
  }
  .quick-link-icon{
    width:27px !important;
    height:27px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#173d6a !important;
    font-size:15px !important;
    filter:saturate(.15) brightness(.78) !important;
  }
  .quick-link-arrow{
    color:#71849a !important;
    font-size:14px !important;
    text-align:center !important;
  }

  .portal-home-link:hover{text-decoration:none !important;}
  .portal-home-link:focus-visible{outline:2px solid rgba(255,255,255,.75) !important;outline-offset:3px !important;}
}

.nav .nav-api-diag[hidden]{display:none !important;}

.portal-admin-session{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px !important;
  gap:0 !important;
  align-items:center !important;
}
.portal-admin-session .portal-admin-action-btn{
  min-height:30px !important;
  height:30px !important;
  margin:0 !important;
  padding:0 8px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#536b86 !important;
  font-size:10.5px !important;
  font-weight:750 !important;
  line-height:1 !important;
  gap:5px !important;
}
.portal-admin-session .portal-admin-action-btn + .portal-admin-action-btn{
  border-left:1px solid #e4e9ef !important;
}
.portal-admin-session .portal-admin-action-btn:hover{
  background:#f7f9fc !important;
  color:#173e6d !important;
}
.portal-admin-session .portal-admin-action-btn.preview-on{
  background:transparent !important;
  color:#1f5d9f !important;
  font-weight:850 !important;
}
.portal-admin-session .portal-admin-action-btn .ico{
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  font-size:12px !important;
  opacity:.82 !important;
}
.portal-admin-session .portal-admin-action-btn.logout{
  grid-column:auto !important;
  min-width:34px !important;
  width:34px !important;
  min-height:30px !important;
  height:30px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-left:1px solid #e4e9ef !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#9a5861 !important;
}
.portal-admin-session .portal-admin-action-btn.logout:hover{
  background:#fff7f8 !important;
  color:#bf3f4e !important;
}
.portal-admin-session .portal-admin-action-btn.logout .ico{
  font-size:15px !important;
}

@media(min-width:901px){
  .portal-admin-panel{
    margin-top:11px !important;
    padding-top:8px !important;
  }
}

@media(max-width:900px){
  .portal-admin-session{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px !important;
    gap:0 !important;
  }
  .portal-admin-session .portal-admin-action-btn{
    min-height:30px !important;
    height:30px !important;
    padding:0 6px !important;
    font-size:10.5px !important;
  }
}

@media(max-width:720px){
  /* 실제 모바일에서는 기존 정책대로 모바일 미리보기 버튼을 감추고 두 칸으로 정리 */
  #portalMobilePreviewBtn{display:none !important;}
  .portal-admin-session{
    grid-template-columns:minmax(0,1fr) 34px !important;
  }
}

@media(max-width:900px){
  /* 전체 메뉴 영역은 흰 패널, 브랜드 영역만 네이비로 분리 */
  .sidebar{
    padding:0 !important;
    background:#fff !important;
    color:#173a66 !important;
    border-bottom:1px solid #dfe7f0 !important;
    box-shadow:0 4px 16px rgba(16,44,77,.06) !important;
    overflow:visible !important;
  }
  .brand{
    position:relative !important;
    min-height:78px !important;
    margin:0 !important;
    padding:13px 12px 12px 14px !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
    background:
      radial-gradient(circle at 108% 34%,rgba(126,166,216,.16) 0 42px,transparent 43px),
      radial-gradient(circle at 104% 50%,transparent 0 54px,rgba(126,166,216,.10) 55px 57px,transparent 58px),
      linear-gradient(145deg,#102f54 0%,#143b67 58%,#173f6d 100%) !important;
    color:#fff !important;
  }
  .brand::after{
    content:"";
    position:absolute;
    right:-12px;
    bottom:7px;
    width:82px;
    height:42px;
    opacity:.11;
    border-top:2px solid #a9c1dd;
    border-bottom:2px solid #a9c1dd;
    background:repeating-linear-gradient(90deg,transparent 0 9px,#a9c1dd 9px 11px,transparent 11px 20px);
    pointer-events:none;
  }
  .brand-title,
  .brand-sub,
  .mobile-session-summary,
  .mobile-admin-toggle,
  .mobile-quick-toggle{position:relative !important;z-index:1 !important;}
  .brand-title{
    color:#fff !important;
    font-weight:900 !important;
    letter-spacing:-.035em !important;
  }
  .brand-sub{
    color:#cfdeee !important;
    font-weight:730 !important;
  }
  .mobile-session-summary{
    color:#dbe8f7 !important;
  }
  .mobile-session-title{color:#f4f8fc !important;}
  .mobile-session-period{color:#bfd0e2 !important;}
  .mobile-admin-toggle,
  .mobile-quick-toggle{
    color:#f2f7fc !important;
    opacity:.9 !important;
    border-radius:8px !important;
  }
  .mobile-admin-toggle:hover,
  .mobile-quick-toggle:hover,
  .mobile-admin-toggle:active,
  .mobile-admin-toggle[aria-pressed="true"],
  .mobile-quick-toggle:active,
  .mobile-quick-toggle[aria-expanded="true"]{
    background:rgba(255,255,255,.09) !important;
  }

  /* 모바일 주메뉴도 흰 패널 + 연한 파란 활성행으로 통일 */
  .nav{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:3px !important;
    margin:0 !important;
    padding:8px 9px 9px !important;
    overflow-x:auto !important;
    background:#fff !important;
    border-bottom:0 !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch;
  }
  .nav::-webkit-scrollbar{display:none !important;}
  .nav a,
  .nav .nav-api-diag{
    flex:0 0 auto !important;
    width:auto !important;
    min-height:44px !important;
    margin:0 !important;
    padding:0 14px !important;
    gap:8px !important;
    border:0 !important;
    border-radius:9px !important;
    background:transparent !important;
    color:#264766 !important;
    opacity:1 !important;
    font-size:15px !important;
    line-height:1 !important;
    font-weight:760 !important;
    white-space:nowrap !important;
    box-shadow:none !important;
  }
  .nav a:hover,
  .nav .nav-api-diag:hover{
    background:#f4f7fb !important;
    color:#173e6d !important;
  }
  .nav a.active{
    background:linear-gradient(90deg,#edf5ff,#e9f3ff) !important;
    color:#0e55b7 !important;
    box-shadow:inset 0 0 0 1px rgba(47,111,214,.035) !important;
  }
  .nav .ico,
  .nav .nav-api-diag .ico{
    width:20px !important;
    min-width:20px !important;
    color:currentColor !important;
    opacity:1 !important;
    font-size:18px !important;
    line-height:1 !important;
    filter:saturate(.15) brightness(.78) !important;
  }

  /* 자주 가는 사이트 팝업도 어두운 카드 대신 같은 흰 패널 계열 */
  .quick-links{
    top:76px !important;
    left:9px !important;
    right:9px !important;
    margin:0 !important;
    padding:9px 10px !important;
    border:1px solid #dfe7f0 !important;
    border-radius:13px !important;
    background:#fff !important;
    box-shadow:0 14px 34px rgba(16,44,77,.16) !important;
  }
  .quick-links-list{
    gap:0 !important;
  }
  .quick-link{
    min-height:40px !important;
    padding:0 7px !important;
    border:0 !important;
    border-bottom:1px solid #edf1f5 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#294664 !important;
    box-shadow:none !important;
    font-size:11px !important;
    font-weight:680 !important;
  }
  .quick-link:nth-last-child(-n/**/+2){border-bottom:0 !important;}
  .quick-link:hover{background:#f7f9fc !important;color:#173d6a !important;}
  .quick-link-icon{
    width:25px !important;
    height:25px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#173d6a !important;
    font-size:13px !important;
    filter:saturate(.15) brightness(.78) !important;
  }
}

@media(max-width:430px){
  .brand{
    min-height:72px !important;
    padding:11px 9px 10px 12px !important;
  }
  .brand::after{width:72px;height:38px;right:-10px;bottom:6px;}
  .nav{padding:7px 7px 8px !important;gap:2px !important;}
  .nav a,
  .nav .nav-api-diag{
    min-height:34px !important;
    padding:0 9px !important;
    font-size:11px !important;
  }
  .nav .ico,
  .nav .nav-api-diag .ico{font-size:13px !important;}
  .quick-links{
    top:70px !important;
    left:7px !important;
    right:7px !important;
    padding:8px 9px !important;
  }
  .quick-link{min-height:38px !important;font-size:10.8px !important;}
}

.committee-info-page{
  padding:22px;
}
.committee-info-shell{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.committee-info-hero{
  background:#fff;
  border:1px solid #dbe3ec;
  border-radius:22px;
  padding:22px 24px;
  box-shadow:0 10px 24px rgba(15, 43, 77, .06);
}
.committee-info-hero-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.committee-info-hero h1{
  margin:0;
  font-size:28px;
  line-height:1.2;
  color:#133a68;
  font-weight:800;
}
.committee-info-sub{
  margin-top:8px;
  color:#5f7287;
  font-size:14px;
  line-height:1.6;
}
.committee-info-era-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  background:#eaf2fb;
  color:#1d5fbf;
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
}
.committee-info-note{
  margin-top:14px;
  padding:10px 12px;
  border-radius:14px;
  background:#f5f8fc;
  color:#5b6c7d;
  font-size:13px;
  line-height:1.5;
}
.committee-info-filter-card,
.committee-info-list-card{
  background:#fff;
  border:1px solid #dbe3ec;
  border-radius:22px;
  box-shadow:0 10px 24px rgba(15, 43, 77, .05);
}
.committee-info-filter-card{ padding:16px 18px; }
.committee-info-filter-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.committee-info-filter-top strong{
  font-size:18px;
  color:#15385f;
}
.committee-info-count{
  color:#6a7b8d;
  font-size:13px;
  font-weight:700;
}
.committee-info-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.committee-info-chip-group{ display:flex; flex-wrap:wrap; gap:8px; }
.committee-info-chip{
  appearance:none;
  border:1px solid #d7e2ee;
  background:#fff;
  color:#38516c;
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.committee-info-chip.active{
  background:#edf4ff;
  border-color:#bfd5f4;
  color:#1957b2;
}
.committee-info-controls{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.committee-info-select,
.committee-info-search{
  border:1px solid #d7e2ee;
  border-radius:12px;
  background:#fff;
  color:#22384f;
  font-size:13px;
  padding:10px 12px;
  height:40px;
}
.committee-info-select{ min-width:118px; }
.committee-info-search{ min-width:220px; flex:1 1 260px; }
.committee-info-list-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px 12px;
}
.committee-info-list-head strong{
  font-size:18px;
  color:#15385f;
}
.committee-info-list-head .committee-info-list-sub{
  margin-top:4px;
  color:#6f8092;
  font-size:13px;
}
.committee-info-refresh-btn{
  appearance:none;
  border:1px solid #d7e2ee;
  border-radius:12px;
  background:#fff;
  color:#36506a;
  padding:9px 12px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.committee-info-list-body{ padding:0 20px 18px; }
.committee-info-loading,
.committee-info-empty{
  padding:28px 16px;
  text-align:center;
  color:#6f8092;
  font-size:14px;
}
.committee-meeting-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.committee-meeting-item{
  border:1px solid #e0e8f1;
  border-radius:18px;
  background:#fbfdff;
  overflow:hidden;
}
.committee-meeting-summary{
  display:grid;
  grid-template-columns:132px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:16px 18px;
}
.committee-meeting-date{
  color:#143f74;
  font-size:15px;
  font-weight:800;
  letter-spacing:-.02em;
}
.committee-meeting-date small{
  display:block;
  margin-top:4px;
  color:#7b8b9b;
  font-size:11px;
  font-weight:600;
}
.committee-meeting-main{ min-width:0; }
.committee-meeting-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.committee-meeting-title{
  min-width:0;
  color:#18395f;
  font-size:15px;
  font-weight:800;
  line-height:1.45;
  word-break:keep-all;
}
.committee-meeting-new{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  padding:3px 7px;
  border-radius:999px;
  background:#fef0ef;
  color:#d94b49;
  font-size:11px;
  font-weight:800;
}
.committee-meeting-meta{
  margin-top:6px;
  color:#718295;
  font-size:12px;
}
.committee-meeting-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.committee-meeting-btn,
.committee-meeting-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  appearance:none;
  border:1px solid #d8e3ee;
  border-radius:11px;
  background:#fff;
  color:#26415c;
  padding:8px 11px;
  font-size:12.5px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.committee-meeting-btn.primary{
  background:#edf4ff;
  border-color:#bfd5f4;
  color:#1b58b4;
}
.committee-meeting-detail{
  border-top:1px solid #e4ebf3;
  background:#fff;
  padding:0 18px 18px;
}
.committee-detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:14px;
  margin-bottom:14px;
}
.committee-detail-meta span{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background:#f4f7fb;
  color:#587089;
  font-size:12px;
  font-weight:700;
}
.committee-agenda-box{
  border:1px solid #e3ebf4;
  border-radius:14px;
  background:#fbfcfe;
}
.committee-agenda-head{
  padding:12px 14px;
  border-bottom:1px solid #e6edf5;
  color:#20486f;
  font-size:13px;
  font-weight:800;
}
.committee-agenda-list{
  list-style:none;
  margin:0;
  padding:10px 14px 12px;
}
.committee-agenda-list li{
  display:flex;
  gap:10px;
  padding:7px 0;
  color:#314a63;
  font-size:13px;
  line-height:1.55;
  border-bottom:1px dashed #ebf0f5;
}
.committee-agenda-list li:last-child{ border-bottom:0; }
.committee-agenda-no{
  flex:0 0 auto;
  min-width:22px;
  color:#8aa0b5;
  font-weight:700;
}
.committee-agenda-empty,
.committee-agenda-loading{
  padding:16px 14px 18px;
  color:#6f8092;
  font-size:13px;
}
@media (max-width:900px){
  .committee-info-page{ padding:12px; }
  .committee-info-hero,
  .committee-info-filter-card,
  .committee-info-list-card{ border-radius:18px; }
  .committee-info-hero{ padding:18px 16px; }
  .committee-info-hero-top{ flex-direction:column; align-items:flex-start; }
  .committee-info-hero h1{ font-size:22px; }
  .committee-info-sub{ font-size:13px; }
  .committee-info-note{ font-size:12px; }
  .committee-info-filter-top,
  .committee-info-list-head{ flex-direction:column; align-items:flex-start; }
  .committee-info-filter-card{ padding:14px 14px; }
  .committee-info-list-head{ padding:16px 16px 10px; }
  .committee-info-list-body{ padding:0 16px 16px; }
  .committee-info-controls{ width:100%; }
  .committee-info-select,
  .committee-info-search{ width:100%; min-width:0; }
  .committee-meeting-summary{
    grid-template-columns:1fr;
    gap:10px;
    padding:14px;
  }
  .committee-meeting-date{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
  }
  .committee-meeting-date small{ display:inline; margin-top:0; font-size:11px; }
  .committee-meeting-title-row{ align-items:flex-start; }
  .committee-meeting-title{
    font-size:14px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .committee-meeting-actions{
    justify-content:flex-start;
    gap:6px;
  }
  .committee-meeting-btn,
  .committee-meeting-link{ font-size:12px; padding:8px 10px; }
  .committee-meeting-detail{ padding:0 14px 14px; }
  .committee-agenda-head{ font-size:12.5px; }
  .committee-agenda-list li{ font-size:12.5px; }
}

.committee-info-simple-head{margin-bottom:16px;}
.committee-info-simple-head h1{margin:0!important}
.committee-info-filter-row-inline{display:flex;align-items:center;justify-content:space-between;gap:14px}
.committee-info-filter-row-inline .committee-info-controls{margin-left:auto}
.committee-info-source-state{margin-top:10px;color:#7b8b9b;font-size:11.5px;line-height:1.45;min-height:0}
.committee-info-source-state:empty{display:none}
@media(max-width:900px){
  
  .committee-info-simple-head{margin-bottom:12px}
  .committee-info-filter-row-inline{align-items:stretch;flex-direction:column}
  .committee-info-filter-row-inline .committee-info-controls{margin-left:0;width:100%}
  .committee-info-source-state{font-size:10.5px}
}

.committee-info-page{padding:18px 22px 26px!important}
.committee-info-shell{max-width:1380px!important;}
.committee-info-combined-card{border-radius:18px!important;}
.committee-info-simple-head{align-items:center!important;margin-bottom:16px!important}
.committee-info-simple-head h1{font-size:26px!important}
.committee-info-filter-row-inline{justify-content:space-between!important;gap:16px!important}
.committee-info-list-card{border-radius:18px!important;overflow:hidden!important}
.committee-info-list-head{padding:17px 20px!important;border-bottom:1px solid #e4e9ef!important}
.committee-info-list-head strong{font-size:18px!important}
.committee-info-list-body{padding:0!important}
.committee-meeting-list{display:block!important;border:0!important;border-radius:0!important;overflow:visible!important;background:#fff!important}
.committee-meeting-table-head,
.committee-meeting-summary{
  display:grid!important;
  
  align-items:center!important;
  
}
.committee-meeting-table-head{
  
  background:#f7f8fa!important;
  color:#303942!important;
  font-size:13px!important;
  font-weight:800!important;
  border-bottom:1px solid #dfe5ec!important;
}
.committee-meeting-item{
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  overflow:visible!important;
  border-bottom:1px solid #e4e9ef!important;
}
.committee-meeting-item:last-child{border-bottom:0!important}

.committee-meeting-type{color:#273746!important;font-size:13.5px!important;white-space:nowrap!important;}
.committee-meeting-main{min-width:0!important}
.committee-meeting-title{font-weight:700!important;color:#1d2c3c!important;}
.committee-meeting-date{font-size:13.5px!important;font-weight:600!important;color:#364656!important;white-space:nowrap!important}
.committee-meeting-date small,.committee-meeting-title-row,.committee-meeting-meta,.committee-meeting-new{display:contents!important}
.committee-meeting-center{display:flex!important;align-items:center!important;}
.committee-meeting-agenda-btn,
.committee-meeting-video-link,
.committee-meeting-icon-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  border:1px solid #1b4b97!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#173f82!important;
  font-size:12.5px!important;
  font-weight:800!important;
  text-decoration:none!important;
  padding:7px 10px!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
.committee-meeting-video-link.is-button{font-family:inherit!important}
.committee-meeting-icon-link.pdf{width:40px!important;padding:7px 5px!important}
.committee-meeting-na{font-size:14px!important;}
.committee-meeting-detail{
  border-top:1px solid #edf1f5!important;
  background:#fafbfc!important;
  padding:13px 18px 16px!important;
}
.committee-detail-meta,.committee-agenda-box,.committee-agenda-head{display:contents!important}
.committee-agenda-plain-list{display:flex!important;flex-direction:column!important;gap:7px!important;padding:0!important}
.committee-agenda-plain-item{font-size:13px!important;line-height:1.55!important;color:#34495e!important;padding:0!important;border:0!important}
.committee-agenda-loading,.committee-agenda-empty{padding:2px 0!important;text-align:left!important;font-size:13px!important;color:#718096!important}
@media(max-width:900px){
  .committee-info-page{padding:10px!important}
  
  .committee-info-simple-head h1{font-size:22px!important}
  .committee-info-filter-row-inline{align-items:stretch!important}
  .committee-info-chip-group{width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  .committee-info-controls{width:100%!important}
  .committee-info-list-card{overflow:hidden!important}
  .committee-info-list-body{overflow-x:auto!important}

  .committee-meeting-table-head{font-size:12px!important;}
  
  .committee-meeting-title{font-size:13px!important}
  .committee-meeting-type,.committee-meeting-date{font-size:12.5px!important}
  .committee-meeting-agenda-btn,.committee-meeting-video-link,.committee-meeting-icon-link{font-size:12px!important;min-height:32px!important;padding:6px 8px!important}
  .committee-meeting-detail{padding:12px 14px 14px!important}
}

.committee-meeting-summary-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  border:1px solid #1b4b97!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#173f82!important;
  font-size:12.5px!important;
  font-weight:800!important;
  text-decoration:none!important;
  padding:7px 10px!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  
  .committee-meeting-summary{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:8px 10px!important;
    
  }

  .committee-meeting-summary>div:nth-child(4),
  .committee-meeting-summary>div:nth-child(5),
  .committee-meeting-summary>div:nth-child(6),
  .committee-meeting-summary>div:nth-child(7){
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }
}

.committee-meeting-time{
  font-size:13px!important;
  font-weight:700!important;
  color:#405266!important;
  white-space:nowrap!important;
  text-align:center!important;
}
.committee-meeting-time.is-loading{color:#98a6b5!important;font-weight:600!important;}
@media(max-width:900px){

  .committee-meeting-summary>div:nth-child(3){grid-column:auto!important;}
  .committee-meeting-summary>div:nth-child(n/**/+4){grid-column:auto!important;}
}

@media(max-width:760px){
  #homePage .assembly-press-card .card-head,
  #homePage .events .card-head{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:nowrap!important;
    gap:10px!important;
  }
  #homePage .assembly-press-card .card-title,
  #homePage .events .card-title{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
  #homePage .assembly-press-head-actions,
  #homePage .events .event-head-links{
    width:auto!important;
    flex:0 1 auto!important;
    min-width:0!important;
    margin-left:auto!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
  }
  #homePage .assembly-press-board-link,
  #homePage .seminar-direct-link{
    white-space:nowrap!important;
  }
  /* 행사 API 상태는 모바일 헤더에서는 숨겨 링크 공간 확보 */
  #homePage .events #memberEventApiState,
  #homePage .events .event-head-sep{display:none!important;}
}
@media(max-width:430px){
  #homePage .assembly-press-card .card-head,
  #homePage .events .card-head{gap:7px!important;}
  #homePage .assembly-press-board-link,
  #homePage .seminar-direct-link{font-size:11.5px!important;}
}

.audit-calendar-card .calendar-card-head{padding-bottom:12px}
.audit-calendar-card .audit-source-note{font-size:11px;font-weight:700;color:#7a899d;white-space:nowrap}
.audit-calendar-card .audit-calendar-top{justify-content:center;padding:0 0 14px}
.audit-calendar-card .audit-month-title{min-width:0!important}
.audit-calendar-card .audit-badge{background:#5f7087;border:0;font-family:inherit}
.audit-calendar-card .audit-badge.welfare{background:#cf3447}
.audit-calendar-card .audit-badge:hover{filter:brightness(.94)}
.audit-calendar-card .audit-empty-day{background:#fafbfd}
.audit-detail-list{display:flex;flex-direction:column;gap:16px}
.audit-detail-group{padding:2px 0}
.audit-detail-location{font-size:13px;line-height:1.4;color:#173a66;font-weight:850;margin-bottom:6px}
.audit-detail-targets{font-size:13px;line-height:1.65;color:#26384e;word-break:keep-all;overflow-wrap:anywhere}
.audit-modal .schedule-modal-body{padding-top:10px}
@media(max-width:900px){
  .audit-calendar-card .audit-source-note{font-size:8.5px}
  .audit-calendar-card .audit-calendar-top{padding-bottom:8px}
  .audit-calendar-card .audit-badge{font-size:7px!important}
}
@media(max-width:430px){
  .audit-calendar-card .audit-source-note{font-size:9px}
  .audit-calendar-card .audit-badge{font-size:8px!important}
  .audit-detail-location,.audit-detail-targets{font-size:12px}
}

.nav a.admin-only-nav[hidden]{display:none !important;}
.nav a.admin-only-nav:not([hidden]){display:flex !important;}

.committee-info-combined-card{
  padding:16px 20px!important;
}
.committee-info-filter-row-inline{
  margin-top:0!important;
}
.committee-info-list-actions{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}
.committee-info-list-actions .committee-info-count{
  white-space:nowrap!important;
}

/* 회의명에 가장 많은 폭을 주고, 기능 열은 압축 */

/* 표 제목은 모두 가운데 정렬 */
.committee-meeting-table-head > div{
  text-align:center!important;
  justify-self:stretch!important;
}

/* 본문은 회의명만 좌측, 나머지는 가운데 */
.committee-meeting-summary > div{
  text-align:center!important;
  justify-self:center!important;
}
.committee-meeting-summary > div:nth-child(2){
  text-align:left!important;
  justify-self:stretch!important;
  min-width:0!important;
}
.committee-meeting-main,
.committee-meeting-title{
  text-align:left!important;
}
.committee-meeting-summary{
  padding:9px 16px!important;
  min-height:48px!important;
}
.committee-meeting-table-head{
  padding:10px 16px!important;
}
.committee-meeting-title{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:keep-all!important;
  line-height:1.35!important;
  font-size:13.5px!important;
}
.committee-meeting-center{
  justify-content:center!important;
}
.committee-meeting-audit-targets{
  margin-top:3px;
  color:#6e7f91;
  font-size:10.5px;
  line-height:1.35;
  font-weight:600;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.committee-meeting-date,
.committee-meeting-time,
.committee-meeting-type{
  font-size:12.5px!important;
}

/* 회의종류를 연한 톤으로 구분 */
.committee-meeting-type{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:72px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  font-weight:800!important;
  line-height:1.2!important;
}
.committee-meeting-type.is-plenary{
  background:#eef4ff!important;
  color:#335d9b!important;
}
.committee-meeting-type.is-subcommittee{
  background:#eef8f3!important;
  color:#2f6f57!important;
}
.committee-meeting-type.is-audit{
  background:#fff5ea!important;
  color:#9a6330!important;
}

/* 버튼형 표현을 제거하고 링크형 텍스트로 통일 */
.committee-meeting-agenda-btn,
.committee-meeting-summary-link,
.committee-meeting-video-link,
.committee-meeting-video-link.is-button,
.committee-meeting-icon-link,
.committee-meeting-icon-link.pdf{
  display:inline!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#174f99!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  appearance:none!important;
}
.committee-meeting-agenda-btn:hover,
.committee-meeting-summary-link:hover,
.committee-meeting-video-link:hover,
.committee-meeting-icon-link:hover{
  color:#0d3973!important;
}
.committee-meeting-na{
  color:#a2adba!important;
  text-decoration:none!important;
}

@media(max-width:1100px){

}
@media(max-width:900px){
  .committee-info-combined-card{padding:14px 16px!important;}
  .committee-info-list-head{align-items:center!important;flex-direction:row!important;}
  .committee-info-list-actions{margin-left:auto!important;gap:10px!important;}
  .committee-meeting-table-head{display:grid!important;}

  .committee-meeting-summary{
    padding:8px 12px!important;
  }
  .committee-meeting-table-head{
    padding:10px 12px!important;
  }
  .committee-meeting-type{
    min-width:64px!important;
    padding:3px 8px!important;
  }
  .committee-meeting-audit-targets{font-size:10px;line-height:1.35;}
}

.committee-info-page{padding-top:18px!important;}
.committee-info-shell{gap:0!important;}
.committee-info-unified-card{overflow:hidden!important;}
.committee-info-unified-head{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  padding:12px 18px!important;
  min-height:62px!important;
}
.committee-info-list-title{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  font-size:18px!important;
  margin-right:4px!important;
}
.committee-info-unified-filters{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  min-width:0!important;
  flex:1 1 auto!important;
  margin-left:2px!important;
}
.committee-info-unified-filters .committee-info-chip-group{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  flex:0 0 auto!important;
}
.committee-info-unified-filters .committee-info-chip{
  padding:6px 11px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.committee-info-unified-filters .committee-info-select{
  flex:0 0 108px!important;
  min-width:108px!important;
  width:108px!important;
  height:34px!important;
  padding:6px 9px!important;
  font-size:12px!important;
}
.committee-info-unified-filters .committee-info-search{
  flex:1 1 220px!important;
  min-width:170px!important;
  max-width:300px!important;
  height:34px!important;
  padding:6px 10px!important;
  font-size:12.5px!important;
}
.committee-info-unified-head .committee-info-list-actions{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  gap:9px!important;
}
.committee-info-unified-head .committee-info-count{
  font-size:12px!important;
  white-space:nowrap!important;
}
.committee-info-unified-head .committee-info-refresh-btn{
  padding:7px 9px!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
/* 데스크톱에서는 반드시 같은 줄 유지. 폭이 좁아질 때만 아래 줄 허용 */
@media(max-width:1080px){
  .committee-info-unified-head{flex-wrap:wrap!important;row-gap:8px!important;}
  .committee-info-unified-filters{order:3;flex:1 0 100%!important;margin-left:0!important;}
  .committee-info-unified-filters .committee-info-search{max-width:none!important;}
}
@media(max-width:900px){
  .committee-info-unified-head{padding:11px 14px!important;}
  .committee-info-unified-filters{overflow-x:auto!important;padding-bottom:2px!important;}
  .committee-info-unified-filters .committee-info-chip-group{overflow:visible!important;width:auto!important;}
  .committee-info-unified-filters .committee-info-select{flex:0 0 104px!important;min-width:104px!important;width:104px!important;}
  .committee-info-unified-filters .committee-info-search{flex:0 0 180px!important;min-width:180px!important;}
}

.portal-version-label{
  margin-left:6px;
  font-size:10px;
  font-weight:600;
  color:#9aa9ba;
  opacity:.72;
  letter-spacing:.01em;
  vertical-align:baseline;
}
@media(max-width:900px){
  .portal-version-label{display:none!important;}
}

.committee-meeting-table-head,
.committee-meeting-summary{
  grid-template-columns:
    94px
    minmax(420px,5fr)
    minmax(92px,1fr)
    minmax(108px,1.15fr)
    minmax(94px,1fr)
    minmax(58px,.65fr)!important;
  column-gap:10px!important;
}
.committee-meeting-title-btn{
  display:inline!important;
  width:auto!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#1d2c3c!important;
  font-family:inherit!important;
  font-size:13.5px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
  appearance:none!important;
}
.committee-meeting-title-btn:hover{
  color:#1d2c3c!important;
  text-decoration:none!important;
}
.committee-meeting-title-btn:focus-visible{
  outline:2px solid rgba(47,111,214,.28)!important;
  outline-offset:3px!important;
  border-radius:2px!important;
}
@media(max-width:1100px){
  .committee-meeting-list{min-width:850px!important;}
  .committee-meeting-table-head,
  .committee-meeting-summary{
    grid-template-columns:
      90px
      minmax(390px,4.6fr)
      minmax(84px,1fr)
      minmax(98px,1.1fr)
      minmax(80px,.9fr)
      minmax(50px,.58fr)!important;
    column-gap:8px!important;
  }
}
@media(max-width:900px){
  .committee-meeting-list{min-width:820px!important;}
  .committee-meeting-table-head,
  .committee-meeting-summary{
    grid-template-columns:86px 400px 82px 92px 76px 50px!important;
    column-gap:6px!important;
  }
  .committee-meeting-title-btn{font-size:13px!important;}
}

.composition-toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
}
.composition-toolbar .composition-tabs{
  flex:1 1 auto;
  min-width:0;
  margin-top:0!important;
}
.composition-toolbar .members-admin-tools{
  flex:0 0 auto;
  margin:0 0 0 auto!important;
  align-items:center!important;
}

/* meeting_support.htm의 '회의 중'과 동일한 연두색 계열 */
.nav a .nav-label{white-space:nowrap;}
.nav-meeting-live-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:auto;
  padding:2px 6px;
  border-radius:999px;
  background:#e7f7ee;
  color:#176b43;
  box-shadow:0 0 0 1px #a8dec2 inset;
  font-size:9.5px;
  line-height:1.45;
  font-weight:800;
  white-space:nowrap;
}
.nav-meeting-live-badge[hidden]{display:none!important;}

@media(max-width:900px){
  .composition-toolbar{gap:8px;}
  .composition-toolbar .composition-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .composition-toolbar .composition-tabs::-webkit-scrollbar{display:none;}
  .nav-meeting-live-badge{font-size:9px;padding:2px 5px;}
}

/* ===== v237 관리자 전용 국정감사 지원 ===== */
.audit-support-page{
  padding:18px 22px 28px;
  background:#f3f5f8;
  min-height:calc(100vh - 82px);
}
.audit-support-shell{
  max-width:1440px;
  margin:0 auto;
}
.audit-support-card{
  overflow:hidden;
}
.audit-support-card-head{
  min-height:68px;
  padding:15px 18px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid #e4e9ef;
}
.audit-support-card-head .card-title{
  color:#172c43;
  font-size:17px;
  font-weight:850;
}
.audit-support-subtitle{
  margin-top:4px;
  color:#7a889a;
  font-size:11.5px;
  font-weight:650;
}
.audit-support-view-toggle{
  display:inline-flex;
  align-items:center;
  padding:3px;
  border:1px solid #d8e0e9;
  border-radius:9px;
  background:#f4f6f9;
}
.audit-support-view-btn{
  min-width:66px;
  height:32px;
  padding:0 13px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#67798e;
  font-family:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.audit-support-view-btn.active{
  background:#174b7e;
  color:#fff;
  box-shadow:0 1px 4px rgba(17,61,103,.15);
}
.audit-support-body{
  padding:0 18px 18px;
}
.audit-support-loading,
.audit-support-error{
  padding:36px 12px;
  text-align:center;
  color:#718198;
  font-size:13px;
  font-weight:700;
}

/* 목록형 */
.audit-support-list-view{
  padding-top:12px;
}
.audit-support-list-head{
  display:grid;
  grid-template-columns:150px 90px 150px minmax(0,1fr);
  gap:0;
  padding:0 16px 8px;
  color:#8793a3;
  font-size:11px;
  font-weight:800;
}
.audit-support-list-item{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  align-items:stretch;
  border-top:1px solid #e4e9ef;
  background:#fff;
}
.audit-support-list-item:last-child{
  border-bottom:1px solid #e4e9ef;
}
.audit-support-day{
  padding:15px 16px;
  display:flex;
  flex-direction:column;
  gap:5px;
  border-right:1px solid #edf0f4;
}
.audit-support-day strong{
  color:#184d7d;
  font-size:13px;
  font-weight:900;
}
.audit-support-day span{
  color:#6f8093;
  font-size:11.5px;
  font-weight:700;
}
.audit-support-sessions{
  min-width:0;
}
.audit-support-session-row{
  display:grid;
  grid-template-columns:90px 150px minmax(0,1fr);
  min-height:58px;
  align-items:center;
}
.audit-support-session-row + .audit-support-session-row{
  border-top:1px dashed #e4e9ef;
}
.audit-support-time,
.audit-support-place,
.audit-support-targets{
  padding:12px 16px;
  min-width:0;
}
.audit-support-time{
  color:#173f68;
  font-size:12.5px;
  font-weight:850;
}
.audit-support-place{
  color:#40546b;
  font-size:12.5px;
  font-weight:750;
}
.audit-support-targets{
  color:#2b3e53;
  font-size:12.5px;
  line-height:1.58;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

/* 달력형 */
.audit-support-calendar-view{
  padding-top:12px;
}
.audit-support-calendar-meta{
  height:38px;
  padding:0 4px 8px;
  display:flex;
  align-items:center;
  gap:10px;
}
.audit-support-calendar-meta strong{
  color:#183752;
  font-size:15px;
  font-weight:900;
}
.audit-support-calendar-meta span{
  color:#8793a3;
  font-size:11px;
  font-weight:700;
}
.audit-support-calendar-weekdays{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  border-top:1px solid #dce3eb;
  border-left:1px solid #dce3eb;
  background:#f7f9fb;
}
.audit-support-calendar-weekdays span{
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid #dce3eb;
  border-bottom:1px solid #dce3eb;
  color:#738297;
  font-size:11px;
  font-weight:800;
}
.audit-support-calendar{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  border-left:1px solid #dce3eb;
}
.audit-support-cal-day{
  min-height:145px;
  padding:9px 9px 10px;
  border-right:1px solid #dce3eb;
  border-bottom:1px solid #dce3eb;
  background:#fff;
}
.audit-support-cal-day.outside{
  background:#fafbfd;
}
.audit-support-cal-day.audit-day{
  background:#f7fbff;
  box-shadow:inset 3px 0 0 #2a669e;
}
.audit-support-cal-top{
  min-height:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
}
.audit-support-cal-date{
  color:#63758a;
  font-size:12px;
  font-weight:800;
}
.audit-support-cal-badge{
  padding:3px 7px;
  border-radius:999px;
  background:#e6f0fa;
  color:#174f80;
  font-size:9.5px;
  font-weight:900;
  white-space:nowrap;
}
.audit-support-cal-session{
  margin-top:7px;
  padding-top:7px;
  border-top:1px solid #e4edf5;
}
.audit-support-cal-session-meta{
  color:#1d4d78;
  font-size:10px;
  font-weight:850;
  line-height:1.35;
}
.audit-support-cal-targets{
  margin-top:4px;
  color:#41546a;
  font-size:10.5px;
  line-height:1.45;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

/* 좁은 화면 */
@media(max-width:980px){
  .audit-support-list-head{
    grid-template-columns:125px 76px 120px minmax(0,1fr);
  }
  .audit-support-list-item{
    grid-template-columns:125px minmax(0,1fr);
  }
  .audit-support-session-row{
    grid-template-columns:76px 120px minmax(0,1fr);
  }
  .audit-support-time,
  .audit-support-place,
  .audit-support-targets{
    padding-left:11px;
    padding-right:11px;
  }
  .audit-support-cal-day{min-height:130px}
}
@media(max-width:720px){
  .audit-support-page{
    padding:10px 10px 18px;
    min-height:calc(100dvh - 104px);
  }
  .audit-support-card-head{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    padding:13px 14px 12px;
  }
  .audit-support-view-toggle{
    align-self:stretch;
  }
  .audit-support-view-btn{
    flex:1;
  }
  .audit-support-body{
    padding:0 10px 12px;
  }
  .audit-support-list-head{
    display:none;
  }
  .audit-support-list-item{
    grid-template-columns:1fr;
    padding:0;
  }
  .audit-support-day{
    padding:12px 10px 8px;
    border-right:0;
    border-bottom:1px solid #edf0f4;
    flex-direction:row;
    align-items:center;
    gap:8px;
  }
  .audit-support-session-row{
    grid-template-columns:62px 90px minmax(0,1fr);
    min-height:52px;
  }
  .audit-support-time,
  .audit-support-place,
  .audit-support-targets{
    padding:10px 8px;
    font-size:11.5px;
  }
  .audit-support-calendar-view{
    overflow-x:auto;
  }
  .audit-support-calendar-meta,
  .audit-support-calendar-weekdays,
  .audit-support-calendar{
    min-width:760px;
  }
  .audit-support-cal-day{
    min-height:132px;
  }
}

/* ===== v238 국정감사 지원 달력 가독성 조정 ===== */
.audit-support-calendar-weekdays span{
  font-size:13px;
}
.audit-support-cal-date{
  font-size:14px;
}
.audit-support-cal-badge{
  padding:4px 8px;
  font-size:11px;
}
.audit-support-cal-session-meta{
  font-size:12.5px;
  line-height:1.4;
}
.audit-support-cal-targets{
  margin-top:5px;
  font-size:12px;
  line-height:1.5;
}

/* ===== v239 회의정보 외부 열기 아이콘 ===== */
.committee-meeting-video-link,
.committee-meeting-video-link.is-button,
.committee-meeting-icon-link,
.committee-meeting-icon-link.pdf{
  text-decoration:none!important;
  text-underline-offset:0!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1!important;
}

/* ===== v240 국정감사 지원 상단 탭 ===== */
.audit-support-page{
  padding-top:14px;
}
.audit-support-shell{
  max-width:1480px;
}
.audit-support-tabs{
  display:flex;
  align-items:flex-end;
  gap:0;
  min-height:48px;
  border-bottom:1px solid #d7e0e9;
  background:#fff;
}
.audit-support-tab{
  position:relative;
  height:48px;
  padding:0 22px;
  border:0;
  background:transparent;
  color:#66788d;
  font-family:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}
.audit-support-tab:hover{color:#153f69}
.audit-support-tab.active{color:#123f6e}
.audit-support-tab.active::after{
  content:"";
  position:absolute;
  left:18px;right:18px;bottom:-1px;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#184f82;
}
.audit-support-panel{
  background:#fff;
  min-height:520px;
}
.audit-support-section-head,
.audit-witness-heading{
  min-height:70px;
  padding:16px 18px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid #e4e9ef;
}
.audit-support-section-title{
  color:#172e46;
  font-size:17px;
  font-weight:900;
}
.audit-support-body{padding-top:0}

/* 기존 카드형 외곽 무효화 */
.audit-support-card{border:0!important;border-radius:0!important;box-shadow:none!important}
.audit-support-card-head{display:none!important}

/* ===== 일반증인·참고인 관리 ===== */
.audit-witness-sync{
  color:#8a97a7;
  font-size:11px;
  font-weight:750;
}
.audit-witness-sync.ok{color:#2a735d}

.audit-witness-summary{
  display:flex;
  align-items:center;
  gap:0;
  padding:11px 18px;
  border-bottom:1px solid #e6ebf0;
  background:#f8fafc;
}
.audit-witness-summary>div{
  min-width:92px;
  padding:0 18px;
  border-left:1px solid #e0e6ed;
}
.audit-witness-summary>div:first-child{
  padding-left:0;border-left:0;
}
.audit-witness-summary span{
  margin-right:8px;
  color:#718096;
  font-size:11px;
  font-weight:750;
}
.audit-witness-summary strong{
  color:#1f3d59;
  font-size:14px;
  font-weight:900;
}
.audit-witness-summary .pending strong{color:#a05b22}
.audit-witness-summary .done strong{color:#34705d}

.audit-witness-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 18px;
  border-bottom:1px solid #dfe5ec;
  background:#fff;
}
.audit-witness-type-filter{
  display:flex;
  align-items:center;
  gap:4px;
}
.audit-witness-type-filter button{
  height:34px;
  padding:0 12px;
  border:1px solid #d4dde7;
  border-radius:7px;
  background:#fff;
  color:#5c7086;
  font-family:inherit;
  font-size:11.5px;
  font-weight:800;
  cursor:pointer;
}
.audit-witness-type-filter button.active{
  border-color:#9db9d3;
  background:#edf4fb;
  color:#174d7c;
}
.audit-witness-toolbar select,
.audit-witness-toolbar input[type="search"]{
  height:34px;
  border:1px solid #d4dde7;
  border-radius:7px;
  background:#fff;
  color:#31485f;
  font-family:inherit;
  font-size:11.5px;
  font-weight:700;
}
.audit-witness-toolbar select{padding:0 28px 0 10px}
.audit-witness-toolbar input[type="search"]{
  flex:1;
  min-width:180px;
  padding:0 12px;
}
.audit-witness-plenary-filter{
  height:34px;
  padding:0 12px;
  border:1px solid #d4dde7;
  border-radius:7px;
  background:#fff;
  color:#445d76;
  font-family:inherit;
  font-size:11.5px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
.audit-witness-plenary-filter strong{
  margin-left:4px;
  color:#9c531e;
}
.audit-witness-plenary-filter.active{
  border-color:#d9b28e;
  background:#fff6ed;
  color:#92501f;
}

.audit-witness-table-wrap{
  overflow-x:auto;
}
.audit-witness-table-head,
.audit-witness-row{
  display:grid;
  grid-template-columns:48px 78px 66px 90px minmax(180px,1.35fr) 112px 112px 130px minmax(150px,1fr) 28px;
  align-items:center;
  min-width:1228px;
}
.audit-witness-table-head{
  min-height:40px;
  padding:0 16px;
  border-bottom:1px solid #dfe5ec;
  background:#f5f7fa;
  color:#728197;
  font-size:10.5px;
  font-weight:850;
  text-align:left;
}
.audit-witness-row{
  width:100%;
  min-height:62px;
  padding:0 16px;
  border:0;
  border-bottom:1px solid #e6ebf0;
  background:#fff;
  color:#2b4055;
  font-family:inherit;
  font-size:11.8px;
  text-align:left;
  cursor:pointer;
}
.audit-witness-row:hover{background:#f8fbfe}
.audit-witness-row>span,
.audit-witness-row>strong{
  min-width:0;
  padding-right:12px;
}
.audit-witness-name{
  color:#17334f;
  font-size:12.8px;
  font-weight:900;
}
.audit-witness-affiliation,
.audit-witness-requesters,
.audit-witness-change{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.audit-witness-attendance{
  color:#244b6d;
  font-weight:850;
}
.audit-witness-attendance small{
  display:block;
  margin-top:3px;
  color:#78899b;
  font-size:9.5px;
  font-weight:650;
}
.audit-witness-open{
  color:#6e8298;
  font-size:21px;
  text-align:right;
}
.audit-witness-status,
.audit-witness-type{
  display:inline-flex;
  min-height:25px;
  padding:0 9px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  font-style:normal;
  font-size:10.5px;
  font-weight:850;
  white-space:nowrap;
}
.audit-witness-status.normal{background:#edf3f9;color:#356183}
.audit-witness-status.pending{background:#fff0df;color:#98531f}
.audit-witness-status.processed{background:#e9f5ef;color:#34705b}
.audit-witness-type.witness{background:#edf3fb;color:#2b5d8d}
.audit-witness-type.reference{background:#edf7f3;color:#2f735f}
.audit-witness-empty{
  padding:46px 18px;
  color:#8391a3;
  font-size:12px;
  font-weight:700;
  text-align:center;
}

/* ===== 우측 관리 drawer ===== */
.audit-witness-drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:1180;
  background:rgba(17,35,52,.22);
}
.audit-witness-drawer{
  position:fixed;
  top:0;right:0;bottom:0;
  z-index:1190;
  width:min(570px,92vw);
  overflow:hidden;
  transform:translateX(100%);
  background:#fff;
  box-shadow:-10px 0 34px rgba(24,45,66,.18);
  transition:transform .18s ease;
}
.audit-witness-drawer.open{transform:translateX(0)}
.audit-witness-drawer-head{
  height:76px;
  padding:13px 18px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #dde4eb;
  background:#f8fafc;
}
.audit-witness-drawer-head>div{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:9px;
}
.audit-witness-drawer-head span{
  grid-row:1;
  padding:3px 7px;
  border-radius:999px;
  background:#eaf2fa;
  color:#24577e;
  font-size:10px;
  font-weight:850;
}
.audit-witness-drawer-head strong{
  color:#17334f;
  font-size:17px;
  font-weight:900;
}
.audit-witness-drawer-head small{
  grid-column:1 / -1;
  margin-top:4px;
  color:#6f8092;
  font-size:11px;
  font-weight:650;
}
.audit-witness-drawer-head button{
  width:34px;height:34px;
  border:0;
  background:transparent;
  color:#607286;
  font-size:25px;
  cursor:pointer;
}
.audit-witness-drawer-body{
  height:calc(100vh - 76px);
  overflow:auto;
  padding:16px 18px 32px;
}
.audit-witness-drawer h3{
  margin:0 0 10px;
  color:#24415c;
  font-size:12px;
  font-weight:900;
}
.audit-witness-original{
  padding:13px 14px;
  border:1px solid #dce4ec;
  border-radius:8px;
  background:#f8fafc;
}
.audit-witness-original dl{margin:0}
.audit-witness-original dl>div{
  display:grid;
  grid-template-columns:74px 1fr;
  gap:8px;
  margin-top:6px;
}
.audit-witness-original dt{
  color:#7a899a;
  font-size:10.5px;
  font-weight:800;
}
.audit-witness-original dd{
  margin:0;
  color:#334a61;
  font-size:11.5px;
  font-weight:750;
}
.audit-witness-original-requests{
  margin-top:11px;
  padding-top:9px;
  border-top:1px solid #e1e7ed;
}
.audit-witness-original-requests>div{
  display:grid;
  grid-template-columns:125px 1fr;
  gap:9px;
  padding:5px 0;
}
.audit-witness-original-requests strong{
  color:#245177;
  font-size:10.8px;
  font-weight:850;
}
.audit-witness-original-requests strong small{
  color:#8794a4;
  font-size:9px;
}
.audit-witness-original-requests span{
  color:#43566b;
  font-size:10.8px;
  line-height:1.45;
}

.audit-witness-edit-section,
.audit-witness-history{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e4e9ef;
}
.audit-witness-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.audit-witness-form-grid label,
.audit-witness-date-field{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.audit-witness-form-grid label.wide{grid-column:1/-1}
.audit-witness-form-grid label>span,
.audit-witness-date-field>span{
  color:#6b7d90;
  font-size:10.5px;
  font-weight:800;
}
.audit-witness-form-grid input,
.audit-witness-form-grid select,
.audit-witness-date-field input,
#auditWitnessMemo{
  width:100%;
  border:1px solid #ccd7e1;
  border-radius:7px;
  background:#fff;
  color:#2e465d;
  font-family:inherit;
  font-size:12px;
}
.audit-witness-form-grid input,
.audit-witness-form-grid select,
.audit-witness-date-field input{
  height:37px;
  padding:0 10px;
}
#auditWitnessMemo{
  padding:9px 10px;
  resize:vertical;
  line-height:1.5;
}
.audit-witness-required-docs{
  margin-top:10px;
  padding:8px 10px;
  border-radius:6px;
  background:#f5f7fa;
  color:#718096;
  font-size:10.8px;
  font-weight:750;
}
.audit-witness-required-docs.required{
  background:#fff5eb;
  color:#8c541f;
}
.audit-witness-check-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}
.audit-witness-check-grid.plenary{grid-template-columns:1fr 1fr}
.audit-witness-check-grid label{
  min-height:38px;
  padding:8px 9px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #d9e1e9;
  border-radius:7px;
  color:#40566d;
  font-size:10.8px;
  font-weight:750;
}
.audit-witness-check-grid input{accent-color:#174f82}
.audit-witness-date-field{margin-top:10px}
.audit-witness-date-field input{max-width:180px}
.audit-witness-form-actions{
  margin-top:18px;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
.audit-witness-form-actions button{
  height:36px;
  padding:0 15px;
  border-radius:7px;
  font-family:inherit;
  font-size:11.5px;
  font-weight:850;
  cursor:pointer;
}
.audit-witness-form-actions .secondary{
  border:1px solid #ccd7e1;
  background:#fff;
  color:#607286;
}
.audit-witness-form-actions .primary{
  border:1px solid #123f6e;
  background:#174f82;
  color:#fff;
}
.audit-witness-history-row{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:8px;
  padding:8px 0;
  border-bottom:1px solid #edf0f3;
}
.audit-witness-history-row time{
  color:#8995a4;
  font-size:10px;
  font-weight:700;
}
.audit-witness-history-row span{
  color:#435970;
  font-size:10.8px;
  font-weight:750;
}
.audit-witness-history-empty{
  padding:10px 0;
  color:#8b98a8;
  font-size:10.8px;
}
body.audit-witness-drawer-open{overflow:hidden}

@media(max-width:900px){
  .audit-witness-toolbar{flex-wrap:wrap}
  .audit-witness-toolbar input[type="search"]{flex-basis:240px}
}
@media(max-width:720px){
  .audit-support-tabs{overflow-x:auto}
  .audit-support-tab{flex:0 0 auto;padding:0 15px;font-size:12px}
  .audit-witness-heading{align-items:flex-start;flex-direction:column;gap:6px}
  .audit-witness-summary{overflow-x:auto}
  .audit-witness-toolbar{padding:10px}
  .audit-witness-type-filter{width:100%}
  .audit-witness-type-filter button{flex:1}
  .audit-witness-toolbar select{flex:1}
  .audit-witness-toolbar input[type="search"]{order:4;flex-basis:100%}
  .audit-witness-plenary-filter{order:5;width:100%}
  .audit-witness-check-grid,
  .audit-witness-check-grid.plenary{grid-template-columns:1fr}
  .audit-witness-form-grid{grid-template-columns:1fr}
}

/* ===== v241 일반증인·참고인 제목행 정렬 ===== */
.audit-witness-sort-head{
  width:100%;
  height:40px;
  padding:0 12px 0 0;
  display:flex;
  align-items:center;
  gap:5px;
  border:0;
  background:transparent;
  color:#728197;
  font-family:inherit;
  font-size:10.5px;
  font-weight:850;
  text-align:left;
  cursor:pointer;
}
.audit-witness-sort-head:hover{
  color:#174d7c;
}
.audit-witness-sort-head i{
  color:#9aa8b8;
  font-size:10px;
  font-style:normal;
  font-weight:900;
  line-height:1;
}
.audit-witness-sort-head.active{
  color:#174d7c;
}
.audit-witness-sort-head.active i{
  color:#174d7c;
}

/* ===== v242 추가 출석요구 / 의원별 철회서 ===== */
.audit-witness-heading-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
.audit-witness-hwpx-btn{
  height:34px;
  padding:0 13px;
  border:1px solid #c9d7e5;
  border-radius:7px;
  background:#fff;
  color:#174f82;
  font-family:inherit;
  font-size:11.5px;
  font-weight:850;
  cursor:pointer;
}
.audit-witness-hwpx-btn:hover{background:#f4f8fc;border-color:#9eb8d0}
.audit-witness-hwpx-btn:disabled{opacity:.55;cursor:wait}
.audit-witness-add-btn{
  height:34px;
  padding:0 13px;
  border:1px solid #174f82;
  border-radius:7px;
  background:#174f82;
  color:#fff;
  font-family:inherit;
  font-size:11.5px;
  font-weight:850;
  cursor:pointer;
}
.audit-witness-add-btn:hover{background:#123f6e}

.audit-witness-requester-withdrawals{
  margin-top:10px;
  padding:10px;
  border:1px solid #e2c7aa;
  border-radius:7px;
  background:#fff8f1;
}
.audit-witness-requester-withdrawals-title{
  margin-bottom:7px;
  color:#8d5424;
  font-size:10.5px;
  font-weight:900;
}
#auditWitnessRequesterWithdrawalList{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row{
  min-height:54px;
  padding:8px 9px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:8px;
  border:1px solid #e5d2bf;
  border-radius:7px;
  background:#fff;
  color:#4e5f70;
  font-size:10.8px;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row>strong{
  font-size:10.8px;
  font-weight:850;
  color:#3c4d5d;
  min-width:0;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row label{
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  font-weight:750;
  cursor:pointer;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row label+label{
  padding-left:8px;
  border-left:1px solid #ead8c6;
}
#auditWitnessRequesterWithdrawalList input{accent-color:#a45c25}
#auditWitnessRequesterWithdrawalList input:disabled{opacity:.45}

.audit-witness-add-backdrop{
  position:fixed;
  inset:0;
  z-index:1210;
  background:rgba(17,35,52,.26);
}
.audit-witness-add-modal{
  position:fixed;
  z-index:1220;
  top:50%;
  left:50%;
  width:min(760px,calc(100vw - 34px));
  max-height:calc(100vh - 44px);
  transform:translate(-50%,-50%);
  overflow:hidden;
  border-radius:12px;
  background:#fff;
  box-shadow:0 22px 70px rgba(18,39,60,.24);
}
.audit-witness-add-head{
  min-height:72px;
  padding:13px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid #dde5ed;
  background:#f8fafc;
}
.audit-witness-add-head>div{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.audit-witness-add-head strong{
  color:#17334f;
  font-size:16px;
  font-weight:900;
}
.audit-witness-add-head span{
  color:#75869a;
  font-size:10.8px;
  font-weight:700;
}
.audit-witness-add-head>button{
  width:34px;height:34px;
  border:0;
  background:transparent;
  color:#617286;
  font-size:25px;
  cursor:pointer;
}
#auditWitnessAddForm{
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 116px);
}
.audit-witness-add-body{
  padding:16px 18px 18px;
  overflow:auto;
}
.audit-witness-add-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.audit-witness-add-grid label,
.audit-witness-add-note{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.audit-witness-add-grid label.wide{grid-column:1/-1}
.audit-witness-add-grid span,
.audit-witness-add-note>span{
  color:#6b7d90;
  font-size:10.5px;
  font-weight:800;
}
.audit-witness-add-grid input,
.audit-witness-add-grid select,
.audit-witness-add-note textarea,
.audit-witness-add-requester-row input{
  width:100%;
  border:1px solid #ccd7e1;
  border-radius:7px;
  background:#fff;
  color:#2e465d;
  font-family:inherit;
  font-size:12px;
}
.audit-witness-add-grid input,
.audit-witness-add-grid select,
.audit-witness-add-requester-row input{
  height:37px;
  padding:0 10px;
}
.audit-witness-add-requesters{
  margin-top:17px;
  padding-top:14px;
  border-top:1px solid #e4e9ef;
}
.audit-witness-add-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}
.audit-witness-add-section-head strong{
  color:#24415c;
  font-size:12px;
  font-weight:900;
}
.audit-witness-add-section-head button{
  height:30px;
  padding:0 9px;
  border:1px solid #cbd7e2;
  border-radius:6px;
  background:#fff;
  color:#315b7d;
  font-family:inherit;
  font-size:10.5px;
  font-weight:850;
  cursor:pointer;
}
.audit-witness-add-requester-row{
  display:grid;
  grid-template-columns:120px 120px minmax(180px,1fr) 30px;
  gap:7px;
  align-items:end;
  padding:8px 0;
  border-bottom:1px dashed #e5eaf0;
}
.audit-witness-add-requester-row label{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.audit-witness-add-requester-row label>span{
  color:#78889a;
  font-size:9.5px;
  font-weight:800;
}
.audit-witness-add-requester-remove{
  width:30px;height:37px;
  border:0;
  background:transparent;
  color:#9a6b6b;
  font-size:19px;
  cursor:pointer;
}
.audit-witness-add-doc{
  margin-top:14px;
  padding:10px 11px;
  border-radius:7px;
  background:#f4f8fb;
}
.audit-witness-add-doc label{
  display:flex;
  align-items:center;
  gap:7px;
  color:#435a70;
  font-size:11px;
  font-weight:800;
}
.audit-witness-add-doc input{accent-color:#174f82}
.audit-witness-add-note{margin-top:14px}
.audit-witness-add-note textarea{
  padding:9px 10px;
  resize:vertical;
  line-height:1.5;
}
.audit-witness-add-actions{
  padding:11px 18px;
  display:flex;
  justify-content:flex-end;
  gap:8px;
  border-top:1px solid #e1e7ed;
  background:#fafbfd;
}
.audit-witness-add-actions button{
  height:36px;
  padding:0 16px;
  border-radius:7px;
  font-family:inherit;
  font-size:11.5px;
  font-weight:850;
  cursor:pointer;
}
.audit-witness-add-actions .secondary{
  border:1px solid #ccd7e1;
  background:#fff;
  color:#607286;
}
.audit-witness-add-actions .primary{
  border:1px solid #123f6e;
  background:#174f82;
  color:#fff;
}
body.audit-witness-add-open{overflow:hidden}

@media(max-width:720px){
  .audit-witness-heading-actions{
    width:100%;
    justify-content:flex-start;
  }
  #auditWitnessRequesterWithdrawalList{grid-template-columns:1fr}
  .audit-witness-add-grid{grid-template-columns:1fr}
  .audit-witness-add-grid label.wide{grid-column:auto}
  .audit-witness-add-requester-row{
    grid-template-columns:1fr 1fr 30px;
  }
  .audit-witness-add-requester-row .reason{
    grid-column:1 / 3;
  }
}

/* ===== v243 변호인 대동 협조요청서 ===== */
.audit-witness-general-docs{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.audit-witness-general-docs label{
  line-height:1.3;
}
@media(max-width:720px){
  .audit-witness-general-docs{
    grid-template-columns:1fr;
  }
}

/* ===== v244 독립 제출서류 필터 ===== */
.audit-witness-doc-note{
  margin:-2px 0 9px;
  color:#8794a4;
  font-size:10px;
  font-weight:650;
}
#auditWitnessAbsenceFilter,
#auditWitnessCounselFilter{
  max-width:176px;
}
@media(max-width:1100px){
  #auditWitnessAbsenceFilter,
  #auditWitnessCounselFilter{
    max-width:none;
    flex:1 1 170px;
  }
}

/* ===== v245 신청의원별 출석요구서 ===== */
.audit-witness-requester-requests{
  margin-top:10px;
  padding:10px;
  border:1px solid #bfd4e7;
  border-radius:7px;
  background:#f5f9fd;
}
.audit-witness-requester-requests-title{
  margin-bottom:7px;
  color:#24577e;
  font-size:10.5px;
  font-weight:900;
}
#auditWitnessRequesterRequestList{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
#auditWitnessRequesterRequestList label{
  min-height:38px;
  padding:8px 9px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #cdddeb;
  border-radius:7px;
  background:#fff;
  color:#4e5f70;
  font-size:10.8px;
  font-weight:750;
}
#auditWitnessRequesterRequestList input{accent-color:#174f82}
@media(max-width:720px){
  #auditWitnessRequesterRequestList{grid-template-columns:1fr}
}

/* ===== v246 일반증인·참고인 목록 연번 ===== */
.audit-witness-seq-head,
.audit-witness-seq{
  text-align:center;
}
.audit-witness-seq-head{
  color:#728197;
  font-size:10.5px;
  font-weight:850;
}
.audit-witness-seq{
  padding-right:12px!important;
  color:#6f8092;
  font-size:11px;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}

/* ===== v248 국정감사 달력 증인·참고인 hover ===== */
.audit-support-cal-day.audit-day{
  position:relative;
  cursor:default;
}
.audit-support-cal-day.audit-day:focus{
  outline:2px solid rgba(37,94,145,.25);
  outline-offset:-2px;
}
.audit-support-witness-tooltip{
  position:absolute;
  z-index:40;
  top:38px;
  left:10px;
  width:min(430px,calc(100vw - 72px));
  max-height:310px;
  padding:12px 14px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.18);
  border-radius:9px;
  background:rgba(18,48,76,.68);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 26px rgba(14,39,62,.16);
  color:#fff;
  opacity:0;
  visibility:hidden;
  transform:translateY(-4px);
  transition:opacity .12s ease,transform .12s ease,visibility .12s;
  pointer-events:none;
}
.audit-support-cal-day.audit-day:hover .audit-support-witness-tooltip,
.audit-support-cal-day.audit-day:focus-within .audit-support-witness-tooltip,
.audit-support-cal-day.audit-day:focus .audit-support-witness-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}
.audit-support-cal-day.tooltip-align-right .audit-support-witness-tooltip{
  left:auto;
  right:10px;
}
.audit-support-cal-day.tooltip-up .audit-support-witness-tooltip{
  top:auto;
  bottom:38px;
}
.audit-support-witness-tooltip-section + .audit-support-witness-tooltip-section{
  margin-top:11px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.16);
}
.audit-support-witness-tooltip-section strong{
  display:block;
  margin-bottom:5px;
  font-size:12.5px;
  font-weight:900;
  letter-spacing:-.01em;
}
.audit-support-witness-tooltip-list{
  color:rgba(255,255,255,.92);
  font-size:11.5px;
  font-weight:650;
  line-height:1.65;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
@media(max-width:720px){
  .audit-support-witness-tooltip{
    width:360px;
    max-width:calc(100vw - 40px);
  }
}

/* ===== v252 페이지 프레임/여백 구조 정리 =====
   원칙:
   1) 포털 네이티브 페이지는 portal.css에서 한 번만 여백 적용
   2) iframe 도구 페이지는 포털 wrapper에 여백을 주지 않음
   3) iframe 내부 앱이 자기 콘텐츠 여백을 담당
*/
:root{
  --portal-page-pad-top:18px;
  --portal-page-pad-x:22px;
  --portal-page-pad-bottom:26px;
}

/* 네이티브 페이지 */
.committee-info-page,
.audit-support-page{
  padding:var(--portal-page-pad-top) var(--portal-page-pad-x) var(--portal-page-pad-bottom)!important;
  box-sizing:border-box!important;
}

/* 단일 컬럼 네이티브 페이지의 기준 폭 */
.committee-info-shell,
.audit-support-shell{
  max-width:1380px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* iframe 도구 wrapper는 프레임을 하나 더 만들지 않는다 */
#meetingToolsPage,
#scenarioPage,
#tripPage,
#lawsPage{
  padding:0!important;
  background:#eef1f5!important;
  overflow:hidden!important;
}

#meetingToolsPage .tool-frame,
#scenarioPage .tool-frame,
#tripPage .tool-frame,
#lawsPage .tool-frame{
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  background:#eef1f5!important;
}

/* 위원 구성도 좌/상단 기준은 동일하게 유지 */
.members-page{
  padding:18px 22px 26px!important;
}

@media(max-width:900px){
  .committee-info-page,
  .audit-support-page,
  .members-page{
    padding:10px!important;
  }
}

/* ===== v254 주요 페이지 타이틀 타이포 통일 =====
   공통 기준: 16px / 850 / line-height 1.2 */
.committee-info-list-title,
.audit-support-tab{
  font-size:16px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:0!important;
}

/* ===== v256 상단 탭 기준 스타일 고정 =====
   기준: 국정감사 지원 탭
   strip 48px / tab 48px / underline 3px */
.audit-support-tabs{
  display:flex!important;
  align-items:flex-end!important;
  gap:0!important;
  min-height:48px!important;
  height:48px!important;
  padding:0!important;
  border-bottom:1px solid #d7e0e9!important;
  background:#fff!important;
}
.audit-support-tab{
  position:relative!important;
  height:48px!important;
  margin:0!important;
  padding:0 22px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#66788d!important;
  font-family:inherit!important;
  font-size:16px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:0!important;
}
.audit-support-tab.active{
  color:#123f6e!important;
}
.audit-support-tab.active::before{
  content:none!important;
  display:none!important;
}
.audit-support-tab.active::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:18px!important;
  right:18px!important;
  bottom:-1px!important;
  width:auto!important;
  height:3px!important;
  min-height:3px!important;
  max-height:3px!important;
  border:0!important;
  border-radius:3px 3px 0 0!important;
  background:#184f82!important;
  transform:none!important;
  box-shadow:none!important;
}
@media(max-width:720px){
  .audit-support-tabs{
    min-height:48px!important;
    height:48px!important;
  }
  .audit-support-tab{
    height:48px!important;
    padding:0 15px!important;
    font-size:16px!important;
  }
  .audit-support-tab.active::after{
    left:11px!important;
    right:11px!important;
    height:3px!important;
  }
}

/* ===== v258 시나리오 시스템: 중간 프레임 제거 / 브라우저 자연 스크롤 ===== */
#scenarioPage{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:#eef1f5!important;
}
.scenario-direct-shell{
  width:100%;
  min-height:0;
  background:#eef1f5;
}
.scenario-direct-tabs{
  height:48px;
  margin:18px 22px 0;
  padding:0;
  display:flex;
  align-items:flex-end;
  gap:0;
  border-bottom:1px solid #d7e0e9;
  background:#fff;
}
.scenario-direct-tab{
  position:relative;
  height:48px;
  margin:0;
  padding:0 22px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#66788d;
  font-family:inherit;
  font-size:16px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:0;
  cursor:pointer;
}
.scenario-direct-tab span{
  margin-left:6px;
  color:#8b99aa;
  font-size:11px;
  font-weight:750;
}
.scenario-direct-tab.active{
  color:#123f6e;
}
.scenario-direct-tab.active span{
  color:#6383a3;
}
.scenario-direct-tab.active::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:-1px;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#184f82;
}
.scenario-direct-body{
  position:relative;
  min-height:0;
}
.scenario-direct-frame{
  display:none;
  width:100%;
  height:900px;
  min-height:0;
  border:0;
  overflow:hidden;
  background:#eef1f5;
}
.scenario-direct-frame.active{
  display:block;
}
.scenario-direct-loading{
  position:absolute;
  z-index:2;
  left:22px;
  right:22px;
  top:18px;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef1f5;
  color:#6b7280;
  font-size:13px;
}
.scenario-direct-loading[hidden]{
  display:none!important;
}

/* ===== v274 시나리오 탭/본문 가로폭 정렬 =====
   iframe 내부 .wrap은 max-width:1500px + 좌우 22px padding을 사용하므로
   실제 카드 폭(최대 1456px)에 상위 탭도 정확히 맞춘다. */
.scenario-direct-tabs{
  width:calc(100% - 44px)!important;
  max-width:1456px!important;
  margin:18px auto 0!important;
}
.scenario-direct-loading{
  width:calc(100% - 44px)!important;
  max-width:1456px!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
}

@media(max-width:900px){
  .scenario-direct-tabs{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    margin:10px auto 0!important;
    overflow-x:auto;
  }
  .scenario-direct-tab{
    padding:0 15px;
  }
  .scenario-direct-tab.active::after{
    left:11px;
    right:11px;
  }
  .scenario-direct-loading{
    width:calc(100% - 20px)!important;
    max-width:none!important;
    left:50%!important;
    right:auto!important;
    top:10px;
    transform:translateX(-50%)!important;
  }
}

/* ===== v260 국회관계법령 자연 높이 / 브라우저 스크롤 =====
   기존 .tool-page 고정 viewport + overflow:hidden 때문에
   법령 iframe 하단이 잘리고 iframe 내부에서만 스크롤되는 문제 수정 */
#lawsPage{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:#eef1f5!important;
}

#lawsPage .tool-frame{
  display:block!important;
  width:100%!important;
  height:900px; /* JS가 실제 법령 문서 높이로 즉시 갱신 */
  min-height:0!important;
  border:0!important;
  overflow:hidden!important;
  background:#eef1f5!important;
}

/* ===== v261 국회관계법령 iframe 높이 충돌 수정 =====
   v252의 .tool-frame height:100%!important 규칙을 확실히 덮어쓴다. */
#lawsPage{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}

#lawsPage #lawsFrame{
  display:block!important;
  width:100%!important;
  height:900px!important;
  min-height:900px!important;
  max-height:none!important;
  border:0!important;
  overflow:hidden!important;
  background:#eef1f5!important;
}


/* ===== v266 신청의원별 철회 상태 ===== */
@media(max-width:720px){
  #auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row{grid-template-columns:1fr 1fr}
  #auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row>strong{grid-column:1/-1}
  #auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row label+label{border-left:0;padding-left:0}
}

/* ===== v270 국정감사 업무 상황판 ===== */
.audit-taskboard-panel{background:#f7f9fc!important;padding-bottom:24px}
.audit-taskboard-heading{
  min-height:82px;padding:16px 18px 14px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  background:#fff;border-bottom:1px solid #e1e7ee;
}
.audit-taskboard-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.audit-taskboard-sync{font-size:11px;font-weight:760;color:#8b99a9;white-space:nowrap}
.audit-taskboard-sync.ok{color:#2f755f}.audit-taskboard-sync.warn{color:#9b6428}.audit-taskboard-sync.saving{color:#285f91}
.audit-taskboard-common-btn{
  height:36px;padding:0 15px;border:1px solid #164f84;border-radius:8px;background:#164f84;color:#fff;
  font-family:inherit;font-size:12px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 1px 2px rgba(15,55,92,.12)
}
.audit-taskboard-common-btn:hover{background:#123f6b;border-color:#123f6b}
.audit-taskboard-past-toggle{
  display:flex;align-items:center;gap:7px;height:36px;padding:0 11px;border:1px solid #ccd7e2;border-radius:8px;
  background:#fff;color:#40566d;font-size:11px;font-weight:760;white-space:nowrap;cursor:pointer
}
.audit-taskboard-past-toggle input{accent-color:#174f82}
.audit-taskboard-message{margin:12px 18px 0;padding:10px 12px;border:1px solid #efcfad;border-radius:8px;background:#fff8ef;color:#8c5b27;font-size:12px;font-weight:700}
.audit-taskboard-section{padding:16px 18px 0}
.audit-taskboard-section.past{margin-top:10px}
.audit-taskboard-section-title{
  height:38px;padding:0 12px;display:flex;align-items:center;gap:8px;border-radius:8px;background:#eaf3fb;
  color:#173f67;font-size:13px;font-weight:850
}
.audit-taskboard-section.past .audit-taskboard-section-title{background:#eef1f5;color:#5c6d80}
.audit-taskboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:10px;align-items:start}
.audit-task-card{
  border:1px solid #d8e1ea;border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(35,62,88,.035)
}
.audit-task-card.today{border-color:#2c86d5;box-shadow:0 0 0 1px #2c86d5 inset}
.audit-task-card.past{background:#fafbfc;border-color:#e0e5eb}
.audit-task-card-head{padding:13px 14px 11px;border-bottom:1px solid #e8edf2}
.audit-task-card-title-row{display:flex;align-items:center;gap:8px;min-width:0}
.audit-task-card-title{display:flex;align-items:baseline;gap:7px;min-width:0;flex:1;color:#163653}
.audit-task-card-title strong{font-size:15px;font-weight:900;white-space:nowrap}
.audit-task-card-title span{font-size:13px;font-weight:850;white-space:nowrap}
.audit-task-card-badge{flex:none;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:900}
.audit-task-card-badge.pending{background:#fff0ee;color:#d33d31;border:1px solid #ffc9c4}
.audit-task-card-badge.done{background:#eaf6ef;color:#2d775d;border:1px solid #cde8d9}
.audit-task-card-badge.today{background:#2b8be0;color:#fff;border:1px solid #2b8be0}
.audit-task-card-badge.past{background:#edf0f3;color:#687789;border:1px solid #dde3e9}
.audit-task-card-institution-row{display:flex;align-items:flex-start;gap:7px;margin-top:9px}
.audit-task-card-institution{flex:1;color:#1e3e5c;font-size:12px;font-weight:850;line-height:1.45;min-width:0}
.audit-task-card-mini-btn{flex:none;border:1px solid #ccd9e5;border-radius:6px;background:#f8fbfe;color:#285c89;padding:5px 8px;font:780 10px/1.2 inherit;cursor:pointer}
.audit-task-card-mini-btn:hover{background:#edf5fb}
.audit-task-card-meta{display:grid;grid-template-columns:1fr auto;gap:7px 10px;margin-top:9px;color:#51677c;font-size:11px;line-height:1.4}
.audit-task-card-meta-left{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.audit-task-card-meta-left b{color:#294963;font-weight:850}.audit-task-card-meta-left .sep{color:#b2bdc8}
.audit-task-broadcast{display:inline-flex;align-items:center;gap:5px;font-weight:850;color:#345a7c;white-space:nowrap}
.audit-task-broadcast.live{color:#c23831}.audit-task-broadcast.recording{color:#9a6729}.audit-task-broadcast.youtube{color:#315b82}
.audit-task-card-question{grid-row:span 2;align-self:center}
.audit-task-card-meals{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#51677c}
.audit-task-card-meals b{color:#b47721;font-weight:900}
.audit-task-card-progress{padding:9px 14px 0;color:#29475f;font-size:11px;font-weight:800}
.audit-task-card-progress-bar{height:5px;margin-top:6px;border-radius:999px;background:#e7edf3;overflow:hidden}
.audit-task-card-progress-bar>span{display:block;height:100%;border-radius:inherit;background:#3c91da}
.audit-task-card-groups{padding:9px 10px 5px}
.audit-task-group{margin-bottom:8px;border-radius:8px;background:#f7f9fb;border:1px solid #edf1f5}
.audit-task-group.drag-over{outline:2px solid #9fc7e8;outline-offset:1px}
.audit-task-group-head{min-height:32px;padding:0 7px;display:flex;align-items:center;gap:6px;color:#203f5d}
.audit-task-drag-handle{color:#a1adba;font-size:12px;cursor:grab;user-select:none}.audit-task-drag-handle:active{cursor:grabbing}
.audit-task-group-toggle{border:0;background:transparent;color:#35546f;padding:0 2px;cursor:pointer;font-size:12px;line-height:1}
.audit-task-group-name{flex:1;min-width:0;font-size:12px;font-weight:900;cursor:text;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.audit-task-group-count{font-size:10px;font-weight:850;color:#6d7f91;white-space:nowrap}
.audit-task-icon-btn{width:24px;height:24px;padding:0;border:0;border-radius:5px;background:transparent;color:#7890a5;font:800 11px/1 inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.audit-task-icon-btn:hover{background:#e7eef5;color:#315b7e}
.audit-task-list{padding:0 7px 6px}
.audit-task-row{min-height:30px;display:flex;align-items:flex-start;gap:6px;padding:5px 2px;border-radius:5px;color:#425970;font-size:11px}
.audit-task-row:hover{background:#fff}.audit-task-row.dragging{opacity:.4}.audit-task-row.drag-over{box-shadow:inset 0 2px 0 #5b9bd1}
.audit-task-row input[type="checkbox"]{flex:none;margin:2px 1px 0 0;accent-color:#2378bf}
.audit-task-text{flex:1;min-width:0;line-height:1.42;cursor:text;overflow-wrap:anywhere}
.audit-task-row.done .audit-task-text{color:#a0acb7}
.audit-task-row.done .audit-task-icon-btn{opacity:.55}
.audit-task-inline-input{width:100%;height:27px;padding:2px 7px;border:1px solid #8db6d8;border-radius:5px;background:#fff;color:#263f57;font:inherit;outline:none}
.audit-task-standalone{margin:0 10px 8px;padding:4px 7px 5px;border-radius:8px;border:1px dashed #d8e1e9;background:#fff}
.audit-task-standalone.empty{min-height:30px;display:flex;align-items:center;color:#a0acb8;font-size:10px}
.audit-task-card-footer{display:flex;align-items:center;gap:4px;border-top:1px solid #e8edf2;padding:7px 10px;background:#fff}
.audit-task-card-footer button{height:28px;border:0;border-radius:6px;background:transparent;color:#2264a0;padding:0 7px;font:800 11px/1 inherit;cursor:pointer}
.audit-task-card-footer button:hover{background:#eef5fb}
.audit-task-empty-card{grid-column:1/-1;padding:30px;text-align:center;border:1px dashed #ced8e2;border-radius:10px;background:#fff;color:#8190a0;font-size:12px}
.audit-taskboard-modal-backdrop{position:fixed;inset:0;z-index:9100;background:rgba(26,42,58,.34);backdrop-filter:blur(1px)}
.audit-taskboard-modal{position:fixed;z-index:9101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 28px));max-height:calc(100vh - 32px);overflow:auto;border:1px solid #cfd9e3;border-radius:12px;background:#fff;box-shadow:0 18px 55px rgba(24,46,68,.23)}
.audit-taskboard-modal-head{min-height:62px;padding:12px 14px 11px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4e9ef}
.audit-taskboard-modal-head>div{min-width:0}.audit-taskboard-modal-head strong{display:block;color:#183952;font-size:15px;font-weight:900}.audit-taskboard-modal-head span{display:block;margin-top:3px;color:#7a8997;font-size:10px;font-weight:700}
.audit-taskboard-modal-head>button{width:30px;height:30px;border:0;border-radius:7px;background:#f1f4f7;color:#607386;font-size:19px;cursor:pointer}
.audit-taskboard-modal-body{padding:15px 16px 16px}
.audit-taskboard-field{display:block}.audit-taskboard-field>span,.audit-taskboard-group-choice legend{display:block;margin-bottom:6px;color:#52687c;font-size:11px;font-weight:850}
.audit-taskboard-field input,.audit-taskboard-group-input select,.audit-taskboard-group-input input{width:100%;height:38px;border:1px solid #cbd7e2;border-radius:7px;padding:0 10px;background:#fff;color:#2e455c;font:inherit;font-size:12px;outline:none}
.audit-taskboard-field input:focus,.audit-taskboard-group-input select:focus,.audit-taskboard-group-input input:focus{border-color:#6ea2cf;box-shadow:0 0 0 2px rgba(70,137,193,.12)}
.audit-taskboard-group-choice{margin:14px 0 10px;padding:0;border:0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.audit-taskboard-group-choice legend{width:100%;margin-bottom:1px}.audit-taskboard-group-choice label{display:flex;align-items:center;gap:5px;color:#4f6377;font-size:11px;font-weight:750}.audit-taskboard-group-choice input{accent-color:#174f82}
.audit-taskboard-group-input{margin-top:8px}.audit-taskboard-modal-note{margin-top:11px;padding:8px 9px;border-radius:6px;background:#f5f8fb;color:#6a7d8f;font-size:10px;line-height:1.45}
.audit-taskboard-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.audit-taskboard-modal-actions button{height:34px;padding:0 14px;border-radius:7px;font:820 11px/1 inherit;cursor:pointer}.audit-taskboard-modal-actions .secondary{border:1px solid #cbd6e0;background:#fff;color:#4e6276}.audit-taskboard-modal-actions .primary{border:1px solid #174f82;background:#174f82;color:#fff}
.audit-taskboard-info-modal{width:min(430px,calc(100vw - 28px))}.audit-taskboard-info-body{padding:12px 16px 16px;max-height:70vh;overflow:auto}
.audit-taskboard-question-list{margin:0;padding:0;list-style:none}.audit-taskboard-question-list li{display:grid;grid-template-columns:34px 1fr;gap:8px;padding:7px 5px;border-bottom:1px solid #eef2f6;color:#334c63;font-size:12px}.audit-taskboard-question-list li:last-child{border-bottom:0}.audit-taskboard-question-list b{color:#194f7d;text-align:right}.audit-taskboard-institution-list{margin:0;padding-left:20px;color:#344e65;font-size:12px;line-height:1.7}
body.audit-taskboard-modal-open{overflow:hidden}
@media (max-width:1180px){.audit-taskboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .audit-taskboard-heading{align-items:flex-start;flex-direction:column}.audit-taskboard-heading-actions{width:100%;justify-content:flex-start}.audit-taskboard-grid{grid-template-columns:1fr}.audit-taskboard-section{padding-left:10px;padding-right:10px}.audit-task-card-meta{grid-template-columns:1fr}.audit-task-card-question{grid-row:auto;justify-self:start}.audit-taskboard-common-btn{flex:1}.audit-taskboard-past-toggle{width:100%}
}

/* ===== v270 국정감사 업무 상황판 정돈 ===== */
.audit-taskboard-heading{min-height:88px;padding:17px 18px 15px}
.audit-taskboard-heading .audit-support-section-title{font-size:16px;line-height:1.3}
.audit-taskboard-heading .audit-support-subtitle{font-size:12px;line-height:1.45;margin-top:4px}
.audit-taskboard-heading-actions{gap:8px}
.audit-taskboard-sync{font-size:12px}
.audit-taskboard-undo-btn,.audit-taskboard-clear-btn{
  height:36px;padding:0 15px;border-radius:8px;background:#fff;font-family:inherit;font-size:12px;font-weight:800;line-height:1;cursor:pointer;white-space:nowrap
}
.audit-taskboard-undo-btn{border:1px solid #c7d4df;color:#31536f}
.audit-taskboard-undo-btn:hover:not(:disabled){background:#eef5fb;border-color:#9eb9cf}
.audit-taskboard-undo-btn:disabled{opacity:.42;cursor:default;background:#f5f7f9}
.audit-taskboard-clear-btn{border:1px solid #e3c4c0;color:#a1443c}
.audit-taskboard-clear-btn:hover{background:#fff4f2;border-color:#dba29b}
.audit-taskboard-common-btn{font-size:12px}
.audit-taskboard-past-toggle{font-size:12px}
.audit-taskboard-section-title{height:40px;font-size:14px}
.audit-taskboard-grid{gap:14px}
.audit-task-card-head{padding:15px 15px 12px}
.audit-task-card-title-row{gap:9px}
.audit-task-card-title strong{font-size:17px;line-height:1.2;letter-spacing:-.2px}
.audit-task-card-badge{font-size:11px;padding:4px 8px}
.audit-task-card-coreinfo{
  display:grid;grid-template-columns:max-content max-content minmax(0,1fr);align-items:center;gap:8px 13px;
  margin-top:11px;color:#465f76;font-size:12.5px;line-height:1.4;min-width:0
}
.audit-task-card-coreinfo>div{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap}
.audit-task-card-coreinfo>div.institution{overflow:hidden}
.audit-task-card-coreinfo b{color:#274861;font-size:12px;font-weight:900;flex:none}
.audit-task-card-institution-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294b67;font-weight:500}
.audit-task-card-institution-link{
  min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;border:0;background:transparent;
  color:#1e639b;font:500 12.5px/1.35 inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;cursor:pointer
}
.audit-task-card-institution-link:hover{color:#0d4c80;text-decoration-style:solid}
.audit-task-card-ops{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;min-width:0}
.audit-task-card-ops-left{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap;color:#51677c;font-size:12.5px;line-height:1.4}
.audit-task-broadcast{font-size:12.5px}
.audit-task-card-meals{gap:9px;font-size:12.5px}
.audit-task-card-mini-btn{padding:6px 9px;font-size:11.5px}
.audit-task-card-question{flex:none}
.audit-task-card-progress{padding:10px 15px 0;font-size:12.5px}
.audit-task-card-progress-bar{height:5px;margin-top:7px}
.audit-task-card-groups{padding:10px 11px 5px}
.audit-task-group{margin-bottom:9px}
.audit-task-group-head{min-height:36px;padding:0 8px;gap:6px}
.audit-task-drag-handle{font-size:13px}
.audit-task-group-toggle{font-size:13px}
.audit-task-group-name{font-size:13px;line-height:1.35}
.audit-task-group-count{font-size:11.5px}
.audit-task-icon-btn{width:26px;height:26px;font-size:12px}
.audit-task-list{padding:0 8px 7px}
.audit-task-row{min-height:34px;gap:7px;padding:6px 2px;font-size:12.5px;line-height:1.4}
.audit-task-row input[type="checkbox"]{width:14px;height:14px;margin-top:2px}
.audit-task-text{line-height:1.45}
.audit-task-inline-input{height:30px;font-size:12.5px}
.audit-task-standalone{margin:0 11px 9px;padding:5px 8px 6px}
.audit-task-card-footer{gap:6px;padding:8px 11px}
.audit-task-card-footer button{height:30px;padding:0 8px;font-size:12.5px}
.audit-task-empty-card{font-size:13px}
.audit-taskboard-modal-head strong{font-size:16px}.audit-taskboard-modal-head span{font-size:11px}
.audit-taskboard-field>span,.audit-taskboard-group-choice legend{font-size:12px}
.audit-taskboard-field input,.audit-taskboard-group-input select,.audit-taskboard-group-input input{font-size:13px}
.audit-taskboard-group-choice label{font-size:12px}
.audit-taskboard-modal-note{font-size:11px}.audit-taskboard-modal-actions button{font-size:12px}
.audit-taskboard-question-list li,.audit-taskboard-institution-list{font-size:13px}
@media (max-width:1180px){
  .audit-task-card-coreinfo{grid-template-columns:max-content minmax(0,1fr)}
}
@media (max-width:760px){
  .audit-taskboard-heading-actions{gap:7px}
  .audit-taskboard-undo-btn,.audit-taskboard-clear-btn,.audit-taskboard-common-btn{flex:1 1 auto}
  .audit-taskboard-card-coreinfo{grid-template-columns:1fr;gap:5px}
  .audit-task-card-coreinfo>div{white-space:normal}
  .audit-task-card-ops{align-items:flex-start;flex-direction:column}
}


/* ===== v275 국정감사 업무 상황판 정보밀도/상단정보 정돈 ===== */
/* 카드 헤더 기본정보는 더 또렷하게, 체크리스트는 더 촘촘하게 */
.audit-task-card-coreinfo{
  margin-top:10px;
  gap:7px 12px;
  font-size:13.5px;
  line-height:1.38;
}
.audit-task-card-coreinfo b{
  font-size:13px;
  font-weight:900;
}
.audit-task-card-institution-text,
.audit-task-card-institution-link{
  font-size:13.5px;
  line-height:1.38;
}
.audit-task-card-ops{
  margin-top:8px;
}
.audit-task-card-ops-left{
  gap:9px;
  font-size:13.5px;
  line-height:1.38;
}
.audit-task-broadcast,
.audit-task-card-meals{
  font-size:13.5px;
}
.audit-task-card-meals{gap:8px}

/* 질의순서는 버튼이 아니라 가벼운 텍스트 링크로 */
.audit-task-card-question-link{
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:3px;
  color:#2b628f;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.audit-task-card-question-link:hover{
  color:#124a78;
  text-decoration:underline;
  text-underline-offset:3px;
}
.audit-task-card-question-link span{font-size:12px;transform:translateY(-1px)}

/* 미완료 빨간 배지는 v275부터 표시하지 않음 */
.audit-task-card-badge.pending{display:none!important}

/* 체크리스트 정보밀도 확대 */
.audit-task-card-groups{padding:7px 10px 3px}
.audit-task-group{margin-bottom:6px}
.audit-task-group-head{min-height:30px;padding:0 7px;gap:5px}
.audit-task-group-name{font-size:13px}
.audit-task-group-count{font-size:11px}
.audit-task-icon-btn{width:22px;height:22px;font-size:11px}
.audit-task-list{padding:0 7px 4px}
.audit-task-row{
  min-height:27px;
  gap:6px;
  padding:3px 2px;
  font-size:12.5px;
  line-height:1.3;
}
.audit-task-row input[type="checkbox"]{margin-top:1px}
.audit-task-text{line-height:1.3}
.audit-task-standalone{margin:0 10px 6px;padding:3px 7px 4px}
.audit-task-card-footer{padding:6px 10px}
.audit-task-card-footer button{height:27px}

@media (max-width:760px){
  .audit-task-card-coreinfo{font-size:13px}
  .audit-task-card-coreinfo b{font-size:12.5px}
  .audit-task-card-institution-text,.audit-task-card-institution-link,
  .audit-task-card-ops-left,.audit-task-broadcast,.audit-task-card-meals{font-size:13px}
}

/* ===== v276 국정감사 상황판 대상기관/상단버튼 굵기 정리 ===== */
.audit-task-card-institution-text,.audit-task-card-institution-link{font-weight:500!important}
.audit-taskboard-undo-btn,.audit-taskboard-clear-btn,.audit-taskboard-common-btn{height:36px;padding-left:15px;padding-right:15px;font-size:12px!important;font-weight:800;line-height:1}

/* ===== v277 증인·참고인 우측 관리패널 가독성 개선 ===== */
.audit-witness-drawer{
  width:min(620px,94vw);
}
.audit-witness-drawer-head{
  height:82px;
  padding:14px 20px 13px;
}
.audit-witness-drawer-head span{
  padding:4px 8px;
  font-size:11.5px;
}
.audit-witness-drawer-head strong{
  font-size:19px;
  line-height:1.25;
}
.audit-witness-drawer-head small{
  margin-top:5px;
  font-size:12.5px;
  line-height:1.35;
}
.audit-witness-drawer-body{
  height:calc(100vh - 82px);
  padding:18px 20px 34px;
}
.audit-witness-drawer h3{
  margin-bottom:11px;
  font-size:13.5px;
  line-height:1.35;
}
.audit-witness-original{
  padding:14px 15px;
}
.audit-witness-original dl>div{
  grid-template-columns:88px minmax(0,1fr);
  gap:10px;
  margin-top:7px;
}
.audit-witness-original dt{
  font-size:12px;
  line-height:1.45;
}
.audit-witness-original dd{
  font-size:13.5px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.audit-witness-original-requests{
  margin-top:12px;
  padding-top:10px;
}
.audit-witness-original-requests>div{
  grid-template-columns:145px minmax(0,1fr);
  gap:10px;
  padding:6px 0;
}
.audit-witness-original-requests strong{
  font-size:12.5px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.audit-witness-original-requests strong small{
  font-size:10.5px;
  line-height:1.35;
}
.audit-witness-original-requests span{
  font-size:12.5px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.audit-witness-edit-section,
.audit-witness-history{
  margin-top:20px;
  padding-top:17px;
}
.audit-witness-form-grid{
  gap:11px;
}
.audit-witness-form-grid label>span,
.audit-witness-date-field>span{
  font-size:12px;
  line-height:1.35;
}
.audit-witness-form-grid input,
.audit-witness-form-grid select,
.audit-witness-date-field input,
#auditWitnessMemo{
  font-size:13.5px;
}
.audit-witness-form-grid input,
.audit-witness-form-grid select,
.audit-witness-date-field input{
  height:40px;
  padding:0 11px;
}
#auditWitnessMemo{
  padding:10px 11px;
  line-height:1.55;
}
.audit-witness-required-docs{
  margin-top:11px;
  padding:9px 11px;
  font-size:12.5px;
  line-height:1.4;
}
.audit-witness-doc-note{
  margin:-1px 0 10px;
  font-size:11.5px;
  line-height:1.45;
}
.audit-witness-check-grid{
  gap:8px;
}
.audit-witness-check-grid label{
  min-height:42px;
  padding:9px 10px;
  gap:8px;
  font-size:12.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.audit-witness-requester-withdrawals,
.audit-witness-requester-requests{
  margin-top:11px;
  padding:11px;
}
.audit-witness-requester-withdrawals-title,
.audit-witness-requester-requests-title{
  margin-bottom:8px;
  font-size:12px;
  line-height:1.35;
}
#auditWitnessRequesterWithdrawalList,
#auditWitnessRequesterRequestList{
  gap:8px;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row{
  min-height:70px;
  padding:9px 10px;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:7px 10px;
  font-size:12px;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row>strong{
  grid-column:1/-1;
  font-size:12.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row label{
  gap:6px;
  font-size:12px;
  line-height:1.3;
  white-space:nowrap;
}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row label+label{
  padding-left:0;
  border-left:0;
}
#auditWitnessRequesterRequestList label{
  min-height:42px;
  padding:9px 10px;
  gap:8px;
  font-size:12.5px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.audit-witness-form-actions button{
  height:38px;
  padding:0 16px;
  font-size:12.5px;
}
.audit-witness-history-row{
  grid-template-columns:112px minmax(0,1fr);
  gap:10px;
  padding:9px 0;
}
.audit-witness-history-row time{
  font-size:11.5px;
  line-height:1.4;
}
.audit-witness-history-row span,
.audit-witness-history-empty{
  font-size:12.5px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
@media(max-width:720px){
  .audit-witness-drawer{width:100vw;max-width:100vw}
  .audit-witness-drawer-head{padding-left:16px;padding-right:14px}
  .audit-witness-drawer-body{padding-left:16px;padding-right:16px}
  .audit-witness-original-requests>div{grid-template-columns:120px minmax(0,1fr)}
}
@media(max-width:480px){
  .audit-witness-original-requests>div{grid-template-columns:1fr;gap:3px}
  .audit-witness-original dl>div{grid-template-columns:78px minmax(0,1fr)}
  #auditWitnessRequesterWithdrawalList{grid-template-columns:1fr}
}

/* ===== v278 증인·참고인 목록 글자 크기/행 밀도 개선 ===== */
.audit-witness-table-head,
.audit-witness-row{
  grid-template-columns:52px 84px 72px 102px minmax(200px,1.35fr) 122px 122px 144px minmax(170px,1fr) 30px;
  min-width:1320px;
}
.audit-witness-table-head{
  min-height:42px;
  font-size:11.8px;
  line-height:1.25;
}
.audit-witness-row{
  min-height:66px;
  font-size:13.2px;
  line-height:1.35;
}
.audit-witness-row>span,
.audit-witness-row>strong{
  padding-right:11px;
}
.audit-witness-name{
  font-size:14.2px;
  line-height:1.3;
}
.audit-witness-attendance{
  font-size:13.2px;
  line-height:1.3;
}
.audit-witness-attendance small{
  margin-top:3px;
  font-size:10.8px;
  line-height:1.25;
}
.audit-witness-status,
.audit-witness-type{
  min-height:27px;
  padding:0 10px;
  font-size:11.2px;
}
.audit-witness-open{
  font-size:22px;
}
@media (max-width:760px){
  .audit-witness-table-head,
  .audit-witness-row{
    min-width:1280px;
  }
  .audit-witness-row{font-size:13px}
  .audit-witness-name{font-size:14px}
}

/* ===== v279 증인·참고인 변경 건(event) 누적 관리 ===== */
.audit-witness-event-guide{
  margin:0 0 10px;
  padding:9px 10px;
  border:1px solid #dbe6f2;
  border-radius:8px;
  background:#f7fafc;
  color:#5c6f82;
  font-size:12px;
  line-height:1.45;
}
.audit-witness-event-notice{
  margin:0 0 10px;
  padding:9px 10px;
  border:1px solid #f0cda2;
  border-radius:8px;
  background:#fff8ee;
  color:#8b5b1d;
  font-size:12.5px;
  font-weight:700;
  line-height:1.45;
}
.audit-witness-history-row.event span{
  display:flex;
  align-items:flex-start;
  gap:7px;
  min-width:0;
}
.audit-witness-history-row.event span>em{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:2px 7px;
  border-radius:999px;
  background:#eef3f8;
  color:#53697d;
  font-size:10.5px;
  font-style:normal;
  font-weight:800;
  line-height:1.2;
}
.audit-witness-history-row.event.processed span>em{
  background:#e9f6ef;
  color:#28734b;
}
.audit-witness-history-row.event.pending span>em{
  background:#fff3e5;
  color:#9a5c10;
}
.audit-witness-history-legacy{
  margin-top:8px;
  border-top:1px dashed #d8e0e8;
  padding-top:7px;
}
.audit-witness-history-legacy summary{
  cursor:pointer;
  color:#718398;
  font-size:11.5px;
  font-weight:700;
  user-select:none;
}

/* v280: quick add task inside a checklist group */
.audit-task-group-add-btn{width:20px;height:20px;padding:0;border:0;border-radius:5px;background:transparent;color:#2b6699;font:800 15px/1 Pretendard,"Noto Sans KR",sans-serif;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}
.audit-task-group-add-btn:hover{background:#dfeaf4;color:#0f4f86}
.audit-task-group-name + .audit-task-group-add-btn{margin-left:-1px;margin-right:1px}
@media(max-width:720px){.audit-task-group-add-btn{width:22px;height:22px;font-size:16px}}

/* ===== v281 좁은 데스크톱에서 증인·참고인 목록 한 화면 표시 ===== */
.audit-witness-table-head,
.audit-witness-row{
  grid-template-columns:46px 76px 64px 94px minmax(150px,1.08fr) 108px 108px 120px minmax(140px,.95fr) 24px;
  min-width:0;
}
.audit-witness-affiliation{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:normal;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  line-height:1.35;
  overflow-wrap:anywhere;
}
@media (max-width:1180px){
  .audit-witness-table-head,
  .audit-witness-row{
    grid-template-columns:42px 72px 60px 88px minmax(132px,1fr) 100px 100px 110px minmax(124px,.9fr) 22px;
    min-width:0;
  }
  .audit-witness-row{font-size:12.7px}
  .audit-witness-name{font-size:13.8px}
  .audit-witness-row>span,
  .audit-witness-row>strong{padding-right:8px}
}
@media (max-width:900px){
  .audit-witness-table-head,
  .audit-witness-row{
    min-width:1040px;
  }
}

/* === v285 업무 상황판 질의순서: 2일차-1 증인·참고인 제외 포함 === */
.audit-taskboard-info-modal.question-compact{width:min(560px,calc(100vw - 28px))}
.audit-taskboard-info-modal.question-compact .audit-taskboard-modal-head{padding-left:14px;padding-right:12px}
.audit-taskboard-info-modal.question-compact .audit-taskboard-modal-body{padding-left:14px;padding-right:14px}
.audit-taskboard-question-list li{
  grid-template-columns:32px 94px minmax(0,1fr);
  align-items:start;
  gap:7px;
  padding:7px 3px;
}
.audit-taskboard-question-list li> b{padding-top:2px;white-space:nowrap}
.audit-taskboard-question-member{font-weight:700;color:#183b5b;padding-top:2px;white-space:nowrap}
.audit-taskboard-question-assignments{display:flex;flex-direction:column;gap:3px;min-width:0}
.audit-taskboard-question-people{display:flex;align-items:flex-start;gap:5px;min-width:0;line-height:1.35}
.audit-taskboard-question-type{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:20px;padding:0 5px;border-radius:999px;font-size:10px;font-weight:800}
.audit-taskboard-question-people.witness .audit-taskboard-question-type{background:#eaf3fb;color:#155b91}
.audit-taskboard-question-people.reference .audit-taskboard-question-type{background:#f7f1e8;color:#8a5a17}
.audit-taskboard-question-names{min-width:0;color:#40566b;overflow-wrap:anywhere}
.audit-taskboard-question-list li.has-people{background:#fbfdff}
.audit-taskboard-question-list li.chair{margin-top:5px;border-top:1px solid #dbe5ee}
.audit-taskboard-question-list li.chair>b{font-size:11px;color:#667d91;text-align:right}
.audit-taskboard-info-loading,.audit-taskboard-info-warning{padding:18px 8px;color:#657b90;font-size:13px;text-align:center}
.audit-taskboard-info-warning{color:#a06018;background:#fff8ed;border:1px solid #f1ddbc;border-radius:8px;margin-bottom:8px}
@media(max-width:620px){
  .audit-taskboard-info-modal.question-compact{width:min(520px,calc(100vw - 20px))}
  .audit-taskboard-question-list li{grid-template-columns:28px 78px minmax(0,1fr);gap:5px;padding:6px 2px}
  .audit-taskboard-question-type{min-width:32px;padding:0 4px}
  .audit-taskboard-question-people{gap:4px}
}


/* ===== v286 국정감사 상황판: 대상기관을 일차 제목 행으로 이동 ===== */
.audit-task-card-title{
  flex:0 0 auto;
}
.audit-task-card-title-institution{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.audit-task-card-title-institution .audit-task-card-institution-text,
.audit-task-card-title-institution .audit-task-card-institution-link{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}
.audit-task-card-title-institution .audit-task-card-institution-text{
  color:#3c5870;
}
.audit-task-card-title-institution .audit-task-card-institution-link{
  color:#1e639b;
}
.audit-task-card-coreinfo{
  grid-template-columns:max-content max-content;
}
@media (max-width:760px){
  .audit-task-card-title-row{align-items:flex-start;flex-wrap:wrap}
  .audit-task-card-title-institution{flex:1 1 55%;padding-top:1px}
  .audit-task-card-title-institution .audit-task-card-institution-text,
  .audit-task-card-title-institution .audit-task-card-institution-link{font-size:13.5px!important}
  .audit-task-card-coreinfo{grid-template-columns:1fr;gap:5px}
}

/* ===== v289 국정감사 상황판: 질의시간을 기본정보 크기로 + 질의순서 같은 줄 ===== */
.audit-task-card-inquiry{
  margin-top:4px;
  padding-top:0;
  border-top:0;
  color:#51677c;
  font-size:13.5px;
  line-height:1.38;
  letter-spacing:-0.02em;
}
.audit-task-card-inquiry-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
.audit-task-card-inquiry-times{
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  min-width:0;
}
.audit-task-card-inquiry-times>strong{
  color:#274861;
  font-size:13px;
  font-weight:900;
  margin-right:1px;
  flex:none;
}
.audit-task-card-inquiry-times span{white-space:nowrap;font-weight:400}
.audit-task-card-inquiry-times span b{font-weight:600;color:inherit}
.audit-task-card-inquiry-times i{font-style:normal;color:#aebbc6}
.audit-task-card-inquiry-main .audit-task-card-question-link{margin-left:auto;flex:none}
.audit-task-card-inquiry-note{
  margin-top:2px;
  color:#7c8d9b;
  font-size:10.5px;
  font-weight:500;
  line-height:1.3;
  white-space:normal;
}
@media (max-width:760px){
  .audit-task-card-inquiry{font-size:13px}
  .audit-task-card-inquiry-times>strong{font-size:12.5px}
  .audit-task-card-inquiry-main{gap:7px}
  .audit-task-card-inquiry-note{font-size:10px}
}


/* ===== v290 국정감사 상황판: 질의시간 CSS 파싱 복구 및 기본정보와 타이포 통일 ===== */
.audit-task-card-inquiry{
  margin-top:4px!important;
  padding-top:0!important;
  border-top:0!important;
  color:#51677c!important;
  font-size:13.5px!important;
  line-height:1.38!important;
  letter-spacing:-0.02em!important;
}
.audit-task-card-inquiry-main{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-width:0!important;
}
.audit-task-card-inquiry-times{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
  font-size:13.5px!important;
  line-height:1.38!important;
  font-weight:400!important;
}
.audit-task-card-inquiry-times>strong{
  color:#274861!important;
  font-size:13px!important;
  line-height:1.38!important;
  font-weight:900!important;
  margin-right:1px!important;
  flex:none!important;
}
.audit-task-card-inquiry-times span{
  font-size:13.5px!important;
  line-height:1.38!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.audit-task-card-inquiry-times span b{
  font-size:13.5px!important;
  line-height:1.38!important;
  font-weight:600!important;
  color:inherit!important;
}
.audit-task-card-inquiry-main .audit-task-card-question-link{
  margin-left:auto!important;
  flex:none!important;
  font-size:13px!important;
  line-height:1.38!important;
}
.audit-task-card-inquiry-note{
  margin-top:2px!important;
  color:#7c8d9b!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.3!important;
  white-space:normal!important;
}
@media (max-width:760px){
  .audit-task-card-inquiry,
  .audit-task-card-inquiry-times,
  .audit-task-card-inquiry-times span,
  .audit-task-card-inquiry-times span b{font-size:13px!important}
  .audit-task-card-inquiry-times>strong,
  .audit-task-card-inquiry-main .audit-task-card-question-link{font-size:12.5px!important}
  .audit-task-card-inquiry-main{gap:7px!important}
  .audit-task-card-inquiry-note{font-size:10px!important}
}

/* ===== v294 국정감사 상황판: 중계는 제목행 우측, 오·만찬은 일시·장소 다음 줄 ===== */
.audit-task-card-title-row{
  align-items:center;
}
.audit-task-title-broadcast{
  flex:none;
  margin-left:auto;
  white-space:nowrap;
  font-size:12.5px;
  line-height:1.25;
  font-weight:850;
}
.audit-task-card-title-institution + .audit-task-card-badge,
.audit-task-card-title-institution + .audit-task-card-badge + .audit-task-title-broadcast{
  flex:none;
}
.audit-task-card-coreinfo{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px 12px!important;
  margin-top:9px!important;
  color:#51677c;
  font-size:13.5px!important;
  line-height:1.38!important;
}
.audit-task-card-coreinfo>div{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0;
  white-space:nowrap;
}
.audit-task-card-coreinfo b{
  color:#274861!important;
  font-size:13px!important;
  font-weight:900!important;
}
.audit-task-card-coreinfo span{
  font-size:13.5px!important;
  font-weight:400!important;
}
.audit-task-card-core-meal b{
  color:#b47721!important;
}

.audit-task-card-meal-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 12px;
  margin-top:4px;
  color:#51677c;
  font-size:13.5px;
  line-height:1.38;
}
.audit-task-card-meal-row .audit-task-card-core-meal{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  white-space:nowrap;
}
.audit-task-card-meal-row .audit-task-card-core-meal b{
  color:#b47721!important;
  font-size:13px;
  font-weight:900;
}
.audit-task-card-meal-row .audit-task-card-core-meal span{
  color:#51677c;
  font-size:13.5px;
  font-weight:400;
}
.audit-task-card-ops{display:none!important}

@media (max-width:760px){
  .audit-task-title-broadcast{font-size:12px}
  .audit-task-card-coreinfo{font-size:13px!important;gap:5px 9px!important}
  .audit-task-card-coreinfo b{font-size:12.5px!important}
  .audit-task-card-coreinfo span{font-size:13px!important}
  .audit-task-card-meal-row{font-size:13px;gap:4px 9px;margin-top:4px}
  .audit-task-card-meal-row .audit-task-card-core-meal b{font-size:12.5px}
  .audit-task-card-meal-row .audit-task-card-core-meal span{font-size:13px}
}


/* v296: 행정실 직원 계정 - 국정감사 지원 열람 전용 */
body.portal-audit-readonly .audit-taskboard-undo-btn,
body.portal-audit-readonly .audit-taskboard-clear-btn,
body.portal-audit-readonly .audit-taskboard-common-btn,
body.portal-audit-readonly .audit-task-card-footer,
body.portal-audit-readonly .audit-task-group-add-btn,
body.portal-audit-readonly .audit-task-icon-btn,
body.portal-audit-readonly .audit-task-drag-handle,
body.portal-audit-readonly #auditWitnessAddBtn,
body.portal-audit-readonly #auditWitnessResetBtn,
body.portal-audit-readonly #auditWitnessSaveBtn { display:none !important; }
body.portal-audit-readonly .audit-task-text,
body.portal-audit-readonly .audit-task-group-name { cursor:default !important; }
body.portal-audit-readonly .audit-task-row input[type="checkbox"]:disabled { opacity:.75; cursor:default; }
body.portal-audit-readonly #auditWitnessEditForm.readonly input:disabled,
body.portal-audit-readonly #auditWitnessEditForm.readonly select:disabled,
body.portal-audit-readonly #auditWitnessEditForm.readonly textarea:disabled {
  opacity:1; color:#34465d; -webkit-text-fill-color:#34465d; background:#f7f9fc; cursor:default;
}

/* v298: 관리자용 행정실 직원 권한 설정 */
.staff-permissions-modal{position:fixed;inset:0;z-index:2600;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(20,31,48,.42);backdrop-filter:blur(2px)}
.staff-permissions-modal.open{display:flex}
.staff-permissions-card{width:min(820px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 40px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #d8e0ea;border-radius:18px;box-shadow:0 24px 70px rgba(19,35,58,.22);color:#1d2b3f}
.staff-permissions-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #e6ebf1;background:#fbfcfe}
.staff-permissions-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}.staff-permissions-head strong{font-size:18px;font-weight:850;letter-spacing:-.03em}.staff-permissions-head span{font-size:12.5px;color:#7b8798}
.staff-permissions-head button{border:0;background:transparent;width:32px;height:32px;border-radius:8px;font-size:24px;line-height:1;color:#68778b;cursor:pointer}.staff-permissions-head button:hover{background:#eef2f6}
.staff-permissions-body{padding:16px 20px 10px;overflow:auto}.staff-permissions-note{margin:0 0 12px;padding:10px 12px;border:1px solid #dce6f1;border-radius:10px;background:#f7faff;font-size:12.5px;line-height:1.45;color:#64758a}
.staff-permissions-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid #dde4ec;border-radius:12px;overflow:hidden}
.staff-permission-row{display:grid;grid-template-columns:minmax(210px,.9fr) minmax(320px,1.25fr);gap:18px;align-items:center;padding:13px 14px;background:#fff;border-bottom:1px solid #e8edf2}.staff-permission-row:last-child{border-bottom:0}.staff-permission-row:nth-child(even){background:#fcfdff}
.staff-permission-info{display:flex;flex-direction:column;gap:3px}.staff-permission-info strong{font-size:14px;font-weight:800;color:#26374d}.staff-permission-info span{font-size:11.5px;line-height:1.35;color:#8190a2}
.staff-permission-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.staff-permission-actions label{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 9px;border:1px solid #d7e0ea;border-radius:8px;background:#fff;font-size:12px;font-weight:700;color:#52647a;cursor:pointer;user-select:none}.staff-permission-actions label:has(input:checked){border-color:#adc4e2;background:#eff6ff;color:#24588e}.staff-permission-actions label:has(input:disabled){opacity:.42;cursor:not-allowed}.staff-permission-actions input{width:14px;height:14px;margin:0;accent-color:#2f69ab}
/* v422 부산 현장시찰은 세부 권한 7개를 여러 줄로 표시한다. */
.staff-permission-row[data-permission-group="busanVisit"] .staff-permission-actions{flex-wrap:wrap;row-gap:8px;justify-content:flex-start}
.staff-permission-row[data-permission-group="busanVisit"] .staff-permission-info span{max-width:255px}
.staff-permissions-status{min-height:20px;padding:9px 2px 0;font-size:12px;color:#4f7b63}.staff-permissions-status.error{color:#b54850}
.staff-permissions-footer{display:flex;align-items:center;gap:8px;padding:13px 20px 16px;border-top:1px solid #e6ebf1;background:#fbfcfe}.staff-permissions-footer .spacer{flex:1}.staff-permissions-footer button{height:34px;padding:0 13px;border:1px solid #d1dbe6;border-radius:8px;background:#fff;color:#53657b;font-size:12px;font-weight:750;cursor:pointer}.staff-permissions-footer button.primary{border-color:#2e66a8;background:#2e66a8;color:#fff}.staff-permissions-footer button:disabled{opacity:.55;cursor:default}

/* v298: 권한별 읽기 전용 UI */
body.portal-taskboard-readonly .audit-taskboard-undo-btn,
body.portal-taskboard-readonly .audit-taskboard-clear-btn,
body.portal-taskboard-readonly .audit-taskboard-common-btn,
body.portal-taskboard-readonly .audit-task-card-footer,
body.portal-taskboard-readonly .audit-task-group-add-btn,
body.portal-taskboard-readonly .audit-task-icon-btn,
body.portal-taskboard-readonly .audit-task-drag-handle{display:none!important}
body.portal-taskboard-readonly .audit-task-text,body.portal-taskboard-readonly .audit-task-group-name{cursor:default!important}
body.portal-taskboard-readonly .audit-task-row input[type="checkbox"]:disabled{opacity:.75;cursor:default}
body.portal-witness-readonly #auditWitnessAddBtn,body.portal-witness-readonly #auditWitnessResetBtn,body.portal-witness-readonly #auditWitnessSaveBtn{display:none!important}
body.portal-witness-readonly #auditWitnessEditForm.readonly input:disabled,body.portal-witness-readonly #auditWitnessEditForm.readonly select:disabled,body.portal-witness-readonly #auditWitnessEditForm.readonly textarea:disabled{opacity:1;color:#34465d;-webkit-text-fill-color:#34465d;background:#f7f9fc;cursor:default}
body.portal-todo-readonly #todoAddOpen,body.portal-todo-readonly #todoSyncBtn,body.portal-todo-readonly .todo-entry,body.portal-todo-readonly .todo-move-date,body.portal-todo-readonly .todo-edit,body.portal-todo-readonly .todo-delete{display:none!important}
body.portal-todo-readonly .todo-item{cursor:default!important}.portal-todo-readonly .todo-check:disabled{opacity:.7;cursor:default}

@media(max-width:720px){.staff-permissions-modal{padding:10px}.staff-permissions-card{width:100%;max-height:calc(100vh - 20px);border-radius:14px}.staff-permission-row{grid-template-columns:1fr;gap:9px}.staff-permission-actions{justify-content:flex-start}.staff-permissions-head{padding:15px 16px}.staff-permissions-body{padding:12px 14px 8px}.staff-permissions-footer{padding:12px 14px 14px}.staff-permissions-head>div{display:block}.staff-permissions-head span{display:block;margin-top:3px}}

/* v298: 관리자 세션에 권한 버튼이 보일 때만 3개 작업칸으로 확장 */
.portal-admin-session:has(#portalStaffPermissionsBtn:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.72fr) 34px!important}
.portal-admin-session #portalStaffPermissionsBtn{color:#425f82!important}
@media(max-width:720px){
  .portal-admin-session:has(#portalStaffPermissionsBtn:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,.72fr) 34px!important}
}


/* v300: 행정실 직원 세션은 로그아웃만 표시 */
body.portal-staff-session .portal-admin-session{
  grid-template-columns:34px !important;
  justify-content:end !important;
}
body.portal-staff-session .portal-admin-session .portal-admin-action-btn:not(.logout){
  display:none !important;
}
body.portal-staff-session .portal-admin-session .portal-admin-action-btn.logout{
  grid-column:auto !important;
  justify-self:end !important;
  width:34px !important;
  min-width:34px !important;
  border-left:0 !important;
}


/* v300: 행정실 직원 로그아웃 버튼은 화살표 + 문구 표시 */
.portal-admin-session .portal-admin-action-btn.logout .logout-label{display:none!important;}
body.portal-staff-session .portal-admin-session{grid-template-columns:max-content!important;}
body.portal-staff-session .portal-admin-session .portal-admin-action-btn.logout{
  width:auto!important;
  min-width:86px!important;
  padding:0 10px!important;
  gap:6px!important;
  border-left:0!important;
  justify-content:center!important;
}
body.portal-staff-session .portal-admin-session .portal-admin-action-btn.logout .logout-label{
  display:inline!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* v301: 관리자 하단 컨트롤 정렬 - 일반/모바일/권한 균등, 로그아웃은 화살표만 */
body:not(.portal-staff-session) .portal-admin-session:has(#portalStaffPermissionsBtn:not([hidden])){
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 42px !important;
}
body:not(.portal-staff-session) .portal-admin-session .portal-admin-action-btn:not(.logout){
  min-width:0 !important;
  padding-left:5px !important;
  padding-right:5px !important;
  white-space:nowrap !important;
}
body:not(.portal-staff-session) .portal-admin-session .portal-admin-action-btn.logout{
  width:42px !important;
  min-width:42px !important;
  padding:0 !important;
  gap:0 !important;
  justify-content:center !important;
}
body:not(.portal-staff-session) .portal-admin-session .portal-admin-action-btn.logout .logout-label{
  display:none !important;
}
@media(max-width:720px){
  body:not(.portal-staff-session) .portal-admin-session:has(#portalStaffPermissionsBtn:not([hidden])){
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px !important;
  }
}

/* ===== v302 국정감사 상황판: 시안 A 연한 헤더 밴드 + 기본정보 아이콘 ===== */
.audit-task-card{
  overflow:hidden;
}
.audit-task-card-head{
  padding:0!important;
  background:#f7fbff;
  border-bottom:1px solid #dce7f1;
}
.audit-task-card-title-row{
  min-height:56px;
  padding:12px 14px 11px;
  gap:10px!important;
  background:linear-gradient(180deg,#eef7fe 0%,#eaf4fc 100%);
  border-bottom:1px solid #dbe9f5;
}
.audit-task-card-title strong{
  color:#173b5d;
  font-size:18px!important;
  letter-spacing:-.25px;
}
.audit-task-card-title-institution .audit-task-card-institution-text,
.audit-task-card-title-institution .audit-task-card-institution-link{
  font-size:14px!important;
  font-weight:650!important;
  color:#2f5778;
}
.audit-task-card-title-institution .audit-task-card-institution-link{
  color:#1d659d;
  text-decoration-color:#75a4ca;
}
.audit-task-title-broadcast{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:4px 9px;
  border:1px solid #d1e1ee;
  border-radius:7px;
  background:rgba(255,255,255,.78);
  box-shadow:0 1px 2px rgba(35,74,109,.04);
  font-size:11.5px!important;
  font-weight:850;
}
.audit-task-title-broadcast.youtube{color:#255c88}
.audit-task-title-broadcast.live{color:#c63e34;border-color:#f0cbc7;background:#fff9f8}
.audit-task-title-broadcast.recording{color:#a16a19;border-color:#ead9bd;background:#fffbf4}
.audit-task-card-info-body{
  padding:10px 14px 11px;
  background:linear-gradient(180deg,#f8fcff 0%,#f4f9fd 100%);
}
.audit-task-card-coreinfo{
  margin-top:0!important;
  gap:7px 16px!important;
}
.audit-task-card-coreinfo>div,
.audit-task-card-meal-row,
.audit-task-card-inquiry-times{
  color:#4b647b;
}
.audit-task-card-coreinfo>div{
  gap:5px!important;
}
.audit-task-card-coreinfo b,
.audit-task-card-meal-row .audit-task-card-core-meal b,
.audit-task-card-inquiry-times>strong{
  color:#294d6c!important;
}
.audit-task-meta-icon{
  width:16px;
  height:16px;
  flex:0 0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#2b72ab;
  margin-right:1px;
}
.audit-task-meta-icon svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.audit-task-card-meal-row{
  margin-top:6px!important;
  gap:6px 11px!important;
}
.audit-task-card-meal-row>.audit-task-meta-icon{
  color:#b17622;
  margin-right:-1px;
}
.audit-task-card-meal-row .audit-task-card-core-meal{
  gap:4px!important;
}
.audit-task-card-inquiry{
  margin-top:6px!important;
}
.audit-task-card-inquiry-main{
  gap:8px!important;
}
.audit-task-card-inquiry-times{
  gap:4px!important;
}
.audit-task-card-inquiry-times>.audit-task-meta-icon{
  color:#2b72ab;
  margin-right:1px;
}
.audit-task-card-question-link{
  color:#1e659b!important;
}
.audit-task-card-inquiry-note{
  margin-left:18px;
  margin-top:3px!important;
}
.audit-task-card-progress{
  border-top:0;
}
.audit-task-card.past .audit-task-card-title-row{
  background:linear-gradient(180deg,#f1f4f7 0%,#edf1f5 100%);
}
.audit-task-card.past .audit-task-card-info-body{
  background:#f8fafb;
}
.audit-task-card.past .audit-task-meta-icon{color:#7f93a5}

@media (max-width:760px){
  .audit-task-card-title-row{min-height:52px;padding:10px 12px 9px}
  .audit-task-card-title strong{font-size:17px!important}
  .audit-task-card-title-institution .audit-task-card-institution-text,
  .audit-task-card-title-institution .audit-task-card-institution-link{font-size:13.5px!important}
  .audit-task-card-info-body{padding:9px 12px 10px}
  .audit-task-card-coreinfo{gap:6px 12px!important}
  .audit-task-meta-icon{width:15px;height:15px;flex-basis:15px}
  .audit-task-meta-icon svg{width:14px;height:14px}
  .audit-task-card-inquiry-note{margin-left:17px}
}


/* ===== v303 국정감사 상황판: 남은 일정 제목 존재감 완화 ===== */
#auditTaskboardUpcomingSection > .audit-taskboard-section-title{
  background:transparent;
  padding-left:0;
  padding-right:0;
  border-radius:0;
  color:#536b82;
  font-weight:750;
}
#auditTaskboardUpcomingSection > .audit-taskboard-section-title > span{
  color:#7890a5;
}
#auditTaskboardUpcomingSection > .audit-taskboard-section-title > strong{
  font-weight:780;
}

/* v304: 증인·참고인 기초 등록정보 수정 */
.audit-witness-original-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.audit-witness-original-head h3{margin:0!important}
.audit-witness-original-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
#auditWitnessPersonEditBtn,
#auditWitnessDeleteBtn{
  flex:0 0 auto;
  height:31px;
  padding:0 10px;
  border:1px solid #cbd7e2;
  border-radius:6px;
  background:#fff;
  color:#315b7d;
  font-family:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
#auditWitnessPersonEditBtn:hover{background:#f4f8fb}
#auditWitnessDeleteBtn.danger{border-color:#e2b6b6;color:#a64b4b}
#auditWitnessDeleteBtn.danger:hover{background:#fff5f5}
#auditWitnessDeleteBtn:disabled,#auditWitnessPersonDeleteBtn:disabled{opacity:.55;cursor:wait}
.audit-witness-person-modal{width:min(780px,calc(100vw - 34px))}
#auditWitnessPersonForm{
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 116px);
}
#auditWitnessPersonRequesterList .audit-witness-add-requester-row{grid-template-columns:120px 130px minmax(200px,1fr) 30px}
.audit-witness-person-warning{
  margin-top:14px;
  padding:10px 11px;
  border-radius:7px;
  background:#f7f9fb;
  color:#728195;
  font-size:10.5px;
  line-height:1.55;
  font-weight:650;
}
.audit-witness-person-actions{align-items:center}
.audit-witness-person-actions-spacer{flex:1}
.audit-witness-person-actions .danger{
  border:1px solid #e2b6b6;
  background:#fff;
  color:#a64b4b;
}
.audit-witness-person-actions .danger:hover{background:#fff5f5}
body.audit-witness-person-open{overflow:hidden}
@media(max-width:720px){
  .audit-witness-person-modal{width:calc(100vw - 18px)}
  #auditWitnessPersonRequesterList .audit-witness-add-requester-row{grid-template-columns:1fr 1fr 30px}
  #auditWitnessPersonRequesterList .audit-witness-add-requester-row .reason{grid-column:1 / 3}
}
@media(max-width:520px){
  .audit-witness-original-head{align-items:flex-start}
  #auditWitnessPersonRequesterList .audit-witness-add-requester-row{grid-template-columns:1fr 30px}
  #auditWitnessPersonRequesterList .audit-witness-add-requester-row label,
  #auditWitnessPersonRequesterList .audit-witness-add-requester-row .reason{grid-column:1}
  #auditWitnessPersonRequesterList .audit-witness-add-requester-remove{grid-column:2;grid-row:1 / 4;align-self:center}
}


/* v306: 통일된 아웃라인 메뉴 아이콘 */
.nav .ico{display:inline-flex !important;align-items:center !important;justify-content:center !important;}
.nav .ico svg,
.nav .nav-api-diag .ico svg{width:21px;height:21px;display:block;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.nav a .nav-label,
.nav .nav-api-diag .nav-label{display:inline-flex;align-items:center;}



/* v308: 오늘의 할 일 — 왼쪽 열 배치 + 계층형 목록 */
.dashboard-left > .todo-card{
  width:100% !important;
  min-width:0 !important;
}
.todo-list{
  overflow:hidden;
}
.todo-item{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-width:0 !important;
}
.todo-item-main{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1 1 auto;
  min-width:0;
  padding-left:calc(var(--todo-level, 0) * 28px);
  transition:padding-left .12s ease;
}
.todo-item-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  flex:0 0 auto;
  margin-left:auto;
}
.todo-item-actions button{
  flex:0 0 auto;
}
.todo-level-btn{
  width:24px !important;
  min-width:24px !important;
  height:24px !important;
  min-height:24px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  color:#6f839c !important;
  font-size:15px !important;
  font-weight:850 !important;
  line-height:1 !important;
  cursor:pointer !important;
}
.todo-level-btn:hover:not(:disabled){
  background:#eef4fb !important;
  color:#315b88 !important;
}
.todo-level-btn:disabled{
  opacity:.20 !important;
  cursor:default !important;
}
.todo-label{
  min-width:0 !important;
  overflow-wrap:anywhere;
}
/* 들여쓰기 단계가 눈에 띄되 별도 선/박스는 만들지 않는다. */
.todo-item[data-todo-level="1"] .todo-item-main,
.todo-item[data-todo-level="2"] .todo-item-main,
.todo-item[data-todo-level="3"] .todo-item-main,
.todo-item[data-todo-level="4"] .todo-item-main{
  position:relative;
}
@media(max-width:900px){
  .todo-item{gap:6px !important;}
  .todo-item-main{gap:6px;padding-left:calc(var(--todo-level, 0) * 22px);}
  .todo-item-actions{gap:3px;}
  .todo-level-btn{width:21px !important;min-width:21px !important;height:22px !important;min-height:22px !important;font-size:13px !important;}
}
@media(max-width:620px){
  .todo-item-main{padding-left:calc(var(--todo-level, 0) * 18px);}
  .todo-item-actions{gap:2px;}
  .todo-level-btn{width:19px !important;min-width:19px !important;}
}
body.portal-todo-readonly .todo-level-btn{display:none !important;}


/* v311: 증인·참고인 PDF 원본 첨부 (R2) */
.audit-witness-doc-slot{min-width:0;border:1px solid #e2e9f1;border-radius:10px;background:#fbfcfe;padding:8px 9px}
.audit-witness-doc-slot-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
.audit-witness-doc-slot-head strong{font-size:11px;color:#596e86;font-weight:760}
.audit-witness-doc-current,.audit-witness-doc-empty{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.audit-witness-doc-file{display:flex;align-items:center;gap:6px;min-width:0;color:#274463}
.audit-witness-doc-file>b{flex:0 0 auto;font-size:9px;line-height:1;padding:4px 5px;border-radius:5px;background:#e8f1fb;color:#205c9b}
.audit-witness-doc-file>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:650}
.audit-witness-doc-file>small{flex:0 0 auto;color:#8a99aa;font-size:9.5px}
.audit-witness-doc-actions{display:flex;align-items:center;gap:3px;flex:0 0 auto}
.audit-witness-doc-actions a,.audit-witness-doc-actions button,.audit-witness-doc-empty button{border:0;background:transparent;color:#245f9f;font:inherit;font-size:10.5px;font-weight:730;padding:4px 5px;border-radius:5px;text-decoration:none;cursor:pointer}
.audit-witness-doc-actions a:hover,.audit-witness-doc-actions button:hover,.audit-witness-doc-empty button:hover{background:#edf4fb}
.audit-witness-doc-actions button.danger{color:#b55358}
.audit-witness-doc-empty>span{color:#8b99a9;font-size:11px}
.audit-witness-doc-history{margin-top:5px;padding-top:5px;border-top:1px dashed #e3e8ee}
.audit-witness-doc-history summary{cursor:pointer;color:#718397;font-size:10px;font-weight:650}
.audit-witness-doc-history>div{display:grid;gap:3px;margin-top:4px}
.audit-witness-doc-history a{display:flex;justify-content:space-between;gap:8px;color:#526b84;text-decoration:none;font-size:10px}
.audit-witness-doc-history a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.audit-witness-doc-history a small{flex:0 0 auto;color:#98a5b4}
.audit-witness-doc-loading,.audit-witness-doc-unavailable{color:#8897a8;font-size:10.5px;line-height:1.4}
.audit-witness-doc-unavailable{color:#a86464}
.audit-witness-doc-slot-row{grid-column:1/-1;margin-top:2px;padding:7px 8px;background:#fff}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row{grid-template-columns:1fr 1fr}
#auditWitnessRequesterWithdrawalList .audit-witness-requester-status-row .audit-witness-doc-slot-row{grid-column:1/-1}
.audit-witness-request-doc-row{display:grid;grid-template-columns:1fr;gap:5px;padding:0}
.audit-witness-request-doc-row>label{margin:0}
#auditWitnessRequesterRequestList{display:grid;gap:8px}
.audit-witness-original-request-row{display:grid!important;grid-template-columns:1fr!important}
.audit-witness-doc-slot-original{margin-top:7px;background:#fff}
@media(max-width:720px){.audit-witness-doc-current,.audit-witness-doc-empty{align-items:flex-start}.audit-witness-doc-actions{flex-wrap:wrap;justify-content:flex-end}}


/* v312: 증인·참고인 우측 패널 문서영역 정리 */
.audit-witness-edit-section{
  padding-top:18px !important;
  margin-top:18px !important;
}
.audit-witness-edit-section:first-of-type{margin-top:0 !important;}
.audit-witness-edit-section>h3{
  margin:0 0 10px !important;
  font-size:13px !important;
  line-height:1.35 !important;
}
.audit-witness-doc-note{
  margin:-2px 0 10px !important;
  color:#7f8fa1 !important;
}
.audit-witness-general-docs{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
}
.audit-witness-general-doc-card{
  min-width:0;
  border:1px solid #dce5ef;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}
.audit-witness-general-doc-title{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:40px !important;
  margin:0 !important;
  padding:9px 11px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f8fafc !important;
  color:#2e4866 !important;
  font-size:12.5px !important;
  font-weight:740 !important;
  line-height:1.3 !important;
}
.audit-witness-general-doc-title input{flex:0 0 auto;}
.audit-witness-general-doc-card .audit-witness-doc-slot-inline{
  border:0 !important;
  border-top:1px solid #edf1f5 !important;
  border-radius:0 !important;
  background:#fff !important;
  padding:8px 10px !important;
}
.audit-witness-general-doc-card .audit-witness-doc-slot-head{display:none !important;}
.audit-witness-general-doc-card .audit-witness-doc-current,
.audit-witness-general-doc-card .audit-witness-doc-empty{min-height:28px;}
.audit-witness-general-doc-card .audit-witness-doc-file>span{font-size:11px !important;}
.audit-witness-general-doc-card .audit-witness-doc-actions a,
.audit-witness-general-doc-card .audit-witness-doc-actions button,
.audit-witness-general-doc-card .audit-witness-doc-empty button{font-size:10px !important;}
.audit-witness-general-doc-card .audit-witness-doc-empty>span{font-size:10.5px !important;}
.audit-witness-general-doc-card .audit-witness-doc-history{margin-top:6px !important;}

/* 신청의원별 서류는 한 행 자체를 하나의 카드로 보이게 하고 첨부영역은 내부 구분선으로 처리 */
.audit-witness-requester-status-row,
.audit-witness-request-doc-row,
.audit-witness-original-request-row{
  border:1px solid #e0e7ef !important;
  border-radius:10px !important;
  background:#fff !important;
  overflow:hidden !important;
}
.audit-witness-requester-status-row .audit-witness-doc-slot-row,
.audit-witness-request-doc-row .audit-witness-doc-slot-row,
.audit-witness-original-request-row .audit-witness-doc-slot-original{
  margin:0 !important;
  border:0 !important;
  border-top:1px solid #edf1f5 !important;
  border-radius:0 !important;
  background:#fff !important;
}

/* '필요 서류 없음'은 큰 박스 대신 조용한 상태표시 */
.audit-witness-required-docs{
  min-height:auto !important;
  padding:7px 10px !important;
  border:0 !important;
  border-radius:8px !important;
  background:#f5f7fa !important;
  color:#74869a !important;
}

@media(max-width:720px){
  .audit-witness-general-docs{grid-template-columns:1fr !important;}
  .audit-witness-general-doc-card .audit-witness-doc-current,
  .audit-witness-general-doc-card .audit-witness-doc-empty{align-items:center !important;}
}


/* v313: 원 출석요구 카드 내부 여백/정렬 보정 */
.audit-witness-original-request-row{
  gap:0 !important;
  padding:0 !important;
}
.audit-witness-original-request-row>strong{
  display:block !important;
  margin:0 !important;
  padding:9px 11px 2px !important;
  line-height:1.35 !important;
}
.audit-witness-original-request-row>span{
  display:block !important;
  margin:0 !important;
  padding:2px 11px 9px !important;
  line-height:1.45 !important;
}
.audit-witness-original-request-row .audit-witness-doc-slot-original{
  margin:0 !important;
  padding:8px 10px !important;
  border-top:1px solid #edf1f5 !important;
}
.audit-witness-original-request-row .audit-witness-doc-slot-head{
  margin-bottom:4px !important;
}
.audit-witness-original-request-row .audit-witness-doc-current,
.audit-witness-original-request-row .audit-witness-doc-empty{
  min-height:26px !important;
}

/* v315: 오늘의 할 일 - 부모행에서 바로 하위 할 일 추가 */
.todo-child-add{
  width:24px !important;min-width:24px !important;height:24px !important;min-height:24px !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  padding:0 !important;margin:0 !important;border:0 !important;border-radius:6px !important;
  background:transparent !important;color:#2f6fa8 !important;font-size:17px !important;font-weight:850 !important;line-height:1 !important;cursor:pointer !important;
}
.todo-child-add:hover:not(:disabled){background:#eaf3fc !important;color:#174f84 !important;}
.todo-child-add:disabled{opacity:.18 !important;cursor:default !important;}
@media(max-width:900px){.todo-child-add{width:21px !important;min-width:21px !important;height:22px !important;min-height:22px !important;font-size:15px !important;}}
@media(max-width:620px){.todo-child-add{width:19px !important;min-width:19px !important;font-size:14px !important;}}
body.portal-todo-readonly .todo-child-add{display:none !important;}


/* ===== v316 날짜별 증인·참고인 명단 HWPX ===== */
.audit-witness-date-hwpx-modal{width:min(470px,calc(100vw - 34px));}
.audit-witness-date-hwpx-body{padding:20px 20px 18px;display:flex;flex-direction:column;gap:8px;}
.audit-witness-date-hwpx-body>label{color:#50677e;font-size:11px;font-weight:850;}
.audit-witness-date-hwpx-body>select{
  width:100%;height:42px;padding:0 36px 0 12px;border:1px solid #cbd8e5;border-radius:8px;background:#fff;color:#17334f;
  font:800 13px/1.2 inherit;outline:none;
}
.audit-witness-date-hwpx-body>select:focus{border-color:#6f9bc3;box-shadow:0 0 0 3px rgba(38,105,166,.09);}
.audit-witness-date-hwpx-summary{margin-top:4px;padding:12px 13px;border-radius:8px;background:#f4f8fc;color:#567089;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11.5px;font-weight:750;}
.audit-witness-date-hwpx-summary strong{color:#173f67;font-size:13px;font-weight:900;white-space:nowrap;}
.audit-witness-date-hwpx-actions{padding:12px 18px 16px;border-top:1px solid #e3e9ef;display:flex;justify-content:flex-end;gap:8px;}
@media(max-width:720px){
  .audit-witness-date-hwpx-summary{align-items:flex-start;flex-direction:column;gap:4px;}
}


/* ===== v318 모바일 상단 탭: 스크롤바 숨김 + 제목 줄바꿈 방지 ===== */
@media(max-width:900px){
  .audit-support-tabs,
  .scenario-direct-tabs{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
    -webkit-overflow-scrolling:touch;
  }
  .audit-support-tabs::-webkit-scrollbar,
  .scenario-direct-tabs::-webkit-scrollbar{
    display:none !important;
    width:0 !important;
    height:0 !important;
  }
  .audit-support-tab,
  .scenario-direct-tab{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    word-break:keep-all !important;
    overflow-wrap:normal !important;
  }
  .scenario-direct-tab span{
    display:inline !important;
    white-space:nowrap !important;
  }
}

/* v319: 모바일 브랜드명과 회기정보 사이 간격 보정 */
@media(max-width:900px){
  .brand{column-gap:16px !important;}
  .mobile-session-summary{margin-left:4px !important;}
}
@media(max-width:430px){
  .brand{column-gap:13px !important;}
  .mobile-session-summary{margin-left:3px !important;}
}

/* v324: 국회관계법령 관련자료 탐색 안정화는 assembly_law.htm/portal.js에서 처리 */


/* v326: 오늘의 할 일 보고 배지 클릭과 순서 드래그를 분리 */
.todo-item{cursor:default !important;}
.todo-label[draggable="true"]{cursor:grab;user-select:none;-webkit-user-select:none;}
.todo-label[draggable="true"]:active{cursor:grabbing;}
.todo-target-badge{position:relative;z-index:2;}

/* ===== v327 오늘의 할 일: 조작부 단순화 + 선택형 액션바 ===== */
.todo-card{overflow:visible !important;}
.todo-list{overflow:visible !important;}
.todo-item{
  position:relative !important;
  cursor:default !important;
  --todo-indent-unit:28px;
  transition:background-color .12s ease !important;
}
.todo-item-main{
  position:relative !important;
  padding-left:calc(var(--todo-level, 0) * var(--todo-indent-unit)) !important;
}
/* 하위 항목은 얇은 세로선 하나로 계층만 암시 */
.todo-item[data-todo-level="1"] .todo-item-main::before,
.todo-item[data-todo-level="2"] .todo-item-main::before,
.todo-item[data-todo-level="3"] .todo-item-main::before,
.todo-item[data-todo-level="4"] .todo-item-main::before{
  content:"";
  position:absolute;
  top:4px;
  bottom:4px;
  left:calc((var(--todo-level, 1) - 1) * var(--todo-indent-unit) + 10px);
  width:1px;
  border-radius:1px;
  background:#dfe7f0;
  pointer-events:none;
}
.todo-item:hover,.todo-item.is-actions-open{background:rgba(244,248,252,.72);}

/* 완료는 위치를 유지하고, 강한 취소선 대신 가볍게 톤다운 */
.todo-item.done .todo-label{
  text-decoration:none !important;
  color:#7d8998 !important;
  opacity:.68;
  font-weight:600 !important;
}
.todo-item.done .todo-time{opacity:.62;}

.todo-item-actions{
  position:relative;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:3px !important;
  flex:0 0 auto !important;
  margin-left:auto !important;
}
.todo-quick-actions{
  display:none;
  align-items:center;
  gap:2px;
}
.todo-item:hover .todo-quick-actions,
.todo-item:focus-within .todo-quick-actions,
.todo-item.is-actions-open .todo-quick-actions{display:flex;}

/* 평상시에는 + 와 ···만 보이게 */
.todo-child-add,
.todo-more{
  width:24px !important;
  min-width:24px !important;
  height:24px !important;
  min-height:24px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  line-height:1 !important;
}
.todo-more{
  color:#657b94 !important;
  font-size:18px !important;
  font-weight:850 !important;
  letter-spacing:1px;
  cursor:pointer !important;
}
.todo-more:hover,.todo-item.is-actions-open .todo-more{background:#edf3f9 !important;color:#2e557e !important;}
.todo-more-wrap{position:relative;display:flex;align-items:center;flex:0 0 auto;}
.todo-more-menu{
  position:absolute;
  z-index:80;
  top:calc(100% + 5px);
  right:0;
  min-width:92px;
  padding:4px;
  border:1px solid #dbe4ed;
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,49,76,.14);
}
.todo-more-menu[hidden]{display:none !important;}
.todo-more-menu-item{
  width:100%;
  height:30px;
  display:flex;
  align-items:center;
  padding:0 10px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#40566f;
  font:inherit;
  font-size:11px;
  font-weight:750;
  text-align:left;
  cursor:pointer;
  white-space:nowrap;
}
.todo-more-menu-item:hover{background:#f1f5f9;}
.todo-more-delete{color:#a84f55;}
.todo-more-delete:hover{background:#fff1f1;}

/* 빠른 조작은 행을 보고 있을 때만 나타난다. */
.todo-quick-actions .todo-move-date,
.todo-quick-actions .todo-level-btn{
  width:22px !important;
  min-width:22px !important;
  height:24px !important;
  min-height:24px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:6px !important;
  text-decoration:none !important;
}
.todo-quick-actions .todo-move-date:hover,
.todo-quick-actions .todo-level-btn:hover:not(:disabled){background:#edf3f9 !important;color:#315b88 !important;}

body.portal-todo-readonly .todo-item-actions{display:none !important;}

@media(max-width:900px){
  .todo-item{--todo-indent-unit:22px;flex-wrap:wrap !important;gap:0 !important;padding:2px 0 !important;}
  .todo-item-main{width:100%;flex:1 1 100% !important;gap:6px !important;min-height:31px;}
  .todo-item[data-todo-level="1"] .todo-item-main::before,
  .todo-item[data-todo-level="2"] .todo-item-main::before,
  .todo-item[data-todo-level="3"] .todo-item-main::before,
  .todo-item[data-todo-level="4"] .todo-item-main::before{left:calc((var(--todo-level, 1) - 1) * var(--todo-indent-unit) + 8px);}

  /* 모바일은 항목을 누른 경우에만 액션바를 연다. */
  .todo-item-actions{
    display:none !important;
    width:100% !important;
    flex:1 1 100% !important;
    margin:1px 0 3px !important;
    padding:5px 4px 3px calc(var(--todo-level, 0) * var(--todo-indent-unit) + 27px) !important;
    justify-content:flex-start !important;
    gap:4px !important;
  }
  .todo-item.is-actions-open .todo-item-actions{display:flex !important;}
  .todo-item.is-actions-open .todo-quick-actions{display:flex !important;}
  .todo-item:hover:not(.is-actions-open){background:transparent;}
  .todo-more-menu{top:calc(100% + 4px);right:auto;left:0;}
  .todo-child-add,.todo-more{width:22px !important;min-width:22px !important;height:22px !important;min-height:22px !important;}
  .todo-quick-actions .todo-move-date,.todo-quick-actions .todo-level-btn{width:22px !important;min-width:22px !important;height:22px !important;min-height:22px !important;}
}
@media(max-width:620px){
  .todo-item{--todo-indent-unit:18px;}
  .todo-item-actions{padding-left:calc(var(--todo-level, 0) * var(--todo-indent-unit) + 24px) !important;}
  .todo-item[data-todo-level="1"] .todo-item-main::before,
  .todo-item[data-todo-level="2"] .todo-item-main::before,
  .todo-item[data-todo-level="3"] .todo-item-main::before,
  .todo-item[data-todo-level="4"] .todo-item-main::before{left:calc((var(--todo-level, 1) - 1) * var(--todo-indent-unit) + 6px);}
}


/* ===== v328 증인·참고인 HWPX 익명 표기 옵션 ===== */
.audit-witness-anonymous-option{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:11px;
  padding:10px 11px;
  border:1px solid #dce6ef;
  border-radius:7px;
  background:#fff;
  cursor:pointer;
}
.audit-witness-anonymous-option input{
  flex:0 0 auto;
  width:16px;
  height:16px;
  margin:1px 0 0;
  accent-color:#1d5e93;
}
.audit-witness-anonymous-option>span{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.audit-witness-anonymous-option strong{
  color:#2e4c68;
  font-size:11.2px;
  font-weight:900;
}
.audit-witness-anonymous-option small{
  color:#74879a;
  font-size:10px;
  line-height:1.45;
}
.audit-witness-anonymous-option:has(input:checked){
  border-color:#a9c7df;
  background:#f2f8fc;
}
.audit-witness-anonymous-option:has(input:checked) strong{color:#155783}
.audit-witness-anonymous-option:has(input:disabled){cursor:default}

/* ===== v333 국정감사 자료모음 ===== */
.audit-library-panel{background:#f6f8fb!important;min-height:640px}
.audit-library-heading{
  min-height:82px;padding:15px 18px 13px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  border-bottom:1px solid #e1e7ee;background:#fff
}
.audit-library-heading .audit-support-section-title{font-size:16px!important;line-height:1.25}
.audit-library-heading .audit-support-subtitle{margin-top:4px;font-size:11.5px;line-height:1.45;color:#718197;font-weight:600}
.audit-library-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.audit-library-sync{font-size:10.5px;font-weight:800;color:#8291a3;white-space:nowrap}
.audit-library-sync.ok{color:#34745f}.audit-library-sync.error{color:#b24c52}
.audit-library-primary-btn,.audit-library-outline-btn{
  min-height:32px;padding:0 13px;border-radius:7px;font-family:inherit;font-size:11px;font-weight:800;line-height:1;cursor:pointer
}
.audit-library-primary-btn{border:1px solid #1c578b;background:#1c578b;color:#fff}
.audit-library-primary-btn:hover{background:#174b78}
.audit-library-outline-btn{border:1px solid #cad6e3;background:#fff;color:#224c72}
.audit-library-outline-btn:hover{background:#f5f8fb}
.audit-library-primary-btn:disabled,.audit-library-outline-btn:disabled{opacity:.48;cursor:not-allowed}

.audit-library-favorites{margin:12px 14px 9px;border:1px solid #d8e3ed;border-radius:10px;background:#eef5fa;overflow:hidden}
.audit-library-favorites-head{padding:9px 12px 7px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.audit-library-favorites-head>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.audit-library-favorites-head strong{font-size:15px;color:#1a405f;font-weight:900;white-space:nowrap}
.audit-library-favorites-head span{font-size:10.5px;color:#718498;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.audit-library-favorite-list{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:0;
  padding:0 12px 10px;overflow:visible;min-height:0
}
.audit-library-favorite-list:empty{display:none}
.audit-library-favorite-empty{width:100%;padding:10px 8px;text-align:center;color:#8493a2;font-size:11px}
.audit-library-favorite-item{
  min-width:0;min-height:40px;display:grid;grid-template-columns:18px minmax(0,1fr) 28px;
  align-items:center;gap:7px;padding:5px 2px;border:0;border-bottom:1px solid #d8e3ed;border-radius:0;background:transparent;box-shadow:none
}
.audit-library-favorite-item.dragging{opacity:.48}
.audit-library-favorite-handle{cursor:grab;color:#94a5b7;font-size:14px;text-align:center;user-select:none}
.audit-library-favorite-main{min-width:0;display:flex;align-items:center;gap:7px}
.audit-library-favorite-name{min-width:0;overflow:visible;text-overflow:clip;white-space:normal;word-break:break-word;line-height:1.35;color:#253f5a;font-size:14px;font-weight:800;border:0;background:transparent;padding:0;text-align:left;font-family:inherit;cursor:pointer}
.audit-library-favorite-name:hover{color:#0f5a93;text-decoration:underline;text-underline-offset:2px}
.audit-library-favorite-name:focus-visible{outline:2px solid #8bb8da;outline-offset:2px;border-radius:3px}
.audit-library-star-btn{
  width:26px;height:26px;border:0;border-radius:5px;background:transparent;color:#597187;cursor:pointer;font-family:inherit;font-size:10.5px;font-weight:800;line-height:1
}
.audit-library-star-btn:hover{background:#edf3f8;color:#174d7a}
.audit-library-star-btn{font-size:16px;color:#8b9bad}.audit-library-star-btn.on{color:#b2761a}

.audit-library-toolbar{margin:0 14px 9px;display:flex;align-items:center;justify-content:flex-start;gap:12px}
.audit-library-search-wrap{width:min(360px,45%);height:34px;border:1px solid #ced9e5;border-radius:7px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 10px;color:#78899a}
.audit-library-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:#253d55;font-family:inherit;font-size:12px;font-weight:650;line-height:1;padding:0}
.audit-library-search-wrap input::placeholder{color:#97a4b2}

.audit-library-workspace{display:block;margin:0 14px;min-height:430px}
.audit-library-workspace.preview-open{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:10px;align-items:start}
.audit-library-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;min-width:0}
.audit-library-loading,.audit-library-empty{grid-column:1/-1;padding:70px 10px;text-align:center;color:#7b8c9e;font-size:12px}
.audit-library-group{
  min-width:0;border:1px solid #d9e2eb;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 1px 3px rgba(36,58,81,.035)
}
.audit-library-group.dragging{opacity:.46;box-shadow:0 8px 22px rgba(30,60,90,.12)}
.audit-library-group.drag-over{outline:2px solid rgba(39,96,146,.18);outline-offset:2px}
.audit-library-group-head{height:39px;display:flex;align-items:center;gap:7px;padding:0 8px;background:#f7f9fb;border-bottom:1px solid #e7ecf1}
.audit-library-group:nth-child(4n+1) .audit-library-group-head{background:#f1f6fa}
.audit-library-group:nth-child(4n+2) .audit-library-group-head{background:#f4f7f6}
.audit-library-group:nth-child(4n+3) .audit-library-group-head{background:#f6f5f8}
.audit-library-group:nth-child(4n) .audit-library-group-head{background:#f8f7f3}
.audit-library-group-handle{width:18px;color:#8da0b2;font-size:15px;line-height:1;cursor:grab;user-select:none;text-align:center}
.audit-library-group-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1a3854;font-size:14px;font-weight:900}
.audit-library-group-count{flex:none;min-width:21px;height:19px;padding:0 6px;border-radius:10px;background:#e7edf3;color:#65798e;font-size:9.5px;font-weight:850;display:inline-flex;align-items:center;justify-content:center}
.audit-library-group-spacer{flex:1}
.audit-library-group-icon-btn{width:25px;height:25px;border:0;border-radius:5px;background:transparent;color:#71869a;cursor:pointer;font-size:12px;display:grid;place-items:center}
.audit-library-group-icon-btn:hover{background:#e8eef4;color:#244f74}.audit-library-group-icon-btn.delete:hover{background:#fbefef;color:#ae4349}
.audit-library-group-upload{height:26px;padding:0 9px;border:1px solid #cbd9e6;border-radius:6px;background:#fff;color:#22547d;font-family:inherit;font-size:13px;font-weight:800;line-height:1;cursor:pointer}
.audit-library-group-upload:hover{background:#f1f6fa}
.audit-library-file-list{min-height:49px;padding:2px 7px 5px}
.audit-library-file-empty{padding:22px 8px;text-align:center;color:#8a99a8;font-size:10.5px;border:1px dashed #d7e0e8;border-radius:6px;margin:5px 1px;background:#fbfcfd}
.audit-library-file-row{min-height:42px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:6px;border-bottom:1px solid #edf0f3;padding:3px 2px}
.audit-library-file-row:last-child{border-bottom:0}
.audit-library-file-row.is-hidden{display:none}
.audit-library-file-type{width:25px;height:25px;border-radius:5px;background:#edf3f8;color:#2a6490;display:grid;place-items:center;font-size:8.5px;font-weight:900;letter-spacing:-.02em}
.audit-library-file-type.pdf{background:#f8eeee;color:#b34d4f}.audit-library-file-type.image{background:#eef5f1;color:#39765d}.audit-library-file-type.zip{background:#f5f2e9;color:#927436}.audit-library-file-type.sheet{background:#edf5ef;color:#307552}
.audit-library-file-info{min-width:0}
.audit-library-file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#243e56;font-family:inherit;font-size:13px;font-weight:800;line-height:1.3}
.audit-library-file-meta{margin-top:2px;color:#8b99a7;font-size:11px;line-height:1.2;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.audit-library-file-actions{display:flex;align-items:center;gap:2px}
.audit-library-file-btn{height:24px;min-width:30px;padding:0 5px;border:1px solid transparent;border-radius:5px;background:transparent;color:#44657f;font-family:inherit;font-size:13px;font-weight:750;line-height:1;cursor:pointer}
.audit-library-file-btn:hover{background:#eef4f8;border-color:#d8e2ea;color:#194f79}
.audit-library-file-btn.delete{width:auto;min-width:31px;padding:0 4px;color:#9b7074}.audit-library-file-btn.delete:hover{background:#fbefef;color:#b33e46}
.audit-library-file-btn.star{width:25px;min-width:25px;padding:0;font-size:15px;color:#96a5b3}.audit-library-file-btn.star.on{color:#b47718}
.audit-library-file-btn.star:hover{background:#f8f3e9;border-color:#eee1c3}
.audit-library-group-drop-mask{display:none;position:absolute;inset:0;background:rgba(238,245,250,.94);border:2px dashed #7fa4c2;z-index:4;align-items:center;justify-content:center;color:#285a83;font-size:12px;font-weight:850}
.audit-library-group.file-drag-over{position:relative}.audit-library-group.file-drag-over .audit-library-group-drop-mask{display:flex}

.audit-library-preview{position:sticky;top:10px;border:1px solid #d9e1e9;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 2px 7px rgba(35,57,81,.06)}
.audit-library-preview-head{height:43px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e8edf2}
.audit-library-preview-head>div{min-width:0}.audit-library-preview-head strong{display:block;font-size:11.5px;color:#263f58}.audit-library-preview-head span{display:block;margin-top:2px;font-size:9px;color:#8a98a6}
.audit-library-preview-head button{width:26px;height:26px;border:0;border-radius:5px;background:transparent;color:#60758a;font-size:18px;cursor:pointer}
.audit-library-preview-name{padding:9px 10px 5px;font-size:11px;color:#294861;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.audit-library-preview-stage{height:250px;margin:0 10px 9px;border:1px solid #e2e8ee;border-radius:6px;background:#f4f6f8;display:flex;align-items:center;justify-content:center;overflow:hidden}
.audit-library-preview-stage img{max-width:100%;max-height:100%;object-fit:contain}
.audit-library-preview-actions{display:flex;justify-content:flex-end;gap:6px;padding:0 10px 10px}
.audit-library-preview-actions button{height:29px;padding:0 9px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;color:#315775;font-family:inherit;font-size:10px;font-weight:800;line-height:1;cursor:pointer}
.audit-library-preview-actions button:hover{background:#f4f7fa}
.audit-library-message{margin:0 14px 12px;padding:9px 11px;border-radius:7px;background:#f8eeee;color:#a2484e;font-size:11px;font-weight:700}

.audit-library-modal-backdrop{position:fixed;inset:0;z-index:9850;background:rgba(18,34,51,.35)}
.audit-library-modal{position:fixed;z-index:9860;left:50%;top:50%;transform:translate(-50%,-50%);width:min(500px,calc(100vw - 28px));border:1px solid #d4dee8;border-radius:11px;background:#fff;box-shadow:0 18px 55px rgba(24,45,70,.24);overflow:hidden}
.audit-library-group-modal{width:min(410px,calc(100vw - 28px))}
.audit-library-modal-head{min-height:58px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e6ebf0}
.audit-library-modal-head strong{display:block;color:#203b55;font-size:14px;font-weight:900}.audit-library-modal-head span{display:block;margin-top:3px;color:#7b8b9b;font-size:10.5px}
.audit-library-modal-head>button{width:30px;height:30px;border:0;border-radius:6px;background:transparent;color:#61778b;font-size:20px;cursor:pointer}
.audit-library-modal-body{padding:14px}
.audit-library-field{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:8px;margin-bottom:12px}.audit-library-field>span{color:#536b80;font-size:11px;font-weight:800}
.audit-library-field select,.audit-library-field input{height:34px;border:1px solid #cad6e2;border-radius:6px;background:#fff;padding:0 9px;color:#2d465d;font-family:inherit;font-size:12px;font-weight:650;line-height:1;outline:none}
.audit-library-upload-drop{min-height:140px;border:1.5px dashed #bdccda;border-radius:9px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;cursor:pointer;color:#315c7d}
.audit-library-upload-drop.drag-over{border-color:#4a7ba4;background:#f0f6fa}.audit-library-upload-drop strong{font-size:12.5px}.audit-library-upload-drop span{font-size:11px;color:#6f8294}.audit-library-upload-drop small{font-size:9.5px;color:#95a1ad}
.audit-library-upload-status{min-height:22px;margin-top:10px;color:#61778c;font-size:10.5px;line-height:1.5;white-space:pre-line}.audit-library-upload-status.error{color:#ae454c}
.audit-library-modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:14px}.audit-library-modal-actions button{height:32px;padding:0 13px;border:1px solid #cad5df;border-radius:6px;background:#fff;color:#496277;font-family:inherit;font-size:11px;font-weight:800;line-height:1;cursor:pointer}.audit-library-modal-actions button.primary{border-color:#1f5788;background:#1f5788;color:#fff}

body.portal-library-readonly .audit-library-primary-btn,
body.portal-library-readonly .audit-library-outline-btn,
body.portal-library-readonly .audit-library-group-icon-btn,
body.portal-library-readonly .audit-library-group-upload,
body.portal-library-readonly .audit-library-file-btn.delete,
body.portal-library-readonly .audit-library-file-btn.star,
body.portal-library-readonly .audit-library-favorite-handle,
body.portal-library-readonly .audit-library-star-btn{display:none!important}
body.portal-library-readonly .audit-library-group-handle{cursor:default}

@media(max-width:1040px){
  .audit-library-workspace.preview-open{grid-template-columns:minmax(0,1fr) 250px}
  .audit-library-groups{grid-template-columns:1fr}
}
@media(max-width:760px){
  .audit-library-heading{align-items:flex-start;flex-direction:column;gap:8px;padding:12px 11px}
  .audit-library-heading-actions{width:100%;justify-content:flex-start}
  .audit-library-favorites{margin:9px 8px 7px}.audit-library-favorites-head span{display:none}.audit-library-favorite-list{grid-template-columns:1fr;column-gap:0;padding-left:10px;padding-right:10px}.audit-library-favorite-item{min-width:0;max-width:none}
  .audit-library-toolbar{margin:0 8px 7px;align-items:stretch;flex-direction:column}.audit-library-search-wrap{width:100%}.audit-library-toolbar-note{display:none}
  .audit-library-workspace,.audit-library-workspace.preview-open{display:block;margin:0 8px}.audit-library-groups{grid-template-columns:1fr}
  .audit-library-preview{position:fixed;z-index:9800;left:10px;right:10px;bottom:10px;top:auto}.audit-library-preview-stage{height:min(42vh,280px)}
  .audit-library-file-row{grid-template-columns:27px minmax(0,1fr) auto}.audit-library-file-btn{min-width:27px;padding:0 3px}.audit-library-file-btn.download-text{display:none}
  }


/* ===== v339 관리자 전용 복지위 직원 정보 ===== */
.staff-info-page{padding:18px 22px 34px;background:#f4f6f9;min-height:calc(100vh - 92px)}
.staff-info-shell{max-width:1540px;margin:0 auto}
.staff-info-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.staff-info-heading h2{margin:0;color:#0b315d;font-size:18px;font-weight:850;letter-spacing:-.025em}
.staff-info-heading p{margin:5px 0 0;color:#65778d;font-size:12px;line-height:1.5}
.staff-info-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none}
.staff-info-search{display:flex;align-items:center;gap:5px;width:118px;height:30px;padding:0 8px;border:1px solid #c9d6e3;border-radius:7px;background:#fff;color:#71849a;box-sizing:border-box}
.staff-info-search:focus-within{border-color:#6d97bd;box-shadow:0 0 0 2px rgba(39,102,160,.08)}
.staff-info-search span{font-size:14px;line-height:1;flex:none}
.staff-info-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#223b57;font-family:inherit;font-size:12px;font-weight:700;line-height:1.2;padding:0}
.staff-info-search input::placeholder{color:#93a2b2;font-weight:600}
.staff-info-search input::-webkit-search-cancel-button{cursor:pointer}
.staff-info-asof{color:#71839a;font-size:11px;font-weight:700;white-space:nowrap}
.staff-info-state{border:1px solid #d9e2ec;background:#fff;border-radius:9px;padding:18px;text-align:center;color:#71839a;font-size:12px}
.staff-info-state .staff-info-retry{margin:0 8px;border:1px solid #b8c9dc;background:#fff;color:#174e83;border-radius:6px;padding:5px 9px;font:inherit;font-weight:800;cursor:pointer}
.staff-info-state span{display:block;margin-top:7px;color:#a05d63;font-size:11px}
.staff-info-table-wrap{overflow:hidden;border:1px solid #d8e1eb;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(20,49,83,.03)}
.staff-info-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#23364e;font-size:13px}
.staff-info-table .staff-col-position{width:165px}.staff-info-table .staff-col-name{width:86px}.staff-info-table .staff-col-duty{width:auto}.staff-info-table .staff-col-ext{width:78px}.staff-info-table .staff-col-mobile{width:145px}.staff-info-table .staff-col-office{width:112px}
.staff-info-table thead th{padding:10px 11px;background:#edf3f8;border-bottom:1px solid #cfdbe7;color:#21476e;font-size:13px;font-weight:850;text-align:left;letter-spacing:-.015em}
.staff-info-table tbody td{padding:9px 11px;border-bottom:1px solid #e8edf3;vertical-align:top;line-height:1.45}
.staff-info-table tbody tr:last-child td{border-bottom:0}.staff-info-table tbody tr:hover{background:#f9fbfd}
.staff-info-position{font-weight:800;color:#1f3957;line-height:1.45}.staff-info-title-sep{color:#9caebe;font-weight:500}
.staff-info-field{display:inline-flex;margin-top:5px;padding:2px 6px;border-radius:999px;background:#eef3f8;color:#627891;font-size:13px;font-weight:750}
.staff-info-name-link,.staff-info-call{color:#0f4f87;text-decoration:none;font-weight:800}.staff-info-name-link{font-size:13px}.staff-info-call:hover,.staff-info-name-link:hover{text-decoration:underline;text-underline-offset:2px}
.staff-info-mobile{white-space:nowrap}.staff-info-extension{white-space:nowrap}
.staff-info-duty-list{margin:0;padding:0;list-style:none}.staff-info-duty-list li{position:relative;margin:0 0 3px;padding-left:10px}.staff-info-duty-list li:last-child{margin-bottom:0}.staff-info-duty-list li::before{content:"";position:absolute;left:1px;top:.64em;width:3px;height:3px;border-radius:50%;background:#8ca0b6}
.staff-info-office{display:flex;flex-direction:column;gap:3px;color:#526a83;font-weight:750}.staff-info-fax{font-size:13px;color:#7c8ea2}
.staff-info-empty-value{color:#a0adba}
.staff-info-mobile-list{display:none}
@media(max-width:820px){
  .staff-info-page{padding:10px 10px 24px;min-height:0}
  .staff-info-heading{display:block;margin-bottom:10px}
  .staff-info-heading h2{font-size:17px}.staff-info-heading p{font-size:11.5px;margin-top:4px}
  .staff-info-heading-actions{margin-top:8px;justify-content:space-between;gap:8px}
  .staff-info-search{width:112px;height:30px}.staff-info-search input{font-size:12px}
  .staff-info-asof{font-size:10.5px;margin-top:0;white-space:normal;text-align:right}
  .staff-info-table-wrap{display:none!important}.staff-info-mobile-list{display:grid!important;grid-template-columns:1fr;gap:8px}
  .staff-info-mobile-card{border:1px solid #d8e2ec;background:#fff;border-radius:10px;padding:12px;box-shadow:0 1px 2px rgba(20,49,83,.03)}
  .staff-info-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #edf1f5}
  .staff-info-mobile-head>div{min-width:0}.staff-info-mobile-head strong{display:block;font-size:15px;color:#123f6d;line-height:1.2}.staff-info-mobile-head strong a{color:inherit;text-decoration:none}.staff-info-mobile-head span{display:block;margin-top:4px;color:#667a91;font-size:11px;font-weight:650}
  .staff-info-mobile-head .staff-info-field{flex:none;margin-top:0;font-size:10px}
  .staff-info-mobile-contacts{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:7px;margin-top:9px}
  .staff-info-mobile-call{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;border:1px solid #c7d7e7;background:#eef5fb;border-radius:8px;padding:8px 9px;color:#164d80;text-decoration:none}
  .staff-info-mobile-call.secondary{background:#f7f9fb;border-color:#d9e1e9;color:#536a82}.staff-info-mobile-call span{font-size:10px;font-weight:700}.staff-info-mobile-call strong{font-size:12px;white-space:nowrap}
  .staff-info-mobile-office{margin-top:7px;color:#728399;font-size:10.5px;font-weight:650}
  .staff-info-mobile-duty{margin-top:10px;padding-top:9px;border-top:1px solid #edf1f5;color:#2f4359;font-size:11.5px;line-height:1.55}
  .staff-info-mobile-duty .staff-info-duty-list li{padding-left:9px;margin-bottom:4px}
}

/* v345: 모바일 오늘의 주요 일정 LIVE 위원회 목록 */
.today-live-chip .live-mobile-names{display:none}
.live-more-toggle{
  border:0;background:transparent;padding:0;margin:0 0 0 4px;
  color:#315f92;font:inherit;font-weight:850;cursor:pointer;
  text-decoration:underline;text-underline-offset:2px;white-space:nowrap;
}
@media(max-width:640px){
  .today-card-head{align-items:flex-start !important}
  .today-live-links{
    max-width:62% !important;
    align-items:flex-start !important;
  }
  .today-live-chip{
    align-items:flex-start !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }
  .today-live-chip .live-mark{margin-top:1px !important}
  .today-live-chip .live-names{
    display:block !important;
    overflow:visible !important;
    white-space:normal !important;
    line-height:1.45 !important;
  }
  .today-live-chip .live-desktop-names{display:none !important}
  .today-live-chip .live-mobile-names{
    display:inline !important;
    white-space:normal !important;
  }
  .today-live-chip .live-name-link,
  .today-live-chip .live-sep,
  .today-live-chip .live-extra{
    display:inline !important;
    white-space:normal !important;
  }
  .today-live-chip .live-extra[hidden]{display:none !important}
  .live-more-toggle{font-size:11.5px !important}
}

/* v346: 오늘 바로 쓰는 파일 - 가로 스크롤 없는 2열 목록형 */


/* ===== v347 실시간 회의지원 자연 높이 / 포털 전체 스크롤 =====
   고정 viewport iframe을 제거하고 회의지원 문서 높이에 맞춰 iframe을 늘린다.
   따라서 회의지원 화면 자체의 별도 세로 스크롤 없이 포털 전체 화면이 한 번에 스크롤된다. */
#meetingToolsPage{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:#eef1f5!important;
}
#meetingToolsPage #meetingToolsFrame{
  display:block!important;
  width:100%!important;
  height:760px!important; /* JS가 실제 콘텐츠 높이로 즉시 갱신 */
  min-height:0!important;
  max-height:none!important;
  border:0!important;
  overflow:hidden!important;
  background:#eef1f5!important;
}
@media(max-width:900px){
  #meetingToolsPage{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  #meetingToolsPage #meetingToolsFrame{
    height:760px!important;
    min-height:0!important;
  }
}

/* v354: 관리자 전용 국정감사 상황판 렌더 진단 */
.audit-taskboard-diagnostic{margin:6px 0 8px;padding:5px 8px;border:1px solid #cbd7e2;border-radius:6px;background:#f6f8fa;color:#53687a;font-size:10.5px;line-height:1.35;display:inline-block;max-width:100%;white-space:normal}
.audit-taskboard-diagnostic[data-state="error"]{border-color:#e1b1b1;background:#fff7f7;color:#a33a3a}
.audit-taskboard-diagnostic[data-state="ok"]{border-color:#bfcfca;background:#f7faf9;color:#4f6e65}
@media(max-width:760px){.audit-taskboard-diagnostic{font-size:10px;margin-left:0;margin-right:0}}


/* ===== v355 국정감사 업무 상황판: 카드 겹침 방지 / 일반 흐름 배치 ===== */
#auditTaskboardUpcomingGrid.audit-taskboard-grid,
#auditTaskboardPastGrid.audit-taskboard-grid{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-start !important;
  align-content:flex-start !important;
  gap:14px !important;
  grid-template-columns:none !important;
  grid-auto-flow:unset !important;
}
#auditTaskboardUpcomingGrid.audit-taskboard-grid > .audit-task-card,
#auditTaskboardPastGrid.audit-taskboard-grid > .audit-task-card{
  position:relative !important;
  inset:auto !important;
  transform:none !important;
  z-index:auto !important;
  grid-area:auto !important;
  grid-column:auto !important;
  grid-row:auto !important;
  order:initial;
  margin:0 !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  flex:0 0 calc((100% - 28px) / 3) !important;
  box-sizing:border-box !important;
}
@media (max-width:1180px){
  #auditTaskboardUpcomingGrid.audit-taskboard-grid > .audit-task-card,
  #auditTaskboardPastGrid.audit-taskboard-grid > .audit-task-card{
    flex-basis:calc((100% - 14px) / 2) !important;
  }
}
@media (max-width:760px){
  #auditTaskboardUpcomingGrid.audit-taskboard-grid > .audit-task-card,
  #auditTaskboardPastGrid.audit-taskboard-grid > .audit-task-card{
    flex-basis:100% !important;
  }
}


/* v370: 오늘의 일정 아래 컴팩트한 LIVE 카드. 모든 위원회를 점으로 연결해 자연 줄바꿈. */
#homePage .dashboard-left-top{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  align-items:stretch !important;
}
#homePage .dashboard-left-top > .today,
#homePage .dashboard-left-top > .live-webcasts-card{width:100%;min-width:0;}
#homePage #todayLiveCard[hidden]{display:none !important;}
#homePage .live-webcasts-card .live-webcasts-body{padding:11px 17px;}
#homePage .live-webcasts-card .today-live-links{
  display:block !important;
  max-width:none !important;
  width:100% !important;
  min-width:0 !important;
}
#homePage .live-webcasts-card .today-live-chip{
  display:flex !important;
  align-items:flex-start !important;
  gap:10px !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  white-space:normal !important;
  text-overflow:clip !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  line-height:1.7 !important;
}
#homePage .live-webcasts-card .live-mark{
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  justify-content:center !important;
  margin-top:1px !important;
  min-width:36px !important;
  height:21px !important;
  padding:0 7px !important;
  border:1px solid #efb6be !important;
  border-radius:999px !important;
  background:#fff0f2 !important;
  color:#e33b52 !important;
  font-size:10.5px !important;
  font-weight:900 !important;
  line-height:19px !important;
  white-space:nowrap !important;
  text-decoration:none !important;
}
#homePage .live-webcasts-card .live-broadcast-inline{
  display:block !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  color:#53677f !important;
  font-size:12.5px !important;
  font-weight:750 !important;
  line-height:22px !important;
  white-space:normal !important;
  overflow:visible !important;
  word-break:keep-all !important;
}
#homePage .live-webcasts-card .live-committee-item{
  display:inline-block !important;
  white-space:nowrap !important;
  margin:0 0 0 2px !important;
  vertical-align:baseline !important;
}
#homePage .live-webcasts-card .live-committee-item:first-child{margin-left:0 !important;}
#homePage .live-webcasts-card .live-sep{
  display:inline !important;
  margin-right:5px !important;
  color:#8394a8 !important;
  font-size:inherit !important;
}
#homePage .live-webcasts-card .live-name-link{
  display:inline !important;
  padding:0 !important;
  color:inherit !important;
  font:inherit !important;
  font-weight:750 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
#homePage .live-webcasts-card .live-name-link:hover{
  color:#284e7d !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}
#homePage .live-webcasts-card .today-live-chip:hover{background:transparent !important;border-color:transparent !important;text-decoration:none !important;}
@media(max-width:560px){
  #homePage .live-webcasts-card .live-webcasts-body{padding:10px 13px;}
  #homePage .live-webcasts-card .today-live-chip{gap:8px !important;}
  #homePage .live-webcasts-card .live-broadcast-inline{font-size:12px !important;line-height:21px !important;}
  #homePage .live-webcasts-card .live-committee-item{margin-left:1px !important;}
  #homePage .live-webcasts-card .live-sep{margin-right:4px !important;}
  #homePage .live-webcasts-card .live-mark{font-size:10px !important;height:19px !important;line-height:17px !important;min-width:34px !important;padding:0 6px !important;}
}

/* v426: 국정감사 지원 화면 가로 사용 면적 확장 (타 메뉴 영향 없음) */
#auditSupportPage.audit-support-page{padding:12px 10px 24px!important;width:100%!important;max-width:none!important}
#auditSupportPage .audit-support-shell{width:100%!important;max-width:none!important;margin:0!important}
@media(max-width:760px){#auditSupportPage.audit-support-page{padding:8px 6px 16px!important}}

/* v482: 홈 주요 일정 및 의사중계 카드를 의사일정 캘린더 위로 이동. */
#homePage .dashboard-right > .dashboard-left-top{
  width:100%;
  min-width:0;
}
/* 한 열로 전환되는 화면에서도 주요 일정을 가장 먼저 보여준다. */
@media (max-width:980px){
  #homePage .dashboard-right{order:-1;}
}


/* v487: 국회 의사일정 — 날짜 셀은 열 너비에 맞춘 정사각형을 기본으로 하고,
   배지가 많은 주만 콘텐츠 높이만큼 확장합니다. */
#homePage #calendarGrid{
  container-type:inline-size;
}
#homePage #calendarGrid .cal-week{
  --calendar-day-gap:6px;
  align-items:stretch!important;
}
#homePage #calendarGrid .cal-week .day{
  min-height:calc((100cqw - 6 * var(--calendar-day-gap)) / 7)!important;
  height:auto!important;
  aspect-ratio:auto!important;
  overflow:visible!important;
}
@media(max-width:900px){
  #homePage #calendarGrid .cal-week{--calendar-day-gap:2px;}
}
@media(max-width:430px){
  #homePage #calendarGrid .cal-week{--calendar-day-gap:1px;}
}


/* ===== v488: 오늘의 할 일 1차 개선 (기존 크기·정렬 및 D1 API 유지) ===== */
#todoCard{position:relative;overflow:visible!important;}
#todoCard .card-head{position:relative;z-index:2;}
#todoCard .todo-date-picker-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:3px;
  height:25px;min-width:0;padding:0 5px;background:#f5f8fd;border:1px solid #dee7f2;
  color:#496583;border-radius:7px;cursor:pointer;white-space:nowrap;
}
#todoCard .todo-date-picker-trigger:hover{background:#ebf2fc;border-color:#b7cfe9;}
#todoCard .todo-date-picker-trigger .todo-date{font-size:11px!important;color:#3e5b7b!important;font-weight:800;}
#todoCard .todo-date-caret{font-size:12px;color:#65809d;line-height:1;}
#todoCard .todo-week-strip{
  display:flex;align-items:center;gap:5px;padding:9px 14px 8px;
  border-bottom:1px solid #e9eff6;background:#fff;
}
#todoCard .todo-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;flex:1;min-width:0;}
#todoCard .todo-week-day{
  min-width:0;border:1px solid transparent;border-radius:9px;background:#f5f7fa;
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  gap:1px;padding:5px 1px 4px;color:#354961;cursor:pointer;
}
#todoCard .todo-week-weekday{font-size:9.5px;font-weight:700;color:#7a899e;line-height:1.3;}
#todoCard .todo-week-number{font-size:12px;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums;}
#todoCard .todo-week-day.saturday .todo-week-number{color:#2e69b5;}
#todoCard .todo-week-day.sunday .todo-week-number{color:#c3434b;}
#todoCard .todo-week-day.is-today:not(.selected){border-color:#9dbbdc;background:#f0f6ff;}
#todoCard .todo-week-day.selected{background:#173a66;border-color:#173a66;color:#fff;}
#todoCard .todo-week-day.selected span{color:#fff;}
#todoCard .todo-week-day:hover:not(.selected){background:#e8f0fa;}
#todoCard .todo-week-arrow{
  flex:0 0 20px;width:20px;height:30px;background:transparent;border:0;border-radius:6px;
  color:#71849b;font-size:19px;font-weight:800;cursor:pointer;padding:0;
}
#todoCard .todo-week-arrow:hover{background:#eff4f9;color:#254f7d;}
#todoCard .todo-list-summary{
  min-height:33px;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:5px 16px 4px;color:#61738a;font-size:11px;font-weight:650;
}
#todoCard #todoToggleCompleted{
  padding:3px 6px;border:0;background:transparent;color:#315e91;
  font-size:10.5px;font-weight:750;cursor:pointer;white-space:nowrap;
}
#todoCard #todoToggleCompleted:hover{text-decoration:underline;text-underline-offset:2px;}
#todoCard #todoToggleCompleted[hidden]{display:none!important;}
#todoCard .todo-date-calendar{
  position:absolute;top:57px;right:11px;z-index:101;
  width:266px;max-width:calc(100% - 22px);padding:12px;
  border:1px solid #d5e0ee;border-radius:13px;background:#fff;
  box-shadow:0 16px 38px rgba(20,45,76,.17);
}
#todoCard .todo-date-calendar[hidden]{display:none!important;}
#todoCard .todo-calendar-head{display:grid;grid-template-columns:30px 1fr 30px;gap:4px;align-items:center;margin-bottom:8px;}
#todoCard .todo-calendar-head strong{text-align:center;font-size:13px;color:#1e3755;font-weight:800;}
#todoCard .todo-calendar-head button{border:0;background:#f4f7fb;color:#44658b;border-radius:7px;height:28px;cursor:pointer;font-size:18px;}
#todoCard .todo-calendar-weekdays,#todoCard .todo-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;}
#todoCard .todo-calendar-weekdays span{text-align:center;color:#738398;font-size:10px;font-weight:700;padding:4px 0;}
#todoCard .todo-calendar-empty{height:29px;}
#todoCard .todo-calendar-day{height:29px;border:0;background:transparent;border-radius:7px;font-size:11px;color:#2b405b;font-weight:650;cursor:pointer;}
#todoCard .todo-calendar-day:hover{background:#edf3fb;}
#todoCard .todo-calendar-day.sunday{color:#c3434b;}
#todoCard .todo-calendar-day.saturday{color:#3169b1;}
#todoCard .todo-calendar-day.is-today:not(.selected){outline:1px solid #a5c1df;outline-offset:-1px;}
#todoCard .todo-calendar-day.selected{background:#173a66;color:#fff;}
#todoCard .todo-calendar-foot{display:flex;justify-content:flex-end;margin-top:8px;padding-top:7px;border-top:1px solid #edf1f6;}
#todoCard .todo-calendar-foot button{border:0;border-radius:6px;padding:5px 8px;background:#eef4fb;color:#285787;font-size:10.5px;font-weight:700;cursor:pointer;}
#todoCard .todo-date-move-panel{position:absolute;z-index:90;right:0;top:calc(100% + 4px);width:204px;padding:10px;border:1px solid #dbe4ed;border-radius:9px;background:#fff;box-shadow:0 8px 24px rgba(24,49,76,.16);}
#todoCard .todo-date-move-panel[hidden]{display:none!important;}
#todoCard .todo-date-move-panel label{display:block;font-size:11px;font-weight:700;color:#486078;}
#todoCard .todo-date-move-panel input{width:100%;height:34px;margin-top:5px;padding:3px 7px;border:1px solid #cad8e6;border-radius:7px;color:#2a3f57;font-size:13px;}
#todoCard .todo-date-move-confirm{display:block;margin:8px 0 0 auto;border:0;border-radius:7px;background:#275f9e;color:#fff;padding:6px 14px;font-weight:750;font-size:11px;cursor:pointer;}
#todoCard .todo-date-move-confirm:disabled{opacity:.5;cursor:wait;}
#todoCard .todo-more-menu{min-width:126px;}
@media(max-width:900px){
  #todoCard .todo-week-strip{padding:7px 10px;gap:3px;}
  #todoCard .todo-week-days{gap:3px;}
  #todoCard .todo-week-day{padding:5px 1px 4px;border-radius:7px;}
  #todoCard .todo-list-summary{padding:5px 11px 4px;}
}
@media(max-width:560px){
  #todoCard .todo-title-wrap{display:contents!important;}
  #todoCard .todo-date-picker-trigger{height:24px;padding:0 4px;}
  #todoCard .todo-date-picker-trigger .todo-date{font-size:10.5px!important;}
  #todoCard .todo-date-calendar{top:51px;right:7px;}
  #todoCard .todo-week-arrow{width:16px;flex-basis:16px;}
  #todoCard .todo-week-day{padding:4px 0;}
  #todoCard .todo-week-weekday{font-size:9px;}
  #todoCard .todo-week-number{font-size:12px;}
  #todoCard .todo-more-menu{right:auto;left:0;}
  #todoCard .todo-date-move-panel{right:auto;left:0;}
}
@media(max-width:350px){
  #todoCard .todo-week-strip{padding-left:6px;padding-right:6px;}
  #todoCard .todo-week-days{gap:2px;}
  #todoCard .todo-date-picker-trigger .todo-date{font-size:9.5px!important;}
}


/* ===== v489: 불필요한 날짜 이동 화살표 제거, 주간 스트립 스와이프 ===== */
#todoCard .todo-date-nav{gap:6px!important;}
#todoCard .todo-date-picker-trigger{padding:0 9px;min-height:27px;}
#todoCard .todo-date-picker-trigger .todo-date{font-size:11px!important;}
#todoCard .todo-week-strip{
  padding-left:14px;padding-right:14px;touch-action:pan-y;
  cursor:grab;user-select:none;-webkit-user-select:none;overflow:hidden;
  overscroll-behavior-x:contain;
}
#todoCard .todo-week-strip:active{cursor:grabbing;}
#todoCard .todo-week-strip:focus-visible{outline:2px solid #628dbd;outline-offset:-2px;}
#todoCard .todo-week-days{width:100%;transform:translate3d(0,0,0);will-change:transform;}
#todoCard .todo-week-day{touch-action:pan-y;-webkit-user-drag:none;}
#todoCard .todo-week-arrow{display:none!important;}
@media(max-width:560px){
  #todoCard .todo-date-picker-trigger{padding:0 6px;height:25px;}
  #todoCard .todo-date-picker-trigger .todo-date{font-size:10.5px!important;}
  #todoCard .todo-week-strip{padding-left:10px;padding-right:10px;}
}
@media(max-width:350px){
  #todoCard .todo-date-picker-trigger{padding:0 4px;}
  #todoCard .todo-date-picker-trigger .todo-date{font-size:10px!important;}
  #todoCard .todo-week-strip{padding-left:6px;padding-right:6px;}
}
@media(prefers-reduced-motion:reduce){#todoCard .todo-week-days{transition:none!important;}}


/* ===== v490: 7일 단위 스냅 대신 날짜별 연속 가로 스크롤 ===== */
#todoCard .todo-week-strip{
  display:block;overflow-x:auto!important;overflow-y:hidden!important;
  padding-left:0!important;padding-right:0!important;
  border-left:14px solid #fff;border-right:14px solid #fff;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y!important;scroll-behavior:auto;
  cursor:grab;overscroll-behavior-x:contain;
}
#todoCard .todo-week-strip::-webkit-scrollbar{display:none;}
#todoCard .todo-week-strip.todo-is-dragging{cursor:grabbing;}
#todoCard .todo-week-strip .todo-week-days{
  --todo-strip-gap:4px;
  display:grid!important;grid-auto-flow:column;
  grid-template-columns:none!important;
  grid-auto-columns:calc((100% - 6 * var(--todo-strip-gap))/7);
  gap:var(--todo-strip-gap)!important;
  width:100%!important;min-width:100%;flex:none!important;
  transform:none!important;will-change:auto!important;
}
#todoCard .todo-week-strip .todo-week-day{touch-action:pan-x pan-y!important;user-select:none;}
@media(max-width:900px){#todoCard .todo-week-strip .todo-week-days{--todo-strip-gap:3px;}}
@media(max-width:350px){#todoCard .todo-week-strip .todo-week-days{--todo-strip-gap:2px;}}

@media(max-width:560px){#todoCard .todo-week-strip{border-left-width:10px;border-right-width:10px;}}
@media(max-width:350px){#todoCard .todo-week-strip{border-left-width:6px;border-right-width:6px;}}

/* v491: date strip viewport is repositioned only after scrolling settles.
   Prevent browser scroll anchoring from moving dates during a rebuild. */
#todoCard #todoWeekStrip, #todoCard #todoWeekDays{overflow-anchor:none!important;}

/* ===== v492: 지난 미완료 · 전체 검색 · 월별 등록 날짜 점 ===== */
#todoCard .todo-extra-tools{display:flex;align-items:center;gap:7px;padding:0 15px 9px;flex-wrap:wrap;}
#todoCard .todo-extra-tools button{border:1px solid #dce6f1;border-radius:7px;background:#f7f9fc;color:#45617f;font-size:11px;font-weight:700;padding:5px 9px;cursor:pointer;line-height:1.4;}
#todoCard .todo-extra-tools button[aria-expanded="true"]{background:#e8f1fc;border-color:#a7bfdc;color:#17497d;}
#todoCard .todo-extra-tools button span{font-size:13px;vertical-align:-1px;margin-right:3px;}
#todoCard .todo-extra-panel{margin:0 15px 10px;padding:10px 11px;border:1px solid #dfe8f3;border-radius:10px;background:#fbfcfe;}
#todoCard .todo-extra-panel[hidden],#todoCard .todo-extra-more[hidden]{display:none!important;}
#todoCard .todo-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#213f61;font-size:12px;}
#todoCard .todo-panel-heading span{font-size:10px;color:#617891;}
#todoCard .todo-panel-help{font-size:10.5px;color:#77869a;margin:5px 0 9px;line-height:1.45;}
#todoCard .todo-extra-results{display:flex;flex-direction:column;gap:0;max-height:275px;overflow:auto;overscroll-behavior:contain;}
#todoCard .todo-extra-result{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 2px;border-top:1px solid #e8eef6;}
#todoCard .todo-result-date{flex:0 0 54px;text-align:left;font-size:10.5px;font-weight:700;color:#496987;white-space:nowrap;}
#todoCard .todo-result-title{flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;color:#273d57;font-size:11.5px;line-height:1.45;overflow-wrap:anywhere;}
#todoCard .todo-result-title:hover{text-decoration:underline;text-underline-offset:2px;color:#175b9b;}
#todoCard .todo-result-title .todo-result-done{display:inline-block;font-size:9px;color:#77859a;margin-left:5px;}
#todoCard .todo-result-move{flex:0 0 auto;cursor:pointer;font-size:10px;font-weight:700;color:#285d91;padding:4px 6px;background:#eef4fb;border:0;border-radius:6px;white-space:nowrap;}
#todoCard .todo-result-move:disabled{opacity:.4;cursor:default;}
#todoCard .todo-extra-placeholder{font-size:11px;color:#7c8da3;padding:9px 1px;line-height:1.6;}
#todoCard .todo-extra-more{display:block;margin:7px auto 0;border:0;background:transparent;color:#285d91;font-size:11px;font-weight:750;cursor:pointer;padding:5px;}
#todoCard .todo-search-label{display:block;color:#213f61;font-size:11px;font-weight:750;margin-bottom:7px;}
#todoCard .todo-search-box{display:flex;align-items:center;background:#fff;border:1px solid #cfdeed;border-radius:8px;overflow:hidden;margin-bottom:7px;}
#todoCard .todo-search-box:focus-within{border-color:#618eba;box-shadow:0 0 0 2px #618eba20;}
#todoCard .todo-search-box input{min-width:0;flex:1;height:32px;padding:6px 9px;border:0;outline:none;background:transparent;color:#243e5d;font-size:12px;}
#todoCard #todoSearchClear{border:0;background:transparent;color:#72839a;font-size:17px;padding:4px 10px;cursor:pointer;}
#todoCard .todo-calendar-day.has-todo{position:relative;padding-bottom:6px;}
#todoCard .todo-calendar-day.has-todo::after{content:"";position:absolute;bottom:3px;left:50%;transform:translateX(-50%);width:4px;height:4px;border-radius:50%;background:#4b88b9;pointer-events:none;}
#todoCard .todo-calendar-day.has-todo.selected::after{background:#fff;}
#todoCard .todo-item.is-todo-search-target{outline:2px solid #e3a43b;outline-offset:1px;border-radius:5px;}
@media(max-width:560px){#todoCard .todo-extra-tools{padding:0 11px 8px;}#todoCard .todo-extra-panel{margin:0 10px 9px;padding:9px;}#todoCard .todo-extra-results{max-height:230px;}#todoCard .todo-result-date{flex-basis:48px;font-size:10px;}}

/* ===== v493: 헤더에 지난 미완료/전체 검색 배치, 삭제 아이콘 ===== */
#todoCard .todo-date-nav{flex-wrap:wrap;row-gap:5px;}
#todoCard .todo-date-nav .todo-extra-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:2px;
  height:27px;padding:0 8px;border:1px solid #dce6f1;border-radius:7px;
  background:#f7f9fc;color:#45617f;font-size:10.5px;font-weight:700;
  white-space:nowrap;cursor:pointer;line-height:1;
}
#todoCard .todo-date-nav .todo-extra-toggle:hover{background:#edf3fa;}
#todoCard .todo-date-nav .todo-extra-toggle[aria-expanded="true"]{
  background:#e8f1fc;border-color:#a7bfdc;color:#17497d;
}
#todoCard .todo-date-nav .todo-extra-toggle span{font-size:12px;line-height:1;}
#todoCard .todo-result-delete{
  flex:0 0 25px;width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;
  padding:0;border:0;border-radius:6px;background:transparent;
  color:#8491a1;font-size:15px;cursor:pointer;line-height:1;
}
#todoCard .todo-result-delete:hover,#todoCard .todo-result-delete:focus-visible{
  color:#a9444a;background:#fff0f0;
}
#todoCard .todo-result-delete:disabled{opacity:.35;cursor:default;}
@media(max-width:560px){
  #todoCard .card-head{
    grid-template-columns:minmax(0,1fr) max-content!important;
    grid-template-rows:auto auto!important;
  }
  #todoCard .card-head .card-title{grid-row:1!important;grid-column:1!important;}
  #todoCard .card-head .todo-actions{grid-row:1!important;grid-column:2!important;}
  #todoCard .card-head .todo-date-nav{
    grid-row:2!important;grid-column:1/-1!important;
    justify-self:stretch!important;justify-content:flex-start!important;
    gap:5px!important;min-width:0!important;
  }
  #todoCard .todo-date-nav .todo-extra-toggle{height:25px;padding:0 6px;font-size:10px;}
  /* 두 줄 헤더 아래에 달력 배치: 날짜/조회 버튼을 가리지 않음 */
  #todoCard .todo-date-calendar{top:86px!important;}
  #todoCard .todo-extra-result{gap:5px;}
  #todoCard .todo-result-move{font-size:9.5px;padding:4px 5px;}
  #todoCard .todo-result-delete{flex-basis:24px;width:24px;height:24px;}
}

/* v494: 제목 인라인 수정과 별도의 행 빈 영역 드래그 */
#todoCard .todo-item[draggable="true"]{cursor:grab !important;}
#todoCard .todo-item[draggable="true"]:active{cursor:grabbing !important;}
#todoCard .todo-label[role="button"]{cursor:text !important;user-select:text !important;-webkit-user-select:text !important;}
#todoCard .todo-label[role="button"]:hover{color:#285f9d !important;}
#todoCard .todo-inline-editing,#todoCard .todo-inline-editing:active{cursor:default !important;}
#todoCard .todo-inline-input{display:block;width:100%;min-width:110px;max-width:100%;box-sizing:border-box;font:inherit;line-height:1.35;color:#20334b;background:#fff;border:1px solid #78a4d9;border-radius:6px;outline:none;padding:3px 7px;margin:-4px -8px;box-shadow:0 0 0 2px rgba(65,126,190,.12);user-select:text;-webkit-user-select:text;}
#todoCard .todo-time-hhmm{width:80px;max-width:100%;height:32px;box-sizing:border-box;border:1px solid #d9e2ed;border-radius:8px;padding:0 9px;font-size:13px;font-weight:700;color:#2a3c52;background:#fff;outline:none;font-variant-numeric:tabular-nums;}
#todoCard .todo-time-hhmm:focus{border-color:#8aaddb;box-shadow:0 0 0 2px rgba(47,111,214,.07)}
@media(max-width:560px){#todoCard .todo-time-hhmm{font-size:16px;}}

#todoCard .todo-drag-grip{display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;width:15px;color:#a8b5c5;font-size:17px;line-height:1;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;}
#todoCard .todo-drag-grip:hover{color:#527dac;}
#todoCard .todo-drag-grip:active{cursor:grabbing;}
body.portal-todo-readonly #todoCard .todo-drag-grip{display:none;}
@media(max-width:620px){#todoCard .todo-drag-grip{flex-basis:12px;width:12px;font-size:15px;}}

/* ===== v495 오늘의 할 일: 단일 액션바, 인라인 상세 수정 ===== */
#todoCard .todo-item-actions{gap:3px!important;flex-wrap:nowrap!important;}
#todoCard .todo-quick-actions{display:flex!important;gap:1px!important;}
#todoCard .todo-child-add,
#todoCard .todo-quick-actions .todo-move-date,
#todoCard .todo-quick-actions .todo-level-btn,
#todoCard .todo-move-specific,
#todoCard .todo-delete-x{
  appearance:none;border:0!important;background:transparent!important;
  color:#677f9b!important;width:22px!important;min-width:22px!important;
  height:24px!important;min-height:24px!important;padding:0!important;
  margin:0!important;display:inline-flex!important;align-items:center;
  justify-content:center;border-radius:6px!important;font-size:15px;
  font-weight:800!important;line-height:1;cursor:pointer;
}
#todoCard .todo-delete-x{font-size:21px!important;color:#8c98a7!important;}
#todoCard .todo-move-specific{font-size:18px!important;}
#todoCard .todo-delete-x:hover{color:#b94b52!important;background:#fff0f1!important;}
#todoCard .todo-item-actions button:not(:disabled):hover{background:#eaf2fb!important;}
#todoCard .todo-item-actions button:disabled{opacity:.25;cursor:default!important;}
#todoCard .todo-specific-wrap{position:relative;display:flex;flex:0 0 auto;}
#todoCard .todo-specific-wrap .todo-date-move-panel{top:calc(100% + 5px);right:0;left:auto;}
#todoCard .todo-item.todo-inline-editing{flex-wrap:wrap!important;}
#todoCard .todo-inline-editing .todo-item-main{flex:1 1 auto;}
#todoCard .todo-inline-editing .todo-time,
#todoCard .todo-inline-editing .todo-target-badges{display:none!important;}
#todoCard .todo-inline-editor{
  flex:0 0 100%;display:flex;align-items:center;justify-content:space-between;
  gap:9px;flex-wrap:wrap;min-width:0;
  padding:7px 6px 8px calc(var(--todo-level,0)*var(--todo-indent-unit) + 30px);
  border-top:1px dashed #e1e9f2;background:#f9fbfe;box-sizing:border-box;
}
#todoCard .todo-inline-editor-fields{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;}
#todoCard .todo-inline-time-label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:750;color:#536b85;}
#todoCard .todo-inline-editor .todo-time-hhmm{width:68px;height:29px;font-size:13px;}
#todoCard .todo-inline-editor .todo-target-selectors{margin-left:0;padding-left:8px;flex-basis:auto;}
#todoCard .todo-inline-editor-buttons{display:flex;align-items:center;gap:5px;margin-left:auto;}
#todoCard .todo-inline-editor-buttons button{border:1px solid #d4e0ef;background:#fff;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:800;cursor:pointer;color:#47647e;}
#todoCard .todo-inline-editor-buttons .todo-inline-save{background:#235b99;color:#fff;border-color:#235b99;}
#todoCard .todo-inline-input{margin:0;padding:4px 6px;}
#todoCard .todo-item.done .todo-inline-input{text-decoration:none!important;opacity:1;color:#20334b!important;}
#todoCard .todo-result-delete{font-family:Arial,sans-serif;font-size:20px;font-weight:500;color:#8c98a7;}
@media(max-width:900px){
  #todoCard .todo-item-actions{display:flex!important;gap:2px!important;margin:1px 0 4px!important;padding:2px 4px 2px calc(var(--todo-level,0)*var(--todo-indent-unit) + 27px)!important;}
  #todoCard .todo-quick-actions{display:flex!important;}
  #todoCard .todo-specific-wrap .todo-date-move-panel{left:0;right:auto;}
  #todoCard .todo-inline-editor{padding-left:calc(var(--todo-level,0)*var(--todo-indent-unit) + 24px);}
}
@media(max-width:620px){
  #todoCard .todo-item-actions{gap:1px!important;padding-left:calc(var(--todo-level,0)*var(--todo-indent-unit) + 24px)!important;}
  #todoCard .todo-child-add,#todoCard .todo-quick-actions .todo-move-date,
  #todoCard .todo-quick-actions .todo-level-btn,#todoCard .todo-move-specific,#todoCard .todo-delete-x{
    width:21px!important;min-width:21px!important;height:23px!important;min-height:23px!important;
  }
  #todoCard .todo-inline-editor{gap:6px;}
  #todoCard .todo-inline-editor .todo-target-selectors{padding-left:0;border-left:0;}
}


/* ===== v496: compact equal-size outline icons, hover-only desktop toolbar ===== */
#todoCard .todo-actions-toggle{display:none!important;}
#todoCard .todo-item{position:relative!important;}
#todoCard .todo-item-actions{
  position:absolute!important;
  right:3px!important;top:50%!important;bottom:auto!important;
  transform:translateY(-50%)!important;
  z-index:12!important; width:max-content!important;max-width:calc(100% - 6px)!important;
  display:flex!important;flex:0 0 auto!important;
  align-items:center!important;justify-content:flex-end!important;
  flex-wrap:nowrap!important;gap:2px!important;margin:0!important;
  padding:3px 4px!important;
  border:1px solid #e2eaf2!important;border-radius:8px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 2px 10px rgba(25,51,80,.09)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:opacity .12s ease,visibility .12s ease!important;
}
#todoCard .todo-item:hover > .todo-item-actions,
#todoCard .todo-item:focus-within > .todo-item-actions,
#todoCard .todo-item.is-actions-open > .todo-item-actions{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
}
#todoCard .todo-quick-actions{display:flex!important;gap:2px!important;}
#todoCard .todo-child-add,
#todoCard .todo-quick-actions .todo-move-date,
#todoCard .todo-quick-actions .todo-level-btn,
#todoCard .todo-move-specific,
#todoCard .todo-delete-x{
  box-sizing:border-box!important;
  flex:0 0 22px!important;width:22px!important;min-width:22px!important;max-width:22px!important;
  height:22px!important;min-height:22px!important;max-height:22px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:5px!important;
  background:transparent!important;color:#667d97!important;
  font-size:0!important;font-weight:normal!important;line-height:1!important;
  cursor:pointer!important;
}
#todoCard .todo-item-actions button svg,
#todoCard .todo-actions-toggle svg{
  display:block!important;flex:none!important;
  width:14px!important;height:14px!important;max-width:14px!important;max-height:14px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
  pointer-events:none!important;
}
#todoCard .todo-item-actions button:disabled{opacity:.25!important;cursor:default!important;}
#todoCard .todo-item-actions .todo-delete-x:not(:disabled):hover{color:#ad4e54!important;background:#fff0f0!important;}
#todoCard .todo-item.todo-inline-editing > .todo-item-actions:not(:has(.todo-date-move-panel:not([hidden]))){
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
#todoCard .todo-specific-wrap{position:relative!important;display:flex!important;align-items:center!important;}
#todoCard .todo-specific-wrap .todo-date-move-panel{
  position:absolute!important;top:calc(100% + 7px)!important;right:0!important;left:auto!important;
  z-index:50!important;
}
/* Coarse pointer / touch: show only one subtle chevron; unfold the seven-icon bar on tap. */
@media (hover:none), (pointer:coarse){
  #todoCard .todo-actions-toggle{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 22px!important;width:22px!important;min-width:22px!important;height:26px!important;
    margin-left:auto!important;padding:0!important;border:0!important;border-radius:6px!important;
    background:transparent!important;color:#869bb2!important;cursor:pointer!important;
  }
  #todoCard .todo-actions-toggle[aria-expanded="true"]{background:#edf3fa!important;color:#2a598b!important;}
  #todoCard .todo-actions-toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
  #todoCard .todo-item-actions{
    position:static!important;top:auto!important;right:auto!important;
    transform:none!important;
    display:none!important;
    flex:0 0 auto!important;width:max-content!important;
    max-width:calc(100% - 8px)!important;
    margin:2px 4px 3px auto!important;padding:2px 4px!important;
    box-shadow:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }
  #todoCard .todo-item.is-actions-open > .todo-item-actions{
    display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
  #todoCard .todo-item:hover:not(.is-actions-open) > .todo-item-actions,
  #todoCard .todo-item:focus-within:not(.is-actions-open) > .todo-item-actions{
    display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }
  #todoCard .todo-quick-actions{display:flex!important;}
}
/* Compact touch layout: the disclosure sits on the same line as the task text. */
@media (max-width:900px) and (hover:none), (max-width:900px) and (pointer:coarse){
  #todoCard .todo-item-main{display:flex!important;flex:1 1 100%!important;min-width:0!important;}
  #todoCard .todo-label{flex:1 1 auto!important;min-width:0!important;}
}
@media (prefers-reduced-motion:reduce){
  #todoCard .todo-item-actions{transition:none!important;}
}


/* v496 completion: hide redundant copy, keep every task visible */
#todoCard .todo-list-summary{display:none!important;}
#todoCard .todo-time-hhmm,
#todoCard .todo-inline-editor .todo-time-hhmm{
  width:62px!important;min-width:62px!important;max-width:62px!important;
  height:26px!important;min-height:26px!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  padding:0 3px!important;color:#2b4867!important;
  font-size:13px!important;font-weight:600!important;font-variant-numeric:tabular-nums!important;
  text-align:center!important;
}
#todoCard .todo-time-hhmm::placeholder{color:#8a9bae!important;opacity:1!important;}
#todoCard .todo-time-hhmm:focus{
  border:0!important;border-bottom:1px solid #7599bf!important;border-radius:0!important;
  outline:0!important;box-shadow:none!important;
}
#todoCard .todo-inline-editor .todo-target-selectors{padding-left:0!important;border-left:0!important;}
#todoCard .todo-target-selector-label{display:none!important;}
#todoCard .todo-time-row{gap:8px!important;}
#todoCard .todo-date-move-calendar{
  width:226px!important;max-width:min(226px,calc(100vw - 24px))!important;
  padding:9px!important;box-sizing:border-box!important;
  border:1px solid #dce5f1!important;border-radius:10px!important;
  background:#fff!important;box-shadow:0 7px 26px rgba(28,55,83,.18)!important;
  top:calc(100% + 6px)!important;right:-29px!important;left:auto!important;
}
#todoCard .todo-move-cal-head{display:grid;grid-template-columns:25px 1fr 25px;align-items:center;gap:3px;margin-bottom:5px;}
#todoCard .todo-move-cal-month{text-align:center;font-size:12px;font-weight:750;color:#253f60;}
#todoCard .todo-move-cal-nav{
  box-sizing:border-box!important;width:25px!important;height:25px!important;min-width:25px!important;
  max-width:25px!important;min-height:25px!important;max-height:25px!important;
  border:0!important;border-radius:5px!important;background:transparent!important;
  font:500 19px/1 sans-serif!important;color:#5e7691!important;cursor:pointer;
}
#todoCard .todo-move-cal-weekdays,#todoCard .todo-move-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;}
#todoCard .todo-move-cal-weekdays span{text-align:center;font-size:10px;color:#7a8b9e;line-height:23px;}
#todoCard .todo-move-cal-blank{height:25px;}
#todoCard .todo-move-cal-grid button.todo-move-cal-day{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;
  height:25px!important;min-height:25px!important;max-height:25px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:5px!important;
  font:600 11px/1 sans-serif!important;color:#324960!important;background:transparent!important;
  cursor:pointer!important;
}
#todoCard .todo-move-cal-grid button.todo-move-cal-day:not(:disabled):hover{background:#e8f0fb!important;color:#174c80!important;}
#todoCard .todo-move-cal-grid button.todo-move-cal-day.is-current{background:#e8edf4!important;color:#8795a5!important;cursor:default!important;}
#todoCard .todo-move-cal-grid button.todo-move-cal-day.is-today:not(.is-current){outline:1px solid #b4c9e0!important;outline-offset:-1px!important;}
#todoCard .todo-move-cal-grid button.todo-move-cal-day.sunday:not(:disabled){color:#b74f58!important;}
#todoCard .todo-move-cal-grid button.todo-move-cal-day.saturday:not(:disabled){color:#386b9d!important;}
@media(max-width:900px){
  #todoCard .todo-date-move-calendar{right:-22px!important;left:auto!important;}
}


/* ===== v497: refined task header / single-row inline editor ===== */
#todoCard .todo-date-nav{
  display:flex!important;align-items:center!important;gap:4px!important;
  flex-wrap:wrap!important;row-gap:3px!important;
}
#todoCard .todo-date-nav > button{
  box-sizing:border-box!important;height:28px!important;min-height:28px!important;
  padding:0 9px!important;border:0!important;border-radius:5px!important;
  background:transparent!important;box-shadow:none!important;
  color:#657993!important;font-size:11px!important;font-weight:700!important;
  line-height:1!important;white-space:nowrap!important;
}
#todoCard .todo-date-nav > button:hover{
  background:#eff4fa!important;color:#214d7d!important;
}
#todoCard .todo-date-nav .todo-date-picker-trigger{
  padding-left:0!important;padding-right:10px!important;
  color:#304f72!important;
}
#todoCard .todo-date-nav .todo-date-picker-trigger .todo-date{
  font-size:12px!important;color:#304f72!important;font-weight:800!important;
}
#todoCard .todo-date-nav .todo-today-btn.is-today{color:#95a4b4!important;}
#todoCard .todo-date-nav .todo-extra-toggle[aria-expanded="true"]{
  background:#edf3fb!important;color:#225d9a!important;
}
#todoCard .todo-date-nav .todo-extra-toggle span{font-size:12px!important;}
#todoCard .todo-date-nav .todo-extra-toggle + .todo-extra-toggle{margin-left:2px!important;}
/* Editors occupy the existing title space: no separate second row. */
#todoCard .todo-item.todo-inline-editing{flex-wrap:nowrap!important;}
#todoCard .todo-inline-editing .todo-item-main{
  width:100%!important;flex:1 1 100%!important;min-width:0!important;
  flex-wrap:nowrap!important;
}
#todoCard .todo-inline-editing .todo-label{
  display:flex!important;flex:1 1 auto!important;min-width:0!important;max-width:100%!important;
}
#todoCard .todo-inline-editor{
  display:flex!important;flex:1 1 auto!important;align-items:center!important;
  flex-wrap:nowrap!important;justify-content:flex-start!important;
  gap:5px!important;width:100%!important;max-width:100%!important;min-width:0!important;
  padding:0!important;margin:0!important;border:0!important;
  background:transparent!important;box-sizing:border-box!important;
}
#todoCard .todo-inline-editor .todo-inline-input{
  display:block!important;flex:1 1 auto!important;width:0!important;min-width:64px!important;
  max-width:none!important;height:29px!important;min-height:29px!important;
  padding:3px 7px!important;margin:0!important;border:1px solid #b8cbe0!important;
  border-radius:6px!important;background:#fff!important;box-shadow:none!important;
  font-size:inherit!important;line-height:1.25!important;
}
#todoCard .todo-inline-editor .todo-inline-time{
  flex:0 0 51px!important;width:51px!important;min-width:51px!important;max-width:51px!important;
  padding:0!important;height:27px!important;min-height:27px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  color:#345a7e!important;font-size:12px!important;text-align:center!important;
}
#todoCard .todo-inline-editor .todo-inline-targets{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;
  gap:3px!important;margin:0!important;padding:0!important;border:0!important;
}
#todoCard .todo-inline-editor .todo-inline-targets .todo-target-toggle{
  display:inline-flex!important;align-items:center!important;gap:2px!important;
  padding:0!important;margin:0!important;white-space:nowrap!important;
  font-size:10px!important;font-weight:750!important;
}
#todoCard .todo-inline-editor .todo-inline-targets input{
  flex:0 0 12px!important;width:12px!important;height:12px!important;margin:0!important;
}
#todoCard .todo-inline-editor .todo-inline-targets span{
  min-width:0!important;height:auto!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  color:#637b91!important;font-size:10px!important;line-height:1!important;
}
#todoCard .todo-inline-editor > .todo-inline-save{
  display:flex!important;flex:0 0 26px!important;align-items:center!important;justify-content:center!important;
  width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;
  padding:0!important;margin:0 0 0 1px!important;
  background:#e8f2ed!important;color:#347451!important;border:0!important;
  border-radius:6px!important;cursor:pointer!important;
}
#todoCard .todo-inline-editor > .todo-inline-save:hover{background:#d5ebde!important;color:#235a3b!important;}
#todoCard .todo-inline-editor > .todo-inline-save svg{
  width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;
  stroke-linecap:round;stroke-linejoin:round;
}
#todoCard .todo-inline-editing .todo-actions-toggle{display:none!important;}
#todoCard .todo-inline-editing .todo-item-actions{display:none!important;}
@media(max-width:560px){
  #todoCard .card-head .todo-date-nav{gap:1px!important;}
  #todoCard .todo-date-nav > button{
    font-size:10px!important;height:24px!important;min-height:24px!important;
    padding:0 6px!important;
  }
  #todoCard .todo-date-nav .todo-date-picker-trigger .todo-date{font-size:10.5px!important;}
  #todoCard .todo-date-calendar{top:81px!important;}
  #todoCard .todo-inline-editing .todo-item-main{gap:4px!important;}
  #todoCard .todo-inline-editor{gap:3px!important;}
  #todoCard .todo-inline-editor .todo-inline-input{
    min-width:46px!important;height:26px!important;padding:2px 4px!important;
    font-size:12px!important;
  }
  #todoCard .todo-inline-editor .todo-inline-time{
    width:41px!important;min-width:41px!important;max-width:41px!important;flex-basis:41px!important;
    font-size:11px!important;
  }
  #todoCard .todo-inline-editor .todo-inline-targets{gap:2px!important;}
  #todoCard .todo-inline-editor .todo-inline-targets .todo-target-toggle{gap:1px!important;}
  #todoCard .todo-inline-editor .todo-inline-targets input{
    width:11px!important;height:11px!important;flex-basis:11px!important;
  }
  #todoCard .todo-inline-editor > .todo-inline-save{
    width:23px!important;min-width:23px!important;flex-basis:23px!important;height:24px!important;min-height:24px!important;
  }
}


/* ===== v498: uniform header icons, inline creation, compact time ===== */
#todoCard .card-head .todo-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:4px!important;margin-left:auto!important;flex:0 0 auto!important;
}
#todoCard .card-head .todo-actions .todo-head-icon{
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:29px!important;min-width:29px!important;max-width:29px!important;
  height:29px!important;min-height:29px!important;max-height:29px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;
  background:transparent!important;box-shadow:none!important;color:#43688e!important;
  font-size:0!important;cursor:pointer!important;
}
#todoCard .card-head .todo-actions .todo-head-icon svg{
  width:18px!important;height:18px!important;fill:none!important;
  stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round!important;
  stroke-linejoin:round!important;pointer-events:none!important;
}
#todoCard .card-head .todo-actions .todo-head-icon:hover,
#todoCard .card-head .todo-actions .todo-head-icon[aria-expanded="true"]{
  background:#edf3f9!important;color:#225c94!important;
}
#todoCard .card-head .todo-actions .todo-head-icon:focus-visible{
  outline:2px solid #729cc9!important;outline-offset:1px!important;
}
#todoCard .todo-item-main{gap:5px!important;}
#todoCard .todo-item-main .todo-time{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
  margin:0!important;padding:0!important;white-space:nowrap!important;
}
#todoCard .todo-item-main .todo-target-badges{margin:0!important;}
#todoCard .todo-item-main .todo-label{margin-left:0!important;}
/* Creation uses the exact same single-line controls as editing, directly in the task list. */
#todoCard #todoEntry.todo-entry{display:none!important;}
#todoCard #todoEntry.todo-entry.open{
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
  width:100%!important;min-width:0!important;min-height:34px!important;
  box-sizing:border-box!important;padding:3px 0!important;margin:0!important;
  border-bottom:1px solid #eef2f6!important;background:#fbfdff!important;
  gap:0!important;list-style:none!important;
}
#todoCard #todoEntry .todo-entry-main{
  display:flex!important;align-items:center!important;flex:1 1 auto!important;
  width:100%!important;min-width:0!important;gap:5px!important;
  padding-left:calc(var(--todo-level,0) * var(--todo-indent-unit,28px))!important;
}
#todoCard #todoEntry .todo-add-grip{
  flex:0 0 17px!important;width:17px!important;color:transparent!important;
  font-size:14px!important;text-align:center!important;pointer-events:none!important;
}
#todoCard #todoEntry .todo-add-check{
  display:block!important;box-sizing:border-box!important;flex:0 0 17px!important;
  width:17px!important;height:17px!important;border:1px solid #d9e3ed!important;
  border-radius:5px!important;opacity:.55!important;pointer-events:none!important;
}
#todoCard #todoEntry .todo-add-inline-editor{
  flex:1 1 auto!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
  gap:5px!important;min-width:0!important;width:100%!important;max-width:100%!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;
}
#todoCard #todoEntry .todo-text-input{
  flex:1 1 auto!important;display:block!important;width:0!important;min-width:64px!important;max-width:none!important;
  height:29px!important;min-height:29px!important;padding:3px 7px!important;
  margin:0!important;border:1px solid #b8cbe0!important;border-radius:6px!important;
  background:#fff!important;box-shadow:none!important;color:#20334b!important;
  font-size:12px!important;font-weight:650!important;line-height:1.2!important;
}
#todoCard #todoEntry .todo-inline-time{
  flex:0 0 51px!important;width:51px!important;min-width:51px!important;max-width:51px!important;
  height:27px!important;min-height:27px!important;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  font-size:12px!important;text-align:center!important;color:#345a7e!important;
}
#todoCard #todoEntry .todo-inline-targets{
  flex:0 0 auto!important;display:flex!important;align-items:center!important;
  gap:3px!important;margin:0!important;padding:0!important;border:0!important;
}
#todoCard #todoEntry .todo-inline-targets .todo-target-toggle{
  display:inline-flex!important;align-items:center!important;gap:2px!important;
  margin:0!important;padding:0!important;font-size:10px!important;
}
#todoCard #todoEntry .todo-inline-targets input{
  flex:0 0 12px!important;width:12px!important;height:12px!important;margin:0!important;
}
#todoCard #todoEntry .todo-inline-targets span{
  background:transparent!important;border:0!important;border-radius:0!important;
  min-width:0!important;height:auto!important;padding:0!important;
  color:#637b91!important;font-size:10px!important;line-height:1!important;
}
#todoCard #todoEntry #todoAddConfirm{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 26px!important;width:26px!important;min-width:26px!important;
  height:26px!important;min-height:26px!important;padding:0!important;margin:0 0 0 1px!important;
  border:0!important;border-radius:6px!important;
  background:#e8f2ed!important;color:#347451!important;cursor:pointer!important;
}
#todoCard #todoEntry #todoAddConfirm:hover{background:#d5ebde!important;color:#235a3b!important;}
#todoCard #todoEntry #todoAddConfirm svg{
  width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:2.4!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
@media(max-width:560px){
  #todoCard .card-head .todo-actions{gap:1px!important;width:auto!important;}
  #todoCard .card-head .todo-actions .todo-head-icon{
    flex:0 0 26px!important;width:26px!important;min-width:26px!important;
    max-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;
  }
  #todoCard .card-head .todo-actions .todo-head-icon svg{width:16px!important;height:16px!important;}
  #todoCard #todoEntry .todo-entry-main{gap:4px!important;}
  #todoCard #todoEntry .todo-add-inline-editor{gap:3px!important;}
  #todoCard #todoEntry .todo-text-input{min-width:46px!important;height:26px!important;padding:2px 4px!important;font-size:12px!important;}
  #todoCard #todoEntry .todo-inline-time{flex-basis:41px!important;width:41px!important;min-width:41px!important;max-width:41px!important;font-size:11px!important;}
  #todoCard #todoEntry .todo-inline-targets{gap:2px!important;}
  #todoCard #todoEntry .todo-inline-targets .todo-target-toggle{gap:1px!important;}
  #todoCard #todoEntry .todo-inline-targets input{width:11px!important;height:11px!important;flex-basis:11px!important;}
  #todoCard #todoEntry #todoAddConfirm{flex-basis:23px!important;width:23px!important;min-width:23px!important;height:24px!important;min-height:24px!important;}
}

/* v499 - recurring todo rules */
.todo-recurrence-mark{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 auto;color:#43688e;vertical-align:-2px;
  margin-right:0;font-size:inherit;line-height:1;
}
.todo-recurrence-mark svg{
  display:block;width:15px;height:15px;fill:none;
  stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
}
.todo-repeat-select{flex:0 0 auto;max-width:66px;min-width:33px;height:28px;border:0;border-radius:6px;background:transparent;color:#58789c;font-size:12px;font-weight:700;cursor:pointer}
.todo-repeat-select:focus{outline:2px solid #b9cdea}
.todo-repeat-select[hidden]{display:none!important}
.todo-repeat-overlay{position:fixed;inset:0;z-index:10050;background:rgba(20,34,53,.38);display:flex;align-items:center;justify-content:center;padding:14px}
.todo-repeat-overlay[hidden]{display:none!important}
.todo-repeat-modal{width:min(100%,490px);max-height:85vh;overflow:auto;background:white;border-radius:16px;padding:18px;color:#25354c;box-shadow:0 15px 50px rgba(0,0,0,.15)}
.todo-repeat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:17px}
.todo-repeat-header button{border:0;background:transparent;font-size:24px;color:#7e8fa6;cursor:pointer}
.todo-repeat-rule{display:flex;align-items:center;gap:8px;border-top:1px solid #edf1f5;padding:12px 0}
.todo-repeat-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.todo-repeat-info strong{font-size:13px;overflow-wrap:anywhere}
.todo-repeat-info small,.todo-repeat-muted{color:#75869b;font-size:12px}
.todo-repeat-controls{display:flex;gap:5px;flex:0 0 auto}
.todo-repeat-controls button,.todo-repeat-footer button,.todo-repeat-form-actions button{border:1px solid #d9e3ef;border-radius:8px;padding:7px 10px;background:#f9fbfe;color:#3f5d80;font-size:12px;font-weight:700;cursor:pointer}
.todo-repeat-controls button:disabled{opacity:.3;cursor:default}
.todo-repeat-form{display:flex;flex-direction:column;gap:12px}
.todo-repeat-form[hidden],.todo-repeat-list[hidden]{display:none!important}
.todo-repeat-form input[type=text],.todo-repeat-form input[type=date],.todo-repeat-form select{min-width:0;min-height:35px;border:1px solid #d8e3ef;border-radius:7px;padding:6px 9px;color:#273954;background:#fff;font-size:13px}
.todo-repeat-form-line{display:flex;gap:10px}
.todo-repeat-form-line input{width:90px}
.todo-repeat-form-line select{flex:1}
.todo-repeat-date{display:flex;gap:12px;align-items:center;color:#6b7b91;font-size:12px}
.todo-repeat-targets{display:flex;align-items:center;gap:14px;font-size:12px;flex-wrap:wrap}
.todo-repeat-targets label{display:flex;align-items:center;gap:5px}
.todo-repeat-form-actions{display:flex;justify-content:end;gap:8px}
.todo-repeat-form-actions button:last-child{background:#183a64;color:white}
.todo-repeat-footer{display:flex;justify-content:end;padding-top:10px}
.todo-repeat-delete-modal{display:flex;flex-direction:column;gap:10px;max-width:380px}
.todo-repeat-delete-modal>button{padding:12px;border:1px solid #dee6ef;background:white;text-align:left;border-radius:9px;font-size:13px;color:#253a53;cursor:pointer}
.todo-repeat-delete-modal>button:hover{background:#f2f6fc}
.todo-repeat-delete-modal>button:nth-of-type(2){color:#a34145}
@media(max-width:480px){.todo-repeat-modal{padding:15px}.todo-repeat-rule{align-items:start}.todo-repeat-controls{flex-direction:column}}

.todo-repeat-schedule{display:flex;gap:8px;align-items:center;font-size:12px;color:#596d85}
.todo-repeat-schedule[hidden],.todo-repeat-schedule label[hidden]{display:none!important}
.todo-repeat-schedule label{display:flex;align-items:center;gap:7px}
.todo-repeat-schedule select{min-width:60px!important}

.todo-repeat-footer[hidden]{display:none!important}

/* v500: Search input sits directly in the todo card, without a nested grey panel. */
#todoCard #todoSearchPanel.todo-extra-panel{
  margin:0 15px 8px!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;
}
#todoCard #todoSearchPanel .todo-search-box{
  margin:0!important;background:#fff;
}
#todoCard #todoSearchPanel #todoSearchResults:not(:empty){margin-top:7px;}


/* v501 — repeat icon consistency and inset card separators */
#todoCard .todo-repeat-glyph{
  display:inline-block;
  font-family:Arial,"Apple SD Gothic Neo",sans-serif;
  font-size:22px;
  font-weight:600;
  line-height:1;
  vertical-align:middle;
}
#todoCard .todo-recurrence-mark{
  font-family:Arial,"Apple SD Gothic Neo",sans-serif;
  font-size:1em;
  font-weight:700;
  line-height:1;
  vertical-align:baseline;
}
/* The top separator should have exactly the same inset as the strip's
   lower separator (the lower one is bounded by transparent white side borders). */
#todoCard{--todo-divider-inset:14px;}
#todoCard .card-head{border-bottom:0!important;position:relative;}
#todoCard .card-head::after{
  content:"";
  position:absolute;
  left:var(--todo-divider-inset);
  right:var(--todo-divider-inset);
  bottom:0;
  height:1px;
  background:#e9eff6;
  pointer-events:none;
}
/* Match other inset separators in the card rather than a full-bleed line. */
#homePage .dashboard-left-top > .today > .card-head{
  border-bottom:0!important;
  position:relative;
}
#homePage .dashboard-left-top > .today > .card-head::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:0;
  height:1px;
  background:#e9eff6;
  pointer-events:none;
}
@media(max-width:560px){
  #todoCard{--todo-divider-inset:10px;}
  #homePage .dashboard-left-top > .today > .card-head::after{left:10px;right:10px;}
}
@media(max-width:350px){
  #todoCard{--todo-divider-inset:6px;}
  #homePage .dashboard-left-top > .today > .card-head::after{left:6px;right:6px;}
}


/* v503 — 날짜·요일 동일한 글자 크기, 날짜와 요일 사이 한 칸 */
/* v502 — 오늘의 할 일 날짜 스트립: 31(토)처럼 한 줄 표시 */
#todoCard .todo-week-strip{
  padding-top:6px!important;
  padding-bottom:6px!important;
}
#todoCard .todo-week-strip .todo-week-day{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  height:30px!important;
  min-height:30px!important;
  padding:3px 1px!important;
  border-radius:7px;
  white-space:nowrap!important;
}
#todoCard .todo-week-strip .todo-week-number,
#todoCard .todo-week-strip .todo-week-weekday{
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
}
@media(max-width:560px){
  #todoCard .todo-week-strip{padding-top:5px!important;padding-bottom:5px!important;}
  #todoCard .todo-week-strip .todo-week-day{height:28px!important;min-height:28px!important;}
  #todoCard .todo-week-strip .todo-week-number,
  #todoCard .todo-week-strip .todo-week-weekday{font-size:13.5px!important;}
}
@media(max-width:350px){
  #todoCard .todo-week-strip .todo-week-number,
  #todoCard .todo-week-strip .todo-week-weekday{font-size:13px!important;}
}


/* v504 — keep the date prominent, soften the weekday and remove brackets. */
#todoCard .todo-week-strip .todo-week-weekday{
  font-size:13px!important;
  font-weight:600!important;
}
@media(max-width:560px){
  #todoCard .todo-week-strip .todo-week-weekday{font-size:12.5px!important;}
}
@media(max-width:350px){
  #todoCard .todo-week-strip .todo-week-weekday{font-size:12px!important;}
}

/* v507: hide committee-member CSV import/export controls on mobile only. */
@media screen and (max-width: 760px) {
  #membersPage #contactCsvImportBtn,
  #membersPage #contactCsvExportBtn { display: none !important; }
}


/* ===== v513 국외출장 지원: 법안심사 지원과 동일한 상단 탭 스타일 ===== */
#tripPage{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  background:#eef1f5!important;
}
#tripPage .trip-support-shell{min-height:0}
#tripPage .trip-support-tabs{max-width:1232px!important}
#tripPage .trip-support-panel[hidden]{display:none!important}
#tripPage .trip-support-schedule{
  max-width:1280px;
  margin:0 auto;
  padding:24px;
  box-sizing:border-box;
  min-height:480px;
}
#tripPage .trip-support-schedule h1{
  margin:0 0 16px;
  font-size:28px;
  line-height:1.3;
  font-weight:850;
  color:#17202a;
}
#tripPage .trip-support-empty{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:250px;
  padding:30px 20px;
  border:1px solid #d9dee5;
  border-radius:14px;
  background:#fff;
  text-align:center;
  box-sizing:border-box;
}
#tripPage .trip-support-empty-title{color:#344054;font-size:16px;font-weight:800}
#tripPage .trip-support-empty p{max-width:560px;margin:10px 0 0;color:#667085;font-size:13px;line-height:1.7}
#tripPage .trip-support-budget{min-height:0}
#tripPage #tripFrame{
  display:block!important;
  width:100%!important;
  height:900px!important;
  min-height:0!important;
  border:0!important;
  background:#eef1f5!important;
}
@media(max-width:900px){
  #tripPage .trip-support-tabs{max-width:none!important}
  #tripPage .trip-support-schedule{padding:14px 10px;min-height:420px}
  #tripPage .trip-support-schedule h1{font-size:21px}
  #tripPage .trip-support-empty{border-radius:10px;min-height:240px}
}

/* v519 국외출장 권한: 접근 불가 탭 숨김 */
#tripPage .trip-support-tabs [data-trip-support-tab][hidden]{display:none!important}
#tripPage .trip-row-add:disabled{display:none}
#tripPage .trip-row-delete:disabled{display:none}
#tripPage .trip-schedule-cell:disabled{cursor:default;opacity:1}
#tripPage .tc-row-title:disabled{opacity:1}
#travelSaveBtn[hidden],#travelSaveTitle[hidden],.travel-save-row-actions button[hidden]{display:none!important}

/* v520: iPhone Safari focus zoom prevention + two-line mobile todo editing.
   Keep task title on its own row; controls stay together beneath it. */
@media screen and (max-width: 620px){
  #todoCard .todo-inline-editing .todo-inline-editor,
  #todoCard #todoEntry .todo-add-inline-editor{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    column-gap:8px!important;
    row-gap:4px!important;
    min-width:0!important;
    width:100%!important;
  }
  #todoCard .todo-inline-editor .todo-inline-input,
  #todoCard #todoEntry .todo-text-input{
    order:0!important;
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:34px!important;
    min-height:34px!important;
    box-sizing:border-box!important;
    padding:5px 8px!important;
    font-size:16px!important; /* iOS auto-zoom threshold */
    line-height:1.3!important;
  }
  #todoCard .todo-inline-editor .todo-inline-time,
  #todoCard #todoEntry .todo-inline-time{
    order:1!important;
    flex:0 0 66px!important;
    width:66px!important;
    min-width:66px!important;
    max-width:66px!important;
    height:30px!important;
    min-height:30px!important;
    font-size:16px!important;
    font-weight:600!important;
  }
  #todoCard .todo-inline-editor .todo-inline-targets,
  #todoCard #todoEntry .todo-inline-targets{
    order:2!important;
    flex:0 0 auto!important;
    gap:6px!important;
  }
  #todoCard .todo-inline-editor > .todo-inline-save,
  #todoCard #todoEntry #todoAddConfirm{
    order:3!important;
    flex:0 0 30px!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    margin-left:auto!important;
  }
  #todoCard #todoEntry.todo-entry.open{align-items:flex-start!important;}
  #todoCard #todoEntry .todo-entry-main{align-items:flex-start!important;}
  #todoCard #todoEntry .todo-add-grip,
  #todoCard #todoEntry .todo-add-check{margin-top:8px!important;}
}

/* v521: Prevent Safari focus zoom on every editable field in Today's Todo,
   including the search panel and recurrence editor (which lives outside #todoCard).
   Do not disable user pinch zoom or change the desktop typography. */
@media screen and (max-width: 900px), screen and (hover: none) and (pointer: coarse){
  #todoCard input:not([type="checkbox"]):not([type="radio"]),
  #todoCard select,
  #todoCard textarea,
  #todoRecurringModal input:not([type="checkbox"]):not([type="radio"]),
  #todoRecurringModal select,
  #todoRecurringModal textarea,
  #todoRecurringDeleteModal input:not([type="checkbox"]):not([type="radio"]),
  #todoRecurringDeleteModal select,
  #todoRecurringDeleteModal textarea{
    font-size:16px!important;
  }
}
