/* CMS・記事ページ追加スタイル */
.category-strip{background:#fff;border-top:1px solid #edf1f8;border-bottom:1px solid #edf1f8;overflow:auto}.category-strip .container{display:flex;gap:4px;white-space:nowrap}.category-strip a{padding:9px 13px;font-size:11px;font-weight:700;color:#53647f}.category-strip a:hover{color:#245ad3;background:#f5f8ff}
.cms-latest{background:#f7faff}.cms-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cms-post-card{overflow:hidden;background:#fff;border:1px solid #e7edf7;border-radius:14px;box-shadow:0 9px 28px rgba(35,62,105,.07)}.cms-post-image{display:block;height:190px;background:#eef3fa}.cms-post-image img{height:100%;object-fit:cover}.cms-post-body{padding:18px}.cms-category{display:inline-block;color:#2462d5;background:#edf4ff;border-radius:99px;padding:4px 10px;font-size:10px;font-weight:800}.cms-post-body h3{margin:9px 0 7px;font-size:18px;line-height:1.5}.cms-post-body h3 a:hover{color:#245ad3}.cms-post-body>p{color:#697891;font-size:12px}.cms-post-body .cms-subtitle{color:#334a70;font-weight:700;margin-bottom:5px}.cms-post-body time{display:block;margin-top:12px;color:#929caf;font-size:10px}.cms-empty{grid-column:1/-1;padding:40px;text-align:center;background:#f7f9fc;border:1px dashed #d9e1ed;border-radius:12px;color:#728097}.campaign-card .campaign-button{margin-top:18px}.cms-page{min-height:65vh;padding:55px 0 80px}.cms-page-head{max-width:760px;margin-bottom:28px}.cms-page-head h1{font-size:36px;line-height:1.35}.cms-page-head>p:last-child{margin-top:8px;color:#728097}.site-search{display:flex;max-width:620px;margin-bottom:30px}.site-search input{flex:1;min-width:0;padding:13px 18px;border:1px solid #dce4ef;border-radius:30px 0 0 30px}.site-search button{border:0;padding:0 24px;color:#fff;background:#245ad3;border-radius:0 30px 30px 0;font-weight:800}.narrow-content{max-width:850px}.news-list{display:grid;gap:12px}.news-row{padding:20px 22px;border:1px solid #e5ebf4;border-radius:12px;background:#fff}.news-row>div{display:flex;gap:12px;color:#7c899d;font-size:10px}.news-row h2{margin:7px 0;font-size:17px}.news-row h2 a:hover{color:#245ad3}.news-row p{color:#6d7b90;font-size:12px}
.article-page{padding:38px 20px 90px;background:#f7f9fc}.article-shell{width:min(1080px,100%);margin:auto;display:grid;grid-template-columns:minmax(0,760px) 250px;gap:28px;align-items:start}.article-shell>article,.article-side{background:#fff;border:1px solid #e5eaf2;border-radius:14px}.article-shell>article{padding:32px 42px}.breadcrumbs{display:flex;gap:8px;color:#7a879b;font-size:10px}.breadcrumbs a:hover{color:#245ad3}.article-header{margin-top:22px}.article-header h1{margin:13px 0 8px;font-size:clamp(28px,4vw,42px);line-height:1.42;letter-spacing:-.03em}.article-subtitle{color:#50627e;font-size:16px;font-weight:600}.article-meta{display:flex;gap:15px;margin-top:16px;color:#8994a7;font-size:10px}.article-hero{margin-top:25px;max-height:420px;object-fit:cover;border-radius:12px}.article-toc{margin:30px 0;padding:18px 21px;background:#f4f8ff;border:1px solid #dfe9fa;border-radius:12px}.article-toc summary{cursor:pointer;font-weight:800;color:#193b7c}.article-toc summary span{float:right;color:#7e8ca3;font-size:10px}.article-toc ol{margin:14px 0 0;padding-left:22px}.article-toc li{margin:6px 0;font-size:13px}.article-toc .toc-l3{margin-left:17px;color:#61718b}.article-body{font-size:16px;line-height:2;color:#243655}.article-body h2{margin:2.5em 0 .8em;padding:0 0 .55em;border-bottom:2px solid #dce7f7;font-size:27px;line-height:1.5}.article-body h3{margin:2em 0 .7em;padding-left:13px;border-left:4px solid #2e6ce0;font-size:21px}.article-body p{margin:1em 0}.article-body ul,.article-body ol{margin:1em 0;padding-left:1.5em}.article-body img{margin:24px auto;border-radius:10px}.article-body blockquote{margin:25px 0;padding:16px 20px;background:#f7f9fc;border-left:4px solid #9cb6e4}.article-body table{width:100%;border-collapse:collapse;margin:24px 0}.article-body th,.article-body td{padding:12px;border:1px solid #dfe5ee}.article-body th{background:#f3f7fc}.video-embed{position:relative;width:100%;padding-top:56.25%;margin:25px 0}.video-embed iframe{position:absolute;inset:0;width:100%!important;height:100%!important;border:0;border-radius:10px}.article-side{position:sticky;top:20px;padding:20px;display:grid;gap:10px;font-size:12px}.article-side strong{margin-top:5px;color:#1b335d}.article-side a{color:#2863cf}
.admin-page{min-height:80vh;padding:32px 20px 70px;background:#f3f6fb}.admin-wrap{width:min(1280px,100%);margin:auto}.admin-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.admin-title p{color:#4775d3;font-size:9px;font-weight:900;letter-spacing:.2em}.admin-title h1{font-size:28px}.admin-title>span{color:#77869c;font-size:11px}.admin-nav{display:flex;gap:5px;overflow:auto;margin-bottom:18px;padding:6px;background:#fff;border:1px solid #e2e8f1;border-radius:12px}.admin-nav a{white-space:nowrap;padding:9px 14px;border-radius:8px;color:#607089;font-size:12px;font-weight:800}.admin-nav a.on,.admin-nav a:hover{color:#fff;background:#245ed2}.admin-notice{margin:10px 0;padding:12px 16px;border-radius:8px;font-size:12px;font-weight:700}.admin-notice.ok{background:#e7f8ee;color:#187446}.admin-notice.error{background:#fff0f0;color:#b42a2a}.admin-stack{display:grid;gap:18px}.admin-panel{padding:22px;background:#fff;border:1px solid #e1e7f0;border-radius:14px;box-shadow:0 8px 24px rgba(27,50,91,.05)}.admin-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.admin-panel-head h2{font-size:20px}.admin-panel-head p{color:#7c899d;font-size:11px}.admin-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;border:1px solid #245ed2;border-radius:8px;background:#245ed2;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.admin-btn.small{padding:6px 10px;font-size:10px}.admin-btn.ghost{background:#fff;color:#245ed2}.table-scroll{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:12px}.admin-table th,.admin-table td{padding:11px 10px;text-align:left;border-bottom:1px solid #e8edf4;vertical-align:middle}.admin-table th{color:#718099;background:#f8fafd;font-size:10px}.admin-table td small{display:block;margin-top:3px;color:#8995a7;font-size:9px}.status{display:inline-block;padding:4px 8px;border-radius:99px;font-size:9px;font-weight:800}.status.published{background:#e3f7eb;color:#187344}.status.draft{background:#eef1f5;color:#617087}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.editor-main,.editor-side{display:grid;gap:16px;align-content:start}.admin-editor label,.sns-compose label{display:grid;gap:6px;color:#354963;font-size:11px;font-weight:800}.admin-editor input,.admin-editor select,.admin-editor textarea,.inline-form input,.sns-compose select,.sns-compose textarea{width:100%;padding:10px 12px;border:1px solid #d8e0eb;border-radius:8px;background:#fff;color:#243655;font:inherit}.admin-editor textarea{resize:vertical}.admin-editor .html-editor{font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.admin-editor label small{color:#7d8ba0;font-weight:500}.check-label{display:flex!important;grid-template-columns:20px 1fr;align-items:center}.check-label input{width:auto}.inline-form{display:grid;grid-template-columns:1fr 2fr 2fr auto;gap:8px;margin-bottom:16px}.feed-error{color:#b04848}.switch{display:flex;align-items:center;gap:6px}.rss-inbox{max-height:720px;overflow:auto;border:1px solid #e1e7f0;border-radius:10px}.rss-item{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;padding:13px;border-bottom:1px solid #e9edf3;align-items:start}.rss-item:last-child{border-bottom:0}.rss-item>span{display:grid;gap:3px}.rss-item b{font-size:12px}.rss-item small{color:#7c899c;font-size:9px}.rss-item a{color:#2863cf;font-size:9px}.rss-item em{padding:3px 7px;border-radius:99px;background:#f0f3f7;color:#68768a;font-size:8px;font-style:normal}.rss-item input:checked~em{background:#e1f5e9;color:#167342}.sticky-save{position:sticky;bottom:10px;text-align:right;padding-top:14px}.admin-empty{padding:30px;color:#77869b;text-align:center}.sns-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.sns-post-list{max-height:600px;overflow:auto;border:1px solid #e0e6ef;border-radius:10px}.sns-post{display:grid;grid-template-columns:20px 1fr;gap:8px;padding:12px;border-bottom:1px solid #e8edf4}.sns-post span{display:grid}.sns-post b{font-size:11px}.sns-post small{color:#7d899d;font-size:9px}.sns-compose{display:grid;gap:12px;align-content:start}.sns-compose textarea{font:12px/1.7 ui-monospace,Consolas,monospace}
.rss-item em.rss-related{background:#e8f4ff;color:#1764a4}.rss-other{border-top:1px solid #dfe6ef;background:#fafbfd}.rss-other>summary{position:sticky;top:0;z-index:1;padding:12px 14px;cursor:pointer;background:#f3f6fa;color:#617087;font-size:11px;font-weight:800}.rss-other[open]>summary{border-bottom:1px solid #dfe6ef}
@media(max-width:1000px){.cms-card-grid{grid-template-columns:repeat(2,1fr)}.article-shell{grid-template-columns:1fr}.article-side{position:static}.editor-grid,.sns-grid{grid-template-columns:1fr}.global-nav{display:none}}
@media(max-width:700px){.category-strip{display:block}.cms-card-grid{grid-template-columns:1fr}.cms-page{padding:38px 0 55px}.cms-page-head h1{font-size:29px}.article-page{padding:18px 10px 55px}.article-shell>article{padding:22px 18px}.article-body{font-size:15px}.article-body h2{font-size:23px}.article-body h3{font-size:19px}.admin-page{padding:18px 8px 55px}.admin-panel{padding:14px}.admin-title>span{display:none}.admin-panel-head{align-items:flex-start;flex-direction:column}.inline-form{grid-template-columns:1fr}.rss-item{grid-template-columns:20px 1fr}.rss-item em{grid-column:2}.site-search input{font-size:12px}.site-search button{padding:0 17px}}

/* 比較・収益管理：現在の情報をAI記事の材料へ変える */
.focused-tool .tool-intro{background:#173f66}.focused-tool .tool-subnav a.on{background:#236b91;border-color:#236b91}.focused-guide .admin-panel-head{margin-bottom:22px}.focused-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.focused-flow article{position:relative;padding:20px;background:#f7fbfd;border:1px solid #d9e8ee;border-radius:13px}.focused-flow article>span{display:grid;place-items:center;width:30px;height:30px;margin-bottom:12px;border-radius:50%;background:#e2f3f6;color:#17647b;font-weight:900}.focused-flow h3{margin:0 0 7px;color:#173f66;font-size:1rem}.focused-flow p{min-height:4.8em;margin:0 0 12px;color:#60758a;font-size:.78rem;line-height:1.65}.focused-flow a{color:#166783;font-size:.78rem;font-weight:900}.focused-tool .tool-stats{grid-template-columns:repeat(3,1fr)}.focused-axis{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.focused-axis h2{grid-column:1/-1}.focused-axis>div{padding:17px;border-left:4px solid #efb95b;background:#fffaf1;border-radius:5px 11px 11px 5px}.focused-axis b{color:#60481f}.focused-axis p{margin:6px 0 0;color:#786b55;font-size:.78rem;line-height:1.6}.focused-editor{margin:0 0 20px;padding:14px 17px;background:#f8fbfd;border:1px solid #dce7ed;border-radius:11px}.focused-editor>summary{cursor:pointer;color:#205a75;font-weight:900}.focused-form{padding-bottom:2px}.focused-form .check-label{align-self:end;min-height:42px;padding:8px 3px}.ai-prompt-actions{display:flex;gap:7px;margin-top:4px}.editor-affiliate textarea[readonly]{font:11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;background:#fffdf7}.editor-affiliate>label{margin-top:11px}.muted{color:#94a0af}.focused-tool .tool-row-actions{flex-wrap:wrap;min-width:220px}.focused-tool .admin-table td{vertical-align:top}.focused-tool .admin-table td b{color:#243f5c}.focused-tool .tool-stats article{border-color:#d7e6ec}.focused-tool .tool-stats b{color:#236b91}
@media(max-width:900px){.focused-flow,.focused-axis{grid-template-columns:1fr}.focused-axis h2{grid-column:auto}.focused-flow p{min-height:0}}
@media(max-width:600px){.focused-tool .tool-stats{grid-template-columns:1fr}.ai-prompt-actions{flex-direction:column}.focused-tool .tool-row-actions{min-width:180px}}

/* 記事編集の比較資料 */
.editor-grid{grid-template-columns:minmax(0,1fr) minmax(380px,470px)}.comparison-reference{padding:15px;background:#f7fbfc;border-color:#bddce3}.comparison-reference>summary{color:#155b70}.selected-comparison-details,.selected-trend-details{margin-top:15px}.selected-comparison-details>h3,.selected-trend-details>h3{margin:0 0 9px;color:#173f66;font-size:.86rem}.comparison-card-list,.trend-reference-list{display:grid;gap:10px}.comparison-data-card{overflow:hidden;border:1px solid #cfdee5;border-radius:11px;background:#fff}.comparison-data-card header{display:flex;justify-content:space-between;gap:8px;padding:11px 12px;background:#eaf5f7}.comparison-data-card header b{color:#164f63;font-size:.82rem}.comparison-data-card header span{white-space:nowrap;color:#527785;font-size:.66rem;font-weight:800}.comparison-data-card dl{display:grid;grid-template-columns:1fr 1fr;margin:0}.comparison-data-card dl>div{padding:9px 10px;border-right:1px solid #edf1f3;border-bottom:1px solid #edf1f3}.comparison-data-card dl>div.full{grid-column:1/-1}.comparison-data-card dl>div.caution{background:#fff9ec}.comparison-data-card dt,.trend-reference-list dt{color:#71828d;font-size:.63rem;font-weight:900}.comparison-data-card dd,.trend-reference-list dd{margin:3px 0 0;color:#263f4b;font-size:.73rem;line-height:1.5;overflow-wrap:anywhere}.comparison-data-card footer{display:flex;flex-wrap:wrap;gap:5px;padding:10px}.comparison-data-card footer a,.trend-reference-list a{padding:5px 7px;border-radius:6px;background:#edf5ff;color:#235d99;font-size:.65rem;font-weight:800}.empty-value{color:#a3adb3;font-size:.68rem}.reference-empty{padding:14px;border:1px dashed #c9d8de;border-radius:9px;color:#768992;font-size:.73rem;text-align:center}.trend-reference-list article{padding:11px;border:1px solid #eadfbf;border-radius:10px;background:#fffdf5}.trend-reference-list article>b{display:block;color:#665321;font-size:.78rem}.trend-reference-list article>span{color:#8f825f;font-size:.62rem}.trend-reference-list article>p{margin:7px 0;color:#514a37;font-size:.72rem}.trend-reference-list dl{display:grid;grid-template-columns:105px 1fr;gap:4px;margin:8px 0}

/* 専用SQLite SQL操作 */
.sql-scope-badge{padding:7px 10px;border-radius:999px;background:#e8f4f6;color:#176078;font:700 .72rem ui-monospace,Consolas,monospace}.sql-warning{margin-bottom:15px;padding:13px 15px;border-left:4px solid #e7a840;background:#fff9ed;border-radius:5px}.sql-warning b{color:#72531d}.sql-warning p{margin:4px 0 0;color:#7c6945;font-size:.76rem;line-height:1.6}.sql-form{display:grid;gap:10px}.sql-form textarea{width:100%;padding:14px;border:1px solid #aebdca;border-radius:9px;background:#11243b;color:#e6f2ff;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.sql-form .admin-btn{justify-self:start}.sql-result{margin-top:15px;padding:14px;border:1px solid #cbdce5;border-radius:10px;background:#f6fafc}.sql-result.success{border-color:#b9dfc8;background:#effaf3}.sql-result h3{display:flex;justify-content:space-between;gap:10px;margin:0 0 8px;font-size:.9rem}.sql-result h3 span{color:#6f8290;font-size:.7rem}.schema-list,.recent-data-list{display:grid;gap:7px}.schema-item,.recent-table{border:1px solid #dce5eb;border-radius:9px;background:#fafcfd}.schema-item summary,.recent-table summary{cursor:pointer;padding:10px 12px;color:#31526a;font-size:.78rem;font-weight:900}.schema-item summary span{display:inline-block;min-width:58px;color:#19708a;font-size:.64rem}.recent-table summary span{float:right;color:#84949f;font-size:.66rem}.schema-item pre{overflow:auto;margin:0;padding:13px;border-top:1px solid #e2e9ee;background:#14263a;color:#e9f3fb;font:11px/1.65 ui-monospace,Consolas,monospace;white-space:pre-wrap}.compact-data{min-width:680px}.compact-data td{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sql-inline-error{padding:9px;color:#a03e45;background:#fff0f1}
@media(max-width:1000px){.editor-grid{grid-template-columns:1fr}}
@media(max-width:600px){.comparison-data-card dl{grid-template-columns:1fr}.comparison-data-card dl>div.full{grid-column:auto}.sql-scope-badge{white-space:normal}}

/* 確認済み記事資料・調査中資料 */
.reference-legend{display:grid;grid-template-columns:auto 1fr;gap:5px 8px;align-items:center;margin:14px 0;padding:10px;border-radius:9px;background:#fff}.reference-legend span{justify-self:start;padding:3px 7px;border-radius:99px;font-size:.62rem;font-weight:900}.reference-legend b{color:#647680;font-size:.67rem}.verified{background:#dcf4e7;color:#17673e}.research{background:#fff0d1;color:#855914}.reference-details{display:grid;gap:15px}.reference-details>section{padding-top:3px}.reference-details>section>h3{margin:0 0 8px;color:#183f5a;font-size:.85rem}.reference-card-list{display:grid;gap:10px}.reference-card{overflow:hidden;border:1px solid #cfdde3;border-radius:11px;background:#fff}.reference-card>header{display:flex;align-items:center;gap:7px;padding:10px 12px;background:#eef7f8}.reference-card>header b{min-width:0;color:#17485b;font-size:.78rem}.reference-card>header>span:last-child{margin-left:auto;color:#72868f;font-size:.62rem}.reference-card>dl{display:grid;grid-template-columns:1fr 1fr;margin:0}.reference-card>dl>div{padding:8px 10px;border-right:1px solid #edf1f3;border-bottom:1px solid #edf1f3}.reference-card dt{color:#71828d;font-size:.6rem;font-weight:900}.reference-card dd{margin:3px 0 0;color:#293e48;font-size:.7rem;line-height:1.55;overflow-wrap:anywhere}.reference-card>details{margin:7px 10px;border:1px solid #e3e9ec;border-radius:7px}.reference-card>details>summary{cursor:pointer;padding:7px 9px;color:#315668;font-size:.68rem;font-weight:900}.reference-card>details>p,.reference-subcard{margin:0;padding:7px 9px;border-top:1px solid #edf1f3;color:#4d606a;font-size:.67rem;line-height:1.55}.reference-card>footer{display:flex;flex-wrap:wrap;gap:5px;padding:9px 10px}.reference-card>footer a,.reference-card>details a{padding:4px 6px;border-radius:5px;background:#edf5ff;color:#245d98;font-size:.62rem;font-weight:800}.reference-subcard>b{color:#253f4d}.reference-subcard p{margin:4px 0}.benefit-line,.rule-line,.milestone-line{margin:8px 10px;padding:8px;border-radius:6px;background:#f8fafb;color:#445862;font-size:.68rem}.mini-empty{margin:0;padding:8px 10px;color:#98a5ac;font-size:.67rem}.research-reference{margin-top:16px;padding:12px;border:1px solid #ecd9af;border-radius:10px;background:#fffbf1}.research-reference>summary{cursor:pointer;color:#795519;font-size:.76rem;font-weight:900}.research-reference>p{color:#806f4d;font-size:.68rem}.research-reference section{margin-top:10px}.research-reference h4{margin:0 0 6px;color:#71572c;font-size:.72rem}.readiness-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.readiness-grid article{padding:14px;border:1px solid #dce8ec;border-radius:10px;background:#f7fbfc}.readiness-grid article.research{border-color:#ecdcb8;background:#fffaf0}.readiness-grid b{display:block;color:#236b80;font-size:1.45rem}.readiness-grid span{color:#667b85;font-size:.67rem;font-weight:800}.linked-offer-heading{padding:12px;border-top:1px solid #dbe6eb;border-bottom:1px solid #dbe6eb}.linked-offer-heading p,.form-note{margin:4px 0 0;color:#6d7f88;font-size:.72rem}.focused-form select[multiple]{min-height:110px}
@media(max-width:750px){.reference-card>dl{grid-template-columns:1fr}.readiness-grid{grid-template-columns:repeat(2,1fr)}}

/* 専用DBのダウンロード・アップロード */
.db-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.db-summary article{padding:14px;border:1px solid #dbe6eb;border-radius:10px;background:#f7fbfc}.db-summary article.healthy{border-color:#bce2c9;background:#f0faf4}.db-summary article.warning{border-color:#ecc8a0;background:#fff8ed}.db-summary b{display:block;color:#215e75;font-size:1.25rem}.db-summary span{color:#6c7e87;font-size:.66rem;font-weight:800}.db-file-meta{display:grid;grid-template-columns:100px 1fr;gap:6px 12px;margin:15px 0 0;padding:12px;border-radius:8px;background:#f8fafb}.db-file-meta dt{color:#75858e;font-size:.68rem;font-weight:900}.db-file-meta dd{min-width:0;margin:0;color:#374e59;font-size:.7rem;overflow-wrap:anywhere}.db-file-meta code{font-size:.66rem}.db-upload-form{display:grid;gap:14px}.db-upload-form>label:not(.db-confirm){display:grid;gap:7px;color:#354f5e;font-size:.78rem;font-weight:900}.db-upload-form input[type=file]{padding:13px;border:1px dashed #9eb4bf;border-radius:9px;background:#f7fafb}.db-confirm{display:flex;align-items:center;gap:8px;color:#684a20;font-size:.74rem;font-weight:800}.db-confirm input{width:18px;height:18px}.db-upload-form .admin-btn{justify-self:start}.db-transfer .admin-btn.danger{background:#b84555;border-color:#b84555;color:#fff}
@media(max-width:850px){.db-summary{grid-template-columns:repeat(2,1fr)}}

/* カテゴリの修正・削除 */
.category-edit-list{display:grid;gap:10px}.category-edit-row{display:grid;grid-template-columns:1.1fr 1.1fr 2fr 90px 70px auto;gap:10px;align-items:end;padding:13px;background:#f8fafd;border:1px solid #e4eaf2;border-radius:10px}.category-edit-row label{display:grid;gap:4px}.category-edit-row label>span,.category-count>span{color:#758399;font-size:9px;font-weight:800}.category-edit-row input{width:100%;padding:9px 10px;border:1px solid #d8e0eb;border-radius:7px;background:#fff;color:#243655}.category-edit-row small{color:#8491a4;font-size:8px}.category-count{display:grid;gap:7px;padding-bottom:8px}.category-count b{font-size:12px}.category-actions{display:flex;gap:6px;padding-bottom:1px}.admin-btn.danger{border-color:#ce4e58;background:#fff;color:#b93642}.admin-btn.danger:hover{background:#ce4e58;color:#fff}.admin-btn:disabled{cursor:not-allowed;opacity:.4}.admin-btn.danger:disabled:hover{background:#fff;color:#b93642}
@media(max-width:1100px){.category-edit-row{grid-template-columns:1fr 1fr}.category-description{grid-column:1/-1}.category-actions{justify-content:flex-end}}
@media(max-width:700px){.category-edit-row{grid-template-columns:1fr}.category-description{grid-column:auto}.category-actions{justify-content:stretch}.category-actions .admin-btn{flex:1}}
.affiliate-tool{display:grid;gap:18px}.tool-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#14284b;color:#fff;border:0}.tool-intro h2{color:#fff;margin:.35rem 0}.tool-intro p{color:#c7d7ed;margin:0}.tool-kicker{font-size:.72rem;letter-spacing:.16em;color:#8cb8ff;font-weight:900}.tool-db-badge{background:#e9f2ff;color:#245aa5;padding:8px 12px;border-radius:999px;font-size:.78rem;font-weight:900;white-space:nowrap}.tool-subnav{display:flex;gap:7px;overflow:auto;padding:4px 2px}.tool-subnav a{white-space:nowrap;text-decoration:none;color:#4e637c;background:#fff;border:1px solid #d9e2ed;border-radius:8px;padding:9px 12px;font-size:.82rem;font-weight:800}.tool-subnav a.on{background:#315f9f;border-color:#315f9f;color:#fff}.tool-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tool-stats article{background:#fff;border:1px solid #dce5ef;border-radius:13px;padding:20px;display:flex;flex-direction:column}.tool-stats b{font-size:2rem;color:#234f8e}.tool-stats span{font-size:.8rem;color:#677a91;font-weight:800}.tool-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:13px;padding:18px 0}.tool-form label{display:flex;flex-direction:column;gap:6px;font-size:.82rem;font-weight:800;color:#425873}.tool-form input,.tool-form select,.tool-form textarea{width:100%;border:1px solid #afbdcc;border-radius:8px;padding:10px;font:inherit;background:#fff;color:#172a45}.tool-form .wide{grid-column:1/-1}.tool-resource details{border-bottom:1px solid #e4eaf1;margin-bottom:16px;padding-bottom:14px}.tool-resource summary{cursor:pointer;font-weight:900;color:#244f89;padding:5px 0}.tool-row-actions{display:flex;align-items:center;gap:6px}.tool-row-actions form{margin:0}.admin-btn.danger{background:#b84555;color:#fff}.tool-caution{border-left:4px solid #e19a31;background:#fff8ec;padding:11px 14px;color:#6d552e}.tool-export{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.tool-export a{background:#eaf2fe;color:#245894;text-decoration:none;border-radius:8px;padding:10px 13px;font-weight:800}.tool-boundary{display:grid;grid-template-columns:160px 1fr;gap:10px 18px;background:#f4f8fc;padding:18px;border-radius:12px}.tool-boundary p{margin:0;color:#5e7187}.editor-affiliate{border:1px solid #cddbed;border-radius:10px;padding:12px;background:#f3f8ff}.editor-affiliate summary{cursor:pointer;font-weight:900;color:#275b9d}.editor-affiliate p{font-size:.8rem;color:#647790}.editor-affiliate select[multiple]{min-height:112px}@media(max-width:760px){.tool-intro{align-items:flex-start}.tool-stats{grid-template-columns:repeat(2,1fr)}.tool-boundary{grid-template-columns:1fr}.tool-form{grid-template-columns:1fr}}

/* 新デザイン(styles.css)との互換用の追加スタイル */
.section-label{margin-bottom:4px;color:var(--green,#087d6b);font-size:10px;font-weight:900;letter-spacing:.2em}
.compare-caption{margin-top:8px;color:#7b8790;font-size:11px}
.compare-empty{padding:26px;background:#f8fafc;border:1px solid #dce2e6;border-radius:12px}
.compare-empty b{display:block;margin-bottom:6px;font-size:16px;color:#0c315b}
.compare-empty p{margin:0 0 10px;color:#5a6b7d;font-size:13px}
.money{color:#e84031;font-weight:900}
.table-link{color:#176db8;font-weight:800}

/* 記事エディタ：画像アップローダー */
.editor-head-actions{display:flex;align-items:center;gap:10px}
.image-uploader{margin-top:4px;padding:14px;background:#f8fafc;border:1px solid #e1e7f0;border-radius:10px;display:grid;gap:10px}
.image-uploader>strong{font-size:12px;color:#354963}
.image-uploader>small{color:#8592a5;font-size:10px}
.image-upload-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.image-upload-row input[type=file]{flex:1;min-width:0;font-size:11px}
.upload-result{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center;padding:8px;background:#fff;border:1px solid #dce4ef;border-radius:8px}
.upload-result img{width:56px;height:56px;object-fit:cover;border-radius:6px;background:#eef1f5}
.upload-result input{width:100%;font-size:10px;padding:6px 8px;border:1px solid #d8e0eb;border-radius:6px;color:#243655;margin-bottom:6px}
.image-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px;max-height:260px;overflow:auto}
.gallery-item{display:grid;gap:4px}
.gallery-item img{width:100%;height:66px;object-fit:cover;border-radius:6px;border:1px solid #e1e7f0;background:#eef1f5}
.gallery-actions{display:flex;flex-wrap:wrap;gap:4px}
.gallery-actions .admin-btn{padding:4px 6px;font-size:9px}
.category-checkbox-group{display:flex;flex-wrap:wrap;gap:6px 14px;padding:10px 12px;border:1px solid #e1e7f0;border-radius:8px;background:#f8fafc}
.category-checkbox-group .check-label{margin:0}
