/* Judge-only Figma shell: source frames 10:3535 and 10:8806, 1920 × 1080. */
/* SUIT is the default. Explicit text roles follow the fonts applied to current Figma frames. */
body.judge-figma{--jf-sidebar-width:320px;--jf-header-height:84px;--jf-blue:#418efe;--jf-text:#1e293b;--jf-muted:#64748b;--jf-border:#e2e8f0;--jf-panel:#f8fafc;--primary:#418efe;--primary-dark:#2e7bea;--bg:#fff;--text:#1e293b;--muted:#64748b;--shadow:none;--shadow-soft:none;margin:0;background:#fff;color:var(--jf-text);font-family:SUIT,sans-serif;font-size:14px;font-weight:700;line-height:1.5;-webkit-font-smoothing:antialiased;min-width:0}
.judge-figma *{box-sizing:border-box}
.judge-figma button,.judge-figma input,.judge-figma select,.judge-figma textarea{font-family:inherit}
.judge-figma button{cursor:pointer}
.judge-figma [hidden]{display:none!important}
.judge-figma :focus-visible{outline:2px solid #418efe;outline-offset:3px}
.judge-figma .page{width:auto;max-width:none;min-width:0;min-height:calc(100dvh - var(--jf-header-height));margin:var(--jf-header-height) 0 0 var(--jf-sidebar-width);padding:24px 34px 30px;background:#fff}
.judge-figma.jf-auth-entry .page{margin:0;padding:0;min-height:100dvh}
.judge-figma.jf-no-shell .page{margin:0;min-height:100dvh}
.jf-sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:var(--jf-sidebar-width);height:100dvh;display:flex;flex-direction:column;justify-content:space-between;padding:24px 24px 34px;border-right:1px solid var(--jf-border);border-radius:12px;background:#fff;transition:transform .2s ease}
.jf-sidebar-content{display:flex;flex-direction:column;gap:24px;min-height:0;overflow-y:auto;scrollbar-width:thin}
.jf-profile{display:flex;gap:12px;align-items:center;min-height:44px;color:inherit;text-decoration:none}
.jf-profile>span{min-width:0;display:flex;flex-direction:column}
.jf-profile small{font-size:12px;line-height:18px;color:#64748b;font-weight:700}
.jf-profile strong{font-size:14px;line-height:22px;color:#1e293b;font-weight:700}
.jf-profile small,.jf-profile strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jf-avatar{width:44px;height:44px;object-fit:cover;border-radius:36px;flex:none}
.jf-profile+.jf-divider{margin-top:-8px}
.jf-divider{height:2px;background:#f1f5f9;flex:none;border-radius:2px}
.jf-nav-group{display:flex;flex-direction:column;gap:8px}
.jf-nav-group h2{padding:0 12px;margin:0;font-size:12px;line-height:18px;font-weight:700;color:#418efe}
.jf-nav-link{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 12px;color:#64748b;border-radius:12px;font-size:14px;font-weight:700;line-height:22px;text-decoration:none;transition:background-color .15s,color .15s}
.jf-nav-link:hover{background:#f1f5f9;color:#334155}
.jf-nav-link.is-active{background:#418efe;color:#fff}
.jf-nav-label{flex:1;min-width:0}
.jf-team-shortcuts{display:flex;flex-direction:column;max-height:97.544px;overflow-y:auto;scrollbar-width:thin}
.jf-team-shortcuts .jf-nav-link{min-height:48.772px;flex:none;padding:13.131px 24.386px 13.131px 10px;gap:15px;border-radius:7.503px;color:#888}
.jf-team-shortcuts .jf-nav-link.is-active{color:#fff}
.jf-team-shortcuts .jf-nav-icon,.jf-team-shortcuts .jf-nav-icon img{width:18.759px;height:18.759px}
.jf-team-shortcuts .jf-nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jf-nav-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex:none}
.jf-nav-icon img,.jf-toolbar-button img,.jf-logo img,.jf-project-back img{display:block;max-width:none;flex:none}
.jf-nav-disclosure::after,.jf-nav-settings::after{content:'';width:16px;height:16px;background:url('../img/judge-figma/shell/chevronDown.svg') center no-repeat;flex:none}
.jf-nav-group[aria-label="Setting"]{height:66px;flex:none}
.jf-secondary-nav .jf-nav-link{min-height:42px}
.jf-nav-group.jf-setting-with-support{height:129px}
.jf-support-nav{height:48.772px;min-height:48.772px;flex:none;padding:13.131px 24.386px 13.131px 12px;gap:15px;border-radius:7.503px}
.jf-support-nav .jf-nav-icon,.jf-support-nav .jf-nav-icon img{width:18px;height:18px}
.jf-setting-with-support+.jf-secondary-nav .jf-nav-link{min-height:46px}
.jf-logout,.jf-logout:hover{color:#ef4444}
.jf-logo{display:flex;align-items:center;justify-content:center;gap:7.744px;padding:10.667px;color:#334155;font-family:Pretendard,SUIT,sans-serif;font-size:18.184252px;font-weight:700;line-height:normal;text-decoration:none;margin-top:24px;flex:none}
.jf-sidebar-footer{flex:none;padding-top:24px}
.jf-sidebar-footer .jf-logo{margin-top:0}
.jf-deadline-card{width:252px;max-width:100%;height:131px;padding:14px;margin:0 auto 30px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.jf-deadline-card>div{display:flex;gap:10px;align-items:flex-start;height:49px}
.jf-deadline-card strong{font:800 16px/24px Pretendard,SUIT,sans-serif;color:#334155}
.jf-deadline-card p{margin:1px 0 0;font:700 12px/18px SUIT,sans-serif;color:#94a3b8;white-space:nowrap}
.jf-deadline-card>div>span{position:relative;width:41.462px;height:49px;overflow:hidden;flex:none}
.jf-deadline-card img{position:absolute;width:118.18%;height:100%;left:-11.76%;top:0;max-width:none}
.jf-deadline-card>a{display:flex;align-items:center;justify-content:center;height:41px;margin-top:10px;border-radius:8px;background:#e2e8f0;color:#64748b;font-size:14px;text-decoration:none}
.jf-collapse{position:absolute;right:-14px;top:34px;width:28px;height:28px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:5px;display:flex;align-items:center;justify-content:center}
.jf-collapse img{transform:rotate(90deg)}
.jf-project-profile strong{font-family:Pretendard,SUIT,sans-serif;font-size:24px;line-height:32px;font-weight:800;overflow-wrap:anywhere}
.jf-project-profile+.jf-divider{margin-top:-9px;height:1px}
.jf-project-back{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#e2e8f0;border-radius:50%;flex:none}
/* Figma's inside stroke does not subtract from the header's alignment box. */
.jf-header{position:fixed;inset:0 0 auto var(--jf-sidebar-width);z-index:30;height:var(--jf-header-height);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 34.386px;border-bottom:0;box-shadow:inset 0 -1.228px rgba(96,110,132,.1);background:#fff}
.jf-header-leading,.jf-header-trailing{display:flex;align-items:center;min-width:0}
.jf-header-leading{gap:9.825px}
.jf-header-trailing{gap:24.561px;align-items:flex-start}
.jf-header-buttons{display:flex;align-items:center;gap:9.825px;flex:none}
.jf-toolbar-button{display:flex;align-items:center;justify-content:center;flex:none;width:34.386px;height:34.386px;padding:4.912px;border:0;border-radius:9.825px;background:transparent;text-decoration:none}
.jf-toolbar-button:hover,.jf-toolbar-button[aria-pressed=true],.jf-toolbar-button[aria-expanded=true]:not([data-jf-sidebar-toggle]){background:#eef4ff}
.jf-toolbar-button.jf-notifications[aria-expanded=true]{background:transparent}
.jf-breadcrumb{display:flex;align-items:center;gap:9.825px;min-width:0;font-size:18px;line-height:26px}
.jf-breadcrumb a,.jf-breadcrumb strong{padding:4.912px 9.825px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jf-breadcrumb a{color:#94a3b8;text-decoration:none;max-width:230px}
.jf-breadcrumb>span{width:7px;min-width:7px;height:25px;flex:none;color:#cbd5e1;font:400 17.192982px/24.561403px Inter,SUIT,sans-serif}
.jf-breadcrumb strong{color:#1e293b}
.jf-global-search{display:flex;align-items:center;gap:4.91228px;width:374px;height:37.825px;padding:4.912px 9.825px;border-radius:9.825px;background:#f8fafc}
.jf-global-search input{min-width:0;width:100%;height:28px;padding:0;background:transparent;border:0;box-shadow:none;border-radius:0;font-family:SUIT,sans-serif;font-size:17.19298px;line-height:27.01754px;font-weight:700;color:#334155;outline-offset:0}
.jf-global-search input::placeholder{color:#94a3b8;opacity:1}
.jf-header-popover{position:fixed;z-index:60;top:calc(var(--jf-header-height) - 5px);right:34px;width:300px;max-width:calc(100vw - 32px);padding:20px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:var(--tfj-shadow-floating)}
.jf-header-popover{max-height:calc(100dvh - var(--jf-header-height) - 16px);overflow-y:auto;overscroll-behavior:contain}
.jf-header-popover>strong{display:block;margin-bottom:10px;font-size:18px}
.jf-header-popover nav{display:flex;flex-direction:column;gap:4px}
.jf-header-popover nav>a,.jf-header-popover nav>button{display:block;padding:8px 10px;border:0;border-radius:8px;background:transparent;text-align:left;color:#475569;text-decoration:none;font-size:14px;font-weight:700}
.jf-header-popover nav>a,.jf-header-popover nav>button{overflow-wrap:anywhere}
.jf-header-popover nav>.jf-mobile-tool{display:none}
.jf-header-popover nav>[data-jf-favorite][aria-pressed="true"]{background:var(--tfj-accent-tint-color);color:var(--tfj-accent-hover-color)}
@media(max-width:1100px){.jf-header-popover nav>.jf-compact-favorite{display:block}}
@media(max-width:900px){.jf-header-popover nav>.jf-mobile-tool{display:block}.jf-header-popover nav>a,.jf-header-popover nav>button{min-height:44px}}
.jf-header-popover nav>a:hover,.jf-header-popover nav>button:hover{background:#f1f5f9}
.jf-release{color:#94a3b8;font-size:12px;padding:8px 10px}
.jf-preferences{padding:28px;border:1px solid #e2e8f0;border-radius:20px;width:min(420px,calc(100vw - 32px));color:#1e293b;background:#fff}
.jf-preferences::backdrop{background:#1e293b55}
.jf-preferences h2{font-size:24px;margin:0 0 24px}
.jf-preferences label{display:flex;gap:10px;align-items:center;margin-bottom:24px}
.jf-preferences input{width:18px;height:18px}
.jf-preferences button{display:block;margin-left:auto}
.jf-skip-link{position:fixed;z-index:100;left:12px;top:-80px;background:#fff;color:#1e293b;padding:12px;border:2px solid #418efe}
.jf-skip-link:focus{top:12px}
.judge-figma.jf-sidebar-collapsed{--jf-sidebar-width:0px}
.jf-sidebar-collapsed .jf-sidebar{width:320px;transform:translateX(-100%)}
.jf-sidebar-collapsed .jf-collapse{display:none}
.jf-sidebar-backdrop{display:none}
.jf-team-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 28px}
.jf-team-heading h1{font-family:Pretendard,SUIT,sans-serif;font-size:24px;line-height:32px;font-weight:800;margin:0;color:#111827}
.jf-team-heading p{margin:5px 0 0;font-size:18px;line-height:26px;color:#94a3b8;font-weight:700}
.jf-team-heading .actions{margin:0;display:flex;gap:12px}
.judge-figma .jf-team-heading .btn{box-shadow:none;border:0;border-radius:999px;background:#418efe;color:#fff;padding:12px 18px;font-size:14px;min-height:44px}
.jf-team-dashboard .jf-team-heading p{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.jf-project-deadline{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:26px;padding:2px 5px;border-radius:6px;background:#e2e8f0;color:#64748b;font:800 16px/24px Pretendard,SUIT,sans-serif}
.judge-figma .jf-team-heading .btn.secondary{background:#fff;color:#64748b;border:1px solid #cbd5e1}
.judge-figma.jf-reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(min-width:1101px){.jf-header-trailing>.jf-header-buttons:has(.jf-notifications){width:167.01753px;justify-content:space-between;gap:0}}
@media(max-width:1500px) and (min-width:901px){body.judge-figma{--jf-sidebar-width:260px;--jf-header-height:72px}.jf-sidebar{padding:20px 20px 28px}.jf-global-search{width:250px}.jf-header{padding:0 26px;gap:12px}.jf-header-trailing{gap:12px}.judge-figma .page{padding:24px 26px}.jf-breadcrumb{font-size:16px}.jf-project-profile strong{font-size:20px}.jf-sidebar-content{gap:20px}}
@media(max-width:1100px) and (min-width:901px){.jf-global-search{width:160px}.jf-breadcrumb a{max-width:110px}.jf-header-buttons{gap:5px}.jf-favorite{display:none}}
/* Keep the Classroom tutorial entry fully visible on short sidebars. */
@media(max-height:850px){
 .jf-sidebar-content:has(>.cf-sidebar-tutorial){gap:12px}
 .jf-sidebar-content>.cf-sidebar-tutorial{flex-shrink:0}
}
@media(max-width:900px){body.judge-figma{--jf-sidebar-width:0px;--jf-header-height:64px}.jf-sidebar,.jf-sidebar-collapsed .jf-sidebar{width:300px;max-width:calc(100vw - 36px);transform:translateX(-100%);z-index:80;padding:24px 20px}.jf-sidebar-open .jf-sidebar{transform:translateX(0)}.jf-sidebar-open .jf-sidebar-backdrop{display:block;position:fixed;inset:0;z-index:70;border:0;background:#1e293b55;width:100vw;height:100dvh}.jf-collapse{display:none}.jf-header{left:0;padding:0 16px;gap:8px}.jf-header-leading{gap:4px;flex:1}.jf-header-trailing{gap:0}.jf-header-buttons{gap:4px}.jf-header-leading .jf-favorite,.jf-header-trailing [data-jf-preferences],.jf-header-trailing [data-jf-history],.jf-global-search{display:none}.jf-breadcrumb{font-size:16px;gap:4px}.jf-breadcrumb a,.jf-breadcrumb>span{display:none}.jf-breadcrumb strong{padding:4px 0}.jf-toolbar-button{width:36px;height:36px}.judge-figma .page{margin-left:0;padding:20px 16px 28px;min-height:calc(100dvh - 64px)}.jf-header-popover{right:16px}.jf-team-heading{gap:12px;margin-bottom:22px;flex-wrap:wrap}.jf-team-heading h1{font-size:24px}.jf-team-heading p{font-size:14px;line-height:22px}.jf-team-heading .actions{gap:8px;flex-wrap:wrap}.jf-team-heading .btn{padding:10px 14px!important}}
@media(prefers-reduced-motion:reduce){.judge-figma *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.jf-sidebar,.jf-header,.jf-header-popover,.jf-skip-link{display:none!important}.judge-figma .page{margin:0;padding:0}}
/* Retire layout offsets inherited from the previous fixed navigation. */
body.judge-figma{background:#fff!important;padding:0!important}
body.judge-figma>main.page{background:#fff!important;width:auto!important;max-width:none!important;margin:var(--jf-header-height) 0 0 var(--jf-sidebar-width)!important;padding:24px 34px 30px!important}
body.judge-figma.jf-auth-entry>main.page,body.judge-figma.jf-no-shell>main.page{margin:0!important;padding:0!important}
body.judge-figma .jf-nav-group h2{color:#418efe;font-weight:700}
body.judge-figma .jf-sidebar{border-right:0;box-shadow:inset -1px 0 #e2e8f0}
@media(max-width:1500px) and (min-width:901px){body.judge-figma>main.page{padding:24px 26px!important}}
@media(max-width:900px){body.judge-figma>main.page{margin-left:0!important;padding:20px 16px 28px!important}body.judge-figma.jf-auth-entry>main.page,body.judge-figma.jf-no-shell>main.page{margin:0!important;padding:0!important}}
@media print{body.judge-figma>main.page{margin:0!important;padding:0!important}}

body.judge-figma{--tfj-accent-color:#418efe;--tfj-accent-hover-color:#2e7bea;--tfj-accent-pressed-color:#1f68d6;--tfj-accent-sky-color:#9dc5ff;--tfj-accent-soft-color:#f1f5f9;--tfj-accent-tint-color:#eaf3ff;--tfj-accent-border-color:#bfd5ff;--tfj-surface-color:#fff;--tfj-surface-subtle-color:#f8fafc;--tfj-border-color:#e2e8f0;--tfj-border-strong-color:#cbd5e1;--tfj-type-display-color:#111827;--tfj-type-display-weight:800;--tfj-type-title-color:#1e293b;--tfj-type-title-weight:800;--tfj-type-subtitle-color:#94a3b8;--tfj-type-subtitle-weight:700;--tfj-type-body-color:#334155;--tfj-type-body-weight:700;--tfj-type-muted-color:#64748b;--tfj-type-muted-weight:700;--tfj-type-support-color:#94a3b8;--tfj-type-support-weight:700;--tfj-type-nav-color:#64748b;--tfj-type-nav-weight:700;--tfj-control-height:44px;--tfj-control-compact-height:34px;--tfj-control-mobile-height:44px;--tfj-control-radius:10px;--tfj-control-gap:8px;--tfj-control-font-size:14px;--tfj-control-font-weight:700;--tfj-control-border-color:#e2e8f0;--tfj-control-neutral-bg:#fff;--tfj-control-neutral-hover-bg:#f8fafc;--tfj-control-disabled-bg:#e2e8f0;--tfj-control-disabled-border:#d5dde8;--tfj-control-disabled-text:#94a3b8;--tfj-focus-ring:#418efe40;--tfj-danger-color:#dc2626;--tfj-danger-hover-color:#b91c1c;--tfj-danger-soft-color:#ffe7e7;--tfj-danger-border-color:#fecdd3;--tfj-success-color:#2bc865;--tfj-success-hover-color:#0f6b4e;--tfj-success-soft-color:#e0fdea;--tfj-success-border-color:#a7e5ca;--tfj-warning-color:#ffa000;--tfj-warning-hover-color:#854d0e;--tfj-warning-soft-color:#ffebc9;--tfj-warning-border-color:#fde68a;--tfj-card-radius:26px;--tfj-modal-radius:20px;--tfj-input-height:44px;--tfj-shadow-subtle:none;--tfj-shadow-card:none;--tfj-shadow-raised:none;--tfj-shadow-floating:0 2px 20px rgba(65,88,120,.03);--tfj-shadow-dropdown:0 4px 6.1px rgba(148,163,184,.2);--tfj-shadow-button:none}

/* Existing legal and confirmation flows share the new Judge type/surface rules. */
body.judge-figma .legal-document{max-width:1100px;margin:0;gap:0}
body.judge-figma .legal-hero{padding:0 0 28px;border:0;border-radius:0;background:#fff;box-shadow:none}
body.judge-figma .legal-hero .eyebrow{color:#94a3b8;font-size:12px;letter-spacing:0}
body.judge-figma .legal-hero h1{font:800 24px/32px SUIT,sans-serif;color:#111827}
body.judge-figma .legal-hero p:not(.eyebrow){font:700 16px/24px SUIT,sans-serif;color:#94a3b8;margin-top:8px}
body.judge-figma .legal-card{padding:24px 0;border:0;border-top:1px solid #e2e8f0;border-radius:0;box-shadow:none;background:#fff;scroll-margin-top:100px}
body.judge-figma .legal-card h2{font:800 20px/28px SUIT,sans-serif;color:#334155}
body.judge-figma .legal-card p,body.judge-figma .legal-card li{font:500 15px/26px SUIT,sans-serif;color:#475569;overflow-wrap:anywhere}
body.judge-figma .dialog-backdrop{background:rgba(0,0,0,.24)}
body.judge-figma .dialog-box{padding:28px 30px;border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:none;color:#334155;max-height:calc(100dvh - 32px);overflow:auto}
body.judge-figma .dialog-box h2{font:800 24px/32px SUIT,sans-serif;color:#111827}
body.judge-figma .dialog-box p{font:700 16px/24px SUIT,sans-serif;color:#64748b}
body.judge-figma .dialog-box .button{box-shadow:none;border-radius:10px}
@media(max-width:900px){body.judge-figma.jf-sidebar-open{overflow:hidden}}
.jf-mobile-sidebar-close{display:none}
@media(max-width:900px){.jf-mobile-sidebar-close{display:flex;position:absolute;top:12px;right:10px;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:white;padding:4px}.jf-mobile-sidebar-close img{width:20px;height:20px}.jf-sidebar .jf-profile{padding-right:20px}}
.jf-nav-link.is-active .jf-nav-icon img{filter:brightness(0) invert(1)}
.jf-nav-link.is-active::after{filter:brightness(0) invert(1)}
body.judge-figma .error-state-card{display:flex;flex-direction:column;align-items:flex-start;gap:24px;max-width:760px;margin:0;padding:28px 30px;border:1px solid #e2e8f0;border-radius:24px;background:#f8fafc;box-shadow:none;text-align:left}
body.judge-figma .error-state-card .page-title{font:800 24px/32px SUIT,sans-serif;color:#111827;margin:0}
body.judge-figma .error-state-card .page-subtitle{font:700 16px/24px SUIT,sans-serif;color:#64748b;margin-top:10px}
/* Figma auth alerts19:27591 and plan confirmation236:226. */
body.judge-figma .jf-dialog-source-backdrop{display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.24);backdrop-filter:none}
body.judge-figma .jf-dialog-source-backdrop.dialog-backdrop-alert{background:rgba(0,0,0,.4)}
body.judge-figma .jf-dialog-source{--tfj-modal-radius:26px;--tfj-control-height:79px;--tfj-control-radius:14.959px;--tfj-control-font-size:24px;--tfj-control-font-weight:800;--jf-dialog-action-line:32px;display:flex;flex-direction:column;width:min(608px,calc(100vw - 32px));max-width:100%;min-height:376px;padding:38px 47px;border:0;border-radius:var(--tfj-modal-radius);background:white;box-shadow:none}
body.judge-figma.jf-auth-entry .jf-dialog-source{transform:translateY(-5px)}
.jf-dialog-source-close-row{height:30px;width:100%;display:flex;justify-content:flex-end;margin-bottom:24px;flex:none}
.jf-dialog-source-close{border:0;width:30px;height:30px;flex:none;padding:0;background:transparent url('../img/judge-figma/shell/dialogClose.svg') center/30px no-repeat}
.jf-dialog-source-copy{min-height:137px;display:flex;flex-direction:column;justify-content:center;gap:20px}
body.judge-figma .jf-dialog-source h2{display:flex;align-items:center;justify-content:center;gap:20.943px;margin:0;color:#1e293b;font:800 29.918px/41.885px SUIT,sans-serif;text-align:center;letter-spacing:0}
.jf-dialog-source-icon{width:35.902px;height:35.902px;flex:none;background:url('../img/judge-figma/shell/warning.svg') center/contain no-repeat}
body.judge-figma .jf-dialog-source p{margin:0;font:700 20.943px/32.91px SUIT,sans-serif;color:#64748b;white-space:pre-line;text-align:center;overflow-wrap:anywhere}
body.judge-figma .jf-dialog-source .dialog-actions{margin:30px 0 0;display:block;flex:none}
/* Keep Figma's large action label proportional when shared control rules load later. */
body.judge-figma .jf-dialog-source .dialog-actions .button{display:inline-flex;align-items:center;justify-content:center;width:100%;height:var(--tfj-control-height);min-height:var(--tfj-control-height)!important;padding:8.975px 31.414px!important;border:0;border-radius:var(--tfj-control-radius)!important;background:#418efe;color:#fff;box-shadow:none!important;font:800 var(--tfj-control-font-size)/var(--jf-dialog-action-line) SUIT,sans-serif!important}
/* Error acknowledgement is the blue primary action in Figma 19:27644. */
body.judge-figma .jf-dialog-source.dialog-box-alert .dialog-actions .button{border:0!important;background:#418efe!important;color:#fff!important}
body.judge-figma .jf-dialog-source-upgrade{padding:41.5px 29px}
body.judge-figma .jf-dialog-source-upgrade h2{font-size:30px;line-height:41.885px}
body.judge-figma .jf-dialog-source-upgrade p{font-weight:500;font-size:20px;line-height:28px}
.jf-dialog-source-upgrade .jf-dialog-source-close-row{height:23px;width:calc(100% - 36px);align-self:center}
.jf-invalid-invite-background .jf-invite-art{display:none}
body.judge-figma .jf-invite-error-dialog{position:fixed;inset:0;margin:auto;padding-left:29px;padding-right:29px;height:fit-content;transform:none}
.jf-invite-error-dialog::backdrop{background:rgba(0,0,0,.4)}
body.judge-figma.jf-auth-entry .jf-invite-error-dialog{transform:none}
.jf-invite-error-dialog .jf-dialog-source-close-row{width:calc(100% - 36px);align-self:center}
body.judge-figma .jf-invite-error-dialog .dialog-actions{display:flex;gap:15px;justify-content:center}
body.judge-figma .jf-invite-error-dialog .dialog-actions .button{display:flex;align-items:center;justify-content:center;width:260px;max-width:calc((100% - 15px)/2);padding:9px 12px;white-space:nowrap;text-decoration:none}
body.judge-figma .jf-invite-error-dialog .dialog-actions .button.secondary{border:1.496px solid #e2e8f0;background:#fff;color:#475569}
@media(max-width:640px){body.judge-figma .jf-dialog-source{--tfj-modal-radius:24px;--tfj-control-height:56px;--tfj-control-font-size:18px;--jf-dialog-action-line:26px;min-height:0;padding:24px;border-radius:var(--tfj-modal-radius)}body.judge-figma .jf-dialog-source h2{font-size:22px;line-height:30px;gap:12px}body.judge-figma .jf-dialog-source p{font-size:16px;line-height:26px}.jf-dialog-source-icon{width:28px;height:28px}.jf-dialog-source-copy{min-height:120px}.jf-dialog-source-close-row{margin-bottom:16px}.jf-dialog-source-upgrade .jf-dialog-source-close-row{width:100%;height:30px}body.judge-figma .jf-dialog-source .dialog-actions{margin-top:24px}}
/* Desktop warnings, auth notices and plan confirmations share the guide's small
   Popup Heading (20/28) and Body (14/22), with compact product-dialog sizing. */
@media(min-width:901px){
 body.judge-figma .jf-dialog-source{--tfj-modal-radius:20px;--tfj-control-height:44px;--tfj-control-radius:10px;--tfj-control-font-size:14px;--jf-dialog-action-line:22px;width:420px;max-width:calc(100vw - 48px);height:fit-content;min-height:0;max-height:calc(100dvh - 48px);padding:24px;overflow:auto}
 body.judge-figma .jf-dialog-source .jf-dialog-source-close-row{width:100%;height:24px;margin-bottom:12px}
 body.judge-figma .jf-dialog-source .jf-dialog-source-close{width:24px;height:24px;min-height:24px;background-size:24px}
 body.judge-figma .jf-dialog-source .jf-dialog-source-copy{min-height:0;gap:12px}
 body.judge-figma .jf-dialog-source h2{gap:10px;font:800 20px/28px SUIT,sans-serif}
 body.judge-figma .jf-dialog-source .jf-dialog-source-icon{width:24px;height:24px}
 body.judge-figma .jf-dialog-source p{font:700 14px/22px SUIT,sans-serif}
 body.judge-figma .jf-dialog-source .dialog-actions{margin-top:24px}
 /* Confirm/prompt fallbacks use the same small product-dialog type roles.
    Input forms retain their field-driven layout. */
 body.judge-figma .dialog-box:not(.jf-dialog-source):not(.jf-source-form){width:420px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);padding:24px;border:0;border-radius:20px;overflow:auto}
 body.judge-figma .dialog-box:not(.jf-dialog-source):not(.jf-source-form) h2{margin:0 0 12px;color:#1e293b;font:800 20px/28px SUIT,sans-serif}
 body.judge-figma .dialog-box:not(.jf-dialog-source):not(.jf-source-form) p{font:700 14px/22px SUIT,sans-serif}
 body.judge-figma .dialog-box:not(.jf-dialog-source):not(.jf-source-form) .dialog-actions{margin-top:24px;gap:14px}
 body.judge-figma .dialog-box:not(.jf-dialog-source):not(.jf-source-form) .dialog-actions .button{height:44px;min-height:44px;padding:10px 16px;font:700 14px/22px SUIT,sans-serif!important}
 body.judge-figma :is(dialog,[role="dialog"],[role="alertdialog"]) :is(h1,h2,h3,p,button,input,textarea,select,label,strong,small,span,a){font-family:SUIT,sans-serif!important}
}
/* The 1920px Figma shell reserves 320px for navigation and 1600px for
   the page. Wider monitors retain that content width instead of stretching
   every card and table; fixed dialogs and header navigation keep their anchors. */
@media screen and (min-width:901px){
 body.judge-figma:not(.jf-auth-entry):not(.jf-no-shell)>main.page{max-width:1600px!important}
}
/* Figma member report10:18620/10:18923 and force-close10:16360. */
body.judge-figma .jf-form-source-backdrop{display:grid;place-items:center;padding:16px;background:rgba(0,0,0,.24);backdrop-filter:none}
body.judge-figma .jf-moderation-backdrop{background:rgba(0,0,0,.2)}
@media(min-width:901px){
 body.judge-figma .jf-form-source-backdrop{background:rgba(0,0,0,.2)}
}
body.judge-figma .jf-source-form{position:relative;display:flex;flex-direction:column;width:630px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:26px;box-shadow:none;overflow:auto;text-align:left}
body.judge-figma .jf-moderation-form{transform:none}
body.judge-figma .jf-source-form-heading{height:79px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 26px}
body.judge-figma .jf-source-form-heading h2{display:flex;align-items:center;gap:10px;margin:0;color:#1e293b;font:800 20px/28px SUIT,sans-serif;letter-spacing:0}
body.judge-figma .jf-source-form-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:24px;flex:none;padding:0;border:0;background:transparent}
body.judge-figma .jf-source-form-close img{display:block;flex:none}
body.judge-figma .jf-source-form-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:50%;background:#2e7bea}
body.judge-figma .jf-source-form-icon img{display:block;flex:none;transform:translateY(-.354px)}
body.judge-figma .jf-source-form-body{display:flex;flex-direction:column;gap:18px;padding:24px 26px 38px;border-top:1px solid #e2e8f0;flex:none}
body.judge-figma .jf-source-form-field{position:relative;display:flex;flex-direction:column;gap:9px;margin:0;min-width:0}
body.judge-figma .jf-source-form-field>span{display:flex;align-items:center;gap:4px;color:#334155;font:800 16px/24px Pretendard,SUIT,sans-serif}
body.judge-figma .jf-source-form-field small{color:#418efe;font:800 12px/18px Pretendard,SUIT,sans-serif}
body.judge-figma .jf-source-form-field small.is-required{color:#ef4444;align-self:flex-start}
body.judge-figma .jf-source-form .dialog-input{box-sizing:border-box;width:100%;height:47px;min-height:47px;margin:0;padding:12px 20px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;box-shadow:none;color:#64748b;font:500 14px/22px SUIT,sans-serif;letter-spacing:0}
body.judge-figma .jf-source-form .dialog-input::placeholder{color:#94a3b8;opacity:1}
body.judge-figma .jf-source-form textarea.dialog-input{height:102px;min-height:102px;padding-top:14.5px;resize:none}
body.judge-figma .jf-source-form .jf-moderation-reason{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;color:#94a3b8;cursor:pointer}
body.judge-figma .jf-moderation-reason img{display:block;flex:none;transform:rotate(90deg)}
body.judge-figma .jf-source-form .jf-moderation-reason.has-value{color:#64748b}
body.judge-figma .jf-source-form .jf-moderation-reason[aria-invalid=true]{border-color:#ef4444}
body.judge-figma .jf-moderation-options{position:absolute;z-index:2;top:calc(100% + 5px);left:0;width:100%;max-height:158px;padding:0 10px;border:1px solid #e2e8f0;border-radius:12px;background:#fcfdff;box-shadow:0 4px 6.1px #94a3b833;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
body.judge-figma .jf-moderation-options[hidden]{display:none}
body.judge-figma .jf-moderation-options button{display:block;width:100%;height:46px;min-height:46px;padding:12px 10px;border:0;border-radius:12px;background:transparent;color:#94a3b8;text-align:left;white-space:nowrap;font:500 14px/22px SUIT,sans-serif;cursor:pointer}
body.judge-figma .jf-moderation-options button:focus,body.judge-figma .jf-moderation-options button[aria-selected=true]{background:#e2e8f0;color:#64748b;font-weight:700;outline:0}
body.judge-figma .jf-source-form .dialog-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:12px;min-height:85px;margin:0;padding:18px 22px;background:#f8fafc;flex:none}
body.judge-figma .jf-source-form .dialog-actions .button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto!important;height:46px;min-height:46px;padding:12px 16px;border:0;border-radius:10000px!important;background:#418efe!important;color:white;box-shadow:none!important;font:700 14px/22px SUIT,sans-serif!important}
body.judge-figma .jf-force-close-form .jf-source-form-body{min-height:174px;gap:20px}
body.judge-figma .jf-force-close-form .jf-source-form-body p{margin:0;color:#334155;font:700 14px/22px SUIT,sans-serif;white-space:normal;overflow-wrap:anywhere}
body.judge-figma .jf-force-close-form .dialog-input::placeholder{color:#64748b}
body.judge-figma .jf-source-form-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.judge-figma .jf-source-form :is(button,input,textarea):focus-visible{outline:2px solid #418efe;outline-offset:3px}
@media(max-width:700px){body.judge-figma .jf-source-form{border-radius:20px}body.judge-figma .jf-source-form-heading{height:70px;padding:0 20px}body.judge-figma .jf-source-form-heading h2{font-size:18px}body.judge-figma .jf-source-form-close{width:32px;height:32px;min-height:32px}body.judge-figma .jf-source-form-body{padding:22px 20px 28px}body.judge-figma .jf-source-form .dialog-actions{min-height:77px;padding:16px 20px}body.judge-figma .jf-force-close-form .jf-source-form-body{min-height:174px}}

/* Global header inbox: Figma 201:3547. Four 96px rows, capped at 397 × 563px.
   Keep this shared with Classroom; additional notifications scroll inside the list. */
body.judge-figma .jf-notification-popover{--jf-notification-available:calc(100dvh - 190px);position:fixed;inset:167px 37px auto auto;width:397px;max-width:calc(100vw - 32px);max-height:min(563px,var(--jf-notification-available));height:auto;margin:0;padding:19px 19px 21px 20px;border:0;border-radius:20px;background:white;box-shadow:var(--tfj-shadow-floating);color:#1e293b;overflow:hidden}
body.judge-figma .jf-notification-popover::backdrop{background:rgba(0,0,0,.3)}
body.judge-figma .jf-notification-popover[open]{animation:jf-notification-in .16s ease-out}
body.judge-figma .jf-notification-popover>section{height:auto;max-height:calc(min(563px,var(--jf-notification-available)) - 40px);display:flex;flex-direction:column;gap:20px;min-height:0}
body.judge-figma .jf-notification-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.judge-figma .jf-notification-header :is(h1,h2){margin:0;font:700 20px/28px 'SUIT',sans-serif;color:#1e293b}
body.judge-figma .jf-notification-filters{display:flex;align-items:center;gap:4px}
body.judge-figma .jf-notification-filters button,body.judge-figma .jf-notification-all{display:flex;align-items:center;justify-content:center;min-height:31px;padding:4px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#64748b;font:700 14px/22px 'SUIT',sans-serif;white-space:nowrap;cursor:pointer;text-decoration:none}
body.judge-figma .jf-notification-filters button[aria-pressed=true]{border-color:#cbd5e1;color:#334155}
body.judge-figma .jf-notification-all{background:#e2e8f0;color:#1e293b;margin-left:6px}
body.judge-figma .jf-notification-list{display:flex;max-height:420px;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
body.judge-figma .jf-notification-item{position:relative;display:flex;flex:none;align-items:flex-start;gap:10px;min-height:98px;padding:14px 17px;background:#f8fafc;border-radius:8.438px}
body.judge-figma .jf-notification-icon{display:flex;align-items:center;justify-content:center;width:34.906px;height:34.906px;flex:0 0 34.906px;background:#eaf3ff;border-radius:5.37px}
body.judge-figma .jf-notification-main{min-width:0;flex:1;padding-right:10px}
body.judge-figma .jf-notification-main>a,body.judge-figma .jf-notification-main>button{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;border:0;background:transparent;padding:0;text-decoration:none;cursor:pointer}
body.judge-figma .jf-notification-main strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1e293b;font:800 16px/24px Pretendard,SUIT,sans-serif}
body.judge-figma .jf-notification-main span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#475569;font:800 12px/18px Pretendard,SUIT,sans-serif}
body.judge-figma .jf-notification-main time{display:block;margin-top:8px;color:#94a3b8;font:700 12px/18px 'SUIT',sans-serif}
body.judge-figma .jf-notification-unread{position:absolute;top:16px;right:11px;display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0;background:transparent;border:0;cursor:pointer}
body.judge-figma .jf-notification-item.is-read>.jf-notification-icon,body.judge-figma .jf-notification-item.is-read>.jf-notification-main{opacity:.5}
body.judge-figma .jf-read-all{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;padding:5px 7px;background:#418efe;color:white;font:700 12px/18px 'SUIT',sans-serif;cursor:pointer}
body.judge-figma .jf-read-all:disabled{opacity:.5;cursor:default}
body.judge-figma .jf-notification-popover footer{margin-top:auto}
body.judge-figma .jf-notification-popover .message:empty{display:none}
body.judge-figma .jf-notification-page{max-width:1040px;margin:0 auto;display:flex;flex-direction:column;gap:24px}
body.judge-figma .jf-notification-page .jf-notification-header h1{font:800 24px/32px Pretendard,SUIT,sans-serif}
body.judge-figma .jf-notification-page .jf-notification-list{max-height:calc(100dvh - 270px)}
body.judge-figma .jf-notification-page .message:empty{display:none}
body.judge-figma .jf-notification-page .jf-notification-item{min-height:110px}
body.judge-figma .jf-notification-page .jf-notification-main span{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap}
body.judge-figma .jf-notification-page .jf-notification-main strong{white-space:normal}
body.judge-figma .jf-notification-page footer{display:flex;justify-content:flex-end}
@media(max-width:700px){body.judge-figma .jf-notification-popover{--jf-notification-available:calc(100dvh - 98px);top:82px;right:16px;padding:16px;width:397px}body.judge-figma .jf-notification-popover>section{gap:16px;max-height:calc(min(563px,var(--jf-notification-available)) - 32px)}body.judge-figma .jf-notification-header{gap:8px}body.judge-figma .jf-notification-header :is(h1,h2){font-size:18px}body.judge-figma .jf-notification-filters{gap:1px}body.judge-figma .jf-notification-filters button,body.judge-figma .jf-notification-all{font-size:12px;padding:4px 7px}body.judge-figma .jf-notification-all{margin-left:3px}body.judge-figma .jf-notification-item{padding:14px 12px}body.judge-figma .jf-notification-main strong{font-size:14px}body.judge-figma .jf-notification-page .jf-notification-list{max-height:none}}
@media(prefers-reduced-motion:reduce){body.judge-figma .jf-notification-popover[open]{animation:none}}
@media(max-height:600px){
 body.judge-figma .jf-notification-popover{--jf-notification-available:calc(100dvh - 32px);top:16px}
 body.judge-figma .jf-notification-popover>section{gap:12px}
 body.judge-figma .jf-notification-popover :is(header,footer,.message){flex:none}
 body.judge-figma .jf-notification-popover .message{max-height:72px;overflow-y:auto}
}
/* Figma 201:3549–3612: popup tabs and four notification rows. */
@media(min-width:701px){
 body.judge-figma .jf-notification-popover .jf-notification-header{width:348px;height:34px;flex:none}
 body.judge-figma .jf-notification-popover .jf-notification-filters{gap:0;height:34px}
 body.judge-figma .jf-notification-popover .jf-notification-filters button{width:52px;height:31px;min-height:31px;padding:4px 0}
 body.judge-figma .jf-notification-popover .jf-notification-filters button:nth-child(2){width:58px}
 body.judge-figma .jf-notification-popover .jf-notification-filters button:nth-child(3){width:57px}
 body.judge-figma .jf-notification-popover .jf-notification-all{width:65px;height:31px;min-height:31px;padding:4px 0;margin-left:10px}
 body.judge-figma .jf-notification-popover .jf-notification-item{min-height:96px;flex:none}
 body.judge-figma .jf-notification-popover .jf-read-all{width:59px;height:29px;padding:5px 0}
 body.judge-figma .jf-notification-popover .jf-notification-unread{top:15.5px}
}
@media screen and (min-width:1101px) and (max-height:1079px){
 body.judge-figma .jf-notification-page{gap:18px}
 body.judge-figma .jf-notification-page .jf-notification-item{min-height:98px;padding-block:12px}
}
body.judge-figma :is(.jf-notification-page,.jf-notification-popover) :is(button,a):focus-visible{outline:2px solid #418efe;outline-offset:3px}
body.judge-figma .jf-notification-list .jf-empty{display:flex;align-items:center;justify-content:center;min-height:100px;padding:20px;color:#64748b;font:500 14px/22px SUIT,sans-serif;text-align:center}
@keyframes jf-notification-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
