/* [PATENTMSG_20261020] 특허서랍·판정 보고서·기업 메시지·설정 — 사이트 테마 변수(--site-*)만 쓴다(다크·라이트 함께) */
.pm-shell{max-width:1240px;margin:0 auto;padding:36px 20px 80px;color:var(--site-text)}
.pm-shell *{box-sizing:border-box}
.pm-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;padding:10px 0 22px;border-bottom:1px solid var(--site-line)}
.pm-hero h1{font-size:clamp(1.6rem,3.6vw,2.4rem);font-weight:800;margin:4px 0 8px}
.pm-hero p{color:var(--site-muted);margin:0}
.pm-kicker{font-size:.72rem;letter-spacing:.15em;color:var(--site-blue);font-weight:700;margin:0}
.pm-flash{margin:16px 0 0;padding:12px 14px;border-radius:10px;border:1px solid var(--site-line);background:var(--site-surface)}
.pm-flash.ok{border-color:#2ea04370}.pm-flash.err{border-color:#f8514970}
.pm-test{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#d2992222;color:#d29922;font-weight:700;font-size:.85rem}
.pm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;margin:22px 0}
.pm-card{padding:16px;border:1px solid var(--site-line);border-radius:14px;background:var(--site-surface);min-width:0}
.pm-card b{display:block;font-size:1.9rem;line-height:1.1;font-weight:800}
.pm-card span{color:var(--site-muted);font-size:.85rem}
.pm-card.make b{color:#2ea043}.pm-card.skip b{color:var(--site-muted)}.pm-card.hold b{color:#d29922}.pm-card.blue b{color:var(--site-blue)}
.pm-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:16px;margin:8px 0 22px}
.pm-box{padding:18px;border:1px solid var(--site-line);border-radius:14px;background:var(--site-surface);min-width:0}
.pm-box h2{font-size:1.02rem;font-weight:700;margin:0 0 12px}
.pm-bar{display:grid;grid-template-columns:minmax(0,170px) 1fr 48px;align-items:center;gap:10px;margin:7px 0;font-size:.88rem}
.pm-bar>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-bar i{display:block;height:12px;border-radius:6px;background:var(--site-blue);min-width:2px}
.pm-bar i.g{background:#2ea043}.pm-bar i.m{background:#8b949e}
.pm-bar em{font-style:normal;text-align:right;color:var(--site-muted)}
.pm-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}
.pm-filter input,.pm-filter select{padding:9px 11px;border:1px solid var(--site-line);border-radius:9px;background:var(--site-bg);color:var(--site-text);min-width:0;max-width:100%}
.pm-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--site-line);border-radius:9px;background:var(--site-surface);color:var(--site-text)!important;padding:8px 13px;text-decoration:none;font-weight:600;font-size:.9rem;cursor:pointer}
.pm-btn.pri{background:#338fe7;border-color:#338fe7;color:#fff!important}
.pm-btn.ok{background:#2ea04322;border-color:#2ea04366}
.pm-btn.no{background:#f8514918;border-color:#f8514955}
.pm-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.pm-chip{padding:6px 12px;border:1px solid var(--site-line);border-radius:999px;color:var(--site-text)!important;text-decoration:none;font-size:.86rem;background:var(--site-surface)}
.pm-chip.on{background:#338fe7;border-color:#338fe7;color:#fff!important}
.pm-chip small{opacity:.75;margin-left:4px}
.pm-list{display:grid;gap:12px}
.pm-row{padding:16px;border:1px solid var(--site-line);border-radius:14px;background:var(--site-surface);min-width:0}
.pm-row h3{font-size:1.05rem;font-weight:700;margin:6px 0;overflow-wrap:anywhere}
.pm-row p{color:var(--site-muted);margin:4px 0;overflow-wrap:anywhere}
.pm-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.84rem;color:var(--site-muted)}
.pm-tag{display:inline-flex;border-radius:999px;padding:3px 9px;font-size:.78rem;background:#2677c922;color:var(--site-blue)}
.pm-tag.make{background:#2ea04322;color:#2ea043}.pm-tag.skip{background:#8b949e22;color:var(--site-muted)}.pm-tag.hold{background:#d2992222;color:#d29922}.pm-tag.admin{background:#a371f722;color:#a371f7}
.pm-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
.pm-act form{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.pm-act input[type=text]{padding:7px 9px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-bg);color:var(--site-text);min-width:0;width:180px;max-width:100%}
.pm-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 8px;border-bottom:1px solid var(--site-line)}
.pm-tabs a{padding:9px 14px;color:var(--site-muted)!important;text-decoration:none;border-bottom:2px solid transparent}
.pm-tabs a.on{color:var(--site-text)!important;border-color:#338fe7;font-weight:700}
.pm-parts{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.pm-parts span{padding:3px 8px;border-radius:7px;background:var(--site-bg);border:1px solid var(--site-line);font-size:.8rem}
.pm-score{font-size:1.6rem;font-weight:800;color:var(--site-blue)}
.pm-letter{white-space:pre-wrap;padding:12px;border-radius:10px;background:var(--site-bg);border:1px solid var(--site-line);font-size:.88rem;line-height:1.6;max-height:220px;overflow:auto;overflow-wrap:anywhere}
.pm-sms{padding:10px 12px;border-radius:12px;background:#338fe71f;font-size:.86rem;overflow-wrap:anywhere}
details.pm-more summary{cursor:pointer;color:var(--site-blue);margin-top:8px}
.pm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:14px}
.pm-pat{cursor:pointer;text-align:left;width:100%;font:inherit;color:inherit}
.pm-pat:hover{border-color:var(--site-blue)}
.pm-modal{position:fixed;inset:0;background:#0008;display:none;align-items:center;justify-content:center;padding:16px;z-index:2000}
.pm-modal.on{display:flex}
.pm-modal>div{width:min(680px,100%);max-height:90vh;overflow:auto;background:var(--site-surface);color:var(--site-text);border:1px solid var(--site-line);border-radius:16px;padding:22px}
.pm-modal h2{font-size:1.3rem;font-weight:800;margin:8px 0}
.pm-lock{padding:12px;border:1px dashed var(--site-line);border-radius:10px;color:var(--site-muted)}
.pm-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
.pm-form label{display:block;padding:14px;border:1px solid var(--site-line);border-radius:12px;background:var(--site-surface)}
.pm-form label b{display:block;margin-bottom:6px}
.pm-form input[type=number],.pm-form input[type=text]{width:120px;padding:8px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-bg);color:var(--site-text)}
.pm-form small{display:block;color:var(--site-muted);margin-top:6px}
.pm-table-wrap{overflow-x:auto;border:1px solid var(--site-line);border-radius:12px}
.pm-table{width:100%;border-collapse:collapse;font-size:.88rem}
.pm-table th,.pm-table td{padding:9px 11px;border-bottom:1px solid var(--site-line);text-align:left;vertical-align:top}
@media (max-width:600px){.pm-shell{padding:22px 14px 60px}.pm-bar{grid-template-columns:minmax(0,110px) 1fr 40px}.pm-card b{font-size:1.5rem}}
/* [SCREENRULES_20261020] 특허 생성 제외 기준 탭 — PC 는 표, 휴대폰은 카드 */
.sr-count{display:inline-block;min-width:20px;padding:0 6px;border-radius:999px;background:#338fe733;color:var(--site-blue);font-size:.75rem;text-align:center}
.sr-lead{color:var(--site-muted);margin:12px 0 14px;font-size:.9rem;line-height:1.6}
.sr-list{border:1px solid var(--site-line);border-radius:12px;overflow:hidden;background:var(--site-surface)}
.sr-head,.sr-row{display:grid;grid-template-columns:54px 70px minmax(150px,1.1fr) minmax(180px,2fr) minmax(90px,.8fr) 70px 70px 64px;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--site-line);font-size:.88rem}
.sr-head{font-size:.78rem;color:var(--site-muted);font-weight:700;background:var(--site-bg)}
.sr-row:last-child{border-bottom:0}
.sr-row.off{opacity:.55}
.sr-row form{margin:0;display:inline}
.sr-name b{display:block}.sr-name small,.sr-num small{display:block;color:var(--site-muted);font-size:.75rem}
.sr-words{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
.sr-words em{font-style:normal;padding:2px 7px;border-radius:6px;background:var(--site-bg);border:1px solid var(--site-line);font-size:.8rem}
.sr-words small{color:var(--site-muted)}
.sr-ex{color:var(--site-muted);font-size:.8rem;overflow-wrap:anywhere}
.sr-num b{font-size:1.05rem}
.sr-ord{display:flex;align-items:center;gap:3px}
.sr-mini{border:1px solid var(--site-line);background:var(--site-bg);color:var(--site-text);border-radius:6px;width:22px;height:22px;font-size:.6rem;cursor:pointer;padding:0}
.sr-mini:disabled{opacity:.3;cursor:default}
.sr-switch{width:38px;height:22px;border-radius:999px;border:1px solid var(--site-line);background:var(--site-bg);position:relative;cursor:pointer;padding:0}
.sr-switch i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#8b949e;transition:left .15s}
.sr-switch.on{background:#2ea04355;border-color:#2ea043}.sr-switch.on i{left:18px;background:#2ea043}
.sr-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 18px}
.sr-tools form{margin:0}
.sr-sum{color:var(--site-muted);font-size:.86rem}
.sr-common h2 small{font-weight:400;color:var(--site-muted);font-size:.8rem}
.sr-common p{color:var(--site-muted);font-size:.86rem;margin:0 0 8px}
.sr-ta{width:100%;padding:9px;border:1px solid var(--site-line);border-radius:9px;background:var(--site-bg);color:var(--site-text);font:inherit;font-size:.88rem;resize:vertical}
.sr-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:center}
.sr-f{display:block;margin:10px 0}
.sr-f>b{display:block;margin-bottom:5px;font-size:.9rem}
.sr-f>b small,.sr-f>small{font-weight:400;color:var(--site-muted);font-size:.78rem}
.sr-f input[type=text]{width:100%;padding:8px 10px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-bg);color:var(--site-text)}
.sr-checks{display:flex;flex-wrap:wrap;gap:6px 14px}
.sr-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0 14px}
.sr-prev{margin-top:12px;padding:12px;border:1px dashed var(--site-line);border-radius:12px;background:var(--site-bg)}
.sr-prev-h{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.sr-prev-h b{flex:1 1 220px;font-size:.88rem}
.sr-prev-h select{padding:6px 8px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-surface);color:var(--site-text)}
.sr-nums{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));gap:8px}
.sr-nums span{padding:8px;border-radius:9px;background:var(--site-surface);border:1px solid var(--site-line);font-size:.78rem;color:var(--site-muted)}
.sr-nums b{display:block;font-size:1.3rem;color:var(--site-text)}
.sr-prev ul{margin:6px 0;padding-left:18px;font-size:.82rem}
.sr-prev li{margin:3px 0;overflow-wrap:anywhere}
.sr-prev details summary{cursor:pointer;color:var(--site-blue);font-size:.85rem;margin-top:6px}
.sr-wc{font-size:.8rem;color:var(--site-muted);margin:8px 0 0;overflow-wrap:anywhere}
.sr-err{color:#f85149}
.sr-h2{font-size:1.1rem;font-weight:700;margin:16px 0 10px}
.sr-log .sr-plus{color:#2ea043}.sr-log .sr-minus{color:#f85149}
.pm-tag.rule{background:#338fe722;color:var(--site-blue)}
.pm-passed{font-size:.82rem}
@media (max-width:860px){
 .sr-head{display:none}
 .sr-row{grid-template-columns:auto 1fr auto;grid-template-areas:"on name edit" "ord words words" "ex ex verd" "num num num";gap:6px 10px}
 .sr-row>span:nth-child(1){grid-area:on}.sr-row>span:nth-child(2){grid-area:ord}.sr-row>span:nth-child(3){grid-area:name;min-width:0}
 .sr-row>span:nth-child(4){grid-area:words}.sr-row>span:nth-child(5){grid-area:ex}.sr-row>span:nth-child(6){grid-area:verd;justify-self:end}
 .sr-row>span:nth-child(7){grid-area:num;display:flex;gap:10px;align-items:baseline}.sr-row>span:nth-child(7)::before{content:"최근 30일";color:var(--site-muted);font-size:.78rem}
 .sr-row>span:nth-child(8){grid-area:edit}
}
