/* RakuPress admin — after WordPress's wp-admin, in a few hundred lines. */
* { box-sizing: border-box; }
body { margin: 0; background: #f1f1f1; color: #3c434a; font: 13px/1.4em -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
a { color: #2271b1; } a:hover { color: #135e96; }
#wpadminbar { position: fixed; top: 0; left: 0; right: 0; height: 32px; background: #1d2327; color: #f0f0f1; display: flex; align-items: center; gap: 18px; padding: 0 12px; z-index: 10; }
#wpadminbar a { color: #f0f0f1; text-decoration: none; } #wpadminbar a:hover { color: #72aee6; }
#wpadminbar .ab-right { margin-left: auto; }
#adminmenuwrap { position: fixed; top: 32px; bottom: 0; left: 0; width: 160px; background: #1d2327; overflow-y: auto; }
#adminmenu { list-style: none; margin: 10px 0; padding: 0; }
#adminmenu a { display: block; padding: 8px 12px; color: #f0f0f1; text-decoration: none; font-size: 14px; }
#adminmenu a:hover { background: #2c3338; color: #72aee6; }
#adminmenu li.current a { background: #2271b1; color: #fff; }
#adminmenuwrap .powered { color: #8c8f94; font-size: 11px; padding: 0 12px; }
.awaiting-mod { display: inline-block; background: #d63638; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 9px; line-height: 17px; }
#wpcontent { margin-left: 160px; padding: 42px 20px 40px; }
.wrap h1 { font-size: 23px; font-weight: 400; margin: 0 0 12px; display: inline-block; }
h2 { font-size: 1.3em; margin: 1em 0 .6em; }
.page-title-action, .button { display: inline-block; padding: 0 10px; min-height: 30px; line-height: 2.15; border: 1px solid #2271b1; border-radius: 3px; background: #f6f7f7; color: #2271b1; text-decoration: none; cursor: pointer; font-size: 13px; }
.page-title-action { margin-left: 8px; position: relative; top: -3px; }
.button-primary { background: #2271b1; color: #fff; } .button-primary:hover { background: #135e96; color: #fff; }
.button-large { min-height: 32px; padding: 0 12px; }
.notice { background: #fff; border-left: 4px solid #72aee6; box-shadow: 0 1px 1px rgba(0,0,0,.04); padding: 1px 12px; margin: 5px 0 15px; }
.notice-success { border-left-color: #00a32a; } .notice-error { border-left-color: #d63638; }
.subsubsub { list-style: none; margin: 8px 0; padding: 0; color: #646970; display: inline-block; } .subsubsub li { display: inline; }
.subsubsub a { text-decoration: none; } .subsubsub a.current { color: #000; font-weight: 600; }
.search-box { float: right; margin: 4px 0 8px; }
input[type=text], input[type=search], input[type=email], input[type=url], input[type=password], input[type=number], select, textarea { border: 1px solid #8c8f94; border-radius: 4px; padding: 4px 8px; font: inherit; background: #fff; }
.widefat { width: 100%; }
.regular-text { width: 25em; max-width: 100%; }
table.widefat { border: 1px solid #c3c4c7; border-spacing: 0; background: #fff; clear: both; }
table.widefat th, table.widefat td { padding: 8px 10px; text-align: left; vertical-align: top; }
table.widefat thead th { border-bottom: 1px solid #c3c4c7; font-weight: 400; }
table.striped > tbody > tr:nth-child(odd) { background: #f6f7f7; }
td.column-title, th.column-title { width: 40%; } .num { text-align: center !important; width: 4em; }
.row-title { font-size: 14px; }
.row-actions { color: #a7aaad; font-size: 13px; padding-top: 4px; visibility: hidden; }
tr:hover .row-actions { visibility: visible; }
form.inline { display: inline; }
button.link { background: none; border: 0; padding: 0; color: #2271b1; cursor: pointer; font: inherit; text-decoration: underline; }
button.link.danger { color: #b32d2e; }
tr.unapproved { background: #fcf9e8 !important; } tr.unapproved td:first-child { border-left: 4px solid #d63638; }
.tablenav { margin: 8px 0; color: #646970; }
.dashboard-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.postbox { background: #fff; border: 1px solid #c3c4c7; padding: 0 12px 12px; margin-bottom: 20px; }
.postbox h2 { font-size: 14px; margin: 0 -12px 10px; padding: 8px 12px; border-bottom: 1px solid #c3c4c7; }
.postbox ul { list-style: none; padding: 0; margin: 0; } .postbox li { margin-bottom: 8px; }
.glance li { display: inline-block; width: 48%; }
.postbox .date { color: #646970; display: inline-block; min-width: 9em; }
.postbox li.unapproved { background: #fcf9e8; padding: 4px; }
.excerpt { color: #50575e; }
#poststuff { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
#title { width: 100%; font-size: 1.7em; padding: 3px 8px; margin-bottom: 6px; }
#edit-slug-box { color: #646970; margin-bottom: 10px; }
.editor-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.editor-toolbar { display: flex; justify-content: space-between; align-items: center; background: #f6f7f7; border: 1px solid #c3c4c7; border-bottom: 0; padding: 4px 8px; color: #646970; }
#content { width: 100%; min-height: 560px; font: 13px/1.5 Menlo, Consolas, monospace; border-radius: 0; }
#preview-frame { width: 100%; height: 100%; min-height: 596px; border: 1px solid #c3c4c7; background: #fff; }
.editor-columns[hidden], .rp-visual[hidden], .rp-dialog [hidden] { display: none; }
/* the Visual and Text tabs (editor.js) */
.rp-editor-bar { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 6px; }
.rp-add-media .dashicons { font-size: 17px; width: 17px; height: 17px; vertical-align: -4px; }
.rp-status { color: #646970; font-style: italic; align-self: center; }
.rp-format-note { margin-left: auto; color: #8c8f94; font-size: 12px; padding-bottom: 6px; cursor: help; }
.rp-tabs { display: flex; margin-bottom: -7px; }
.rp-tab { height: 30px; margin-left: 5px; padding: 0 12px; border: 1px solid #dcdcde; border-bottom: 0; border-radius: 3px 3px 0 0; background: #ebebeb; color: #50575e; font: inherit; cursor: pointer; }
.rp-tab.active { position: relative; z-index: 1; height: 31px; background: #f6f7f7; border-color: #c3c4c7; color: #1d2327; }
.rp-editor-bar + .editor-columns { margin-top: 0; }
.rp-visual { margin-bottom: 20px; border: 1px solid #c3c4c7; background: #fff; }
.rp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px 6px; background: #f6f7f7; border-bottom: 1px solid #dcdcde; }
.rp-block-format { height: 30px; margin-right: 6px; }
.rp-pre-class { margin-right: 6px; color: #50575e; }
.rp-pre-class input { height: 30px; width: 9em; font: 12px/1 Menlo, Consolas, monospace; }
.rp-tool { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid transparent; border-radius: 2px; background: none; color: #3c434a; cursor: pointer; }
.rp-tool:hover { border-color: #8c8f94; background: #fff; color: #1d2327; }
.rp-tool.active { border-color: #a7aaad; background: #dcdcde; color: #1d2327; }
.rp-sep { width: 1px; height: 20px; margin: 0 4px; background: #dcdcde; }
.rp-canvas { display: block; width: 100%; height: 72vh; min-height: 480px; border: 0; }
.rp-dialog { border: 0; border-radius: 4px; padding: 16px 20px; box-shadow: 0 5px 30px rgba(0,0,0,.3); color: #3c434a; }
.rp-dialog::backdrop { background: rgba(0,0,0,.5); }
.rp-dialog h2 { margin: 0 0 14px; font-size: 18px; font-weight: 400; }
.rp-dialog label { display: block; margin-bottom: 4px; }
.rp-dialog label.button { display: inline-block; margin: 0; }
.rp-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 0; }
.rp-dialog-close { position: absolute; top: 6px; right: 10px; border: 0; background: none; color: #646970; font-size: 26px; line-height: 1; cursor: pointer; }
.rp-link-dialog { width: 440px; max-width: 95vw; }
.rp-media-dialog { width: 900px; max-width: 95vw; }
.rp-media-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rp-media-top input[type=file] { display: none; }
.rp-media-top input[type=search] { margin-left: auto; }
.rp-media-note { color: #646970; }
.rp-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; min-height: 140px; max-height: 56vh; overflow-y: auto; padding: 2px; }
.rp-media-item { padding: 4px; border: 1px solid #dcdcde; background: #f6f7f7; text-align: left; font: inherit; cursor: pointer; }
.rp-media-item:hover, .rp-media-item:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; }
.rp-media-item img { display: block; width: 100%; height: 104px; object-fit: cover; }
.rp-media-item span { display: block; margin-top: 4px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rp-media-bottom { display: flex; align-items: center; gap: 12px; }
.rp-media-bottom .button { white-space: nowrap; }
#side .postbox p { margin: 8px 0; }
.publish-actions { border-top: 1px solid #dcdcde; padding-top: 10px; margin-top: 10px; }
.category-checklist { max-height: 260px; overflow-y: auto; border: 1px solid #dcdcde; padding: 6px; }
.category-checklist ul { list-style: none; margin: 0; padding-left: 0; } .category-checklist ul ul { padding-left: 16px; }
.howto { color: #646970; font-style: italic; }
.danger-zone { margin-top: 10px; }
.col-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 24px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 14px; }
.media-item { background: #fff; border: 1px solid #c3c4c7; padding: 8px; }
.media-item img { width: 100%; height: 130px; object-fit: cover; display: block; }
.media-item .file-icon { display: flex; height: 130px; align-items: center; justify-content: center; background: #f0f0f1; text-decoration: none; font-weight: 600; }
.media-name { font-size: 12px; margin: 6px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snippet { width: 100%; font: 10px/1.3 Menlo, monospace; }
.upload-form { background: #fff; border: 2px dashed #c3c4c7; padding: 20px; }
.form-table th { text-align: left; width: 220px; padding: 12px 10px 12px 0; vertical-align: top; font-weight: 600; }
.form-table td { padding: 8px 10px; }
.comment-text p { margin: 0 0 .5em; }
.bulk-actions { margin: 6px 0 8px; }
.bulk-actions select { height: 30px; }
.button-danger { border-color: #b32d2e; color: #b32d2e; } .button-danger:hover { background: #b32d2e; color: #fff; }
table.widefat th.check-column, table.widefat td.check-column { width: 2.2em; padding-right: 0; }
.per-page { color: #646970; margin: 0 0 8px; }
.quick-reply { margin-top: 6px; }
pre.code { background: #fff; padding: 10px; border: 1px solid #c3c4c7; }
/* the login screen */
body.login { background: #f0f0f1; }
#login { width: 320px; margin: 8% auto 0; }
#login h1 { text-align: center; } #login h1 a { color: #3c434a; text-decoration: none; font-size: 22px; }
#loginform { background: #fff; border: 1px solid #c3c4c7; box-shadow: 0 1px 3px rgba(0,0,0,.04); padding: 24px; margin-top: 20px; }
#loginform label { display: block; margin-bottom: 4px; } #loginform .forgetmenot label { display: inline; }
#loginform .input { width: 100%; font-size: 20px; padding: 3px 6px; margin-bottom: 16px; }
#login_error, #login .message { background: #fff; border-left: 4px solid #d63638; padding: 12px; margin-top: 20px; }
#login .message { border-left-color: #72aee6; }
#backtoblog { padding: 0 24px; } #backtoblog a { color: #50575e; text-decoration: none; }
@media (max-width: 960px) {
  #adminmenuwrap { position: static; width: auto; } #adminmenu { display: flex; flex-wrap: wrap; } #wpcontent { margin-left: 0; }
  #poststuff, .editor-columns, .col-wrap { grid-template-columns: 1fr; }
}
